:root {
  --ocean: #062c46;
  --ocean-2: #0a4b68;
  --emerald: #0a8f6a;
  --aqua: #15c8d4;
  --reef: #e6f8f4;
  --mist: #f6fafb;
  --ink: #082331;
  --muted: #5d7180;
  --line: rgba(8, 35, 49, 0.12);
  --glass: rgba(255, 255, 255, 0.76);
  --shadow: 0 24px 70px rgba(5, 39, 57, 0.18);
  --display: "Fraunces", Georgia, serif;
  --sans: "Instrument Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--mist);
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 80;
  opacity: 0.05;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.25) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.25) 1px, transparent 1px);
  background-size: 3px 3px;
  mix-blend-mode: multiply;
}

.cursor-glow {
  position: fixed;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.18;
  background: radial-gradient(circle, rgba(21, 200, 212, 0.55), transparent 65%);
  transform: translate(-50%, -50%);
  transition: opacity 200ms ease;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 60;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: min(1160px, calc(100% - 32px));
  min-height: 70px;
  padding: 10px 14px 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 16px 50px rgba(2, 19, 28, 0.12);
  backdrop-filter: blur(22px) saturate(140%);
  transform: translateX(-50%);
  transition: background 240ms ease, border-color 240ms ease, top 240ms ease;
}

.site-header.is-scrolled {
  top: 10px;
  border-color: rgba(8, 35, 49, 0.1);
  background: rgba(255, 255, 255, 0.9);
}

.brand {
  display: flex;
  align-items: center;
  width: 190px;
}

.brand img {
  width: auto;
  max-width: 184px;
  max-height: 48px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.nav-links a,
.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  color: rgba(8, 35, 49, 0.82);
  font-size: 0.9rem;
  font-weight: 700;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.nav-links a:hover,
.menu-toggle:hover {
  transform: translateY(-1px);
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.52);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(6, 44, 70, 0.08);
  border-radius: 14px;
  background: var(--ocean);
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(6, 44, 70, 0.18);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: white;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-backdrop {
  position: fixed;
  inset: 0;
  z-index: 58;
  background: rgba(3, 19, 30, 0.22);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

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

.mobile-menu {
  position: fixed;
  top: 88px;
  left: 16px;
  right: 16px;
  z-index: 59;
  display: grid;
  gap: 4px;
  width: auto;
  max-height: calc(100dvh - 104px);
  overflow-y: auto;
  padding: 12px;
  border: 1px solid rgba(8, 35, 49, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 22px 54px rgba(5, 39, 57, 0.18);
  backdrop-filter: blur(18px) saturate(135%);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px) scale(0.98);
  transition: opacity 180ms ease, transform 180ms ease;
}

.mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.mobile-menu a {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0 16px;
  border-radius: 12px;
  color: var(--ocean);
  font-weight: 800;
}

.mobile-menu a:hover {
  background: var(--reef);
}

.mobile-phone {
  margin-top: 4px;
  color: white !important;
  background: var(--ocean);
}

.mobile-menu .mobile-phone:hover,
.mobile-menu .mobile-phone:focus-visible {
  color: white !important;
  background: linear-gradient(135deg, var(--ocean), var(--ocean-2));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.mobile-menu .mobile-phone:active {
  background: var(--ocean);
  transform: translateY(1px);
}

.hero {
  position: relative;
  min-height: 100svh;
  isolation: isolate;
  display: grid;
  align-items: end;
  padding: 160px clamp(22px, 5vw, 72px) 54px;
  color: white;
  overflow: hidden;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 116%;
  object-fit: cover;
  object-position: 54% center;
  filter: saturate(1.02) contrast(1.04);
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(3, 19, 30, 0.82) 0%, rgba(3, 19, 30, 0.42) 45%, rgba(3, 19, 30, 0.08) 100%),
    linear-gradient(0deg, rgba(3, 19, 30, 0.78) 0%, transparent 42%);
}

.hero-content {
  width: min(820px, 100%);
}

.eyebrow,
.section-kicker,
.card-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--emerald);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow {
  color: rgba(229, 255, 249, 0.86);
}

.eyebrow::before,
.section-kicker::before {
  content: "";
  width: 34px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.hero-title,
.section-copy h2,
.section-head h2,
.story-content h2,
.atlas-intro h2,
.sustainability h2,
.partners h2,
.contact h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 650;
  letter-spacing: 0;
  line-height: 0.96;
}

.hero-title {
  max-width: 870px;
  font-size: clamp(4.2rem, 9vw, 9.4rem);
}

.hero-copy {
  width: min(660px, 100%);
  max-width: calc(100vw - 40px);
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.7;
  overflow-wrap: break-word;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button svg {
  width: 18px;
  height: 18px;
  margin-right: 10px;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: var(--ocean);
  background: white;
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.14);
}

.button.secondary,
.button.ghost {
  color: white;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.button.ghost {
  color: var(--ocean);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.hero-panel {
  position: absolute;
  right: clamp(22px, 5vw, 72px);
  bottom: 54px;
  display: grid;
  gap: 1px;
  width: min(360px, calc(100% - 44px));
  max-width: calc(100vw - 40px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(26px) saturate(150%);
}

.hero-panel div {
  display: grid;
  grid-template-columns: 94px 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.metric {
  font-family: var(--display);
  font-size: 2.1rem;
  line-height: 1;
}

.hero-panel span:last-child {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  line-height: 1.4;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 22px;
  width: 30px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 999px;
  transform: translateX(-50%);
}

.scroll-cue span {
  position: absolute;
  top: 10px;
  left: 50%;
  width: 4px;
  height: 9px;
  border-radius: 999px;
  background: white;
  transform: translateX(-50%);
  animation: cue 1.6s infinite;
}

.section {
  padding: clamp(82px, 11vw, 150px) clamp(22px, 5vw, 72px);
}

.about {
  background:
    linear-gradient(180deg, #ffffff 0%, var(--mist) 100%);
}

.split-layout,
.atlas-grid,
.partners-shell,
.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(30px, 6vw, 84px);
  align-items: center;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.section-copy h2,
.section-head h2,
.story-content h2,
.atlas-intro h2,
.sustainability h2,
.partners h2,
.contact h2 {
  color: var(--ocean);
  font-size: clamp(2.5rem, 5vw, 5.8rem);
}

.section-copy p,
.section-head p,
.story-content p,
.atlas-intro p,
.sustainability p,
.partners p,
.contact p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.8;
}

.about-ledger {
  overflow: hidden;
  border-radius: 24px;
  background: var(--ocean);
  color: white;
  box-shadow: var(--shadow);
}

.ledger-line {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  padding: 26px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.ledger-line:last-child {
  border-bottom: 0;
}

.ledger-line span {
  color: rgba(255, 255, 255, 0.62);
  font-weight: 700;
}

.ledger-line strong {
  text-align: right;
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  width: min(1180px, 100%);
  margin: 52px auto 0;
}

.mission-card {
  position: relative;
  min-height: 300px;
  padding: clamp(28px, 4vw, 44px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: white;
  box-shadow: 0 18px 70px rgba(6, 44, 70, 0.08);
}

.mission-card::after {
  content: "";
  position: absolute;
  right: -64px;
  bottom: -84px;
  width: 260px;
  height: 260px;
  border: 42px solid rgba(21, 200, 212, 0.16);
  border-radius: 50%;
}

.mission-card.invert {
  color: white;
  background:
    linear-gradient(135deg, rgba(10, 143, 106, 0.92), rgba(6, 44, 70, 0.96)),
    var(--ocean);
}

.mission-card h3 {
  position: relative;
  z-index: 1;
  width: min(610px, 100%);
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2rem, 3vw, 3.7rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.work {
  background: var(--ocean);
  color: white;
}

.section-head {
  width: min(1120px, 100%);
  margin: 0 auto 46px;
}

.work .section-head h2,
.work .section-kicker {
  color: white;
}

.service-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(240px, 1fr));
  gap: 16px;
  width: min(1240px, 100%);
  margin: 0 auto;
}

.service-card {
  position: relative;
  min-height: 340px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.065);
  transition: transform 240ms ease, background 240ms ease, border-color 240ms ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: auto 24px 24px 24px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--aqua), var(--emerald));
  transform: scaleX(0.28);
  transform-origin: left;
  transition: transform 240ms ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(21, 200, 212, 0.32);
  background: rgba(255, 255, 255, 0.12);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card svg,
.pillar-card span,
.eco-node svg {
  width: 34px;
  height: 34px;
  color: var(--aqua);
}

.service-card h3,
.pillar-card h3 {
  margin: 34px 0 14px;
  font-size: 1.25rem;
}

.service-card p,
.pillar-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

.story {
  position: relative;
  min-height: 780px;
  display: grid;
  align-items: end;
  padding: clamp(82px, 11vw, 150px) clamp(22px, 5vw, 72px);
  overflow: hidden;
  color: white;
}

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

.story-image img {
  width: 100%;
  height: 114%;
  object-fit: cover;
  object-position: center 58%;
}

.story::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(0deg, rgba(5, 25, 38, 0.82), rgba(5, 25, 38, 0.16)),
    linear-gradient(90deg, rgba(5, 25, 38, 0.62), transparent 74%);
}

.story-content {
  width: min(850px, 100%);
}

.story-content .section-kicker,
.story-content h2,
.story-content p {
  color: white;
}

.story-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.story-notes span {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
}

.pillars {
  background:
    radial-gradient(circle at 92% 12%, rgba(21, 200, 212, 0.13), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #eef8f7 100%);
}

.atlas-grid {
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1.15fr);
  align-items: stretch;
}

.atlas-map {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid rgba(8, 35, 49, 0.11);
  border-radius: 34px;
  background: white;
  box-shadow: var(--shadow);
}

.atlas-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.98) contrast(1.04);
}

.map-glass {
  position: absolute;
  left: 24px;
  bottom: 24px;
  width: min(360px, calc(100% - 48px));
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
}

.map-glass span {
  color: var(--emerald);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.map-glass strong {
  display: block;
  margin-top: 8px;
  color: var(--ocean);
  font-family: var(--display);
  font-size: 2rem;
  line-height: 1;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(230px, 1fr));
  gap: 14px;
  width: min(1400px, 100%);
  margin: 42px auto 0;
  overflow-x: auto;
  padding-bottom: 12px;
  scrollbar-color: var(--emerald) transparent;
}

.pillar-card {
  min-height: 270px;
  padding: 26px;
  border: 1px solid rgba(8, 35, 49, 0.12);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 18px 50px rgba(6, 44, 70, 0.07);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.pillar-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 26px 70px rgba(6, 44, 70, 0.14);
}

.pillar-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: white;
  background: var(--ocean);
  font-weight: 900;
}

.pillar-card h3 {
  color: var(--ocean);
}

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

.sustainability {
  background: var(--ocean);
  color: white;
}

.sustainability-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(30px, 6vw, 90px);
  align-items: center;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.sustainability h2,
.sustainability p,
.sustainability .section-kicker {
  color: white;
}

.eco-diagram {
  position: relative;
  min-height: 560px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 36px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 42px 42px;
  overflow: hidden;
}

.eco-core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: min(230px, 48vw);
  height: min(230px, 48vw);
  padding: 22px;
  border-radius: 50%;
  color: var(--ocean);
  text-align: center;
  font-family: var(--display);
  font-size: 1.75rem;
  line-height: 1.06;
  background: white;
  box-shadow: 0 0 0 18px rgba(21, 200, 212, 0.1), 0 36px 90px rgba(0, 0, 0, 0.26);
  transform: translate(-50%, -50%);
}

.eco-node {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  animation: float 6s ease-in-out infinite;
}

.node-one {
  top: 15%;
  left: 11%;
}

.node-two {
  top: 20%;
  right: 10%;
  animation-delay: -1.2s;
}

.node-three {
  bottom: 18%;
  left: 8%;
  animation-delay: -2.4s;
}

.node-four {
  right: 8%;
  bottom: 16%;
  animation-delay: -3.1s;
}

.gallery {
  background: #ffffff;
}

.masonry {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 1fr;
  grid-auto-rows: 210px;
  gap: 18px;
  width: min(1240px, 100%);
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 28px;
  color: white;
  background: var(--ocean);
  cursor: zoom-in;
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item.wide {
  grid-column: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease, filter 600ms ease;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(3, 19, 30, 0.72), transparent 54%);
}

.gallery-item span {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 1;
  font-weight: 900;
}

.gallery-item:hover img {
  filter: saturate(1.1);
  transform: scale(1.06);
}

.partners {
  background: var(--reef);
}

.partners-shell {
  align-items: center;
}

.logo-wall {
  display: grid;
  gap: 16px;
}

.logo-wall img {
  width: 100%;
  padding: 26px;
  border: 1px solid rgba(8, 35, 49, 0.1);
  border-radius: 24px;
  background: white;
  box-shadow: 0 18px 50px rgba(6, 44, 70, 0.07);
  transition: transform 220ms ease, filter 220ms ease;
}

.logo-wall img:hover {
  filter: saturate(1.12);
  transform: translateY(-4px);
}

.contact {
  padding: clamp(82px, 11vw, 150px) clamp(22px, 5vw, 72px) 28px;
  background:
    linear-gradient(180deg, var(--reef), #ffffff 44%),
    white;
}

.contact-panel {
  padding: clamp(24px, 4vw, 46px);
  border-radius: 36px;
  background: var(--ocean);
  color: white;
  box-shadow: var(--shadow);
}

.contact h2,
.contact p,
.contact .section-kicker {
  color: white;
}

.map-card {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(21, 200, 212, 0.22), rgba(10, 143, 106, 0.22)),
    #06314d;
}

.map-grid {
  position: absolute;
  inset: -40px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.11) 1px, transparent 1px);
  background-size: 36px 36px;
  transform: rotate(-8deg) scale(1.08);
}

.map-card::after {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  box-shadow: 0 0 0 54px rgba(255, 255, 255, 0.035), 0 0 0 118px rgba(255, 255, 255, 0.025);
}

.map-pin {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 15px;
  border-radius: 999px;
  background: white;
  color: var(--ocean);
  font-weight: 900;
  transform: translate(-50%, -50%);
}

.footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  width: min(1180px, 100%);
  margin: 34px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(8, 35, 49, 0.1);
  color: var(--muted);
  font-size: 0.92rem;
}

.footer img {
  width: auto;
  max-width: 118px;
  max-height: 72px;
}

.footer a {
  color: var(--ocean);
  font-weight: 900;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(2, 15, 23, 0.86);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox img {
  max-width: min(1100px, 92vw);
  max-height: 84vh;
  border-radius: 24px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.4);
  transform: scale(0.96);
  transition: transform 220ms ease;
}

.lightbox.is-open img {
  transform: scale(1);
}

.lightbox-close {
  position: fixed;
  top: 22px;
  right: 22px;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: white;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.hero .reveal {
  opacity: 1;
  transform: none;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes cue {
  0% {
    opacity: 0;
    transform: translate(-50%, 0);
  }
  40%,
  70% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, 16px);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav-links {
    display: none;
  }

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

  .hero-panel {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 42px;
  }

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

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

@media (max-width: 820px) {
  .site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    top: 10px;
    width: calc(100% - 20px);
    min-height: 64px;
    border-radius: 18px;
    padding: 8px 10px 8px 12px;
  }

  .brand {
    width: 132px;
  }

  .brand img {
    max-width: 132px;
    max-height: 44px;
  }

  .menu-toggle {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
  }

  .mobile-menu {
    top: 82px;
    left: 10px;
    right: 10px;
  }

  .hero {
    padding: 136px 20px 42px;
  }

  .hero-media img {
    height: 108%;
    object-position: 61% center;
  }

  .hero-title {
    font-size: clamp(3.4rem, 16vw, 5.2rem);
  }

  .split-layout,
  .atlas-grid,
  .sustainability-shell,
  .partners-shell,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .mission-grid,
  .service-rail {
    grid-template-columns: 1fr;
  }

  .story {
    min-height: 700px;
  }

  .story-image img {
    height: 108%;
    object-position: center center;
  }

  .atlas-map,
  .eco-diagram,
  .map-card {
    min-height: 430px;
  }

  .masonry {
    grid-template-columns: 1fr;
    grid-auto-rows: 250px;
  }

  .gallery-item.tall,
  .gallery-item.wide {
    grid-row: span 1;
    grid-column: span 1;
  }

  .footer {
    grid-template-columns: 1fr;
    gap: 10px;
    text-align: center;
  }

  .footer img {
    justify-self: center;
    max-width: 104px;
    max-height: 64px;
  }
}

@media (max-width: 600px) {
  .site-header {
    width: calc(100% - 16px);
    min-height: 60px;
    padding: 7px 8px 7px 10px;
    border-radius: 16px;
  }

  .brand {
    width: 118px;
  }

  .brand img {
    max-width: 118px;
    max-height: 38px;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .mobile-menu {
    top: 76px;
    left: 8px;
    right: 8px;
  }

  .hero {
    padding-top: 118px;
  }

  .hero-title {
    max-width: 10ch;
    font-size: clamp(2.62rem, 14.5vw, 3.85rem);
    line-height: 1.02;
  }

  .hero-copy,
  .hero-actions,
  .hero-panel {
    max-width: calc(100vw - 32px);
  }
}

@media (max-width: 560px) {
  .cursor-glow {
    display: none;
  }

  .section {
    padding: 74px 18px;
  }

  .button {
    width: 100%;
    min-height: 50px;
    padding: 0 18px;
  }

  .hero-copy,
  .section-copy p,
  .story-content p,
  .atlas-intro p,
  .sustainability p,
  .partners p,
  .contact p {
    font-size: 1rem;
    line-height: 1.7;
  }

  .hero-panel div {
    grid-template-columns: 78px 1fr;
    padding: 16px;
  }

  .service-card,
  .mission-card,
  .pillar-card {
    border-radius: 22px;
  }

  .eco-node {
    position: static;
    margin: 12px;
  }

  .eco-diagram {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 220px;
  }

  .eco-core {
    top: 36px;
    width: 170px;
    height: 170px;
    font-size: 1.35rem;
    transform: translateX(-50%);
  }
}

@media (max-width: 430px) {
  .site-header {
    width: calc(100% - 16px);
    min-height: 58px;
    padding: 7px 8px 7px 10px;
    border-radius: 16px;
  }

  .brand {
    width: 116px;
  }

  .brand img {
    max-width: 116px;
    max-height: 38px;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .mobile-menu {
    top: 74px;
    left: 8px;
    right: 8px;
    padding: 10px;
    border-radius: 18px;
  }

  .mobile-menu a {
    min-height: 48px;
    padding: 0 14px;
    font-size: 0.98rem;
  }

  .hero {
    min-height: 100svh;
    padding: 118px 16px 34px;
  }

  .hero-title {
    max-width: 10ch;
    font-size: clamp(2.62rem, 14.5vw, 3.85rem);
    line-height: 1.02;
  }

  .eyebrow,
  .section-kicker,
  .card-mark {
    font-size: 0.68rem;
    letter-spacing: 0.08em;
  }

  .eyebrow::before,
  .section-kicker::before {
    width: 28px;
  }

  .hero-copy {
    margin-top: 20px;
  }

  .hero-actions,
  .contact-actions {
    gap: 10px;
    margin-top: 26px;
  }

  .hero-panel {
    width: 100%;
    margin-top: 30px;
    border-radius: 20px;
  }

  .metric {
    font-size: 1.75rem;
  }

  .section-copy h2,
  .section-head h2,
  .story-content h2,
  .atlas-intro h2,
  .sustainability h2,
  .partners h2,
  .contact h2 {
    font-size: clamp(2.25rem, 12vw, 3.4rem);
    line-height: 1;
  }

  .mission-card {
    min-height: 250px;
    padding: 24px;
  }

  .mission-card h3 {
    font-size: clamp(1.8rem, 9vw, 2.7rem);
  }

  .service-card {
    min-height: 280px;
    padding: 24px;
  }

  .story {
    min-height: 640px;
    padding: 86px 18px;
  }

  .atlas-map,
  .eco-diagram,
  .map-card {
    min-height: 360px;
    border-radius: 24px;
  }

  .map-glass {
    left: 14px;
    right: 14px;
    bottom: 14px;
    width: auto;
    padding: 16px;
    border-radius: 18px;
  }

  .map-glass strong {
    font-size: 1.45rem;
  }

  .pillar-grid {
    margin-left: -18px;
    margin-right: -18px;
    padding: 0 18px 12px;
  }

  .pillar-card {
    min-height: 240px;
  }

  .masonry {
    grid-auto-rows: 230px;
    gap: 12px;
  }

  .gallery-item {
    border-radius: 20px;
  }

  .contact {
    padding: 74px 16px 24px;
  }

  .contact-panel {
    padding: 22px;
    border-radius: 24px;
  }

  .map-pin {
    max-width: calc(100% - 28px);
    white-space: normal;
    border-radius: 18px;
    text-align: center;
  }

  .footer {
    margin-top: 24px;
    padding-top: 18px;
    font-size: 0.86rem;
  }
}

@media (max-width: 360px) {
  .hero-title {
    font-size: 2.45rem;
  }

  .brand {
    width: 104px;
  }

  .brand img {
    max-width: 104px;
    max-height: 34px;
  }

  .mobile-menu a {
    font-size: 0.94rem;
  }

  .hero-panel div {
    grid-template-columns: 68px 1fr;
    gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
