/* ============================================
   EASE — Recovery, for every body
   Brand: Navy #092449 · Cyan #00c8ff · Orange #ff4a1c
   Type: Poppins (headlines) · IBM Plex Mono (accents)
   ============================================ */

:root {
  --navy: #092449;
  --navy-deep: #051530;
  --navy-deeper: #030d1f;
  --cyan: #00c8ff;
  --orange: #ff4a1c;
  --cream: #fffaee;
  --navy-tint: #c5dfff;
  --orange-tint: #ffbf9f;
  --cyan-tint: #c0eef9;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --sans: "Poppins", system-ui, sans-serif;
  --ease-slow: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--navy-deep);
  background-image: radial-gradient(120% 100% at 50% 0%, var(--navy) 0%, var(--navy-deep) 55%, var(--navy-deeper) 100%);
  background-attachment: fixed;
  color: var(--cream);
  font-family: var(--mono);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100svh;
}

::selection { background: var(--cyan); color: var(--navy-deep); }

h1, h2, h3 {
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* ---------- ambient background ---------- */
.ambient {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.5;
  will-change: transform;
}

.orb--orange {
  width: 44vmax; height: 44vmax;
  background: radial-gradient(circle at 40% 40%, var(--orange), transparent 65%);
  top: -14vmax; right: -10vmax;
  animation: drift-a 26s var(--ease-slow) infinite alternate;
}

.orb--cyan {
  width: 50vmax; height: 50vmax;
  background: radial-gradient(circle at 60% 60%, var(--cyan), transparent 65%);
  bottom: -20vmax; left: -14vmax;
  animation: drift-b 32s var(--ease-slow) infinite alternate;
}

.orb--small {
  width: 20vmax; height: 20vmax;
  background: radial-gradient(circle, rgba(0,200,255,0.65), transparent 70%);
  top: 55%; right: 8%;
  opacity: 0.25;
  animation: drift-a 20s var(--ease-slow) infinite alternate-reverse;
}

@keyframes drift-a {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(-9vmax, 7vmax, 0) scale(1.15); }
}

@keyframes drift-b {
  from { transform: translate3d(0, 0, 0) scale(1.1); }
  to   { transform: translate3d(8vmax, -6vmax, 0) scale(0.95); }
}

/* film grain */
.grain {
  position: fixed;
  inset: -50%;
  width: 200%; height: 200%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.05;
  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%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px clamp(20px, 5vw, 56px);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: linear-gradient(to bottom, rgba(5,21,48,0.75), rgba(5,21,48,0));
}

.nav__logo img { height: 34px; width: auto; }

.nav__links {
  display: flex;
  gap: clamp(18px, 3vw, 40px);
  list-style: none;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav__links a {
  position: relative;
  padding: 4px 0;
  opacity: 0.75;
  transition: opacity 0.3s;
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, var(--orange), var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-slow);
}

.nav__links a:hover, .nav__links a[aria-current="page"] { opacity: 1; }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); }

.nav__toggle { display: none; }

@media (max-width: 640px) {
  /* backdrop-filter would trap the fixed menu overlay inside the nav's box */
  .nav { backdrop-filter: none; -webkit-backdrop-filter: none; }

  .nav__toggle {
    display: grid;
    place-items: center;
    gap: 5px;
    width: 44px; height: 44px;
    background: none;
    border: 1px solid rgba(255,250,238,0.25);
    border-radius: 50%;
    cursor: pointer;
    z-index: 60;
  }
  .nav__toggle span {
    display: block;
    width: 16px; height: 1.5px;
    background: var(--cream);
    transition: transform 0.35s var(--ease-slow), opacity 0.3s;
  }
  .nav__toggle span:first-child { align-self: end; }
  .nav__toggle span:last-child { align-self: start; }
  body.menu-open .nav__toggle span:first-child { transform: translateY(3.25px) rotate(45deg); }
  body.menu-open .nav__toggle span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

  .nav__links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 34px;
    font-size: 16px;
    background: rgba(3,13,31,0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s;
  }
  body.menu-open .nav__links { opacity: 1; pointer-events: auto; }
}

/* ---------- shared layout ---------- */
.page {
  max-width: 1160px;
  margin: 0 auto;
  padding: clamp(120px, 18vh, 190px) clamp(20px, 5vw, 56px) 80px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan-tint);
  opacity: 0.85;
}

.tag::before, .tag--dot::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  animation: pulse 2.4s ease-in-out infinite;
}

.tag--orange::before { background: var(--orange); box-shadow: 0 0 12px var(--orange); }

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.8); }
}

.gradient-text {
  background: linear-gradient(92deg, var(--orange) 8%, var(--orange-tint) 35%, var(--cyan) 78%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* reveal on load */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  animation: rise 1.1s var(--ease-slow) forwards;
}
.reveal:nth-child(2), .r2 { animation-delay: 0.15s; }
.reveal:nth-child(3), .r3 { animation-delay: 0.3s; }
.reveal:nth-child(4), .r4 { animation-delay: 0.45s; }
.reveal:nth-child(5), .r5 { animation-delay: 0.6s; }

@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- hero (landing) ---------- */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px clamp(20px, 5vw, 56px) 60px;
}

.hero__wordmark {
  width: min(620px, 78vw);
  margin: 30px 0 8px;
  filter: drop-shadow(0 12px 60px rgba(0,200,255,0.18));
  animation: rise 1.2s var(--ease-slow) 0.1s both, float 7s ease-in-out 1.4s infinite;
}

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

.hero__tagline {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(18px, 2.6vw, 26px);
  letter-spacing: 0.01em;
  color: var(--navy-tint);
  margin-bottom: 26px;
}

.hero__sub {
  max-width: 520px;
  font-size: 13.5px;
  opacity: 0.7;
  margin-bottom: 44px;
}

/* email capture */
.notify {
  display: flex;
  width: min(480px, 100%);
  border: 1px solid rgba(255,250,238,0.22);
  border-radius: 999px;
  padding: 5px;
  background: rgba(9,36,73,0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.notify:focus-within {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(0,200,255,0.12), 0 0 40px rgba(0,200,255,0.1);
}

.notify input {
  flex: 1;
  min-width: 0;
  background: none;
  border: none;
  outline: none;
  padding: 12px 20px;
  font-family: var(--mono);
  font-size: 13.5px;
  color: var(--cream);
}

.notify input::placeholder { color: rgba(255,250,238,0.4); }

.notify button {
  border: none;
  cursor: pointer;
  padding: 12px 26px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy-deep);
  background: linear-gradient(92deg, var(--orange), var(--cyan));
  background-size: 160% 100%;
  background-position: 0% 0;
  transition: background-position 0.5s var(--ease-slow), transform 0.3s;
  white-space: nowrap;
}

.notify button:hover { background-position: 100% 0; transform: translateY(-1px); }

.notify-note {
  margin-top: 16px;
  font-size: 11px;
  letter-spacing: 0.1em;
  opacity: 0.45;
  text-transform: uppercase;
}

.notify-success {
  display: none;
  margin-top: 4px;
  padding: 14px 26px;
  border: 1px solid rgba(0,200,255,0.4);
  border-radius: 999px;
  color: var(--cyan-tint);
  font-size: 13px;
  letter-spacing: 0.06em;
}

/* marquee */
.marquee {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  overflow: hidden;
  padding: 18px 0;
  border-top: 1px solid rgba(255,250,238,0.08);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee__track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: scroll 36s linear infinite;
}

.marquee__track span {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.4;
  padding: 0 34px;
  white-space: nowrap;
}

.marquee__track span::after {
  content: "·";
  margin-left: 68px;
  color: var(--orange);
  opacity: 0.8;
}

@keyframes scroll {
  to { transform: translateX(-50%); }
}

/* ---------- page headers ---------- */
.page-head { margin-bottom: clamp(48px, 8vh, 90px); }

.page-head h1 {
  font-size: clamp(40px, 7.5vw, 84px);
  margin: 18px 0 20px;
}

.page-head p {
  max-width: 560px;
  font-size: 14px;
  opacity: 0.72;
}

/* ---------- shop tease ---------- */
.tease {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}

@media (max-width: 820px) {
  .tease { grid-template-columns: 1fr; }
}

.vessel-scene {
  position: relative;
  height: clamp(420px, 60vh, 560px);
  display: grid;
  place-items: center;
}

.vessel-glow {
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,74,28,0.4), rgba(0,200,255,0.25) 55%, transparent 72%);
  filter: blur(50px);
  animation: pulse-glow 5s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.18); opacity: 1; }
}

.vessel {
  position: relative;
  width: 168px;
  height: 340px;
  border-radius: 84px 84px 74px 74px / 60px 60px 50px 50px;
  background: linear-gradient(165deg, rgba(255,74,28,0.55) 0%, rgba(9,36,73,0.9) 46%, rgba(0,200,255,0.5) 100%);
  border: 1px solid rgba(255,250,238,0.18);
  box-shadow:
    inset 0 22px 44px rgba(255,250,238,0.14),
    inset 0 -30px 60px rgba(0,200,255,0.18),
    0 40px 90px rgba(3,13,31,0.8);
  overflow: hidden;
  animation: float 6s ease-in-out infinite;
}

.vessel::before {
  content: "";
  position: absolute;
  top: 8%; left: 14%;
  width: 14px; height: 62%;
  border-radius: 999px;
  background: linear-gradient(to bottom, rgba(255,250,238,0.5), transparent);
  filter: blur(2px);
}

.vessel::after {
  content: "";
  position: absolute;
  inset: 0;
  backdrop-filter: blur(26px);
  -webkit-backdrop-filter: blur(26px);
  background: rgba(9,36,73,0.18);
}

.vessel__mark {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 1;
}

.vessel__mark img {
  width: 76px;
  opacity: 0.9;
  filter: blur(7px) saturate(1.2);
}

.vessel__label {
  position: absolute;
  bottom: 44px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 9px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(255,250,238,0.75);
  white-space: nowrap;
}

.droplet {
  position: absolute;
  border-radius: 50% 50% 55% 55%;
  background: radial-gradient(circle at 35% 30%, rgba(255,250,238,0.55), rgba(0,200,255,0.25) 60%, transparent 75%);
  filter: blur(1px);
  opacity: 0.7;
  animation: drip 8s ease-in-out infinite;
}

.droplet--1 { width: 14px; height: 16px; top: 20%; left: 22%; animation-delay: 0s; }
.droplet--2 { width: 9px; height: 11px; top: 34%; right: 20%; animation-delay: 2.4s; }
.droplet--3 { width: 11px; height: 13px; bottom: 28%; left: 30%; animation-delay: 4.8s; }

@keyframes drip {
  0%, 100% { transform: translateY(0); opacity: 0.7; }
  50% { transform: translateY(14px); opacity: 0.35; }
}

/* spec sheet */
.spec {
  border: 1px solid rgba(255,250,238,0.12);
  border-radius: 20px;
  overflow: hidden;
  background: rgba(9,36,73,0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.spec__row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 24px;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  border-bottom: 1px solid rgba(255,250,238,0.08);
}

.spec__row:last-child { border-bottom: none; }
.spec__row dt { opacity: 0.5; text-transform: uppercase; font-size: 11px; letter-spacing: 0.18em; padding-top: 1px; }
.spec__row dd { text-align: right; }

.redacted {
  display: inline-block;
  padding: 1px 10px;
  border-radius: 4px;
  background: linear-gradient(92deg, rgba(255,74,28,0.35), rgba(0,200,255,0.35));
  color: transparent;
  user-select: none;
  filter: blur(0.5px);
}

/* ---------- about ---------- */
.statement {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(24px, 4vw, 42px);
  letter-spacing: -0.02em;
  line-height: 1.25;
  max-width: 880px;
  margin-bottom: clamp(56px, 9vh, 110px);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 22px;
  margin-bottom: clamp(56px, 9vh, 110px);
}

.card {
  position: relative;
  padding: 34px 30px;
  border: 1px solid rgba(255,250,238,0.12);
  border-radius: 20px;
  background: rgba(9,36,73,0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
  transition: transform 0.45s var(--ease-slow), border-color 0.45s;
}

.card:hover { transform: translateY(-5px); border-color: rgba(0,200,255,0.4); }

.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--cyan));
  opacity: 0;
  transition: opacity 0.45s;
}

.card:hover::before { opacity: 1; }

.card .num {
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--orange-tint);
  opacity: 0.8;
}

.card h3 {
  font-size: 21px;
  margin: 14px 0 12px;
  font-weight: 600;
}

.card p { font-size: 13px; opacity: 0.7; }

.story p {
  max-width: 640px;
  font-size: 14.5px;
  opacity: 0.8;
  margin-bottom: 22px;
}

.story .pull {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(19px, 2.6vw, 26px);
  letter-spacing: -0.015em;
  line-height: 1.35;
  opacity: 1;
  margin: 40px 0;
  max-width: 700px;
}

.company-strip {
  margin-top: clamp(56px, 9vh, 100px);
  padding: 30px 34px;
  border: 1px solid rgba(255,250,238,0.12);
  border-radius: 20px;
  background: rgba(9,36,73,0.4);
  display: flex;
  flex-wrap: wrap;
  gap: 14px 44px;
  align-items: baseline;
  font-size: 12.5px;
}

.company-strip .label { opacity: 0.45; text-transform: uppercase; font-size: 10.5px; letter-spacing: 0.2em; margin-right: 10px; }

/* ---------- contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.contact-card {
  padding: 38px 32px;
  border: 1px solid rgba(255,250,238,0.12);
  border-radius: 20px;
  background: rgba(9,36,73,0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.45s var(--ease-slow), border-color 0.45s;
}

.contact-card:hover { transform: translateY(-5px); border-color: rgba(255,74,28,0.45); }

.contact-card .tag { margin-bottom: 22px; }

.contact-card a.big, .contact-card .big {
  display: block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(17px, 2vw, 21px);
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  transition: color 0.3s;
  word-break: break-word;
}

.contact-card a.big:hover { color: var(--cyan); }

.contact-card .small { font-size: 12.5px; opacity: 0.6; }

.contact-card address {
  font-style: normal;
  font-size: 13px;
  line-height: 1.9;
  opacity: 0.8;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

.socials a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border: 1px solid rgba(255,250,238,0.2);
  border-radius: 999px;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: border-color 0.3s, color 0.3s, transform 0.3s;
}

.socials a:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-2px);
}

.socials .soon {
  font-size: 9px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255,74,28,0.25);
  color: var(--orange-tint);
  letter-spacing: 0.1em;
}

/* ---------- footer ---------- */
.footer {
  border-top: 1px solid rgba(255,250,238,0.08);
  padding: 44px clamp(20px, 5vw, 56px) 54px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer img { height: 30px; width: auto; opacity: 0.9; }

.footer p {
  font-size: 11px;
  letter-spacing: 0.08em;
  opacity: 0.45;
  line-height: 1.9;
}

.footer .footer-right { text-align: right; }

@media (max-width: 640px) {
  .footer { flex-direction: column; align-items: flex-start; }
  .footer .footer-right { text-align: left; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .hero__wordmark { opacity: 1; transform: none; }
}
