:root {
  --p: var(--parchment);
  --p2: var(--parchment2);
  --p3: var(--parchment3);
  --p4: #D8CBAF;
  --d2: var(--deep2);
  --d3: var(--deep3);
  --cu: var(--accent3);
  --cu2: var(--accent3);
  --cu3: var(--accent3);
  --sb: var(--sidebar-w);
  --content-rail: calc(var(--sb) + 160px);
  --ease: var(--transition);
}

/* MAIN */
.main {
  padding-top: 58px;
}

/* HERO */
.hero {
  min-height: calc(100vh - 58px);
  min-height: calc(100svh - 58px);
  min-height: calc(100dvh - 58px);
  display: grid;
  grid-template-columns: 1fr clamp(340px, 33vw, 470px);
  position: relative;
  background: var(--p);
  overflow: hidden;
}

.hero-text {
  padding: 44px 64px 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  transform: translateY(-52px);
}

.hero-bgnum {
  position: absolute;
  bottom: -80px;
  left: 28px;
  font-family: 'Cormorant', serif;
  font-size: 320px;
  font-weight: 600;
  font-style: italic;
  color: rgba(24,48,45,0.028);
  line-height: 1;
  user-select: none;
  pointer-events: none;
  letter-spacing: -0.04em;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 32px;
  opacity: 0;
  animation: riseUp .8s var(--ease) .15s forwards;
}

.hero-meta-rule { width: 36px; height: 1px; background: var(--cu); }
.hero-meta span { font-size: 9px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--cu); }

.hero-name {
  font-family: 'Cormorant', serif;
  font-size: clamp(34px, 4.8vw, 62px);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.015em;
  color: var(--ink);
  position: relative;
  z-index: 1;
  max-width: none;
  opacity: 0;
  animation: riseUp 1s var(--ease) .28s forwards;
}

.hero-name em { font-style: italic; color: var(--d2); display: block; }

.hero-name-line {
  display: block;
  white-space: nowrap;
}

.hero-word-highlight {
  color: var(--cu);
}

.hero-name-prefix {
  font-size: 0.23em;
  font-weight: 300;
  font-style: normal;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cu);
  display: block;
  margin-bottom: 10px;
}

.hero-tagline {
  font-family: 'Cormorant', serif;
  font-size: clamp(18px, 2vw, 26px);
  font-style: italic;
  font-weight: 300;
  color: var(--mid);
  line-height: 1.55;
  max-width: 560px;
  margin: 36px 0 48px;
  position: relative;
  z-index: 1;
  opacity: 0;
  animation: riseUp .9s var(--ease) .44s forwards;
}

.hero-photo-strip {
  position: relative;
  overflow: hidden;
  background: linear-gradient(156deg, #d7cbba 0%, #baa78f 44%, #7d6754 100%);
}

.hero-photo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  filter: saturate(0.9) contrast(0.9) sepia(0.1) brightness(0.96) hue-rotate(3deg);
}

.hero-photo-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to left,
    rgba(37, 72, 67, 0.4) 0%,
    rgba(37, 72, 67, 0.33) 10%,
    rgba(37, 72, 67, 0.26) 22%,
    rgba(37, 72, 67, 0.18) 38%,
    rgba(37, 72, 67, 0.11) 55%,
    rgba(37, 72, 67, 0.06) 70%,
    rgba(37, 72, 67, 0.03) 84%,
    rgba(37, 72, 67, 0.012) 93%,
    rgba(37, 72, 67, 0) 100%
  );
  transform: translateX(-1.5%);
  z-index: 1;
  pointer-events: none;
}

.hero-photo-strip::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(158deg, rgba(61, 110, 104, 0.18) 0%, rgba(61, 110, 104, 0.09) 42%, rgba(37, 72, 67, 0.14) 100%);
  mix-blend-mode: soft-light;
  opacity: 0.78;
  z-index: 1;
  pointer-events: none;
}

.strip-tag {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin: 0;
  padding: 12px 20px 12px 18px;
  border-radius: 0;
  border-left: 1px solid rgba(var(--accent3-rgb), 0.9);
  border-top: 0.7px solid rgba(247,241,231,0.05);
  background: linear-gradient(180deg, rgba(29,55,52,0.9) 0%, rgba(22,43,41,0.96) 100%);
  box-shadow: inset 0 1px 0 rgba(247,241,231,0.035);
}

.strip-tag-name {
  font-family: 'Cormorant', serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--p);
  margin-bottom: 0;
}

.strip-tag-role {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(246,241,233,0.74);
}

@keyframes riseUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}

/* STATS */
.stats {
  position: relative;
  overflow: hidden;
  background: #13312e;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(246, 241, 233, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.stat-c {
  padding: 44px 56px;
  position: relative;
  overflow: hidden;
  cursor: none;
  z-index: 1;
}

.stat-c::after {
  content: '';
  position: absolute;
  right: 0;
  top: 16%;
  bottom: 16%;
  width: 1px;
  background: linear-gradient(to bottom, rgba(246, 241, 233, 0), rgba(246, 241, 233, 0.028) 35%, rgba(246, 241, 233, 0.028) 65%, rgba(246, 241, 233, 0));
  pointer-events: none;
}

.stat-c:nth-child(even)::after {
  top: 20%;
  bottom: 20%;
  background: linear-gradient(to bottom, rgba(246, 241, 233, 0), rgba(246, 241, 233, 0.022) 35%, rgba(246, 241, 233, 0.022) 65%, rgba(246, 241, 233, 0));
}

.stat-c:last-child::after { display: none; }

.stat-fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0%, rgba(255, 255, 255, 0.01) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease);
}

.stat-c:hover .stat-fill { transform: scaleX(1); }

.stat-n {
  font-family: 'Cormorant', serif;
  font-size: 60px;
  font-weight: 400;
  color: rgba(246, 241, 233, 0.96);
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: -0.03em;
  position: relative;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.15);
}

.stat-l {
  font-size: 8.4px;
  font-weight: 300;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: rgba(246, 241, 233, 0.33);
  position: relative;
}

.stat-accent {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(var(--accent3-rgb), 0.75);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease);
}

.stat-c:hover .stat-accent { transform: scaleX(1); }

/* MANUSCRIPT */
.manuscript {
  padding: 120px 0;
  display: grid;
  grid-template-columns: var(--sb) 160px 1fr 340px 64px;
  background: var(--p);
}

.ms-section {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: var(--sb) 160px 1fr 340px 64px;
  margin-bottom: 80px;
}

.ms-section:last-child { margin-bottom: 0; }

.ms-content {
  grid-column: 3;
  padding: 0 36px 0 0;
}

.ms-content h2 {
  font-family: 'Cormorant', serif;
  font-size: clamp(34px, 3.5vw, 50px);
  font-weight: 300;
  line-height: 1.08;
  color: var(--ink);
  margin-bottom: 28px;
}

.ms-content h2 em { font-style: italic; color: var(--d2); font-weight: 400; }

.ms-content p {
  font-size: clamp(17px, 1.15vw, 18px);
  font-weight: 200;
  color: rgba(50, 66, 63, 0.96);
  line-height: 1.74;
  margin-bottom: 18px;
  max-width: 62ch;
}

.ms-content p:last-child { margin-bottom: 0; }
.ms-content p strong { font-weight: 400; color: var(--ink); }

.ms-content p.ms-signoff {
  margin-top: 38px;
  margin-bottom: 0;
  font-size: clamp(17px, 1.08vw, 18px);
  line-height: 1.62;
  color: rgba(32, 66, 61, 0.95);
  font-style: italic;
}

.ms-content p.ms-signoff::before {
  content: '';
  display: block;
  width: 50px;
  height: 1px;
  margin: 0 0 12px;
  background: rgba(var(--accent3-rgb), 0.46);
}

.ms-aside {
  grid-column: 4;
  padding-left: 24px;
  border-left: 1px solid rgba(216, 203, 175, 0.78);
}

.ms-aside--image {
  display: flex;
  align-items: flex-start;
}

.ms-image-slot {
  width: min(100%, 336px);
  aspect-ratio: 5 / 7;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(24, 48, 45, 0.22);
  background: #d8ccb8;
  box-shadow: 0 14px 28px rgba(24, 48, 45, 0.08);
  isolation: isolate;
}

.ms-image-slot::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(154deg, rgba(37, 72, 67, 0.2) 0%, rgba(61, 110, 104, 0.12) 48%, rgba(246, 241, 233, 0.03) 100%);
  mix-blend-mode: soft-light;
  pointer-events: none;
  z-index: 2;
}

.ms-image-slot-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  transform: scale(1.06);
  filter: saturate(0.94) contrast(0.92) brightness(0.96) sepia(0.09) hue-rotate(-6deg);
}

.ms-label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.ms-label--tight { margin-bottom: 16px; }
.ms-label--roomy { margin-bottom: 20px; }

.ms-label-rule { width: 28px; height: 1px; background: var(--cu); }

.ms-label span {
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cu);
}

/* FORMAZIONE */
.formazione {
  padding: 120px 0;
  background: var(--p2);
}

.fmz-header {
  padding: 0 64px 54px var(--content-rail);
}

.fmz-header .ms-label { margin-bottom: 20px; }

.fmz-header h2 {
  font-family: 'Cormorant', serif;
  font-size: clamp(33px, 3.1vw, 45px);
  font-weight: 300;
  line-height: 1.06;
}

.fmz-header h2 em { font-style: italic; color: var(--cu); font-weight: 400; }

.fmz-list {
  display: flex;
  flex-direction: column;
  padding: 0 64px;
  position: relative;
}

.fmz-list::before {
  content: '';
  position: absolute;
  left: calc(64px + var(--sb) + 160px + 24px);
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--p3) 8%, var(--p3) 92%, transparent);
}

.fmz-row {
  display: grid;
  grid-template-columns: calc(var(--sb) + 160px) 48px 1fr 240px;
  align-items: start;
  position: relative;
}

.fmz-cat {
  text-align: right;
  padding-right: 24px;
  padding-top: 26px;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(74, 94, 90, 0.72);
}

.fmz-dot-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 22px;
}

.fmz-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid var(--p3);
  background: var(--p);
  flex-shrink: 0;
  transition: background .3s, border-color .3s, transform .3s;
  z-index: 1;
}

.fmz-row:hover .fmz-dot {
  background: var(--cu);
  border-color: var(--cu);
  transform: scale(1.4);
}

.fmz-content {
  padding: 18px 20px 36px 28px;
  border-bottom: 1px solid var(--p3);
}

.fmz-row:last-child .fmz-content { border-bottom: none; }

.fmz-degree {
  font-family: 'Cormorant', serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 5px;
  line-height: 1.2;
  transition: color .3s;
}

.fmz-row:hover .fmz-degree { color: var(--d2); }

.fmz-inst {
  font-size: 11.5px;
  font-weight: 300;
  letter-spacing: 0.01em;
  color: var(--lt);
  line-height: 1.45;
  text-align: right;
}

.fmz-inst strong { font-weight: 400; color: var(--cu); }

.fmz-year {
  padding: 22px 0 0;
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  border-bottom: 1px solid var(--p3);
}

.fmz-year .fmz-inst {
  margin-top: 0;
  max-width: 100%;
  text-wrap: pretty;
}

.fmz-row:last-child .fmz-year { border-bottom: none; }

.fmz-row.fmz-l1 .fmz-degree {
  font-size: 25px;
  font-weight: 460;
  color: var(--ink);
}

.fmz-row.fmz-l1 .fmz-cat {
  color: rgba(var(--accent3-rgb), 0.82);
  letter-spacing: 0.18em;
}

.fmz-row.fmz-l1 .fmz-dot {
  width: 10px;
  height: 10px;
  border-color: rgba(var(--accent3-rgb), 0.45);
}

.fmz-row.fmz-l1 .fmz-inst {
  font-size: 12.3px;
  color: rgba(74, 94, 90, 0.86);
}

.fmz-row.fmz-l2 .fmz-degree {
  font-size: 21px;
  font-weight: 410;
}

.fmz-row.fmz-l2 .fmz-inst {
  font-size: 12px;
  color: rgba(74, 94, 90, 0.77);
}

.fmz-row.fmz-l3 .fmz-degree {
  font-size: 18px;
  font-weight: 380;
  color: rgba(15, 28, 26, 0.78);
}

.fmz-row.fmz-l3 .fmz-cat {
  color: rgba(111, 130, 126, 0.9);
  letter-spacing: 0.16em;
}

.fmz-row.fmz-l3 .fmz-inst {
  font-size: 11.2px;
  color: rgba(138, 160, 156, 0.9);
}

.fmz-row.fmz-l3 .fmz-dot {
  width: 8px;
  height: 8px;
  border-color: rgba(216,203,175,0.92);
}

.fmz-row.fmz-milestone .fmz-content {
  background: rgba(var(--accent3-rgb), 0.05);
  border-left: 1px solid rgba(var(--accent3-rgb), 0.46);
  padding-top: 12px;
  padding-bottom: 22px;
  padding-left: 22px;
}

.fmz-row.fmz-milestone .fmz-dot {
  border-color: rgba(var(--accent3-rgb), 0.68);
  background: rgba(var(--accent3-rgb), 0.14);
  box-shadow: 0 0 0 2px rgba(var(--accent3-rgb), 0.09);
}

.fmz-row.fmz-milestone .fmz-degree {
  font-weight: 500;
}

/* DOCENZA */
.docenza {
  background: var(--deep);
  padding: 120px 64px;
  position: relative;
  overflow: hidden;
}

.docenza::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(61,110,104,0.12), transparent 65%);
  pointer-events: none;
}

.doc-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 72px;
  padding-left: calc(var(--content-rail) - 64px);
}

.doc-header .ms-label span { color: var(--cu2); }
.doc-header .ms-label-rule { background: var(--cu2); }

.doc-header h2 {
  font-family: 'Cormorant', serif;
  font-size: clamp(36px, 3.5vw, 52px);
  font-weight: 300;
  color: var(--p);
  line-height: 1.08;
}

.doc-header h2 em { font-style: italic; color: var(--cu2); font-weight: 400; }

.doc-header p {
  font-size: 15.8px;
  font-weight: 285;
  color: rgba(246,241,233,0.66);
  line-height: 1.76;
  max-width: 33ch;
  align-self: end;
}

.doc-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0.6px;
  padding-left: calc(var(--content-rail) - 64px);
}

.doc-card {
  background: rgba(255,255,255,0.022);
  padding: 46px 40px;
  border: 0.5px solid rgba(246,241,233,0.055);
  position: relative;
  overflow: hidden;
  cursor: none;
  transition: background .35s, border-color .35s;
}

.doc-card:nth-child(1) { grid-column: span 5; }
.doc-card:nth-child(2) { grid-column: span 4; }
.doc-card:nth-child(3) { grid-column: span 3; }
.doc-card:nth-child(4) { grid-column: span 7; }
.doc-card:nth-child(5) { grid-column: span 5; }

.doc-card:hover {
  background: rgba(255,255,255,0.042);
  border-color: rgba(246,241,233,0.08);
}

.doc-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0.6px;
  background: rgba(var(--accent3-rgb), 0.6);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}

.doc-card:hover::after { transform: scaleX(1); }

.doc-city {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 9px;
  font-weight: 470;
  letter-spacing: 0.16em;
  font-variant-caps: all-small-caps;
  text-transform: none;
  color: rgba(var(--accent3-rgb), 0.92);
  margin-bottom: 14px;
  line-height: 1;
}

.doc-city::after {
  content: '';
  width: 18px;
  height: 0.6px;
  background: rgba(var(--accent3-rgb), 0.46);
  transform: translateY(1px);
}

.doc-uni {
  font-family: 'Cormorant', serif;
  font-size: 20px;
  font-weight: 430;
  color: var(--p);
  line-height: 1.22;
  margin-bottom: 16px;
}

.doc-uni a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.25s, border-color 0.25s;
}

.doc-uni a:hover {
  color: var(--cu2);
  border-bottom-color: rgba(var(--accent3-rgb), 0.55);
}

.doc-uni a:focus-visible {
  outline: 1px solid rgba(var(--accent3-rgb), 0.75);
  outline-offset: 3px;
}

.doc-courses {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.doc-courses--two-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 18px;
  row-gap: 6px;
}

.doc-courses li {
  font-size: 10.8px;
  font-weight: 250;
  color: rgba(246,241,233,0.36);
  padding-left: 14px;
  line-height: 1.62;
  position: relative;
}

.doc-courses li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--cu);
  opacity: .38;
}

/* REGISTRI */
.registri {
  background: var(--p2);
  padding: 100px 64px 100px var(--content-rail);
}

.reg-inner {
  max-width: none;
  margin: 0;
}

.reg-inner .ms-label { margin-bottom: 20px; }

.reg-inner h2 {
  font-family: 'Cormorant', serif;
  font-size: clamp(36px, 3.8vw, 54px);
  font-weight: 300;
  line-height: 1.05;
  margin-bottom: 42px;
}

.reg-inner h2 em { font-style: italic; color: var(--cu); font-weight: 400; }
.reg-list { display: flex; flex-direction: column; }

.reg-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 186px;
  align-items: start;
  gap: 24px;
  padding: 30px 0;
  border-bottom: 0.6px solid rgba(24, 48, 45, 0.075);
  cursor: none;
  position: relative;
  overflow: hidden;
  transition: background-color .28s var(--ease), border-color .28s var(--ease);
}

.reg-row::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(var(--accent3-rgb), 0.06);
  opacity: 0;
  transition: opacity .24s var(--ease);
}

.reg-row:hover {
  background: rgba(246, 241, 233, 0.44);
  border-bottom-color: rgba(24, 48, 45, 0.11);
}

.reg-row:hover::before { opacity: 1; }
.reg-row:last-child { border-bottom: none; }

.reg-title {
  font-family: 'Cormorant', serif;
  font-size: 21px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 3px;
  position: relative;
  z-index: 1;
}

.reg-sub {
  font-size: 11.5px;
  font-weight: 285;
  color: rgba(74, 94, 90, 0.86);
  position: relative;
  z-index: 1;
}

.reg-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-self: end;
  width: 186px;
  gap: 1px;
  padding-top: 1px;
  position: relative;
  z-index: 1;
}

.reg-badge {
  font-size: 8.35px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: none;
  color: rgba(var(--accent3-rgb), 0.92);
  background: rgba(var(--accent3-rgb), 0.035);
  border: 0.6px solid rgba(var(--accent3-rgb), 0.16);
  padding: 2px 8px;
  line-height: 1.08;
  white-space: nowrap;
  position: relative;
  z-index: 1;
}

.reg-detail {
  font-size: 9.6px;
  font-weight: 450;
  letter-spacing: 0.055em;
  color: rgba(74, 94, 90, 0.9);
}

.reg-detail:hover {
  color: var(--cu);
}

.reg-detail:focus-visible {
  outline: 1px solid rgba(var(--accent3-rgb), 0.7);
  outline-offset: 2px;
}

.reg-detail--pending {
  color: rgba(74, 94, 90, 0.64);
  cursor: default;
}

/* CTA */
.cta {
  background: var(--p);
  padding: 140px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid;
  pointer-events: none;
}

.cta-ring:nth-child(1) { width: 800px; height: 800px; border-color: rgba(24,48,45,0.04); }
.cta-ring:nth-child(2) { width: 560px; height: 560px; border-color: rgba(var(--accent3-rgb), 0.06); }
.cta-ring:nth-child(3) { width: 340px; height: 340px; border-color: rgba(24,48,45,0.04); }

.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.cta-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 28px;
}

.cta-eyebrow::before,
.cta-eyebrow::after {
  content: '';
  width: 36px;
  height: 1px;
  background: var(--cu);
}

.cta-eyebrow span {
  font-size: 9px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--cu);
}

.cta h2 {
  font-family: 'Cormorant', serif;
  font-size: clamp(44px, 5.5vw, 78px);
  font-weight: 300;
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 20px;
}

.cta h2 em { font-style: italic; font-weight: 400; color: var(--d2); }

.cta p {
  font-size: 15px;
  font-weight: 200;
  color: var(--mid);
  margin-bottom: 52px;
  line-height: 1.9;
}

.cta-btns {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.btn-cta {
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: var(--deep);
  color: var(--p);
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 23px 64px;
  text-decoration: none;
  cursor: none;
  display: inline-block;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.03),
    0 10px 22px rgba(24,48,45,0.08);
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.btn-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.btn-cta span { position: relative; z-index: 1; }
.btn-cta:hover {
  background: #21413d;
  color: rgba(246,241,233,0.98);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 12px 24px rgba(24,48,45,0.1);
}
.btn-cta:hover::before { opacity: 1; }

.cta-band-micro {
  position: relative;
  z-index: 1;
  margin-top: 18px;
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: rgba(24,48,45,0.56);
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0 1px;
  transition: color 0.22s ease, background-size 0.22s ease;
  cursor: none;
}

.cta-band-micro:hover {
  color: var(--deep);
  background-size: 100% 1px;
}

@media (max-width: 1200px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 36vw);
  }

  .hero-text {
    padding: 48px 42px 58px;
    transform: translateY(-18px);
  }

  .stats .stat-c {
    padding: 36px 28px;
  }

  .manuscript,
  .ms-section {
    grid-template-columns: var(--sb) 96px 1fr 300px 28px;
  }

  .ms-content {
    padding-right: 24px;
  }

  .ms-aside {
    padding-left: 18px;
  }

  .formazione {
    padding: 96px 0;
  }

  .fmz-header {
    padding: 0 42px 44px calc(var(--sb) + 96px);
  }

  .fmz-list {
    padding: 0 42px;
  }

  .fmz-list::before {
    left: calc(42px + var(--sb) + 96px + 24px);
  }

  .fmz-row {
    grid-template-columns: calc(var(--sb) + 96px) 40px 1fr 200px;
  }

  .docenza {
    padding: 96px 42px;
  }

  .doc-header {
    padding-left: calc(var(--sb) + 96px - 42px);
    gap: 42px;
    margin-bottom: 56px;
  }

  .doc-grid {
    padding-left: calc(var(--sb) + 96px - 42px);
  }

  .doc-card {
    padding: 34px 28px;
  }

  .registri {
    padding: 88px 42px 88px calc(var(--sb) + 96px);
  }

  .cta {
    padding: 112px 42px;
  }

  .cta-ring:nth-child(1) { width: 640px; height: 640px; }
  .cta-ring:nth-child(2) { width: 460px; height: 460px; }
  .cta-ring:nth-child(3) { width: 280px; height: 280px; }
}

@media (max-width: 960px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-text {
    padding: 72px 22px 36px;
    transform: none;
  }

  .hero-name {
    font-size: clamp(27px, 5vw, 42px);
    max-width: none;
  }

  .hero-name-line {
    white-space: normal;
  }

  .hero-name-prefix {
    font-size: 0.24em;
    letter-spacing: 0.14em;
  }

  .hero-tagline {
    margin-bottom: 30px;
  }

  .hero-photo-strip {
    min-height: 420px;
  }

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

  .stats .stat-c {
    padding: 30px 20px;
  }

  .manuscript {
    padding: 84px 22px;
    display: block;
  }

  .ms-section {
    display: block;
    margin-bottom: 52px;
  }

  .ms-content,
  .ms-aside {
    grid-column: auto;
    padding: 0;
    border-left: none;
  }

  .ms-aside--image {
    margin-top: 28px;
  }

  .ms-image-slot {
    width: min(100%, 360px);
  }

  .formazione {
    padding: 84px 0;
  }

  .fmz-header {
    padding: 0 22px 34px;
  }

  .fmz-list {
    padding: 0 22px;
  }

  .fmz-list::before {
    left: 125px;
  }

  .fmz-row {
    grid-template-columns: 92px 32px minmax(0, 1fr);
  }

  .fmz-cat {
    padding-right: 14px;
    padding-top: 22px;
    font-size: 8px;
  }

  .fmz-dot-col {
    padding-top: 19px;
  }

  .fmz-content {
    padding: 14px 0 16px 18px;
  }

  .fmz-year {
    grid-column: 1 / -1;
    align-items: flex-start;
    text-align: left;
    padding: 6px 0 20px calc(92px + 32px + 18px);
    border-bottom: 1px solid var(--p3);
  }

  .fmz-inst {
    text-align: left;
  }

  .fmz-row.fmz-l1 .fmz-degree { font-size: 22px; }
  .fmz-row.fmz-l2 .fmz-degree { font-size: 19px; }
  .fmz-row.fmz-l3 .fmz-degree { font-size: 16.5px; }
  .fmz-row.fmz-milestone .fmz-content { padding-left: 18px; }

  .docenza {
    padding: 84px 22px;
  }

  .doc-header {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 36px;
    padding-left: 0;
  }

  .doc-header p {
    max-width: none;
  }

  .doc-grid {
    padding-left: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
  }

  .doc-card {
    grid-column: auto !important;
    padding: 30px 22px;
  }

  .doc-courses--two-cols {
    grid-template-columns: 1fr;
  }

  .registri {
    padding: 80px 22px;
  }

  .reg-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 22px 0;
  }

  .reg-side {
    justify-self: start;
    align-items: flex-start;
    width: auto;
  }

  .cta {
    padding: 94px 22px;
  }

  .cta p {
    margin-bottom: 38px;
  }

  .btn-cta {
    padding: 18px 32px;
  }
}

@media (max-width: 640px) {
  .stats {
    display: none;
  }

  .hero-text {
    padding: 64px 18px 30px;
  }

  .hero-name {
    width: 100%;
    font-size: clamp(21px, 6.6vw, 28px);
    font-weight: 400;
    line-height: 1.04;
    max-width: none;
    color: var(--deep);
  }

  .hero-name-prefix {
    font-size: 0.38em;
    letter-spacing: 0.13em;
    margin-bottom: 12px;
    color: var(--deep);
    font-weight: 400;
  }

  .hero-name em {
    color: var(--deep2);
  }

  .hero-name-line {
    display: inline;
    white-space: normal;
  }

  .hero-tagline {
    font-size: 17px;
    font-weight: 400;
    line-height: 1.52;
    color: rgba(24, 48, 45, 0.82);
    width: 100%;
    max-width: none;
    margin-bottom: 24px;
    text-wrap: pretty;
  }

  .hero-tagline br {
    display: none;
  }

  .hero-photo-strip {
    min-height: 320px;
  }

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

  .stat-n {
    font-size: 50px;
  }

  .manuscript {
    padding: 70px 16px;
  }

  .fmz-list {
    padding: 0 16px;
  }

  .fmz-list::before {
    left: 96px;
  }

  .fmz-row {
    grid-template-columns: 72px 24px minmax(0, 1fr);
  }

  .fmz-content {
    padding-left: 14px;
  }

  .fmz-year {
    padding-left: calc(72px + 24px + 14px);
  }

  .fmz-row.fmz-l1 .fmz-degree { font-size: 20px; }
  .fmz-row.fmz-l2 .fmz-degree { font-size: 17.5px; }
  .fmz-row.fmz-l3 .fmz-degree { font-size: 15.5px; }
  .fmz-row.fmz-milestone .fmz-content { padding-left: 16px; }

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

  .doc-card {
    padding: 26px 16px;
  }

  .doc-uni {
    font-size: 18px;
  }

  .doc-courses li {
    font-size: 10px;
  }

  .reg-title {
    font-size: 18px;
  }

  .reg-sub {
    font-size: 11px;
  }

  .cta {
    padding: 80px 16px;
  }

  .cta-ring:nth-child(1) { width: 460px; height: 460px; }
  .cta-ring:nth-child(2) { width: 310px; height: 310px; }
  .cta-ring:nth-child(3) { width: 190px; height: 190px; }

  .cta-eyebrow {
    gap: 12px;
    margin-bottom: 20px;
  }

  .cta h2 {
    font-size: clamp(34px, 10vw, 46px);
  }

  .cta p {
    margin-bottom: 30px;
  }

  .btn-cta {
    width: 100%;
    text-align: center;
    padding: 14px 18px;
  }
}

@media (max-width: 960px) {
  .ms-content p,
  .fmz-inst,
  .reg-sub,
  .reg-detail,
  .reg-detail--pending,
  .cta p {
    font-weight: 300;
    color: rgba(36, 60, 56, 0.9);
  }

  .doc-header p {
    color: rgba(246, 241, 233, 0.8);
  }

  .doc-courses li {
    font-weight: 300;
    color: rgba(246, 241, 233, 0.62);
  }
}
