:root {
  --portal-primary: #0b4f7d;
  --portal-secondary: #e49b17;
  --portal-accent: #1f7a8c;
  --portal-highlight: #1c96d5;
  --portal-muted: #5c646f;
  --portal-sun: #f5c146;
  --portal-bg: #f5f7fb;
  --portal-surface: #ffffff;
  --portal-border: rgba(11, 79, 125, 0.15);
  --portal-shadow: 0 1.75rem 3.5rem rgba(11, 79, 125, 0.08);
  --portal-dropdown-shadow: 0 1rem 2.4rem rgba(11, 79, 125, 0.12);
  --portal-hero-gradient: linear-gradient(135deg, #0b4f7d, #1b7faa);
  --portal-button-gradient: linear-gradient(120deg, #f4b43a, #e38b29);
  --portal-card-gradient: linear-gradient(135deg, rgba(11, 79, 125, 0.06), rgba(244, 180, 58, 0.08));
  font-size: 16px;
}

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

body {
  margin: 0;
  font-family: 'Poppins', 'Lato', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--portal-bg);
  background-image: radial-gradient(circle at 10% 5%, rgba(228, 155, 23, 0.15), transparent 45%),
    radial-gradient(circle at 85% 0%, rgba(28, 150, 213, 0.15), transparent 35%);
  color: var(--portal-primary);
  line-height: 1.6;
  min-height: 100vh;
}

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

@media (max-width: 720px) {
  html {
    scroll-padding-top: 170px;
  }
}

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

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

a:hover,
a:focus {
  text-decoration: underline;
}

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

@media (max-width: 640px) {
  .container {
    width: min(100% - 2rem, 100%);
  }
}

.topbar {
  background: #08375c;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0.75rem 1.5rem rgba(0, 30, 51, 0.25);
}

.topbar__content {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0.75rem;
  flex-wrap: wrap;
}

.topbar__identity {
  max-width: 420px;
}

.topbar__title {
  margin: 0;
  font-weight: 600;
}

.topbar__tagline {
  margin: 0.15rem 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  font-weight: 600;
}

.topbar__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}

.topbar__link {
  font-weight: 600;
  color: #fff;
}

.site-header {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 1rem 2rem rgba(11, 79, 125, 0.08);
  border-bottom: 1px solid rgba(11, 79, 125, 0.08);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.site-header__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1rem;
  flex-wrap: wrap;
}

.branding {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.branding__logo {
  border-radius: 10px;
  box-shadow: 0 0.5rem 1.4rem rgba(11, 79, 125, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.8);
  background: #fff;
}

.brand-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.brand-subtitle {
  margin: 0.1rem 0 0;
  color: var(--portal-muted);
  font-size: 0.85rem;
}

.site-nav {
  flex: 1;
  min-width: 240px;
}

.nav-toggle {
  border: 1px solid var(--portal-border);
  background: transparent;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-menu {
  display: none;
  margin-top: 1rem;
}

.nav-menu--open {
  display: block;
}

.nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.nav-break {
  display: none;
}

.nav-item {
  position: relative;
}

.nav-break {
  display: none;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  color: var(--portal-primary);
  border: none;
  background: none;
  padding: 0.35rem 0;
  cursor: pointer;
  position: relative;
}

.nav-item > .nav-link:hover,
.nav-item > .nav-link:focus {
  color: var(--portal-secondary);
  text-decoration: none;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  height: 2px;
  width: 0;
  border-radius: 999px;
  background: var(--portal-button-gradient);
  transition: width 0.2s ease;
}

.nav-item > .nav-link:hover::after,
.nav-item > .nav-link:focus::after,
.nav-item--open > .nav-link::after {
  width: 100%;
}

.nav-submenu {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  background: #fff;
  border: 1px solid rgba(11, 79, 125, 0.15);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  margin-top: 0.35rem;
  box-shadow: var(--portal-dropdown-shadow);
}

.nav-submenu a {
  font-weight: 500;
  color: var(--portal-accent);
}

.nav-item--open > .nav-submenu {
  display: flex;
}

.nav-cta {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

.nav-cta .button {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.nav-link {
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

@media (min-width: 1024px) {
  .nav-toggle {
    display: none;
  }

  .nav-menu {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-top: 0;
    gap: 1rem;
    flex-wrap: wrap;
    width: 100%;
  }

  .nav-list {
    flex-direction: row;
    gap: 1.1rem;
    flex-wrap: wrap;
    flex: 1 1 560px;
    align-items: center;
  }

  .nav-break {
    display: block;
    flex-basis: 100%;
    height: 0;
    margin: 0;
    padding: 0;
  }
  }

  .nav-submenu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    display: block;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    min-width: 240px;
    box-shadow: var(--portal-dropdown-shadow);
  }

  .nav-item--open > .nav-submenu,
  .nav-item--dropdown:hover > .nav-submenu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-cta {
    margin-top: 0;
    margin-left: auto;
    flex-shrink: 0;
  }

  .nav-break {
    display: block;
    flex-basis: 100%;
    padding: 0;
    margin: 0;
    height: 0;
  }
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.55rem 1.5rem;
  border-radius: 999px;
  border: none;
  background: var(--portal-button-gradient);
  color: #3a2200;
  font-weight: 600;
  text-transform: none;
  box-shadow: 0 0.9rem 1.6rem rgba(228, 155, 23, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover,
.button:focus {
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 24px 45px rgba(99, 102, 241, 0.45);
}

.button-ghost {
  background: transparent;
  color: var(--portal-primary);
  border: 1px solid rgba(11, 79, 125, 0.25);
  box-shadow: none;
}

.button-light {
  background: var(--portal-primary);
  color: #fff;
  border: 1px solid transparent;
  box-shadow: 0 0.7rem 1.3rem rgba(11, 79, 125, 0.25);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: 2rem;
}

.section-header h2 {
  margin: 0.35rem 0 0.5rem;
  font-size: clamp(1.5rem, 4vw, 2rem);
}

.section-header p {
  margin: 0;
  color: var(--portal-muted);
}

.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  color: var(--portal-accent);
  margin: 0;
}

.portal-hero {
  position: relative;
  background: var(--portal-hero-gradient);
  color: #fff;
  padding-block: clamp(3rem, 10vw, 5rem);
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.portal-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.15), transparent 45%),
    radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.2), transparent 50%), url('../img/hero-logo.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.25;
}

.portal-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(11, 79, 125, 0.9), rgba(12, 96, 146, 0.85));
}

.hero-camino-dos::after {
  opacity: 0.35;
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(320px, 1.4fr) minmax(320px, 1.8fr);
  gap: 2.5rem;
  align-items: stretch;
}

@media (max-width: 900px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-media {
    order: -1;
  }
}

.hero-eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.85rem;
  color: var(--portal-secondary);
}

.hero-copy h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0.5rem 0 1rem;
}

.hero-title--brand {
  font-size: clamp(2.6rem, 5vw, 4rem);
  color: var(--portal-sun);
  letter-spacing: 0.03em;
  font-weight: 700;
  text-shadow: 0 0.85rem 2.2rem rgba(5, 26, 44, 0.35);
}

.hero-copy p {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.85);
}

.hero-media {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  min-height: 460px;
  align-self: start;
  box-shadow: 0 2rem 3.5rem rgba(2, 23, 41, 0.45);
}

.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 9, 24, 0.1), rgba(2, 9, 24, 0.2));
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-metrics {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
}

.hero-metrics strong {
  display: block;
  font-size: 1.75rem;
  color: var(--portal-sun);
}

.hero-metrics span {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-panel {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 1.25rem;
  padding: 1.5rem;
  box-shadow: 0 1.5rem 3rem rgba(4, 38, 63, 0.35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.panel-label {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.75rem;
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.8);
}

.panel-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.panel-date {
  font-weight: 600;
  color: #ffe9a1;
  font-size: 0.9rem;
}

.panel-title {
  margin: 0.15rem 0;
  font-weight: 600;
}

.panel-meta {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.panel-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1rem;
  font-weight: 600;
  color: #fff;
  text-decoration: underline;
}

.quick-links {
  background: var(--portal-bg);
  padding-block: clamp(2.5rem, 8vw, 4rem);
  border-top: 1px solid rgba(11, 79, 125, 0.08);
  border-bottom: 1px solid rgba(11, 79, 125, 0.05);
}

.quick-links__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.quick-link-card {
  position: relative;
  min-height: 240px;
  border-radius: 1.25rem;
  overflow: hidden;
  color: #fff;
  padding: 1.5rem;
  display: flex;
  align-items: flex-end;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 1.25rem 2.25rem rgba(11, 79, 125, 0.15);
  background-position: center, center;
  background-repeat: no-repeat;
  background-size: 100% 100%, 85% auto;
}

.quick-link-card__body {
  position: relative;
  z-index: 1;
}

.quick-link-card h3 {
  margin: 0.35rem 0;
  font-size: 1.25rem;
}

.quick-link-card p {
  margin: 0 0 0.75rem;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  color: #fff;
}

.portal-modules {
  padding-block: clamp(2.5rem, 8vw, 4rem);
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.module {
  background: var(--portal-surface);
  border-radius: 1.25rem;
  padding: 1.5rem;
  border: 1px solid rgba(11, 79, 125, 0.12);
  box-shadow: var(--portal-shadow);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.module::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--portal-card-gradient);
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 0;
}

.module:hover {
  transform: translateY(-6px);
  box-shadow: 0 2rem 3rem rgba(11, 79, 125, 0.12);
}

.module:hover::after {
  opacity: 1;
}

.module > * {
  position: relative;
  z-index: 1;
}

.module h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.module a {
  color: var(--portal-accent);
  font-weight: 600;
}

.module p {
  margin-top: 0;
  margin-bottom: 0.75rem;
  color: var(--portal-muted);
}

.module-list {
  padding-left: 1.2rem;
  margin: 0 0 0.5rem;
  color: var(--portal-muted);
}

.module-list li + li {
  margin-top: 0.35rem;
}

.module-note {
  font-size: 0.85rem;
  color: var(--portal-muted);
  margin-top: 1rem;
}

.collaborators-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(110px, 1fr));
  gap: 1rem;
  align-items: center;
  justify-items: center;
}

.collaborator-logo {
  width: 100%;
  max-width: 140px;
  background: #fff;
  border-radius: 1rem;
  padding: 0.75rem;
  box-shadow: 0 1rem 2rem rgba(11, 79, 125, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.collaborator-logo img {
  max-height: 72px;
  width: auto;
  object-fit: contain;
}

@media (max-width: 1100px) {
  .collaborators-grid {
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  }
}

.download-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.download-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.file-pill {
  background: rgba(32, 108, 103, 0.15);
  color: var(--portal-accent);
  border-radius: 999px;
  padding: 0.15rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
}

.module--focus {
  border-left: 4px solid var(--portal-secondary);
}

.module--news {
  background: linear-gradient(135deg, rgba(11, 79, 125, 0.08), rgba(32, 141, 202, 0.08));
  border-left: 4px solid var(--portal-primary);
}

.module--news a {
  color: var(--portal-primary);
}

.module--news p {
  color: var(--portal-muted);
}

.module-date {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--portal-primary);
}

.module--news .module-date {
  color: var(--portal-primary);
}

.module--cta {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.92));
  border: 1px solid rgba(232, 176, 65, 0.4);
}

.module--news::after {
  content: none;
}

.module--cta::after {
  background: linear-gradient(135deg, rgba(228, 155, 23, 0.1), rgba(255, 218, 153, 0.2));
}

@media (min-width: 900px) {
  .module--focus {
    grid-column: span 2;
  }
}

.content-section {
  padding-block: clamp(2.5rem, 8vw, 4rem);
  background: var(--portal-surface);
  border: 1px solid rgba(11, 79, 125, 0.08);
  border-radius: 1.5rem;
  margin-block: 2rem;
  box-shadow: var(--portal-shadow);
}

.content-section.section-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 247, 251, 0.98));
}

.content-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.content-media {
  margin: 0;
  border-radius: 1rem;
  overflow: hidden;
  background: #000;
  color: #fff;
  box-shadow: 0 1.5rem 3rem rgba(6, 27, 25, 0.1);
}

.content-media img {
  width: 100%;
  height: auto;
  display: block;
}

.content-media figcaption {
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  background: rgba(0, 0, 0, 0.75);
}

.history-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1rem 0 1.5rem;
  align-items: center;
}

.history-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.4rem;
  min-width: 220px;
  border: 2px solid var(--portal-secondary);
  border-radius: 0.75rem;
  background: #fef6e8;
  color: var(--portal-primary);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 0.75rem 1.5rem rgba(11, 79, 125, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.history-link:hover,
.history-link:focus {
  transform: translateY(-1px);
  box-shadow: 0 1rem 2rem rgba(11, 79, 125, 0.2);
}

.content-media--small {
  width: min(50%, 520px);
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .content-media--small {
    width: 100%;
  }
}

.card-figure {
  margin: 0 0 1rem;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid rgba(11, 79, 125, 0.12);
  background: #f5f8fb;
}

.card-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.card-figure figcaption {
  margin: 0;
  padding: 0.5rem 0.75rem;
  font-size: 0.85rem;
  color: var(--portal-muted);
  background: rgba(255, 255, 255, 0.9);
}

.section-media {
  margin-bottom: 1.5rem;
}

.doc-list {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--portal-muted);
}

.doc-list li + li {
  margin-top: 0.5rem;
}

.doc-list--compact {
  font-size: 0.95rem;
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.cards-grid-tight {
  margin-top: 1.5rem;
}

.card {
  background: #fff;
  border-radius: 1rem;
  padding: 1.25rem;
  border: 1px solid rgba(11, 79, 125, 0.08);
  box-shadow: 0 1rem 2rem rgba(11, 79, 125, 0.08);
  position: relative;
  overflow: hidden;
}

.card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 5px;
  width: 100%;
  background: var(--portal-button-gradient);
}

.card:nth-child(3n + 2)::after {
  background: linear-gradient(120deg, var(--portal-sky), var(--portal-accent));
}

.card:nth-child(3n + 3)::after {
  background: linear-gradient(120deg, var(--portal-berry), var(--portal-highlight));
}

.card h3 {
  margin-top: 0;
}

.card p {
  color: var(--portal-muted);
}

.team-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.team-card {
  border-left: 4px solid var(--portal-secondary);
  background: rgba(228, 155, 23, 0.08);
}

.team-role {
  margin-top: 0;
  margin-bottom: 0.25rem;
  font-weight: 600;
  color: var(--portal-accent);
}

.data-table-wrapper {
  overflow-x: auto;
  border-radius: 1rem;
  border: 1px solid var(--portal-border);
  background: var(--portal-surface);
  box-shadow: 0 1.5rem 3rem rgba(6, 27, 25, 0.1);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  color: var(--portal-primary);
}

.data-table caption {
  text-align: left;
  padding: 1rem 1.25rem;
  font-weight: 600;
}

.data-table th,
.data-table td {
  padding: 0.75rem 1rem;
  border-top: 1px solid rgba(11, 79, 125, 0.12);
  text-align: left;
  background: #fff;
}

.data-table thead th {
  background: linear-gradient(120deg, rgba(11, 79, 125, 0.1), rgba(228, 155, 23, 0.15));
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.calendar-event {
  border-left: 3px solid var(--portal-secondary);
  padding-left: 1rem;
  margin-bottom: 1rem;
}

.calendar-event h3 {
  margin-top: 0;
  margin-bottom: 0.25rem;
}

.calendar-event p {
  margin: 0 0 0.5rem;
  color: var(--portal-muted);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
}

.gallery-grid figure {
  margin: 0;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 0.75rem 1.5rem rgba(5, 20, 18, 0.18);
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collaborator-section .section-header {
  max-width: 740px;
}

.collaborators-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

.collaborator-logo {
  margin: 0;
  padding: 1.25rem;
  border-radius: 1rem;
  border: 1px solid rgba(11, 79, 125, 0.08);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 1.4rem 3rem rgba(8, 29, 53, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 150px;
}

.collaborator-logo img {
  max-width: 100%;
  max-height: 90px;
  object-fit: contain;
}

.join-form {
  display: grid;
  gap: 1rem;
  background: #fff;
  padding: 2rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(11, 79, 125, 0.12);
  box-shadow: 0 1.75rem 3rem rgba(11, 79, 125, 0.08);
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-row label {
  font-weight: 600;
}

.form-row input,
.form-row textarea {
  border-radius: 0.65rem;
  border: 1px solid rgba(11, 79, 125, 0.2);
  padding: 0.75rem 0.9rem;
  font: inherit;
  background: #fdfdfd;
  color: var(--portal-primary);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--portal-accent);
  box-shadow: 0 0 0 3px rgba(28, 150, 213, 0.15);
  outline: none;
}

.checkbox-row {
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
}

.checkbox-row input {
  width: auto;
}

.portal-ribbon {
  background: linear-gradient(120deg, rgba(11, 79, 125, 0.08), rgba(27, 127, 170, 0.08));
  padding-block: 3rem;
  border-top: 1px solid rgba(11, 79, 125, 0.1);
  border-bottom: 1px solid rgba(11, 79, 125, 0.05);
  color: var(--portal-primary);
  position: relative;
  overflow: hidden;
}

.ribbon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.ribbon-card {
  background: #fff;
  border-radius: 1rem;
  padding: 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  border: 1px solid rgba(11, 79, 125, 0.08);
  box-shadow: 0 1.2rem 2.4rem rgba(11, 79, 125, 0.1);
}

.ribbon-title {
  margin: 0;
  font-weight: 600;
}

.ribbon-footnote {
  margin-top: 1rem;
  text-align: center;
  color: rgba(226, 232, 240, 0.78);
}

.portal-cta {
  background: linear-gradient(120deg, #0b4f7d, #1a7aad);
  color: #fff;
  padding-block: clamp(2.5rem, 8vw, 4rem);
  position: relative;
  overflow: hidden;
}

.portal-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 30%, rgba(228, 155, 23, 0.3), transparent 55%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.15), transparent 45%);
  opacity: 0.85;
  z-index: 0;
}

.portal-cta__content > * {
  position: relative;
  z-index: 1;
}

.portal-cta__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.portal-footer {
  background: #072844;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 3rem;
  padding-top: 3rem;
  position: relative;
  overflow: hidden;
}

.portal-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 25% 0%, rgba(228, 155, 23, 0.18), transparent 50%);
  opacity: 0.6;
}

.portal-footer > * {
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  padding-bottom: 2rem;
}

.footer-brand p {
  margin: 0 0 0.75rem;
  color: rgba(220, 224, 218, 0.85);
}

.footer-links h3 {
  margin-top: 0;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.92);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-block: 1rem;
  background: rgba(0, 0, 0, 0.15);
}

.footer-bottom__content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.9rem;
}
.hero-copy {
  align-self: center;
}
