@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=EB+Garamond:wght@500;600;700&display=swap");

:root {
  --primary: #0a2f63;
  --primary-2: #153b78;
  --accent: #d8a13a;
  --accent-2: #f2c66f;
  --success: #2f9b5b;
  --ink: #14213a;
  --muted: #6f7a8f;
  --surface: #ffffff;
  --surface-soft: #f4f7fc;
  --border: #dbe3ef;
  --shadow: 0 14px 30px rgba(10, 47, 99, 0.12);
  --radius: 14px;
  --container: 1220px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--ink);
  background: var(--surface-soft);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #7ab4ff;
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 0.7rem;
  z-index: 120;
  background: #0a2f63;
  color: #fff;
  padding: 0.55rem 0.8rem;
  border-radius: 8px;
  font-weight: 700;
}

.skip-link:focus {
  top: 0.65rem;
}

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

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

.topbar {
  background: linear-gradient(90deg, #071a3a, #0a2f63);
  color: #edf4ff;
  font-size: 0.8rem;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.48rem 0;
}

.top-links,
.social-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.top-links a,
.social-links a {
  opacity: 0.92;
}

.top-links a:hover,
.social-links a:hover {
  color: var(--accent-2);
}

.portal-btn {
  background: var(--accent);
  color: #10223f;
  font-weight: 700;
  padding: 0.35rem 0.7rem;
  border-radius: 6px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(11, 31, 63, 0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--primary);
}

.brand-mark {
  width: 58px;
  min-width: 58px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 25% 20%, #f1ca84, #dca23c);
  color: #14213a;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.brand-copy h1 {
  font-size: 1.08rem;
  line-height: 1.1;
  margin-bottom: 0.1rem;
}

.brand-copy span {
  display: block;
  text-align: center;
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.11em;
  text-transform: uppercase;
  font-weight: 700;
}

.menu-toggle {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  width: 42px;
  height: 42px;
  color: var(--primary);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.main-nav {
  margin-left: auto;
}

.menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.1rem;
}

.menu > li {
  position: relative;
}

.menu > li > a,
.menu > li > button,
.menu > li > .menu-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 0;
  background: transparent;
  color: #17315f;
  font-weight: 600;
  padding: 1.1rem 0.85rem;
  cursor: pointer;
}

.menu > li > a:hover,
.menu > li > button:hover,
.menu > li > .menu-trigger:hover {
  color: var(--success);
}

.menu > li > a.active {
  color: var(--success);
}

.menu-trigger i {
  font-size: 0.72rem;
  opacity: 0.72;
  transition: transform 0.2s ease;
}

.submenu .has-submenu.open > .menu-trigger i,
.submenu .has-submenu.open-desktop > .menu-trigger i,
.submenu .has-submenu:hover > .menu-trigger i {
  transform: rotate(90deg);
}

.menu > li.has-submenu.open > .menu-trigger i,
.menu > li.has-submenu.open-desktop > .menu-trigger i,
.menu > li.has-submenu:hover > .menu-trigger i {
  transform: rotate(180deg);
}

.menu > li.menu-cta > a {
  background: var(--accent);
  color: #10223f;
  border-radius: 8px;
  padding: 0.5rem 0.85rem;
  margin-left: 0.2rem;
  font-weight: 700;
}

.menu > li.menu-cta > a:hover {
  background: var(--accent-2);
  color: #10223f;
}

.submenu {
  list-style: none;
  position: absolute;
  left: 0;
  top: calc(100% - 8px);
  min-width: 250px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: 0.25s ease;
  z-index: 40;
}

.submenu .has-submenu {
  position: relative;
}

.submenu .has-submenu > .menu-trigger {
  width: 100%;
  justify-content: space-between;
  border: 0;
  background: transparent;
  color: #274472;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.72rem 0.95rem;
  text-align: left;
  border-bottom: 1px solid #eef2f8;
  cursor: pointer;
}

.submenu li a {
  display: block;
  padding: 0.72rem 0.95rem;
  border-bottom: 1px solid #eef2f8;
  font-size: 0.9rem;
  color: #274472;
}

.submenu li:last-child a {
  border-bottom: 0;
}

.submenu li a:hover {
  background: #f5f9ff;
  color: var(--success);
}

.has-submenu:hover > .submenu,
.has-submenu:focus-within > .submenu,
.has-submenu.open-desktop > .submenu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.submenu .submenu {
  top: -1px;
  left: calc(100% - 8px);
  transform: translateX(10px);
  min-width: 240px;
}

.has-submenu.open-desktop > .submenu {
  transform: translateX(0);
}

.hero {
  position: relative;
  min-height: 560px;
  background: #091a39;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.8s ease, transform 1.2s ease;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(95deg, rgba(10, 27, 57, 0.76), rgba(14, 38, 75, 0.5));
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 7rem 0 6.2rem;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 360px);
  align-items: center;
  gap: 2rem;
}

.hero-main {
  max-width: 760px;
}

.hero-title {
  font-family: "EB Garamond", serif;
  font-size: clamp(2.1rem, 5vw, 4.25rem);
  line-height: 1.05;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  max-width: 760px;
  color: #d8e5ff;
}

.hero-actions {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.founder-card {
  justify-self: end;
  width: min(100%, 320px);
  background: rgba(10, 25, 53, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 22px 46px rgba(3, 10, 23, 0.35);
  backdrop-filter: blur(10px);
}

.founder-card img {
  width: 100%;
  height: clamp(260px, 34vw, 320px);
  object-fit: cover;
  object-position: top center;
}

.founder-card-body {
  padding: 1.2rem 1.2rem 1.35rem;
}

.founder-quote {
  font-family: "EB Garamond", serif;
  font-size: 1.32rem;
  line-height: 1.35;
  color: #fff4d9;
}

.founder-name {
  margin-top: 1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #ffffff;
}

.founder-role {
  margin-top: 0.2rem;
  color: #cbd8f4;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 0;
  border-radius: 9px;
  padding: 0.72rem 1.15rem;
  font-weight: 700;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: #10223d;
}

.btn-primary:hover {
  background: var(--accent-2);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

.section {
  padding: 4.5rem 0;
}

.section-tight {
  padding: 3rem 0;
}

.section-dark {
  color: #eef5ff;
  background: linear-gradient(120deg, #102a54, #0c2246);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.8rem;
}

.kicker {
  color: var(--success);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  margin-bottom: 0.35rem;
}

.section-title {
  font-size: clamp(1.55rem, 3vw, 2.4rem);
  line-height: 1.15;
}

.section-note {
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 620px;
}

.stats-band {
  margin-top: -58px;
  position: relative;
  z-index: 5;
}

.stats-grid {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.35rem;
  color: #000;
  border-right: 1px solid #edf2fb;
}

.stat-card:last-child {
  border-right: 0;
}

.stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #edf4ff;
  color: var(--primary);
}

.stat-card h3 {
  color: #000;
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}

.stat-card p {
  font-size: 0.85rem;
  color: #000;
}

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

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

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem;
  color: #000;
  box-shadow: 0 6px 18px rgba(12, 46, 90, 0.07);
}

.card h3,
.card h4 {
  color: #000;
  line-height: 1.25;
  margin-bottom: 0.45rem;
}

.card p {
  color: #000;
  font-size: 0.94rem;
}

.info-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.info-item {
  padding: 0.62rem;
  border: 1px solid #e5edf9;
  border-radius: 10px;
  background: #f8fbff;
}

.info-item small {
  color: #6f809c;
  display: block;
  margin-bottom: 0.15rem;
}

.info-item strong {
  color: #213f6b;
}

.card-link {
  margin-top: 0.85rem;
  color: var(--success);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.apply-split {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(100deg, rgba(10, 25, 52, 0.88), rgba(18, 52, 94, 0.82));
}

.apply-media {
  min-height: 380px;
  background-size: cover;
  background-position: center;
}

.apply-copy {
  padding: 2rem 1.8rem;
}

.apply-copy h3 {
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  margin-bottom: 0.75rem;
}

.apply-copy p {
  color: #d3e2ff;
}

.news-layout {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 1.1rem;
}

.news-lead {
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #fff;
  color: #000;
}

.news-lead img {
  width: 100%;
  height: 295px;
  object-fit: cover;
}

.news-lead-copy {
  padding: 1.1rem;
}

.news-lead h3,
.news-lead p {
  color: #000;
}

.news-list {
  display: grid;
  gap: 0.85rem;
}

.news-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.8rem;
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 0.75rem;
  color: #000;
}

.news-item img {
  width: 82px;
  height: 82px;
  object-fit: cover;
  border-radius: 10px;
}

.news-item h4,
.news-item p {
  color: #000;
}

.quick-links {
  background: linear-gradient(145deg, #0f315f, #0a2548);
  color: #eaf2ff;
}

.quick-links h3 {
  margin-bottom: 0.5rem;
}

.quick-links ul {
  list-style: none;
}

.quick-links li {
  padding: 0.62rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.quick-links li:last-child {
  border-bottom: 0;
}

.quick-links a {
  color: #89e2aa;
  font-weight: 600;
}

.video-hero {
  padding: 7rem 0;
  text-align: center;
  color: #fff;
  background-size: cover;
  background-position: center;
  position: relative;
}

.video-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8, 25, 52, 0.58);
}

.video-hero .container {
  position: relative;
  z-index: 1;
}

.play-btn {
  width: 74px;
  height: 74px;
  border-radius: 999px;
  margin: 0 auto 1rem;
  display: grid;
  place-items: center;
  background: #fff;
  color: #c32424;
  font-size: 1.4rem;
}

.gallery-grid img {
  border-radius: 10px;
  height: 180px;
  width: 100%;
  object-fit: cover;
}

.page-hero {
  position: relative;
  padding: 5rem 0;
  background-size: cover;
  background-position: center;
  color: #fff;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(9, 26, 57, 0.82), rgba(12, 38, 77, 0.6));
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  gap: 0.45rem;
  font-size: 0.88rem;
  color: #ccdbfa;
  margin-top: 0.65rem;
}

footer.site-footer {
  margin-top: 3rem;
  background: #0a2246;
  color: #c9d8f5;
}

.footer-grid {
  padding: 3.2rem 0 2.4rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}

.footer-brand p,
.footer-col p {
  color: #c9d8f5;
  font-size: 0.9rem;
}

.footer-col h4 {
  color: #fff;
  margin-bottom: 0.55rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  padding: 0.33rem 0;
}

.footer-col a:hover {
  color: #83d4a0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 0.92rem 0 1.1rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  font-size: 0.74rem;
  padding: 0.24rem 0.46rem;
  border-radius: 999px;
  font-weight: 700;
  background: #eef3fb;
  color: #274472;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(8, 20, 41, 0.78);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-overlay.show {
  display: flex;
}

.modal-card {
  width: min(760px, 100%);
  max-height: 90vh;
  overflow: auto;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e7eef8;
}

.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(90deg, #0a2f63, #153b78);
  color: #fff;
  padding: 0.85rem 1rem;
}

.modal-body {
  padding: 1rem;
}

.modal-body .btn-secondary {
  background: #eef3fc;
  color: #1e3f72;
  border: 1px solid #d4e0f1;
}

.modal-body .btn-secondary:hover {
  background: #e2ebfa;
}

.role-btn.active {
  background: #0f3a78 !important;
  color: #fff !important;
  border-color: #0f3a78 !important;
}

.close-x {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 0;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  cursor: pointer;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.form-group {
  display: grid;
  gap: 0.35rem;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label,
.form-group legend {
  font-size: 0.84rem;
  font-weight: 600;
  color: #284671;
}

.input,
textarea,
select {
  width: 100%;
  border: 1px solid #cfd9ea;
  border-radius: 9px;
  padding: 0.62rem 0.72rem;
  font: inherit;
}

textarea {
  min-height: 92px;
  resize: vertical;
}

.file-drop {
  border: 1px dashed #a7bbdb;
  border-radius: 10px;
  padding: 0.95rem;
  text-align: center;
  background: #f5f9ff;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem 0.8rem;
}

.status {
  margin-top: 0.7rem;
  font-size: 0.86rem;
  font-weight: 600;
}

.status.ok {
  color: #1f8b4f;
}

.status.err {
  color: #c12d2d;
}

.hidden {
  display: none !important;
}

.mt-1 {
  margin-top: 1rem;
}

.mt-2 {
  margin-top: 2rem;
}

.mb-1 {
  margin-bottom: 1rem;
}

main section {
  content-visibility: auto;
  contain-intrinsic-size: 1px 560px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

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

  .hero-main,
  .founder-card {
    max-width: 100%;
  }

  .founder-card {
    justify-self: start;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: fixed;
    top: 78px;
    right: -320px;
    width: min(88vw, 310px);
    height: calc(100vh - 78px);
    background: #fff;
    border-left: 1px solid var(--border);
    box-shadow: -10px 0 24px rgba(12, 34, 67, 0.12);
    transition: right 0.25s ease;
    padding: 0.8rem;
    overflow: auto;
  }

  .main-nav.open {
    right: 0;
  }

  .menu {
    flex-direction: column;
    align-items: stretch;
  }

  .menu > li > a,
  .menu > li > button,
  .menu > li > .menu-trigger {
    width: 100%;
    justify-content: space-between;
    padding: 0.8rem;
    border-radius: 8px;
  }

  .menu .submenu {
    position: static;
    min-width: 100%;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    border: 0;
    box-shadow: none;
    margin-top: 0.2rem;
    display: none;
  }

  .has-submenu.open > .submenu {
    display: block;
  }

  .submenu li a,
  .submenu .has-submenu > .menu-trigger {
    border: 0;
    padding: 0.55rem 0.8rem;
    background: #f5f8fe;
    margin-bottom: 0.25rem;
    border-radius: 8px;
  }

  .submenu .submenu {
    margin-left: 0.7rem;
  }

  .menu > li.menu-cta > a {
    margin-left: 0;
  }

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

  .stat-card:nth-child(2n) {
    border-right: 0;
  }

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

  .news-layout {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .topbar-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }

  .hero {
    min-height: 500px;
  }

  .hero-content {
    padding: 6.4rem 0 5rem;
  }

  .founder-card-body {
    padding: 1rem 1rem 1.15rem;
  }

  .founder-quote {
    font-size: 1.14rem;
  }

  .stats-band {
    margin-top: -36px;
  }

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

  .stat-card {
    border-right: 0;
    border-bottom: 1px solid #edf2fb;
  }

  .stat-card:last-child {
    border-bottom: 0;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .info-list,
  .form-grid,
  .check-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .apply-media {
    min-height: 220px;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }
}
