:root {
  --navy: #071d36;
  --navy2: #102e4d;
  --gold: #e8b84b;
  --gold2: #f5d477;
  --cream: #fbfaf5;
  --sand: #eee8da;
  --ink: #142438;
  --muted: #65717e;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
}
body {
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
  font-family: Manrope, sans-serif;
  color: var(--ink);
  background: var(--cream);
}
h1,
h2,
h3,
blockquote {
  font-family: 'DM Serif Display', serif;
}
h2 {
  font-size: clamp(2.3rem, 5vw, 4rem);
  line-height: 1.02;
}
.navbar {
  background: rgba(251, 250, 245, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(7, 29, 54, 0.08);
}
.navbar-brand img {
  width: 82px;
  height: 58px;
  object-fit: contain;
}
.nav-link {
  font-weight: 700;
  color: var(--ink) !important;
  font-size: 0.9rem;
}
.btn {
  border-radius: 999px;
  padding: 0.75rem 1.25rem;
  font-weight: 800;
}
.btn-gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}
.btn-gold:hover {
  background: var(--gold2);
  border-color: var(--gold2);
  color: var(--navy);
}
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 30%, #173e64 0, transparent 30%),
    linear-gradient(135deg, #06182d, #0b2947 62%, #12375a);
  color: #fff;
}
.hero:after {
  content: '';
  position: absolute;
  width: 560px;
  height: 560px;
  border: 1px solid rgba(232, 184, 75, 0.22);
  border-radius: 50%;
  right: -120px;
  top: 120px;
  box-shadow:
    0 0 0 80px rgba(232, 184, 75, 0.035),
    0 0 0 160px rgba(232, 184, 75, 0.025);
}
.hero-row {
  min-height: 100svh;
}
.hero h1 {
  font-size: clamp(4rem, 7vw, 7.1rem);
  line-height: 0.88;
  letter-spacing: -0.04em;
}
.hero h1 em {
  display: inline-block;
  color: var(--gold2);
  font-size: clamp(0.7em, 10vw, 0.82em);
  font-style: normal;
  letter-spacing: -0.045em;
  white-space: nowrap;
}
.hero .lead {
  max-width: 690px;
  color: #d9e1e9;
  margin: 2rem 0;
  font-size: 1.15rem;
}
.eyebrow,
.kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 800;
  color: #b98118;
}
.eyebrow {
  color: var(--gold2);
}
.hero .container {
  z-index: 1;
}
.hero-visual {
  position: relative;
  width: min(110%, 510px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  isolation: isolate;
  transform: translateX(-18px);
}
.hero-number {
  position: relative;
  z-index: 2;
  font-family: 'DM Serif Display', serif;
  font-size: clamp(8rem, 11vw, 11rem);
  line-height: 1;
  letter-spacing: -0.06em;
  color: rgba(245, 212, 119, 0.045);
  -webkit-text-stroke: 1px rgba(245, 212, 119, 0.72);
  text-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}
.hero-orbit {
  position: absolute;
  border: 1px solid rgba(245, 212, 119, 0.32);
  border-radius: 50%;
  transform: rotate(-18deg);
}
.hero-orbit-large {
  inset: 24px;
}
.hero-orbit-small {
  inset: 92px 48px;
  border-color: rgba(255, 255, 255, 0.14);
  transform: rotate(24deg);
}
.hero-planet {
  position: absolute;
  z-index: 3;
  top: 48px;
  right: 72px;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #fff3c5 0 7%, var(--gold2) 22%, #b77b16 68%, #6f4708 100%);
  box-shadow: 0 0 34px rgba(232, 184, 75, 0.25);
}
.hero-planet:after {
  content: '';
  position: absolute;
  width: 116px;
  height: 32px;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(245, 212, 119, 0.72);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-20deg);
}
.hero-star {
  position: absolute;
  z-index: 3;
  color: var(--gold2);
  text-shadow: 0 0 14px rgba(245, 212, 119, 0.55);
}
.hero-star-one {
  top: 88px;
  left: 82px;
  font-size: 1.3rem;
}
.hero-star-two {
  top: 165px;
  right: 26px;
  font-size: 0.75rem;
}
.hero-star-three {
  bottom: 112px;
  left: 52px;
  font-size: 0.85rem;
}
.hero-star-four {
  right: 86px;
  bottom: 76px;
  font-size: 1.1rem;
}
.hero-visual-label {
  position: absolute;
  left: 50%;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}
.hero-visual-label i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gold);
}
.section {
  padding: 110px 0;
}
.section p {
  color: var(--muted);
  line-height: 1.8;
}
.about-copy h2 {
  max-width: 520px;
  margin: 0.35rem 0 1.4rem;
}
.about-copy > p {
  max-width: 560px;
}
.about-principles {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.2rem;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid #ded6c8;
}
.about-principles span {
  color: #94670f;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.focus-heading {
  margin-bottom: 1rem;
}
.focus-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid #ded6c8;
  border-bottom: 1px solid #ded6c8;
}
.focus-grid article {
  min-height: 132px;
  padding: 26px 22px;
  display: grid;
  grid-template-columns: 52px 1fr;
  align-content: center;
  column-gap: 15px;
  border-bottom: 1px solid #ded6c8;
  transition: transform 0.2s ease;
}
.focus-grid article:nth-child(odd) {
  border-right: 1px solid #ded6c8;
}
.focus-grid article:nth-last-child(-n + 2) {
  border-bottom: 0;
}
.focus-grid article:hover {
  transform: translateX(4px);
}
.focus-icon {
  grid-row: 1/3;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  align-self: center;
  border-radius: 50%;
  background: rgba(232, 184, 75, 0.16);
  color: #a87312;
  transition: background 0.2s ease, color 0.2s ease;
}
.focus-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.focus-grid article:hover .focus-icon {
  background: var(--gold);
  color: var(--navy);
}
.focus-grid small {
  display: block;
  color: var(--muted);
  margin-top: 5px;
  line-height: 1.5;
}
.mission,
.coming {
  padding: 100px 0;
  background: var(--navy);
  color: white;
  position: relative;
  overflow: hidden;
}
.mission blockquote {
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  max-width: 1000px;
  margin: 1rem auto 1.5rem;
  line-height: 1.05;
}
.mission p,
.coming p {
  max-width: 760px;
  margin: auto;
  color: #c9d2dc;
}
.kicker.light {
  color: var(--gold2);
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 35px;
}
.section-head > p {
  max-width: 440px;
  margin-bottom: 0.35rem;
  transform: translateY(4px);
}
.team-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: white;
  border: 1px solid #e7e1d5;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 14px 35px rgba(7, 29, 54, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(7, 29, 54, 0.08);
}
.team-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3.6;
  object-fit: cover;
  object-position: center top;
}

.team-card > div {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 24px;
}
.team-card h3 {
  font-size: 1.7rem;
  margin-bottom: 3px;
}
.team-card span {
  font-size: 0.78rem;
  color: #b98118;
  font-weight: 800;
}
.team-card p {
  font-size: 0.92rem;
  margin: 15px 0 20px;
}
.text-link {
  align-self: flex-start;
  margin-top: auto;
  border: 0;
  background: none;
  padding: 0;
  color: var(--navy);
  font-weight: 800;
}
.text-link span {
  display: inline-block;
  margin-left: 4px;
  color: inherit;
  font-size: inherit;
  transition: transform 0.2s ease;
}
.text-link:hover span {
  transform: translateX(5px);
}
.text-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}
.projects {
  background: #f3efe6;
}
.project-feature {
  background: #fff;
  border-radius: 28px;
  padding: 24px;
  display: grid;
  grid-template-columns: 0.8fr 1.5fr;
  gap: 25px;
  box-shadow: 0 18px 45px rgba(7, 29, 54, 0.06);
}
.project-copy {
  padding: 35px 25px;
  align-self: center;
}
.project-copy h3 {
  font-size: 2.6rem;
}
.project-tag,
.coming-pill {
  display: inline-block;
  padding: 7px 12px;
  border-radius: 999px;
  background: #f8edce;
  color: #94670f;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.project-gallery {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 10px;
  height: 450px;
  min-width: 0;
  overflow: hidden;
  border-radius: 16px;
}
.project-gallery button {
  position: relative;
  min-width: 0;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 16px;
  background: transparent;
  cursor: zoom-in;
}
.project-gallery img {
  width: 100%;
  height: 100%;
  min-height: 0;
  display: block;
  object-fit: cover;
  border-radius: 16px;
  transition: transform 0.3s ease;
}
.project-gallery button:hover img {
  transform: scale(1.025);
}
.project-gallery button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: -3px;
}
.project-gallery .big {
  grid-row: 1/3;
}
.gallery-hint {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(5, 24, 44, 0.88);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}
.project-gallery-modal .modal-content {
  background: #05182c;
}
.gallery-carousel-image {
  width: 100%;
  height: min(78vh, 760px);
  display: block;
  object-fit: contain;
}
.project-gallery-modal .carousel-indicators [data-bs-target] {
  background-color: var(--gold2);
}
.project-gallery-modal .carousel-control-prev,
.project-gallery-modal .carousel-control-next {
  width: 7%;
  opacity: 0.82;
}
.project-gallery-modal .carousel-control-prev-icon,
.project-gallery-modal .carousel-control-next-icon {
  width: 2.25rem;
  height: 2.25rem;
}
.project-gallery-modal .carousel-control-prev:hover,
.project-gallery-modal .carousel-control-next:hover {
  opacity: 1;
}
.coming h2 {
  font-size: clamp(3rem, 7vw, 6rem);
  margin: 10px 0;
}
.coming-pill {
  margin-top: 30px;
  background: rgba(232, 184, 75, 0.12);
  border: 1px solid rgba(232, 184, 75, 0.35);
  color: var(--gold2);
  padding: 12px 18px;
}
.documents {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.documents-single {
  width: 70%;
  grid-template-columns: 1fr;
}
.documents a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
  background: #fff;
  border: 1px solid #e7e1d5;
  padding: 25px;
  border-radius: 18px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.documents a:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}
.documents i {
  font-style: normal;
  transition: transform 0.2s ease;
}
.documents a:hover i {
  transform: translate(2px, -2px);
}
.documents small {
  display: block;
  color: var(--muted);
  margin-top: 3px;
}
.doc-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: white;
  font-size: 0.72rem;
  font-weight: 800;
}
.join {
  padding-top: 20px;
}
.join-box {
  background: #fff;
  border: 1px solid #e7e1d5;
  border-radius: 30px;
  padding: 44px 50px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 60px;
  align-items: center;
}
.join-box h2 {
  font-size: 2.8rem;
}
.join-actions {
  display: grid;
}
.join-options {
  display: grid;
  gap: 14px;
}
.join-option {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e6e0d4;
}
.join-option:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.join-option > span {
  color: #b98118;
  font-weight: 800;
}
.join-option b {
  display: block;
  margin-bottom: 4px;
  color: var(--navy);
}
.join-option small {
  display: block;
  color: var(--muted);
  line-height: 1.55;
}
.join-actions .btn {
  justify-self: start;
  margin-top: 22px;
}
.join-actions .btn span {
  display: inline-block;
  margin-left: 4px;
  transition: transform 0.2s ease;
}
.join-actions .btn:hover span {
  transform: translateX(4px);
}
.donation {
  padding-top: 0;
}
.donation-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  gap: 54px;
  align-items: center;
  padding: 42px 50px;
  border-radius: 30px;
  background: linear-gradient(135deg, #06182d, #0b2947);
  color: #fff;
}
.donation-panel::after {
  content: '';
  position: absolute;
  right: -90px;
  top: -140px;
  width: 340px;
  height: 340px;
  border: 1px solid rgba(232, 184, 75, 0.2);
  border-radius: 50%;
}
.donation-copy,
.donation-account {
  position: relative;
  z-index: 1;
}
.donation-copy h2 {
  max-width: 650px;
  margin: 0.45rem 0 0.8rem;
  font-size: clamp(2.25rem, 4vw, 3.25rem);
}
.donation-copy p {
  max-width: 650px;
  margin: 0;
  color: #c6d1dc;
  line-height: 1.7;
}
.donation-account {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 16px;
  padding-left: 38px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}
.donation-star {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-size: 1.1rem;
}
.donation-account small,
.donation-account strong {
  display: block;
}
.donation-account small {
  margin-bottom: 5px;
  color: var(--gold2);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.donation-account strong {
  font-family: "DM Serif Display", serif;
  font-size: 1.7rem;
  font-weight: 400;
}

.contact {
  background: #f3efe6;
}
.contact-details {
  max-width: 430px;
  margin-top: 1.75rem;
  border-top: 1px solid #d9d0c1;
}
.contact-item {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 15px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid #d9d0c1;
  color: var(--navy);
  text-decoration: none;
}
.contact-item small {
  display: block;
  margin-bottom: 4px;
  color: #9b6b12;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.contact-item address {
  margin: 0;
  color: var(--muted);
  font-style: normal;
  line-height: 1.7;
}
.contact-item address b,
.contact-item > span b {
  color: var(--navy);
}
.contact-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(232, 184, 75, 0.18);
  color: #9b6b12;
  transition: background 0.2s ease, color 0.2s ease;
}
.contact-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
a.contact-item:hover .contact-icon {
  background: var(--gold);
  color: var(--navy);
}
a.contact-item:hover b {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.contact-form {
  background: white;
  padding: 32px;
  border-radius: 24px;
  border: 1px solid #e7e1d5;
}
.contact-form-head {
  margin-bottom: 1.5rem;
}
.contact-form-head .kicker {
  margin-bottom: 0.55rem;
}
.contact-form-head h3 {
  margin: 0 0 0.45rem;
  color: var(--navy);
  font-family: "DM Serif Display", serif;
  font-size: clamp(1.65rem, 2.5vw, 2rem);
  font-weight: 400;
}
.contact-form-head p {
  margin: 0;
  color: var(--muted);
}
.contact-alert {
  margin: 0 0 1.25rem;
  padding: 0.85rem 1rem;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.55;
}
.contact-alert-success {
  border-color: #b7ddc5;
  background: #edf8f1;
  color: #24603c;
}
.contact-alert-error {
  border-color: #edc4c0;
  background: #fff2f1;
  color: #9a352d;
}
.contact-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
.contact-form label {
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 7px;
}
.contact-form label span {
  color: var(--muted);
  font-weight: 500;
}
.form-control,
.form-select {
  border-radius: 12px;
  border-color: #ddd5c7;
  padding: 0.85rem 1rem;
}
.form-control:focus,
.form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 0.2rem rgba(232, 184, 75, 0.16);
}
.contact-form .form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding-left: 0;
}
.contact-form .form-check-input {
  flex: 0 0 auto;
  margin: 0.2rem 0 0;
}
.contact-form .form-check-input:checked {
  background-color: var(--gold);
  border-color: var(--gold);
}
.contact-form .form-check-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 0.2rem rgba(232, 184, 75, 0.16);
}
.contact-form .form-check-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.5;
}
footer {
  background: #05182c;
  color: #d8e0e8;
  padding: 42px 0 24px;
}
.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 20px;
}
.footer-brand p {
  margin: 0;
  line-height: 1.6;
}
.footer-brand p span {
  color: #9fb0bf;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem 1.25rem;
}
.footer-nav a {
  color: #b9c6d1;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--gold2);
}
.footer-logo {
  width: 110px;
  margin: 0;
}
.socials-wrap {
  text-align: right;
}
.socials-wrap > span {
  display: block;
  margin-bottom: 9px;
  color: #8193a3;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.socials {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}
.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid #456079;
  color: #b9c6d1;
  font-weight: 800;
  opacity: 0.72;
  cursor: default;
}
.socials a.social-link {
  opacity: 1;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.socials a.social-link:hover {
  border-color: var(--gold);
  color: var(--gold2);
  transform: translateY(-2px);
}
.socials a.social-link:focus-visible {
  outline: 2px solid var(--gold2);
  outline-offset: 3px;
}
.eu-box {
  margin-top: 24px;
  padding: 20px 22px;
  border: 1px solid #cbd8e2;
  border-radius: 18px;
  background: #edf2f6;
  display: grid;
  grid-template-columns: 220px minmax(0, 800px);
  gap: 30px;
  align-items: center;
}
.eu-placeholder {
  grid-row: 1/3;
  background: #fff;
  color: #063478;
  padding: 12px 16px;
  border-radius: 7px;
  white-space: nowrap;
}
.eu-box p {
  max-width: 850px;
  margin: 0;
  color: #05182c;
  font-size: 0.75rem;
  line-height: 1.7;
}
.eu-logo-link {
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.eu-logo-link:hover {
  opacity: 0.88;
  transform: translateY(-2px);
}
.eu-logo-link:focus-visible {
  outline: 2px solid var(--gold2);
  outline-offset: 5px;
}
.copyright {
  margin-top: 18px;
  color: #8193a3;
  font-size: 0.75rem;
}
.modal-content {
  border: 0;
  border-radius: 26px;
  overflow: hidden;
}
.modal-content > .btn-close {
  position: absolute;
  right: 18px;
  top: 18px;
  z-index: 4;
  background-color: white;
  border-radius: 50%;
  padding: 10px;
}
.team-modal {
  padding: 0;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
}
.team-modal > img {
  width: 100%;
  height: 100%;
  min-height: 570px;
  object-fit: cover;
  object-position: center top;
}
.team-modal > div {
  padding: 55px 45px;
}
.team-modal h2 {
  font-size: 3rem;
  margin: 8px 0 20px;
}
.team-modal p {
  line-height: 1.75;
  color: var(--muted);
}
@media (min-width: 992px) {
  .hero-row {
    min-height: clamp(700px, 84vh, 820px);
    padding-top: 110px !important;
    padding-bottom: 70px !important;
  }
}
@media (max-width: 991px) {
  .navbar-collapse {
    padding: 18px 0;
  }
  .navbar-collapse .navbar-nav {
    align-items: center;
    gap: 0.35rem;
    text-align: center;
  }
  .navbar-collapse .nav-link {
    padding: 0.6rem 1rem;
  }
  .navbar-collapse .btn-gold {
    margin-top: 0.35rem;
  }
  .hero .row {
    padding-top: 110px !important;
  }
  .project-feature,
  .join-box,
  .donation-panel {
    grid-template-columns: 1fr;
  }
  .donation-account {
    padding: 28px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    border-left: 0;
  }
  .section-head {
    display: block;
  }
  .section-head > p {
    margin-top: 1rem;
    transform: none;
  }
  .documents {
    grid-template-columns: 1fr;
  }
  .documents-single {
    width: 100%;
  }
  .eu-box {
    grid-template-columns: 1fr;
  }
  .eu-placeholder {
    grid-row: auto;
    width: max-content;
  }
  .team-modal {
    grid-template-columns: 1fr;
  }
  .team-modal > img {
    height: 330px;
    min-height: 0;
  }
  .team-modal > div {
    padding: 35px;
  }
}
@media (max-width: 767px) {
  .section {
    padding: 75px 0;
  }
  .hero h1 {
    font-size: 3.8rem;
  }
  .focus-grid {
    grid-template-columns: 1fr;
  }
  .focus-grid article:nth-child(odd) {
    border-right: 0;
  }
  .focus-grid article:nth-last-child(2) {
    border-bottom: 1px solid #ded6c8;
  }
  .project-gallery {
    height: 360px;
  }

  .join-box {
    padding: 30px;
  }
  .donation-panel {
    padding: 32px 30px;
  }
  .footer-main {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
  }
  .footer-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
  }
  .team-modal h2 {
    font-size: 2.3rem;
  }
}
@media (max-width: 480px) {
  .project-gallery-modal .carousel-control-prev,
  .project-gallery-modal .carousel-control-next {
    width: 12%;
  }
  .hero h1 {
    font-size: 3.25rem;
  }
  .project-gallery {
    display: block;
    height: auto;
  }
  .project-gallery button {
    width: 100%;
    height: 230px;
    display: block;
    margin-bottom: 10px;
  }
  .project-gallery img {
    height: 100%;
  }

  .footer-main {
    display: block;
  }
  .footer-nav {
    margin-top: 24px;
  }
  .socials-wrap {
    margin-top: 24px;
    text-align: left;
  }
  .socials {
    justify-content: flex-start;
  }
}

/* Final logo / EU assets */
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 0;
}
.navbar-brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.navbar-brand-copy strong {
  color: var(--navy);
  font-family: "DM Serif Display", serif;
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.035em;
  white-space: nowrap;
}
.navbar-brand-copy small {
  margin-top: 7px;
  color: #b98118;
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  white-space: nowrap;
}
.navbar-brand-copy i {
  margin: 0 0.25em;
  font-style: normal;
}
.navbar-brand img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  display: block;
}

.footer-logo {
  width: 110px;
  height: 110px;
  object-fit: contain;
  display: block;
}
.eu-logo-link {
  display: inline-block;
  line-height: 0;
}
.eu-logo {
  width: min(220px, 100%);
  height: auto;
  display: block;
}
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1030;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 10px 28px rgba(7, 29, 54, 0.22);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}
.back-to-top:hover {
  background: var(--gold2);
  transform: translateY(-2px);
}
.back-to-top:focus-visible {
  outline: 3px solid var(--cream);
  outline-offset: 3px;
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
@media (max-width: 991px) {
  .navbar-brand img {
    width: 56px;
    height: 56px;
  }
}

@media (max-width: 480px) {
  .navbar-brand-copy {
    display: none;
  }
  .back-to-top {
    right: 16px;
    bottom: 16px;
    width: 44px;
    height: 44px;
  }
}
/* Dynamic project pages */
.project-copy time {
  display: block;
  margin: 0.35rem 0 0.9rem;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
}
.project-copy .text-link {
  display: inline-flex;
  margin-top: 0.5rem;
  text-decoration: none;
}
.project-gallery.single {
  grid-template-columns: 1fr;
}
.project-gallery.single .big {
  grid-column: 1;
}
.projects-all-link {
  margin-top: 28px;
  text-align: center;
}
.btn-outline-navy {
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline-navy:hover {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
}
.projects-empty,
.public-empty-state {
  padding: 34px;
  border: 1px solid #e2dacd;
  border-radius: 20px;
  background: #fff;
  color: var(--muted);
}
.projects-empty p,
.public-empty-state p {
  margin: 0;
}
.subpage-hero,
.project-detail-hero {
  padding: 138px 0 58px;
  background: linear-gradient(135deg, #06182d, #0b2947 70%, #12375a);
  color: #fff;
}
.subpage-hero h1,
.project-detail-hero h1,
.not-found-page h1 {
  margin: 0.55rem 0 1rem;
  font-family: "DM Serif Display", serif;
  font-size: clamp(3.2rem, 7vw, 6rem);
  line-height: 0.95;
}
.subpage-hero p {
  max-width: 650px;
  margin: 0;
  color: #cbd6e0;
  font-size: 1.08rem;
}
.projects-list-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.project-list-card {
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(190px, .8fr) minmax(0, 1.2fr);
  border: 1px solid #e5ded1;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(7,29,54,.05);
}
.project-list-image {
  min-height: 320px;
  overflow: hidden;
}
.project-list-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}
.project-list-card:hover .project-list-image img {
  transform: scale(1.025);
}
.project-list-card > div {
  padding: 30px;
}
.project-list-card h2 {
  margin: 14px 0 6px;
  font-size: 2rem;
}
.project-list-card h2 a {
  color: var(--navy);
  text-decoration: none;
}
.project-list-card time {
  color: var(--muted);
  font-size: .74rem;
  font-weight: 700;
}
.project-list-card p {
  margin: 15px 0 18px;
  color: var(--muted);
  line-height: 1.7;
}
.project-list-card .text-link {
  text-decoration: none;
}
.project-detail-hero time {
  color: #cbd6e0;
  font-size: .82rem;
  font-weight: 700;
}
.project-back-link {
  display: block;
  width: max-content;
  margin-bottom: 28px;
  color: var(--gold2);
  font-size: .78rem;
  font-weight: 800;
  text-decoration: none;
}
.project-detail-content {
  padding-top: 70px;
  padding-bottom: 100px;
}
.project-detail-cover {
  width: 100%;
  max-height: 680px;
  display: block;
  object-fit: cover;
  border-radius: 28px;
}
.project-detail-copy {
  width: min(780px, 100%);
  margin: 52px auto 0;
}
.project-detail-copy .lead {
  color: var(--navy);
  font-size: 1.22rem;
  font-weight: 600;
}
.project-detail-copy p {
  color: var(--muted);
  line-height: 1.85;
}
.project-detail-gallery-section {
  margin-top: 75px;
}
.project-detail-gallery-section h2 {
  margin: 8px 0 24px;
}
.project-detail-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.project-detail-gallery button {
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 16px;
}
.project-detail-gallery img {
  width: 100%;
  aspect-ratio: 4/3;
  display: block;
  object-fit: cover;
  transition: transform .25s ease;
}
.project-detail-gallery button:hover img {
  transform: scale(1.025);
}
.not-found-page {
  min-height: 75vh;
  display: grid;
  align-items: center;
  padding: 160px 0 90px;
  background: var(--navy);
  color: #fff;
}
.not-found-page p {
  margin-bottom: 25px;
  color: #cbd6e0;
}
@media (max-width: 991px) {
  .projects-list-grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .subpage-hero, .project-detail-hero { min-height: auto; padding: 122px 0 48px; }
  .project-list-card { grid-template-columns: 1fr; }
  .project-list-image { min-height: 260px; }
  .project-detail-content { padding-top: 50px; padding-bottom: 75px; }
  .project-detail-cover { border-radius: 20px; }
  .project-detail-gallery { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .project-detail-gallery { grid-template-columns: 1fr; }
}

/* Upcoming projects */
.upcoming-project-list {
  max-width: 1000px;
  margin: 52px auto 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.upcoming-project-item {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}
.upcoming-project-number {
  color: var(--gold2);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.upcoming-project-label {
  display: block;
  margin-bottom: 5px;
  color: var(--gold2);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.upcoming-project-copy h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
}
.upcoming-project-copy h3 a,
.upcoming-project-link {
  color: inherit;
  text-decoration: none;
}
.coming .upcoming-project-copy p {
  max-width: 680px;
  margin: 8px 0 0;
  color: #b8c5d2;
}
.upcoming-project-link {
  color: var(--gold2);
  font-size: 0.8rem;
  font-weight: 800;
  white-space: nowrap;
}
.upcoming-project-link span {
  display: inline-block;
  transition: transform 0.2s ease;
}
.upcoming-project-item:hover .upcoming-project-link span {
  transform: translateX(5px);
}
@media (max-width: 767.98px) {
  .upcoming-project-list { margin-top: 36px; }
  .upcoming-project-item { grid-template-columns: 38px minmax(0, 1fr); gap: 14px; padding: 23px 0; }
  .upcoming-project-link { grid-column: 2; }
}
.documents-empty {
  margin: 0;
  color: var(--muted);
}
/* Compact project detail */

.subpage-hero h1,
.project-detail-hero h1 {
  margin: 12px 0 0;
  font-size: clamp(2.65rem, 4.1vw, 3.7rem);
  line-height: 1.02;
}

.project-detail-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.project-back-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: auto;
  margin: 0 0 0 auto;
  color: #d8e2eb;
  font-size: .73rem;
  font-weight: 700;
  text-decoration: none;
  transition: color .2s ease, transform .2s ease;
}

.project-back-link span {
  display: inline-flex;
  align-items: center;
  color: var(--gold2);
  font-size: .9rem;
  line-height: 1;
  transform: translateY(-1px);
  transition: transform .2s ease;
}

.project-back-link:hover {
  color: #fff;
}

.project-back-link:hover span {
  transform: translate(-3px, -1px);
}

.project-detail-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.project-detail-meta .kicker {
  margin: 0;
}

.project-detail-hero time {
  padding-left: 16px;
  border-left: 1px solid rgba(255, 255, 255, .24);
  color: #cbd6e0;
  font-size: .75rem;
  font-weight: 700;
}

.project-detail-content {
  padding-top: 48px;
  padding-bottom: 88px;
}

.project-detail-cover-trigger {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 22px;
  background: transparent;
  cursor: zoom-in;
}

.project-detail-cover {
  width: 100%;
  height: clamp(360px, 42vw, 520px);
  max-height: none;
  border-radius: 22px;
}

.project-detail-copy {
  margin-top: 42px;
}

.project-detail-gallery-section {
  width: 100%;
  margin: 64px auto 0;
}

.project-detail-cover-trigger:focus-visible,
.project-detail-gallery button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

@media (max-width: 767px) {
  .subpage-hero h1,
  .project-detail-hero h1 {
    margin-top: 10px;
    font-size: clamp(2.45rem, 12vw, 3.35rem);
  }

  .project-detail-topline {
    align-items: flex-start;
    gap: 14px;
  }

  .project-back-link {
    flex-shrink: 0;
  }

  .project-detail-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .project-detail-hero time {
    padding-left: 0;
    border-left: 0;
  }

  .project-detail-content {
    padding-top: 32px;
    padding-bottom: 70px;
  }

  .project-detail-cover-trigger,
  .project-detail-cover {
    border-radius: 16px;
  }

  .project-detail-cover {
    height: clamp(260px, 72vw, 390px);
  }

  .project-detail-copy {
    margin-top: 34px;
  }

  .project-detail-gallery-section {
    margin-top: 52px;
  }
}

@media (max-width: 575px) {
  .project-detail-topline {
    flex-direction: column-reverse;
  }

  .project-back-link {
    align-self: flex-end;
  }
}
