:root {
  --pro-bg: #eef4f7;
  --pro-surface: #ffffff;
  --pro-ink: #0f172a;
  --pro-muted: #52607a;
  --pro-line: #d4dde8;
  --pro-line-strong: #a8b8cc;
  --pro-teal: #0d7a87;
  --pro-teal-bright: #14a3b3;
  --pro-blue: #2563eb;
  --pro-coral: #e07a3a;
  --pro-accent: #0d7a87;
  --pro-accent-hover: #0a5f69;
  --pro-accent-soft: #e0f4f6;
  --pro-accent-soft-2: #e8efff;
  --pro-dark: #0f172a;
  --pro-dark-muted: #94a3b8;
  --pro-gradient: linear-gradient(125deg, #0d7a87 0%, #1a6b8a 45%, #2563eb 100%);
  --pro-gradient-warm: linear-gradient(125deg, #0d7a87, #14a3b3);
  --pro-success-bg: #e6f7ed;
  --pro-success-text: #166534;
  --pro-error-bg: #fef2f2;
  --pro-error-text: #991b1b;
  --pro-radius: 8px;
  --pro-radius-lg: 12px;
  --pro-wrap: 70rem;
  --pro-sans: "Source Sans 3", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --pro-serif: "Source Serif 4", "Amiri", Georgia, serif;
  --pro-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  --pro-shadow-hover: 0 12px 40px rgba(13, 122, 135, 0.12);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }

.hidden { display: none !important; }

.font-naskh { font-family: "Amiri", "IBM Plex Sans Arabic", serif; }

.pro-body {
  min-height: 100vh;
  background:
    radial-gradient(55rem 32rem at 0% -5%, rgba(20, 163, 179, 0.14), transparent 55%),
    radial-gradient(45rem 28rem at 100% 0%, rgba(37, 99, 235, 0.1), transparent 50%),
    radial-gradient(40rem 24rem at 80% 100%, rgba(224, 122, 58, 0.06), transparent 55%),
    var(--pro-bg);
  color: var(--pro-ink);
  font-family: var(--pro-sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

html[dir="rtl"] .pro-body {
  font-family: "IBM Plex Sans Arabic", "Source Sans 3", sans-serif;
}

.pro-wrap {
  width: min(var(--pro-wrap), 100% - 2.5rem);
  margin-inline: auto;
}

.skip {
  position: absolute;
  inset-inline-start: -999px;
  top: 0;
  z-index: 80;
  padding: 0.5rem 0.85rem;
  background: var(--pro-accent);
  color: #fff;
  text-decoration: none;
}
.skip:focus { inset-inline-start: 1rem; top: 1rem; }

/* Header */
.pro-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--pro-surface) 88%, transparent);
  border-bottom: 1px solid var(--pro-line);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(13, 122, 135, 0.08);
}

.pro-header::after {
  content: "";
  display: block;
  height: 2px;
  background: var(--pro-gradient);
  opacity: 0.85;
}

.pro-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0.9rem 0;
}

.pro-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.pro-brand__mark {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  background: var(--pro-gradient);
  color: #fff;
  font-family: var(--pro-serif);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--pro-radius);
  box-shadow: 0 4px 12px rgba(13, 122, 135, 0.35);
}

.pro-brand__name {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.pro-brand__role {
  display: block;
  font-size: 0.72rem;
  color: var(--pro-muted);
  margin-top: 0.1rem;
}

.pro-nav {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

.pro-nav__link {
  padding: 0.45rem 0.65rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--pro-muted);
  text-decoration: none;
  border-radius: var(--pro-radius);
  transition: color 0.15s, background 0.15s;
}

.pro-nav__link:hover {
  color: var(--pro-ink);
  background: var(--pro-bg);
}

.pro-nav__link.is-active {
  color: var(--pro-teal);
  background: var(--pro-accent-soft);
  box-shadow: inset 0 -2px 0 var(--pro-teal-bright);
}

.pro-header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.pro-lang {
  display: none;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.pro-lang a {
  color: var(--pro-muted);
  text-decoration: none;
  padding: 0.2rem 0.35rem;
}

.pro-lang a:hover { color: var(--pro-ink); }
.pro-lang a.is-active { color: var(--pro-accent); }

.pro-menu-btn {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid var(--pro-line);
  border-radius: var(--pro-radius);
  background: var(--pro-surface);
  color: var(--pro-ink);
  cursor: pointer;
}

.pro-menu-btn svg { width: 1.15rem; height: 1.15rem; }

.pro-mobile-nav {
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--pro-line);
}

.pro-mobile-nav a {
  display: block;
  padding: 0.55rem 0;
  font-weight: 500;
  color: var(--pro-ink);
  text-decoration: none;
  border-bottom: 1px solid var(--pro-line);
}

.pro-mobile-nav a.is-active { color: var(--pro-accent); }
.pro-mobile-nav .pro-lang { display: flex; margin-top: 0.75rem; }

@media (min-width: 900px) {
  .pro-nav { display: flex; }
  .pro-lang { display: flex; }
  .pro-menu-btn { display: none; }
  .pro-mobile-nav { display: none !important; }
  .pro-cta-desktop { display: inline-flex; }
}

.pro-cta-desktop { display: none; }

.pro-main {
  padding: 2.75rem 0 4.5rem;
}

/* Type */
.pro-kicker {
  margin: 0 0 0.5rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--pro-gradient-warm);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pro-h1 {
  margin: 0;
  font-family: var(--pro-serif);
  font-size: clamp(1.85rem, 4.5vw, 2.85rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.pro-h1::after {
  content: "";
  display: block;
  width: 3.5rem;
  height: 4px;
  margin-top: 0.85rem;
  border-radius: 4px;
  background: var(--pro-gradient);
}

.pro-h2 {
  margin: 0;
  font-family: var(--pro-serif);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 600;
  line-height: 1.2;
}

.pro-h2::after {
  content: "";
  display: block;
  width: 2rem;
  height: 3px;
  margin-top: 0.5rem;
  border-radius: 3px;
  background: var(--pro-gradient-warm);
}

.pro-subtitle {
  margin: 0.65rem 0 0;
  font-size: 1.1rem;
  color: var(--pro-muted);
  max-width: 36rem;
}

.pro-lead {
  margin: 1rem 0 0;
  font-size: 1.05rem;
  color: var(--pro-muted);
  max-width: 40rem;
  line-height: 1.7;
}

.pro-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--pro-teal);
  text-decoration: none;
}

.pro-link:hover {
  color: var(--pro-blue);
  text-decoration: underline;
}

/* Buttons */
.pro-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.2rem;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--pro-radius);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.pro-btn--primary {
  background: var(--pro-gradient);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(13, 122, 135, 0.35);
}

.pro-btn--primary:hover {
  filter: brightness(1.05);
  box-shadow: 0 6px 20px rgba(13, 122, 135, 0.4);
}

.pro-btn--outline {
  background: var(--pro-surface);
  color: var(--pro-teal);
  border-color: color-mix(in srgb, var(--pro-teal) 35%, var(--pro-line));
}

.pro-btn--outline:hover {
  border-color: var(--pro-teal);
  background: var(--pro-accent-soft);
  color: var(--pro-accent-hover);
}

.pro-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.75rem;
}

/* Layout grids */
.pro-grid {
  display: grid;
  gap: 1.25rem;
}

.pro-grid--2 { grid-template-columns: 1fr; }
.pro-grid--3 { grid-template-columns: 1fr; }

@media (min-width: 768px) {
  .pro-grid--2 { grid-template-columns: repeat(2, 1fr); }
  .pro-grid--3 { grid-template-columns: repeat(3, 1fr); }
}

.pro-hero {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 960px) {
  .pro-hero { grid-template-columns: 1.15fr 0.85fr; }
}

.pro-badge {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.4rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--pro-gradient);
  border-radius: 999px;
  box-shadow: 0 2px 10px rgba(13, 122, 135, 0.3);
}

.pro-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 2rem;
}

.pro-stat {
  padding: 1.1rem 0.85rem;
  background: var(--pro-surface);
  text-align: center;
  border: 1px solid var(--pro-line);
  border-radius: var(--pro-radius);
  box-shadow: var(--pro-shadow);
  border-top: 3px solid var(--pro-teal);
}

.pro-stat:nth-child(2) { border-top-color: var(--pro-blue); }
.pro-stat:nth-child(3) { border-top-color: var(--pro-coral); }

.pro-stat__val {
  margin: 0;
  font-family: var(--pro-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--pro-teal);
}

.pro-stat:nth-child(2) .pro-stat__val { color: var(--pro-blue); }
.pro-stat:nth-child(3) .pro-stat__val { color: var(--pro-coral); }

.pro-stat__val--sm {
  font-size: 1.05rem;
  color: var(--pro-ink);
}

.pro-stat__label {
  margin: 0.25rem 0 0;
  font-size: 0.72rem;
  color: var(--pro-muted);
}

.pro-profile-card {
  background: var(--pro-surface);
  border: 1px solid var(--pro-line);
  border-radius: var(--pro-radius-lg);
  overflow: hidden;
  box-shadow: var(--pro-shadow);
}

.pro-profile-card::before {
  content: "";
  display: block;
  height: 4px;
  background: var(--pro-gradient);
}

.pro-profile-card__photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}

.pro-profile-card__body {
  padding: 1rem 1.15rem;
  border-top: 1px solid var(--pro-line);
}

.pro-profile-card__initials {
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, var(--pro-accent-soft), var(--pro-accent-soft-2));
  font-family: var(--pro-serif);
  font-size: 2.75rem;
  color: var(--pro-teal);
}

/* Sections */
.pro-section {
  margin-top: 3.5rem;
  padding-top: 0;
}

.pro-section--panel {
  padding: 2rem 1.75rem;
  background: color-mix(in srgb, var(--pro-surface) 92%, transparent);
  border: 1px solid var(--pro-line);
  border-radius: var(--pro-radius-lg);
  box-shadow: var(--pro-shadow);
  backdrop-filter: blur(6px);
}

.pro-section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

/* Cards */
.pro-card {
  display: block;
  height: 100%;
  padding: 1.35rem 1.25rem;
  background: var(--pro-surface);
  border: 1px solid var(--pro-line);
  border-radius: var(--pro-radius);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  position: relative;
  overflow: hidden;
}

.pro-card::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 3px;
  background: var(--pro-gradient);
  opacity: 0.85;
}

.pro-card:hover {
  border-color: color-mix(in srgb, var(--pro-teal) 40%, var(--pro-line));
  box-shadow: var(--pro-shadow-hover);
  transform: translateY(-2px);
}

.pro-card--wide {
  grid-column: 1 / -1;
}

@media (min-width: 768px) {
  .pro-card--wide {
    display: grid;
    grid-template-columns: 1.2fr 0.75fr;
    gap: 1.5rem;
    align-items: center;
  }
}

.pro-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pro-muted);
}

.pro-card__cta {
  color: var(--pro-accent);
  opacity: 0;
  transition: opacity 0.15s;
  text-transform: none;
  letter-spacing: 0;
}

.pro-card:hover .pro-card__cta { opacity: 1; }

.pro-card__title {
  margin: 0;
  font-family: var(--pro-serif);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.25;
}

.pro-card__text {
  margin: 0.5rem 0 0;
  font-size: 0.92rem;
  color: var(--pro-muted);
  line-height: 1.55;
}

.pro-card__img {
  width: 100%;
  height: 10.5rem;
  object-fit: cover;
  border-radius: var(--pro-radius);
  border: 1px solid var(--pro-line);
  margin-top: 1rem;
}

@media (min-width: 768px) {
  .pro-card--wide .pro-card__img { margin-top: 0; }
}

.pro-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.85rem;
}

.pro-tag {
  font-size: 0.72rem;
  padding: 0.25rem 0.55rem;
  background: var(--pro-accent-soft);
  border: 1px solid color-mix(in srgb, var(--pro-teal) 20%, var(--pro-line));
  border-radius: 999px;
  color: var(--pro-teal);
  font-weight: 500;
}

.pro-tags .pro-tag:nth-child(3n + 2) {
  background: var(--pro-accent-soft-2);
  color: var(--pro-blue);
  border-color: color-mix(in srgb, var(--pro-blue) 25%, var(--pro-line));
}

.pro-tags .pro-tag:nth-child(3n) {
  background: #fef3e8;
  color: #b45309;
  border-color: #fcd9bd;
}

/* Split layout */
.pro-split {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}

@media (min-width: 960px) {
  .pro-split { grid-template-columns: 1.5fr 0.85fr; }
}

.pro-box {
  padding: 1.25rem;
  background: var(--pro-surface);
  border: 1px solid var(--pro-line);
  border-radius: var(--pro-radius);
  margin-bottom: 1rem;
  box-shadow: 0 1px 8px rgba(15, 23, 42, 0.04);
  transition: box-shadow 0.2s;
}

.pro-box:hover {
  box-shadow: var(--pro-shadow);
}

.pro-box--dark {
  background: linear-gradient(145deg, #0f172a, #1e293b);
  border-color: #334155;
  color: #eef1f6;
}

.pro-box--dark .pro-kicker {
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  color: var(--pro-teal-bright);
}

.pro-box__title {
  margin: 0 0 0.85rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pro-muted);
}

.pro-box--dark .pro-box__title { color: var(--pro-dark-muted); }

.pro-rows {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pro-rows li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--pro-line);
  font-size: 0.88rem;
}

.pro-box--dark .pro-rows li { border-color: rgba(255, 255, 255, 0.1); }
.pro-rows li:last-child { border-bottom: 0; }

.pro-timeline {
  border-inline-start: 2px solid var(--pro-line);
  padding-inline-start: 1.25rem;
}

.pro-timeline__item {
  position: relative;
  padding-bottom: 1.5rem;
}

.pro-timeline__item::before {
  content: "";
  position: absolute;
  inset-inline-start: -1.42rem;
  top: 0.35rem;
  width: 10px;
  height: 10px;
  background: var(--pro-teal-bright);
  border-radius: 50%;
  outline: 3px solid var(--pro-bg);
  box-shadow: 0 0 0 1px var(--pro-teal);
}

.pro-timeline__date {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pro-muted);
}

.pro-timeline__title {
  margin: 0.35rem 0 0;
  font-family: var(--pro-serif);
  font-size: 1.1rem;
  font-weight: 600;
}

.pro-timeline__org {
  margin: 0.15rem 0 0;
  font-size: 0.85rem;
  color: var(--pro-muted);
}

.pro-timeline ul {
  margin: 0.65rem 0 0;
  padding-inline-start: 1.1rem;
  color: var(--pro-muted);
  font-size: 0.9rem;
}

/* Honors */
.pro-honors-bar {
  margin-top: 2.5rem;
  padding: 1.5rem;
  background: var(--pro-gradient);
  color: #f0fdfa;
  border-radius: var(--pro-radius-lg);
  box-shadow: 0 8px 32px rgba(13, 122, 135, 0.25);
}

.pro-honors-bar__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.pro-honors-bar .pro-kicker {
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  color: rgba(255, 255, 255, 0.75);
}

.pro-honors-bar__title {
  margin: 0.35rem 0 0;
  font-family: var(--pro-serif);
  font-size: 1.35rem;
  font-weight: 600;
}

.pro-honors-bar__link {
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.pro-honors-bar__grid {
  display: grid;
  gap: 1px;
  margin-top: 1.25rem;
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--pro-radius);
  overflow: hidden;
}

@media (min-width: 640px) {
  .pro-honors-bar__grid { grid-template-columns: repeat(3, 1fr); }
}

.pro-honors-bar__cell {
  padding: 1rem;
  background: var(--pro-dark);
}

.pro-honors-bar__score {
  margin: 0;
  font-family: var(--pro-serif);
  font-size: 1.75rem;
}

.pro-honors-bar__label {
  margin: 0.25rem 0 0;
  font-size: 0.82rem;
  color: var(--pro-dark-muted);
}

#distinction { scroll-margin-top: 5.5rem; }

.pro-letter {
  margin-top: 2rem;
  background: var(--pro-surface);
  border: 1px solid var(--pro-line);
  border-radius: var(--pro-radius);
  overflow: hidden;
}

.pro-letter__head {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--pro-line);
  background: linear-gradient(135deg, var(--pro-accent-soft), var(--pro-accent-soft-2));
}

.pro-letter__scores {
  display: grid;
  gap: 1px;
  background: var(--pro-line);
  border-bottom: 1px solid var(--pro-line);
}

@media (min-width: 640px) {
  .pro-letter__scores { grid-template-columns: repeat(3, 1fr); }
}

.pro-letter__score {
  padding: 1rem 1.25rem;
  background: var(--pro-surface);
}

.pro-letter__body {
  padding: 1.5rem;
}

.pro-letter blockquote {
  border: 0;
  font-style: normal;
}

.pro-letter__quote {
  text-align: center;
  margin-bottom: 1.5rem;
}

.pro-letter__text {
  max-width: 42rem;
  margin-inline: auto;
  color: var(--pro-muted);
}

.pro-letter__text p { margin: 0 0 1rem; }

.pro-letter details {
  max-width: 42rem;
  margin: 1.5rem auto 0;
  padding: 1rem;
  border: 1px solid var(--pro-line);
  background: var(--pro-bg);
  border-radius: var(--pro-radius);
}

.pro-letter summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--pro-accent);
}

/* Contact & forms */
.pro-contact {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 960px) {
  .pro-contact { grid-template-columns: 1fr 1fr; }
}

.pro-contact-list {
  border: 1px solid var(--pro-line);
  border-radius: var(--pro-radius);
  background: var(--pro-surface);
  overflow: hidden;
}

.pro-contact-list a,
.pro-contact-list div {
  display: block;
  padding: 1rem 1.15rem;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid var(--pro-line);
}

.pro-contact-list a:last-child,
.pro-contact-list div:last-child { border-bottom: 0; }

.pro-contact-list a:hover { background: var(--pro-accent-soft); }

.pro-contact-list__label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pro-muted);
}

.pro-contact-list__val {
  display: block;
  margin-top: 0.2rem;
  font-weight: 600;
}

.pro-form {
  padding: 1.35rem;
  background: var(--pro-surface);
  border: 1px solid var(--pro-line);
  border-radius: var(--pro-radius);
}

.pro-field {
  margin-bottom: 1rem;
}

.pro-field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pro-muted);
}

.pro-field input,
.pro-field textarea {
  width: 100%;
  padding: 0.6rem 0.7rem;
  font: inherit;
  font-size: 0.92rem;
  border: 1px solid var(--pro-line);
  border-radius: var(--pro-radius);
  background: var(--pro-bg);
  color: var(--pro-ink);
}

.pro-field input:focus,
.pro-field textarea:focus {
  outline: 2px solid color-mix(in srgb, var(--pro-accent) 35%, transparent);
  border-color: var(--pro-accent);
  background: var(--pro-surface);
}

.pro-field textarea { min-height: 8rem; resize: vertical; }

.pro-alert {
  padding: 0.75rem 0.85rem;
  margin-bottom: 1rem;
  font-size: 0.88rem;
  border-radius: var(--pro-radius);
  border: 1px solid var(--pro-line);
}

.pro-alert--ok {
  background: var(--pro-success-bg);
  color: var(--pro-success-text);
  border-color: color-mix(in srgb, var(--pro-success-text) 25%, var(--pro-line));
}

.pro-alert--err {
  background: var(--pro-error-bg);
  color: var(--pro-error-text);
}

.pro-breadcrumb {
  margin: 0 0 1.25rem;
  font-size: 0.82rem;
  color: var(--pro-muted);
}

.pro-breadcrumb a {
  color: var(--pro-accent);
  text-decoration: none;
}

.pro-breadcrumb a:hover { text-decoration: underline; }

.pro-empty {
  padding: 2rem;
  text-align: center;
  color: var(--pro-muted);
  background: var(--pro-surface);
  border: 1px solid var(--pro-line);
  border-radius: var(--pro-radius);
}

.pro-center {
  max-width: 28rem;
  margin-inline: auto;
  text-align: center;
  padding: 2rem 0;
}

/* Distinction trigger & modal */
.pro-honors-trigger {
  display: block;
  width: 100%;
  max-width: 32rem;
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  text-align: start;
  font: inherit;
  cursor: pointer;
  background: var(--pro-surface);
  border: 1px solid var(--pro-line);
  border-inline-start: 3px solid var(--pro-teal);
  border-radius: var(--pro-radius);
  box-shadow: var(--pro-shadow);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.pro-honors-trigger:hover {
  border-color: color-mix(in srgb, var(--pro-teal) 40%, var(--pro-line));
  box-shadow: var(--pro-shadow-hover);
}

.pro-honors-trigger__label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pro-teal);
}

.pro-honors-trigger__title {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--pro-serif);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--pro-ink);
  line-height: 1.35;
}

.pro-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 1.25rem;
  overflow-y: auto;
}

.pro-modal.is-open {
  display: flex !important;
}

.pro-modal__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
}

.pro-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(42rem, 100%);
  margin: 2vh auto 3rem;
  background: var(--pro-surface);
  border: 1px solid var(--pro-line);
  border-radius: var(--pro-radius-lg);
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.2);
  overflow: hidden;
}

.pro-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--pro-line);
  background: linear-gradient(135deg, var(--pro-accent-soft), var(--pro-accent-soft-2));
}

.pro-modal__head .pro-h2::after { display: none; }

.pro-modal__close {
  flex-shrink: 0;
  padding: 0.4rem 0.65rem;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pro-teal);
  background: var(--pro-surface);
  border: 1px solid var(--pro-line);
  border-radius: var(--pro-radius);
  cursor: pointer;
}

.pro-modal__close:hover {
  border-color: var(--pro-teal);
}

.pro-modal__body {
  padding: 1.25rem 1.5rem 1.5rem;
  max-height: min(70vh, 720px);
  overflow-y: auto;
}

.pro-honors-bar__grid--solo {
  margin-bottom: 1.25rem;
  background: var(--pro-line);
  border-radius: var(--pro-radius);
  overflow: hidden;
}

.pro-honors-bar__cell--light {
  background: var(--pro-bg) !important;
}

.pro-letter--in-modal {
  border: 0;
  margin: 0;
}

.pro-letter--in-modal .pro-letter__body {
  padding: 0;
}

body.pro-modal-open {
  overflow: hidden;
}

/* Gallery */
.gallery-open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: inherit;
}

.gallery-frame {
  position: relative;
  border: 1px solid var(--pro-line);
  border-radius: var(--pro-radius);
  overflow: hidden;
  background: var(--pro-dark);
}
.gallery-frame img,
.gallery-frame video {
  width: 100%;
  height: 13rem;
  object-fit: cover;
  display: block;
}

.gallery-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--pro-radius);
  pointer-events: none;
}

.gallery-play svg {
  width: 0.85rem;
  height: 0.85rem;
  fill: #fff;
  margin-inline-start: 2px;
}

.gallery-caption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 0.65rem 0.75rem;
  background: linear-gradient(to top, rgba(12, 18, 34, 0.85), transparent);
  color: #fff;
  font-size: 0.82rem;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(12, 18, 34, 0.92);
}

.lightbox.is-open { display: flex !important; }

.lightbox__close {
  position: absolute;
  top: 1rem;
  inset-inline-end: 1rem;
  padding: 0.45rem 0.75rem;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--pro-radius);
  cursor: pointer;
}

.lightbox__figure {
  width: 100%;
  max-width: 56rem;
}

.lightbox__figure img,
.lightbox__figure video {
  display: block;
  max-height: 80vh;
  width: auto;
  max-width: 100%;
  margin-inline: auto;
  border-radius: var(--pro-radius);
}

.lightbox__embed {
  aspect-ratio: 16 / 9;
  width: 100%;
  background: #000;
  border-radius: var(--pro-radius);
}

.lightbox__embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.lightbox__caption {
  margin-top: 0.65rem;
  text-align: center;
  font-size: 0.82rem;
  color: var(--pro-dark-muted);
}

/* Footer */
.pro-footer {
  position: relative;
  background: linear-gradient(180deg, #0f172a 0%, #0a1628 100%);
  color: var(--pro-dark-muted);
}

.pro-footer::before {
  content: "";
  display: block;
  height: 3px;
  background: var(--pro-gradient);
}

.pro-footer__inner {
  display: grid;
  gap: 2rem;
  padding: 2.5rem 0;
}

@media (min-width: 768px) {
  .pro-footer__inner { grid-template-columns: repeat(3, 1fr); }
}

.pro-footer__name {
  margin: 0;
  font-family: var(--pro-serif);
  font-size: 1.1rem;
  color: #eef1f6;
}

.pro-footer__heading {
  margin: 0 0 0.65rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #eef1f6;
}

.pro-footer a {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.88rem;
  color: #eef1f6;
  text-decoration: none;
}

.pro-footer a:hover { text-decoration: underline; }

.hp { position: absolute; inset-inline-start: -9999px; }

/* Admin */
.admin-body { background: #101318; color: #eeeae3; font-family: var(--pro-sans); min-height: 100vh; }
.admin-shell { display: grid; grid-template-columns: 220px 1fr; min-height: 100vh; }
.side { border-inline-end: 1px solid #333; padding: 1.4rem 1rem; }
.side a { display: block; padding: 0.45rem 0.6rem; color: #9a9488; font-size: 0.92rem; text-decoration: none; }
.side a:hover, .side a.is-on { color: #eee; }
.admin-main { padding: 2rem; }
.table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.table th, .table td { text-align: start; padding: 0.55rem 0.4rem; border-bottom: 1px solid #333; vertical-align: top; }
.row-form { display: grid; gap: 0.5rem; margin: 0.4rem 0 1.2rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.75rem; }
.admin-body .stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 2rem; }
.admin-body .stats .stat { border: 1px solid #333; padding: 1.1rem; }
.admin-body .stats .stat b { display: block; font-size: 2rem; }
.admin-body input, .admin-body textarea, .admin-body select {
  background: #181d24; color: #eee; border: 1px solid #333; padding: 0.5rem; width: 100%; font: inherit;
}
.admin-body label { display: block; font-size: 0.78rem; margin-bottom: 0.25rem; color: #b7b09f; }
.admin-body h1 { font-size: 2rem; margin: 0.4rem 0 1.2rem; color: #eee; }
.admin-body .panel { border: 1px solid #333; padding: 1rem; }
.admin-body .btn { border: 1px solid #555; padding: 0.4rem 0.7rem; cursor: pointer; color: #eee; background: transparent; font: inherit; }
.btn-solid { background: #eee; color: #111; border-color: #eee; }
.pills { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.pill { border: 1px solid #555; padding: 0.15rem 0.45rem; font-size: 0.8rem; }
.admin-body .notice { border: 1px solid #333; padding: 0.7rem 0.8rem; margin-bottom: 1rem; }
.admin-body .notice.ok { border-color: #14b8a6; }
.admin-body .notice.err { color: #fb7185; border-color: #fb7185; }
.form { display: grid; gap: 1rem; }

@media (max-width: 860px) {
  .admin-shell, .grid-2, .grid-3, .admin-body .stats { grid-template-columns: 1fr; }
}
