/* ============================================================
   MA — landing page (cinematic hero + sections)
   ============================================================ */

/* ---------------- announcement ---------------- */

.announce {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  padding: 9px 20px;
  background: rgba(6, 8, 11, .78);
  border-bottom: 1px solid var(--hairline);
  font-size: 12px;
  letter-spacing: .05em;
  color: rgba(240, 239, 233, .8);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  /* a fact, not a CTA — no link, no colour, no animation */
}

@media (max-width: 640px) {
  .announce { padding: 9px 16px; }
  .announce span { font-size: 11.5px; line-height: 1.45; }
}

/* ---------------- hero ---------------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--bg);
}

/* Ken Burns wrapper: image + reflection canvas move as one, so the
   animated light columns stay glued to their sources in the photo. */
.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__kb {
  position: absolute;
  inset: -1%;
  will-change: transform;
  transform-origin: 52% 42%;
  animation: kenburns 64s var(--ease-out) infinite alternate;
}

/* Keep magnification low — the further the photo is scaled past 1.0,
   the softer it renders. The pan carries the cinematic feel instead. */
@keyframes kenburns {
  0%   { transform: scale(1.015) translate3d(0, 0, 0); }
  100% { transform: scale(1.06) translate3d(-1.1%, -0.7%, 0); }
}

.hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.96) saturate(1.08) contrast(1.06);
}

.hero__lights {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  mix-blend-mode: screen;
  opacity: .85;
}

/* drifting dusk haze bands */
.hero__haze {
  position: absolute;
  left: -12%;
  width: 124%;
  mix-blend-mode: screen;
  pointer-events: none;
}

/* haze stays in the SKY band only — the waterline and city lights keep
   their edge, so the frame reads sharp with atmosphere above it */
.hero__haze--warm {
  top: 14%;
  height: 26%;
  background: radial-gradient(55% 90% at 68% 70%, rgba(238, 178, 110, .10), rgba(238, 178, 110, 0) 70%);
  filter: blur(10px);
  animation: hazeDriftA 70s ease-in-out infinite;
}

.hero__haze--cool {
  top: 0;
  height: 24%;
  background: radial-gradient(50% 80% at 26% 40%, rgba(140, 172, 212, .08), rgba(140, 172, 212, 0) 70%);
  filter: blur(12px);
  animation: hazeDriftB 86s ease-in-out infinite;
}

@keyframes hazeDriftA {
  0%   { transform: translate3d(-5%, 0, 0); opacity: .85; }
  50%  { transform: translate3d(4.5%, 1.6%, 0); opacity: 1; }
  100% { transform: translate3d(-5%, 0, 0); opacity: .85; }
}

@keyframes hazeDriftB {
  0%   { transform: translate3d(3.5%, 0, 0); opacity: .5; }
  50%  { transform: translate3d(-4.5%, .8%, 0); opacity: .8; }
  100% { transform: translate3d(3.5%, 0, 0); opacity: .5; }
}

/* slow-breathing dusk glow along the horizon */
/* breathing glow centred on the sun at (78%, 36%) */
.hero__dusk {
  position: absolute;
  left: 0;
  right: 0;
  top: 18%;
  height: 44%;
  background: radial-gradient(46% 60% at 78% 42%, rgba(255, 190, 110, .12), rgba(255, 190, 110, 0) 70%);
  mix-blend-mode: screen;
  pointer-events: none;
  animation: duskBreath 18s ease-in-out infinite;
}

@keyframes duskBreath {
  0%, 100% { opacity: .65; }
  50%      { opacity: 1; }
}

/* moving sheen across the water surface */
.hero__sheen {
  position: absolute;
  left: 0;
  right: 0;
  top: 54%;
  bottom: 0;
  background-image: repeating-linear-gradient(
    100deg,
    rgba(255, 255, 255, .022) 0 2px,
    rgba(255, 255, 255, 0) 2px 30px
  );
  mix-blend-mode: screen;
  pointer-events: none;
  animation: waterSheen 28s linear infinite;
}

@keyframes waterSheen {
  0%   { background-position: 0 0; opacity: .45; }
  50%  { opacity: .8; }
  100% { background-position: 340px 0; opacity: .45; }
}

/* animated film grain */
.hero__grain {
  position: absolute;
  inset: -2%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  opacity: .03;
  mix-blend-mode: overlay;
  animation: grainShift .9s steps(4) infinite;
  pointer-events: none;
}

@keyframes grainShift {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(-1.5%, 1%); }
  50%  { transform: translate(1%, -1.5%); }
  75%  { transform: translate(-1%, -1%); }
  100% { transform: translate(0, 0); }
}

/* legibility gradient */
.hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 10, 14, .78) 0%,
    rgba(8, 10, 14, .34) 34%,
    rgba(8, 10, 14, .28) 58%,
    rgba(8, 10, 14, .86) 100%
  );
  pointer-events: none;
}

/* soft scrim behind the headline block — darkens only where the copy sits,
   so the sun path and boats around it stay bright */
.hero__vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 58% 52% at 50% 52%,
    rgba(8, 10, 14, .5),
    rgba(8, 10, 14, .22) 55%,
    rgba(8, 10, 14, 0) 78%
  );
  pointer-events: none;
}

/* faint radar-sweep ring, echoing the spiral mark */
.hero__ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(150vh, 1100px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px dashed rgba(240, 239, 233, .05);
  mask-image: conic-gradient(from 0deg, #000 0 40%, transparent 55% 100%);
  -webkit-mask-image: conic-gradient(from 0deg, #000 0 40%, transparent 55% 100%);
  animation: ringSpin 90s linear infinite;
  pointer-events: none;
}

@keyframes ringSpin { to { transform: translate(-50%, -50%) rotate(360deg); } }

/* ---------------- hero content ---------------- */

.hero__content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
  will-change: transform;
}

.hero__eyebrow {
  font-size: 11px;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: rgba(240, 239, 233, .78);
  margin-bottom: 28px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .5), 0 2px 14px rgba(0, 0, 0, .4);
  animation: eyebrowIn 1.3s var(--ease-out) .35s both;
}

@keyframes eyebrowIn {
  0% { opacity: 0; transform: translateY(20px); letter-spacing: .55em; }
  100% { opacity: 1; transform: translateY(0); letter-spacing: .34em; }
}

.hero__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(44px, 7.2vw, 96px);
  line-height: 1.06;
  letter-spacing: .005em;
  margin: 0;
  text-wrap: balance;
  text-shadow: 0 2px 6px rgba(0, 0, 0, .45), 0 6px 32px rgba(0, 0, 0, .4);
}

.hero__title .line {
  display: block;
  overflow: hidden;
}

.hero__title .line > span {
  display: block;
  animation: heroLine 1.35s var(--ease-out) both;
}

.hero__title .line:nth-child(1) > span { animation-delay: .5s; }
.hero__title .line:nth-child(2) > span { animation-delay: .68s; }

@keyframes heroLine {
  0% { opacity: 0; transform: translateY(105%); filter: blur(3px); }
  45% { filter: blur(0); }
  100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}

.hero__sub {
  font-size: clamp(16px, 1.4vw, 18.5px);
  font-weight: 400;
  line-height: 1.7;
  color: rgba(240, 239, 233, .92);
  max-width: 560px;
  margin: 30px 0 0;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .55), 0 3px 18px rgba(0, 0, 0, .4);
  animation: riseIn 1.2s var(--ease-out) 1.05s both;
}

.hero__cta {
  margin-top: 42px;
  animation: riseIn 1.2s var(--ease-out) 1.25s both;
}

/* ---------------- trusted-by strip ---------------- */

.hero__logos {
  position: relative;
  z-index: 2;
  padding: 0 48px 34px;
  animation: fadeIn 1.8s ease 1.8s both;
}

.hero__logos-label {
  font-size: 10px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(240, 239, 233, .55);
  text-align: center;
  margin-bottom: 18px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .5);
}

.hero__logos-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 18px 44px;
  filter: grayscale(1);
  opacity: .78;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .55);
}

.hero__logos-row .l1 { font-family: var(--serif); font-size: 15px; letter-spacing: .08em; }
.hero__logos-row .l2 { font-size: 12px; letter-spacing: .3em; text-transform: uppercase; font-weight: 600; }
.hero__logos-row .l3 { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; font-weight: 300; }
.hero__logos-row .l4 { font-family: var(--serif); font-style: italic; font-size: 15px; }
.hero__logos-row .l5 { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; font-weight: 500; }
.hero__logos-row .l6 { font-size: 13px; letter-spacing: .12em; font-weight: 400; }

/* reduced motion: freeze the film, show everything */
@media (prefers-reduced-motion: reduce) {
  .hero__kb { animation: none; }
  .hero__lights, .hero__grain, .hero__ring { display: none; }
}

/* ---------------- product / map mockup ---------------- */

.map-frame {
  max-width: 1160px;
  margin: 70px auto 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(240, 239, 233, .1);
  box-shadow: 0 40px 120px rgba(0, 0, 0, .6), 0 12px 40px rgba(0, 0, 0, .5);
  background: #0d141d;
}

.map-frame__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #10161f;
  border-bottom: 1px solid var(--hairline);
}

.map-frame__dot { width: 11px; height: 11px; border-radius: 50%; background: rgba(240, 239, 233, .18); }

.map-frame__url {
  margin: 0 auto;
  background: rgba(240, 239, 233, .06);
  border-radius: 6px;
  padding: 5px 22px;
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--ink-50);
}

.map-frame__spacer { width: 33px; }

.map-frame__body {
  display: grid;
  grid-template-columns: 1fr 300px;
  min-height: 520px;
}

.map-view {
  position: relative;
  min-height: 460px;
  background: linear-gradient(160deg, #0c1622 0%, #0a121c 55%, #091019 100%);
  overflow: hidden;
}

#fleet-map {
  position: absolute;
  inset: 0;
}

#fleet-map .maplibregl-ctrl-attrib {
  background: rgba(6, 8, 11, .82);
  font-size: 10.5px;
}

#fleet-map .maplibregl-ctrl-attrib,
#fleet-map .maplibregl-ctrl-attrib a { color: rgba(240, 239, 233, .75); }

.map-view__chips { position: absolute; left: 18px; bottom: 16px; display: flex; gap: 8px; z-index: 2; }

.map-chip {
  background: rgba(6, 8, 11, .7);
  border: 1px solid rgba(240, 239, 233, .12);
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 10.5px;
  letter-spacing: .1em;
  color: var(--ink-70);
}

.map-panel {
  background: #0d131c;
  border-left: 1px solid var(--hairline);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.map-panel__label {
  font-size: 10px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--ink-45);
  margin-bottom: 6px;
}

.map-panel__vessel { font-family: var(--serif); font-size: 21px; font-weight: 400; }
.map-panel__route { font-size: 11px; color: var(--ink-50); margin-top: 3px; }

.map-panel__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.stat-cell {
  background: rgba(240, 239, 233, .04);
  border: 1px solid var(--hairline);
  border-radius: 8px;
  padding: 11px 13px;
}

.stat-cell__k {
  font-size: 9.5px;
  letter-spacing: .18em;
  color: var(--ink-45);
  text-transform: uppercase;
}

.stat-cell__v { font-size: 19px; font-weight: 300; margin-top: 3px; }
.stat-cell__v small { font-size: 11px; color: var(--ink-50); }

.map-panel__alert {
  border: 1px solid rgba(214, 168, 118, .35);
  background: rgba(214, 168, 118, .07);
  border-radius: 8px;
  padding: 12px 14px;
}

.map-panel__alert-k {
  font-size: 9.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 5px;
}

.map-panel__alert-v { font-size: 12.5px; line-height: 1.5; color: var(--ink-85); }

.map-panel__insight {
  border: 1px solid rgba(240, 239, 233, .1);
  border-radius: 8px;
  padding: 12px 14px;
  background: rgba(240, 239, 233, .03);
}

.map-panel__insight-k {
  font-size: 9.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-45);
  margin-bottom: 6px;
}

.map-panel__insight-v { font-size: 12px; line-height: 1.6; color: rgba(240, 239, 233, .62); }

@media (max-width: 900px) {
  .map-frame__body { grid-template-columns: 1fr; }
  .map-panel { border-left: none; border-top: 1px solid var(--hairline); }
}

/* ---------------- pillars ---------------- */

.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 56px;
}

.pillar svg { margin-bottom: 24px; }

.pillar h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 24px;
  margin: 0 0 14px;
}

.pillar p {
  font-size: 15.5px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--ink-60);
  margin: 0;
}

/* ---------------- stats band ---------------- */

.stats-band {
  position: relative;
  padding: 100px 48px;
  border-top: 1px solid var(--hairline);
  background: var(--bg-panel);
  overflow: hidden;
}

.stats-band .orbit {
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 900px; height: 900px;
  border-color: rgba(240, 239, 233, .05);
}

.stats-grid {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 48px;
  text-align: center;
}

.stat-big {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(40px, 4.6vw, 60px);
}

.stat-big-label {
  font-size: 11px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--ink-50);
  margin-top: 10px;
}

/* ---------------- quote ---------------- */

.quote-slab {
  padding: 130px 48px;
  background: var(--bg-deep);
  border-top: 1px solid rgba(240, 239, 233, .06);
}

.quote-slab__mark {
  font-family: var(--serif);
  font-size: 52px;
  line-height: 0;
  color: var(--accent);
  margin-bottom: 34px;
}

.quote-slab blockquote {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.4;
  margin: 0;
  text-wrap: balance;
}

.quote-slab__who {
  margin-top: 38px;
  font-size: 11px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: rgba(240, 239, 233, .55);
}

.quote-slab__org {
  margin-top: 6px;
  font-size: 12px;
  color: var(--ink-50);
  letter-spacing: .08em;
}

/* ---------------- security teaser ---------------- */

.sec-teaser {
  display: grid;
  grid-template-columns: minmax(280px, 1.1fr) minmax(300px, 1.4fr);
  gap: 64px;
  align-items: center;
}

.sec-teaser h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.15;
}

.sec-teaser__link {
  display: inline-block;
  margin-top: 28px;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  border-bottom: 1px solid var(--accent-40);
  padding-bottom: 4px;
}

.sec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(240, 239, 233, .1);
  border: 1px solid rgba(240, 239, 233, .1);
}

.sec-cell { background: var(--bg); padding: 26px 28px; }
.sec-cell__k { font-size: 14px; font-weight: 500; letter-spacing: .04em; }
.sec-cell__v {
  font-size: 14px;
  font-weight: 400;
  color: var(--ink-60);
  margin-top: 8px;
  line-height: 1.65;
}

@media (max-width: 900px) {
  .sec-teaser { grid-template-columns: 1fr; gap: 40px; }
  .sec-grid { grid-template-columns: 1fr; }
}

/* ---------------- final CTA ---------------- */

.final-cta {
  position: relative;
  padding: 150px 48px;
  overflow: hidden;
  border-top: 1px solid var(--hairline);
}

.final-cta__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.55) saturate(.9);
}

.final-cta__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 10, 14, .85), rgba(8, 10, 14, .55) 50%, rgba(8, 10, 14, .9));
}

.final-cta__inner {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.final-cta h2 {
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 1.12;
}

.final-cta p {
  font-size: 16.5px;
  font-weight: 400;
  color: rgba(240, 239, 233, .82);
  margin: 22px 0 0;
  line-height: 1.75;
}

.final-cta .btn-pill--lg { margin-top: 40px; }
