:root {
  --ink: #06151c;
  --ink-soft: #0f2a36;
  --teal: #12a4b4;
  --teal-deep: #0a7c8a;
  --aqua: #5ee1d0;
  --sand: #cfecef;
  --mist: #e6f4f5;
  --paper: #eef6f7;
  --white: #ffffff;
  --line: rgba(6, 21, 28, 0.1);
  --gold: #12a4b4;
  --text: #152830;
  --muted: #4a646c;
  --shadow: 0 20px 48px rgba(6, 21, 28, 0.16);
  --radius: 1.25rem;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Figtree", system-ui, sans-serif;
  --max: 72rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(circle at 8% 0%, rgba(18, 164, 180, 0.14), transparent 40%),
    radial-gradient(circle at 92% 12%, rgba(94, 225, 208, 0.12), transparent 34%),
    linear-gradient(180deg, #eaf6f7 0%, var(--paper) 45%, #e3eef0 100%);
  line-height: 1.65;
  min-height: 100vh;
}

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

a {
  color: var(--teal-deep);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--ink);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: var(--white);
  padding: 0.6rem 1rem;
  z-index: 1000;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background:
    linear-gradient(180deg, #041018 0%, #0a222c 100%);
  border-bottom: 1px solid rgba(94, 225, 208, 0.12);
}

.topbar {
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.topbar__inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 0.4rem 0;
  flex-wrap: wrap;
}

.topbar__note {
  margin: 0;
  letter-spacing: 0.02em;
}

.topbar__contacts {
  display: flex;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

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

.topbar a:hover {
  color: var(--aqua);
}

.header__bar {
  background: transparent;
  border-top: 0;
  box-shadow: none;
  position: relative;
}

.header__bar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--aqua), var(--teal), transparent);
  opacity: 0.55;
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 1rem 1.35rem;
  padding: 0.75rem 0 0.9rem;
  min-height: 4.75rem;
}

.nav-backdrop {
  display: none;
}

.nav__drawer-head {
  display: none;
}

.nav {
  flex: 1;
  min-width: 0;
  display: flex;
  justify-content: flex-end;
}

.nav__list {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.2rem;
  list-style: none;
  margin: 0;
  padding: 0.28rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.nav__link,
.nav__link--parent {
  appearance: none;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
  color: rgba(255, 255, 255, 0.88);
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.nav__link--parent {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.nav__link--parent::after {
  content: "";
  width: 0.35rem;
  height: 0.35rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  opacity: 0.75;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.has-sub.is-open > .nav__link--parent::after,
.has-sub:hover > .nav__link--parent::after,
.has-sub:focus-within > .nav__link--parent::after {
  transform: rotate(225deg) translateY(-1px);
  opacity: 1;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  min-width: 0;
  flex: 0 0 auto;
  max-width: min(18rem, 42vw);
}

.brand__logo {
  display: block;
  width: auto;
  height: 3.6rem;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
  border-radius: 0.45rem;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
  background: #003399;
  outline: 1px solid rgba(94, 225, 208, 0.28);
}

@media (min-width: 1200px) {
  .brand {
    max-width: 20rem;
  }

  .brand__logo {
    height: 4rem;
  }

  .nav__link,
  .nav__link--parent {
    font-size: 0.9rem;
    padding: 0.6rem 0.95rem;
  }
}

.nav-toggle {
  display: none;
  border: 1px solid rgba(94, 225, 208, 0.35);
  background: rgba(18, 164, 180, 0.18);
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
  align-items: center;
  gap: 0.55rem;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  color: #fff;
  margin-left: auto;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: var(--aqua);
  position: relative;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle__bars::before { top: -5px; }
.nav-toggle__bars::after { top: 5px; }

.nav__link:hover,
.nav__link--parent:hover,
.nav__link:focus-visible,
.nav__link--parent:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  outline: none;
}

.nav__link.is-current,
.has-sub.is-active > .nav__link--parent,
.has-sub.is-open > .nav__link--parent {
  background: linear-gradient(135deg, var(--aqua), var(--teal));
  color: #042028;
  box-shadow: 0 6px 18px rgba(18, 164, 180, 0.35);
}

.has-sub {
  position: relative;
}

.nav__sub {
  position: absolute;
  top: calc(100% + 0.65rem);
  left: 0;
  min-width: 17rem;
  margin: 0;
  padding: 0.5rem;
  list-style: none;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(18, 164, 180, 0.18);
  border-radius: 1rem;
  box-shadow: 0 22px 44px rgba(6, 21, 28, 0.22);
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.5rem);
  transition: 0.2s ease;
  z-index: 30;
}

.nav__sub::before {
  content: "";
  position: absolute;
  top: -0.45rem;
  left: 1.25rem;
  width: 0.7rem;
  height: 0.7rem;
  background: var(--white);
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
  transform: rotate(45deg);
}

.has-sub:hover > .nav__sub,
.has-sub:focus-within > .nav__sub,
.has-sub.is-open > .nav__sub {
  opacity: 1;
  visibility: visible;
  transform: none;
}

/* Keep last dropdowns from overflowing viewport */
.nav__item:nth-last-child(-n+2) .nav__sub {
  left: auto;
  right: 0;
}

.nav__item:nth-last-child(-n+2) .nav__sub::before {
  left: auto;
  right: 1.25rem;
}

.nav__sublink {
  display: block;
  padding: 0.7rem 0.85rem;
  border-radius: 0.7rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0;
  text-transform: none;
  border-left: 3px solid transparent;
}

.nav__sublink:hover,
.nav__sublink.is-current {
  background: linear-gradient(90deg, rgba(18, 164, 180, 0.12), rgba(94, 225, 208, 0.06));
  color: var(--teal-deep);
  border-left-color: var(--teal);
}

.nav__sub--nested {
  position: absolute;
  top: -0.45rem;
  left: calc(100% + 0.4rem);
  right: auto;
  min-width: 15.5rem;
  margin: 0;
  padding: 0.45rem;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  border-left: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(13, 36, 48, 0.2);
  background: var(--white);
  opacity: 0;
  visibility: hidden;
  transform: translateX(0.4rem);
  display: block;
  z-index: 40;
}

.nav__sub--nested::before {
  display: block;
  top: 1.1rem;
  left: -0.4rem;
  right: auto;
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
  border-right: 0;
  border-bottom: 0;
  transform: rotate(-45deg);
}

.has-sub--nested:hover > .nav__sub--nested,
.has-sub--nested:focus-within > .nav__sub--nested,
.has-sub--nested.is-open > .nav__sub--nested,
.has-sub--nested.is-open .nav__sub--nested {
  opacity: 1;
  visibility: visible;
  transform: none;
  display: block;
}

.has-sub--nested {
  position: relative;
}

.has-sub--nested > .nav__link--parent,
.has-sub--nested > .nav__sublink.nav__link--parent {
  width: 100%;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
  background: transparent;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: 0.55rem;
  padding: 0.7rem 0.85rem;
  border-left: 3px solid transparent;
}

.has-sub--nested > .nav__link--parent:hover,
.has-sub--nested > .nav__sublink.nav__link--parent:hover,
.has-sub--nested.is-open > .nav__link--parent,
.has-sub--nested.is-open > .nav__sublink.nav__link--parent,
.has-sub--nested:hover > .nav__link--parent,
.has-sub--nested:hover > .nav__sublink.nav__link--parent {
  background: var(--mist);
  color: var(--teal-deep);
  border-left-color: var(--teal);
}

.has-sub--nested > .nav__link--parent::after,
.has-sub--nested > .nav__sublink.nav__link--parent::after {
  content: "";
  width: 0.35rem;
  height: 0.35rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  opacity: 0.75;
  margin-left: auto;
}

.has-sub--nested.is-open > .nav__link--parent::after,
.has-sub--nested.is-open > .nav__sublink.nav__link--parent::after,
.has-sub--nested:hover > .nav__link--parent::after,
.has-sub--nested:hover > .nav__sublink.nav__link--parent::after {
  transform: rotate(45deg);
}

.nav__sublink.nav__link--parent {
  appearance: none;
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
  width: 100%;
}

.nav__sub--nested .nav__sublink {
  font-size: 0.88rem;
  font-weight: 500;
  padding-left: 0.85rem;
}

/* Dacă panoul e aproape de dreapta ecranului, deschide nested spre stânga */
.nav__item:nth-last-child(-n+3) .nav__sub--nested {
  left: auto;
  right: calc(100% + 0.4rem);
  transform: translateX(-0.4rem);
}

.nav__item:nth-last-child(-n+3) .has-sub--nested:hover > .nav__sub--nested,
.nav__item:nth-last-child(-n+3) .has-sub--nested:focus-within > .nav__sub--nested,
.nav__item:nth-last-child(-n+3) .has-sub--nested.is-open > .nav__sub--nested {
  transform: none;
}

.nav__item:nth-last-child(-n+3) .nav__sub--nested::before {
  left: auto;
  right: -0.4rem;
  transform: rotate(135deg);
}

.nav__item:nth-last-child(-n+3) .has-sub--nested > .nav__link--parent::after,
.nav__item:nth-last-child(-n+3) .has-sub--nested > .nav__sublink.nav__link--parent::after {
  transform: rotate(135deg);
}

.hero {
  position: relative;
  min-height: min(52vh, 28rem);
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: hero-drift 18s ease-in-out infinite alternate;
}

.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(4, 16, 24, 0.35) 0%, rgba(6, 28, 36, 0.58) 42%, rgba(4, 16, 24, 0.9) 100%),
    linear-gradient(90deg, rgba(10, 124, 138, 0.4), transparent 58%);
}

.hero__content {
  padding: clamp(2rem, 6vh, 3.5rem) 0 2rem;
  max-width: 42rem;
  animation: rise 0.9s ease both;
}

.hero__brand {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 1.05;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.hero__lead {
  margin: 0 0 1.75rem;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.9);
  max-width: 34rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.3rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  transition: 0.2s ease;
}

.btn--primary {
  background: linear-gradient(135deg, var(--aqua), #9af0e4);
  color: #042028;
  box-shadow: 0 10px 24px rgba(18, 164, 180, 0.28);
}

.btn--primary:hover {
  background: var(--white);
  color: var(--ink);
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
}

.btn--solid {
  background: linear-gradient(135deg, var(--teal), var(--teal-deep));
  color: var(--white);
  box-shadow: 0 10px 22px rgba(10, 124, 138, 0.25);
}

.btn--solid:hover {
  background: var(--ink);
  color: var(--white);
}

.btn:not([class*="btn--"]) {
  background: var(--white);
  border-color: var(--line);
  color: var(--ink);
}

.btn:not([class*="btn--"]):hover {
  background: var(--mist);
  color: var(--teal-deep);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.stack-gap {
  margin-bottom: 1.5rem;
}

.media-frame--narrow {
  max-width: 40rem;
}

.logo-row {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

.logo-row img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.prose img.rounded {
  border-radius: 0.35rem;
  max-width: 100%;
  height: auto;
}

.section {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}

.section--tight {
  padding-top: 2.5rem;
}

.section__head {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.section__eyebrow {
  margin: 0 0 0.55rem;
  color: var(--teal);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.section h1,
.section h2,
.page-hero h1 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

.section h1,
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.section h2 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
}

.section h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
  color: var(--ink);
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
  margin: 0;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.split--reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.media-frame {
  overflow: hidden;
  border-radius: calc(var(--radius) + 0.35rem);
  box-shadow: var(--shadow);
  position: relative;
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 70%, rgba(16, 42, 46, 0.18));
  pointer-events: none;
}

.media-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.media-frame:hover img {
  transform: scale(1.04);
}

.prose {
  max-width: 48rem;
}

.prose p,
.prose li {
  margin: 0 0 1rem;
}

.prose ul,
.prose ol {
  padding-left: 1.2rem;
}

.quote {
  margin: 1.5rem 0;
  padding: 1.25rem 1.4rem;
  border-left: 3px solid var(--gold);
  background: rgba(255, 255, 255, 0.55);
  border-radius: 0 1rem 1rem 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.45;
  color: var(--ink);
}

.quote cite {
  display: block;
  margin-top: 0.85rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-style: normal;
  color: var(--muted);
}

.mission {
  background:
    linear-gradient(135deg, rgba(18, 164, 180, 0.14), rgba(94, 225, 208, 0.1)),
    var(--white);
  border: 1px solid rgba(18, 164, 180, 0.16);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2rem);
  animation: rise 0.8s ease both;
  animation-delay: 0.1s;
}

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

.pillar {
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  border-top: 3px solid var(--teal);
  padding-top: 1rem;
  transition: transform 0.35s ease;
}

.pillar:hover {
  transform: translateY(-2px);
  box-shadow: none;
}

.pillar strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
  color: var(--ink);
}

.page-hero {
  padding: 2.75rem 0 1.5rem;
}

.page-hero p {
  margin: 0;
  color: var(--muted);
  max-width: 40rem;
}

.list-board {
  display: grid;
  gap: 0;
}

.list-board article,
.panel {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 1.15rem 0;
}

.panel {
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid var(--line);
  border-radius: 0.35rem;
  padding: 1.35rem 1.4rem;
}

.list-board h3 {
  margin-bottom: 0.35rem;
}

.list-board p:last-child,
.panel p:last-child {
  margin-bottom: 0;
}

.meta-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.meta-list li {
  display: grid;
  gap: 0.15rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
}

.meta-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.meta-list span {
  color: var(--muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.25rem;
}

.site-footer {
  margin-top: 1.25rem;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  padding: 1rem 0 0.85rem;
  font-size: 0.88rem;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem 1.5rem;
  flex-wrap: wrap;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__title {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--white);
  margin: 0 0 0.15rem;
  line-height: 1.25;
}

.footer__meta {
  margin: 0;
  font-size: 0.82rem;
  opacity: 0.9;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
}

.footer__links a {
  white-space: nowrap;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--aqua);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  flex-wrap: wrap;
  padding-top: 0.65rem;
  font-size: 0.8rem;
  opacity: 0.85;
}

.footer__bottom p {
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes hero-drift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.1) translate3d(-1.5%, -1%, 0); }
}

@media (max-width: 1100px) {
  .split,
  .split--reverse,
  .pillars,
  .contact-grid,
  .footer__inner {
    align-items: flex-start;
  }

  .header__inner {
    flex-wrap: nowrap;
    min-height: 4.25rem;
    padding: 0.55rem 0;
  }

  .brand {
    max-width: min(16rem, 62vw);
  }

  .brand__logo {
    height: 3.25rem;
  }

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

  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(8, 20, 26, 0.45);
    z-index: 60;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
  }

  body.nav-is-open .nav-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  body.nav-is-open {
    overflow: hidden;
  }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(20rem, 88vw);
    background: #0f2730;
    color: #fff;
    z-index: 70;
    padding: 0 0 1.5rem;
    overflow: auto;
    transform: translateX(105%);
    transition: transform 0.28s ease;
    box-shadow: -16px 0 40px rgba(0, 0, 0, 0.25);
    display: block;
    flex: none;
    justify-content: flex-start;
  }

  .nav.is-open {
    transform: none;
  }

  .nav__drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    background: #0f2730;
    z-index: 1;
  }

  .nav__drawer-title {
    margin: 0;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.82rem;
    color: #9fd0d7;
  }

  .nav__drawer-close {
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    padding: 0.15rem 0.35rem;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.2rem;
    padding: 0.85rem;
    background: transparent;
    border: 0;
    border-radius: 0;
    backdrop-filter: none;
    box-shadow: none;
  }

  .nav__link.is-current,
  .has-sub.is-active > .nav__link--parent,
  .has-sub.is-open > .nav__link--parent {
    background: linear-gradient(135deg, rgba(94, 225, 208, 0.95), rgba(18, 164, 180, 0.9));
    color: #042028;
  }

  .nav__link,
  .nav__link--parent {
    width: 100%;
    justify-content: space-between;
    border-radius: 0.65rem;
    white-space: normal;
  }

  .nav__sub,
  .nav__sub--nested {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    display: none;
    margin-top: 0.35rem;
    background: rgba(255, 255, 255, 0.06);
    border: 0;
    border-radius: 0.65rem;
    padding: 0.35rem;
    left: auto;
    right: auto;
    top: auto;
    min-width: 0;
  }

  .nav__item:nth-last-child(-n+3) .nav__sub--nested {
    left: auto;
    right: auto;
    transform: none;
  }

  .nav__item:nth-last-child(-n+3) .nav__sub--nested::before,
  .nav__sub--nested::before {
    display: none;
  }

  .has-sub.is-open > .nav__sub,
  .has-sub--nested.is-open > .nav__sub--nested {
    display: grid;
  }

  .nav__sublink,
  .has-sub--nested > .nav__link--parent,
  .has-sub--nested > .nav__sublink.nav__link--parent {
    color: rgba(255, 255, 255, 0.92);
    border-left-color: transparent;
  }

  .nav__sublink:hover,
  .nav__sublink.is-current,
  .has-sub--nested > .nav__link--parent:hover,
  .has-sub--nested > .nav__sublink.nav__link--parent:hover,
  .has-sub--nested.is-open > .nav__link--parent,
  .has-sub--nested.is-open > .nav__sublink.nav__link--parent {
    background: rgba(159, 208, 215, 0.16);
    color: #fff;
    border-left-color: #9fd0d7;
  }

  .has-sub--nested > .nav__sublink.nav__link--parent::after,
  .has-sub--nested > .nav__link--parent::after {
    transform: rotate(45deg);
  }

  .has-sub--nested.is-open > .nav__sublink.nav__link--parent::after,
  .has-sub--nested.is-open > .nav__link--parent::after {
    transform: rotate(225deg);
  }

  .hero {
    min-height: 42vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__media img,
  .reveal,
  .media-frame img,
  .hero__content,
  .mission {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
  .reveal { opacity: 1; }
}

.contact-page {
  display: grid;
  gap: 2rem;
}

.contact-map {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0.35rem;
  background: rgba(255, 255, 255, 0.55);
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: min(22rem, 55vh);
  border: 0;
}

.contact-map__link {
  margin: 0;
  padding: 0.65rem 1rem;
  font-size: 0.9rem;
}

.contact-form-section h2 {
  font-family: var(--font-display);
  color: var(--ink);
  margin: 0 0 0.5rem;
}

.contact-form {
  margin-top: 1rem;
  padding: 1.25rem 1.35rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 0.35rem;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 1rem;
}

.contact-field {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.contact-field-full {
  grid-column: 1 / -1;
}

.contact-field label {
  font-weight: 600;
  color: var(--ink);
  font-size: 0.92rem;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 0.35rem;
  font: inherit;
  color: var(--text);
  background: var(--white);
}

.contact-field input:focus,
.contact-field textarea:focus {
  outline: 2px solid var(--teal);
  outline-offset: 1px;
  border-color: var(--teal);
}

.contact-field textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-actions {
  margin: 1rem 0 0.5rem;
}

.contact-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.7rem 1.35rem;
  border: 0;
  border-radius: 0.35rem;
  background: var(--teal);
  color: var(--white);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.contact-submit:hover {
  background: var(--teal-deep);
}

.contact-note {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.45;
}

.contact-alert {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: 0.35rem;
  font-size: 0.95rem;
  line-height: 1.45;
}

.contact-alert ul {
  margin: 0;
  padding-left: 1.1rem;
}

.contact-alert-ok {
  background: #e8f6ee;
  border: 1px solid #9dceb0;
  color: #1d5c38;
}

.contact-alert-err {
  background: #fdeeee;
  border: 1px solid #e2a3a3;
  color: #8a1f1f;
}

.contact-hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 720px) {
  .contact-form-grid {
    grid-template-columns: 1fr;
  }
}
