:root {
  --navy: #183050;
  --navy-deep: #0c1828;
  --navy-mid: #1f3d62;
  --navy-light: #2d5078;
  --mint: #00ffaa;
  --mint-soft: #5dffc4;
  --mint-dim: #00d994;
  --mint-glow: rgba(0, 255, 170, 0.35);
  --slate: #8ba3bc;
  --mist: #c8d4e0;
  --white: #ffffff;
  --off: #f0f4f8;
  --line: rgba(255, 255, 255, 0.1);
  --line-dark: rgba(24, 48, 80, 0.1);
  --radius: 1rem;
  --radius-lg: 1.5rem;
  --font-display: "Space Grotesk", sans-serif;
  --font-body: "DM Sans", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 4.25rem;
  --wrap: min(1140px, calc(100% - 2.5rem));
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--navy);
  background: var(--off);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--mint);
  color: var(--navy-deep);
  font-weight: 600;
  border-radius: 0.5rem;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-mint {
  background: var(--mint);
  color: var(--navy-deep);
  box-shadow: 0 0 0 0 var(--mint-glow);
}

.btn-mint:hover {
  background: var(--mint-soft);
  box-shadow: 0 8px 32px var(--mint-glow);
}

.btn-outline-navy {
  background: transparent;
  border-color: rgba(24, 48, 80, 0.25);
  color: var(--navy);
}

.btn-outline-navy:hover {
  border-color: var(--navy);
  background: rgba(24, 48, 80, 0.04);
}

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--white);
}

.btn-outline:hover {
  border-color: var(--mint);
  color: var(--mint);
}

.btn-full {
  width: 100%;
}

/* Header */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: 0;
  pointer-events: none;
}

.header-bar {
  pointer-events: auto;
  max-width: none;
  margin-inline: 0;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid var(--line-dark);
  backdrop-filter: blur(14px);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.header.is-solid .header-bar {
  background: rgba(255, 255, 255, 0.97);
  border-bottom-color: rgba(24, 48, 80, 0.12);
  box-shadow: 0 8px 32px rgba(24, 48, 80, 0.08);
}

.header-logo img {
  width: clamp(120px, 16vw, 150px);
  height: auto;
  display: block;
}

.header-nav {
  display: none;
  gap: 1.75rem;
  margin-left: auto;
  font-size: 0.9rem;
  font-weight: 500;
}

.header-nav a {
  color: var(--navy-light);
  transition: color 0.2s ease;
}

.header-nav a:hover {
  color: var(--navy);
}

.header-btn {
  display: none;
  margin-left: 0.25rem;
}

.menu-btn {
  margin-left: auto;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.menu-btn span {
  display: block;
  width: 1.25rem;
  height: 2px;
  background: var(--navy);
  transition: transform 0.25s var(--ease), opacity 0.25s ease;
}

.menu-btn[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-btn[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-btn[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.drawer {
  position: fixed;
  inset: var(--header-h) 0 auto;
  z-index: 49;
  padding: 1.25rem clamp(1.25rem, 4vw, 3rem) 1.5rem;
  background: var(--white);
  border-bottom: 1px solid var(--line-dark);
  box-shadow: 0 16px 40px rgba(24, 48, 80, 0.1);
}

.drawer[hidden] {
  display: none;
}

.drawer-nav {
  display: grid;
  gap: 0.15rem;
  max-width: 1140px;
  margin-inline: auto;
}

.drawer-nav a:not(.btn) {
  padding: 0.85rem 0.25rem;
  font-weight: 500;
  color: var(--navy);
  border-bottom: 1px solid var(--line-dark);
}

.drawer-nav .btn {
  margin-top: 0.75rem;
  justify-self: start;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-h) + 2.5rem) 1.25rem 3.5rem;
  background:
    radial-gradient(ellipse 70% 55% at 100% 0%, rgba(0, 255, 170, 0.14), transparent 55%),
    radial-gradient(ellipse 50% 45% at 0% 100%, rgba(24, 48, 80, 0.06), transparent 50%),
    linear-gradient(180deg, #ffffff 0%, var(--off) 100%);
  color: var(--navy);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}

.hero-blob-a {
  width: 420px;
  height: 420px;
  top: -8%;
  right: -5%;
  background: rgba(0, 255, 170, 0.18);
}

.hero-blob-b {
  width: 320px;
  height: 320px;
  bottom: 10%;
  left: -6%;
  background: rgba(24, 48, 80, 0.08);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(24, 48, 80, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 48, 80, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black, transparent 75%);
}

.hero-inner {
  width: var(--wrap);
  margin-inline: auto;
  display: grid;
  gap: 2.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.pill {
  display: inline-block;
  margin-bottom: 1.25rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 255, 170, 0.45);
  background: rgba(0, 255, 170, 0.12);
  color: var(--mint-dim);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 14ch;
  margin-bottom: 1.25rem;
  color: var(--navy);
}

.hero-accent {
  display: block;
  color: var(--mint-dim);
}

.hero-sub {
  max-width: 32rem;
  color: var(--navy-light);
  font-size: clamp(1rem, 2vw, 1.12rem);
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line-dark);
}

.hero-stats dt {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mint-dim);
  margin-bottom: 0.2rem;
}

.hero-stats dd {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--navy);
}

.hero-brand-panel {
  display: grid;
  gap: 1.25rem;
}

.hero-brand-card {
  position: relative;
  padding: clamp(1.5rem, 4vw, 2rem) clamp(1.75rem, 4vw, 2.5rem) clamp(1.25rem, 3vw, 1.5rem);
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line-dark);
  box-shadow:
    0 24px 60px rgba(24, 48, 80, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.8) inset;
}

.hero-brand-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(0, 255, 170, 0.08), transparent 45%);
  pointer-events: none;
}

.hero-logo {
  width: min(100%, 380px);
  height: auto;
  display: block;
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.hero-brand-accent {
  position: absolute;
  bottom: -1rem;
  right: -0.5rem;
  width: 4rem;
  height: 4rem;
  display: grid;
  place-content: center;
  border-radius: 50%;
  background: var(--navy);
  border: 3px solid var(--white);
  box-shadow: 0 8px 24px rgba(24, 48, 80, 0.2);
  z-index: 2;
}

.hero-brand-accent img {
  width: 2.25rem;
}

.hero-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.hero-chips li {
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line-dark);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy-mid);
  box-shadow: 0 4px 12px rgba(24, 48, 80, 0.05);
}

/* Strip */
.strip {
  background: var(--mint);
  color: var(--navy-deep);
  padding: 0.85rem 0;
  overflow: hidden;
}

.strip-inner {
  display: flex;
  gap: 1.75rem;
  width: max-content;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: marquee 22s linear infinite;
}

.strip-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--navy);
  align-self: center;
  flex-shrink: 0;
}

/* Sections */
.section {
  padding: clamp(4rem, 9vw, 7rem) 1.25rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  max-width: 18ch;
  margin-top: 0.5rem;
}

.label {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mint-dim);
}

.label-light {
  color: var(--mint);
}

.section-desc {
  margin-top: 1rem;
  max-width: 36rem;
  color: var(--navy-light);
  font-size: 1.05rem;
}

/* Bento */
.services {
  background: var(--white);
}

.bento {
  display: grid;
  gap: 1rem;
  margin-top: 2.75rem;
}

.bento-card {
  position: relative;
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  background: var(--off);
  border: 1px solid var(--line-dark);
  overflow: hidden;
  transition: border-color 0.25s ease, transform 0.25s var(--ease);
}

.bento-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--mint), transparent);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.bento-card:hover {
  border-color: rgba(0, 255, 170, 0.35);
  transform: translateY(-3px);
}

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

.bento-num {
  display: block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--mint-dim);
  margin-bottom: 1rem;
}

.bento-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.bento-card p {
  color: var(--navy-light);
  font-size: 0.95rem;
  max-width: 34ch;
}

.bento-accent {
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-color: transparent;
  color: var(--white);
}

.bento-accent .bento-num {
  color: var(--mint);
}

.bento-accent p {
  color: var(--slate);
}

.bento-accent::before {
  background: linear-gradient(90deg, var(--mint), rgba(0, 255, 170, 0.2));
}

/* Process */
.process {
  background:
    linear-gradient(180deg, var(--off) 0%, #e4ebf2 100%);
}

.process-layout {
  display: grid;
  gap: 3rem;
}

.timeline {
  list-style: none;
  display: grid;
  gap: 0;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 1.15rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: linear-gradient(var(--mint), rgba(0, 255, 170, 0.15));
}

.timeline-item {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 1.25rem;
  padding: 1.25rem 0;
}

.timeline-marker {
  display: grid;
  place-content: center;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  background: var(--navy);
  color: var(--mint);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.timeline-body {
  padding: 0.35rem 1.25rem 1rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line-dark);
}

.timeline-body h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.timeline-body p {
  color: var(--navy-light);
  font-size: 0.95rem;
}

/* About */
.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.about-visual {
  position: relative;
  display: grid;
  place-content: center;
  padding: 3rem;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 30% 30%, rgba(0, 255, 170, 0.12), transparent 50%),
    var(--off);
  border: 1px solid var(--line-dark);
}

.about-visual > img {
  width: min(100%, 320px);
  height: auto;
  display: block;
  margin-inline: auto;
}

.about-badge {
  position: absolute;
  bottom: -1rem;
  right: -0.5rem;
  width: 4.5rem;
  height: 4.5rem;
  display: grid;
  place-content: center;
  border-radius: 50%;
  background: var(--navy);
  border: 3px solid var(--white);
  box-shadow: 0 8px 24px rgba(24, 48, 80, 0.15);
}

.about-badge img {
  width: 2.5rem;
}

.about-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin: 0.5rem 0 1.25rem;
}

.about-copy p {
  color: var(--navy-light);
  margin-bottom: 1rem;
  max-width: 38rem;
}

.about-copy strong {
  color: var(--navy);
}

.about-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.about-tags li {
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: var(--off);
  border: 1px solid var(--line-dark);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy-mid);
}

/* Contact */
.contact {
  background:
    radial-gradient(ellipse 70% 50% at 100% 0%, rgba(0, 255, 170, 0.1), transparent 55%),
    linear-gradient(160deg, var(--navy-deep), var(--navy));
  color: var(--white);
}

.contact-grid {
  display: grid;
  gap: 3rem;
  align-items: start;
}

.contact-intro h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 0.5rem 0 1rem;
  max-width: 16ch;
}

.contact-intro p {
  color: var(--slate);
  max-width: 30rem;
  margin-bottom: 1.5rem;
}

.contact-email {
  display: inline-flex;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--mint);
  border-bottom: 2px solid rgba(0, 255, 170, 0.35);
  padding-bottom: 0.15rem;
  transition: border-color 0.2s ease;
}

.contact-email:hover {
  border-color: var(--mint);
}

.contact-form {
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.field-row {
  display: grid;
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.field span {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--mint);
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(139, 163, 188, 0.6);
}

.field input:focus,
.field textarea:focus {
  border-color: var(--mint);
  background: rgba(0, 255, 170, 0.06);
}

/* Footer */
.footer {
  padding: 2.5rem 1.25rem;
  background: var(--white);
  border-top: 1px solid var(--line-dark);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 2rem;
}

.footer-logo img {
  width: 130px;
  height: auto;
  display: block;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-left: auto;
  font-size: 0.88rem;
  font-weight: 500;
}

.footer-nav a {
  color: var(--navy-light);
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--navy);
}

.footer-copy {
  width: 100%;
  font-size: 0.85rem;
  color: var(--slate);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

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

/* Animations */
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

@keyframes pulse-ring {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.04);
    opacity: 1;
  }
}

@keyframes scroll-line {
  0%,
  100% {
    transform: scaleY(1);
    opacity: 1;
  }
  50% {
    transform: scaleY(0.6);
    opacity: 0.5;
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Desktop */
@media (min-width: 768px) {
  .header-nav,
  .header-btn {
    display: flex;
  }

  .menu-btn,
  .drawer {
    display: none !important;
  }

  .hero-inner {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
  }

  .hero-brand-panel {
    justify-self: end;
    width: min(100%, 460px);
  }

  .hero-chips {
    justify-content: flex-start;
  }

  .bento {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(180px, auto);
  }

  .bento-wide {
    grid-column: span 2;
  }

  .bento-tall {
    grid-row: span 2;
  }

  .process-layout {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
    align-items: start;
  }

  .about-grid {
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
  }

  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
  }

  .field-row {
    grid-template-columns: 1fr 1fr;
  }

  .footer-copy {
    width: auto;
    margin-left: 0;
  }
}

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

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

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