/* ================================================
   CSS VARIABLES & FONTS
   ================================================ */

:root {
  /* Color Palette */
  --sky-50: #e6fbff;
  --sky-300: #83e5ff;
  --sky-600: #00b7ff;
  --sea-400: #19d5da;
  --sea-700: #007a95;
  --deep-900: #022a44;
  --ocean: rgb(14, 85, 132);
  --sand-200: #ffe8c7;
  --coral: #ff7a59;
  --purple: #6b4be6;
  
  /* Core Colors */
  --bg: #ffffff;
  --fg: #17212b;
  
  /* Typography */
  --site-font: 'NR Sans';
  
  /* Layout */
  --shadow: 0 10px 30px rgba(3, 43, 71, 0.18);
  --radius: 16px;
  --space: clamp(16px, 2vw, 24px);
  --nav-height: 64px;
  
  /* Animation */
  --mesh-translate: 0px;
}

/* Font Faces */
@font-face {
  font-family: 'NR Sans';
  src: url('/assets/fonts/NRSans-Regular.woff2') format('woff2'),
       url('/assets/fonts/NRSans-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'NR Sans';
  src: url('/assets/fonts/NRSans-Bold.woff2') format('woff2'),
       url('/assets/fonts/NRSans-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ================================================
   BASE & RESET STYLES
   ================================================ */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--site-font), Inter, system-ui, 'Segoe UI', Roboto, Arial, sans-serif;
  color: var(--fg);
  background: var(--bg);
  line-height: 1.55;
}

/* Lock body scroll when mobile nav is open */
body.nav-open { overflow: hidden; }

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

a, button, input, textarea {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--sky-600);
  outline-offset: 2px;
  border-radius: 8px;
}

[id] {
  scroll-margin-top: 80px;
}

/* ================================================
   UTILITY CLASSES
   ================================================ */

/* Screen Reader */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.sr-only-focusable {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.sr-only-focusable:focus {
  position: fixed;
  left: 12px;
  top: 12px;
  background: #fff;
  color: var(--deep-900);
  padding: 8px 12px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  text-decoration: none;
  z-index: 2000;
  width: auto;
  height: auto;
  overflow: visible;
}

/* Text Alignment */
.u-center {
  text-align: center;
}

/* Animations */
.u-reveal {
  opacity: 1;
  transform: none;
  transition: 0.45s cubic-bezier(0.2, 0.9, 0.2, 1);
}

.u-reveal.in {
  opacity: 1;
  transform: none;
}

.u-reveal > * {
  opacity: 1;
  transform: none;
  transition: opacity 0.45s cubic-bezier(0.2, 0.9, 0.2, 1),
              transform 0.45s cubic-bezier(0.2, 0.9, 0.2, 1);
}

.u-reveal.in > * {
  opacity: 1;
  transform: none;
}

.u-reveal > *:nth-child(1) { transition-delay: 0s; }
.u-reveal > *:nth-child(2) { transition-delay: 0.06s; }
.u-reveal > *:nth-child(3) { transition-delay: 0.12s; }
.u-reveal > *:nth-child(4) { transition-delay: 0.18s; }
.u-reveal > *:nth-child(5) { transition-delay: 0.24s; }

/* ================================================
   NAVIGATION COMPONENT
   ================================================ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 12px clamp(20px, 5vw, 48px);
  background: rgba(255, 255, 255, 0.45);
  color: var(--deep-900);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: background 0.15s ease, color 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(2, 40, 56, 0.06);
}

.navbar__brand {
  display: flex;
  align-items: center; /* adjusted to center-align larger logo */
  gap: 2px;
  color: var(--deep-900);
  text-decoration: none;
  font-weight: 700;
}

.navbar__logo {
  /* Increased for stronger brand presence – now taller than wordmark */
  height: 48px;
  width: auto;
  max-height: none; /* allow full intended height */
  object-fit: contain;
  vertical-align: middle;
  margin-right: -8px;
}

.logo-text {
  font-size: 24px;
  font-weight: 700;
  color: var(--deep-900);
  letter-spacing: 0;
}

@media (max-width: 870px) {
  /* NAV collapse zone: center-align brand and scale logo */
  .navbar { padding: 12px clamp(18px, 6vw, 32px); }
  .navbar__brand { align-items: center; }
  .navbar__logo {
    width: 52px; height: 52px; position: static; top: 0;
  }
  .logo-text { font-size: 22px; line-height: 1; display: inline-flex; align-items: center; }
  /* Hide horizontal menu & prepare overlay */
  .navbar__toggle { display: inline-flex; align-items: center; }
  .navbar__menu {
    position: fixed;
    top: calc(var(--nav-height) + 8px);
    right: clamp(14px, 6vw, 22px);
    width: min(92vw, 360px);
    max-height: calc(100vh - var(--nav-height) - 24px);
    overflow: auto;
    background: #ffffff;
    color: var(--deep-900);
    padding: 10px;
    border-radius: 16px;
    border: 1px solid rgba(2, 40, 56, 0.10);
    box-shadow: 0 18px 40px rgba(3, 43, 71, 0.18), 0 6px 16px rgba(3, 43, 71, 0.08);
    display: flex;
    flex-direction: column;
    gap: 2px;
    transform-origin: top right;
    transform: translateY(-8px) scale(0.98);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.18s ease, opacity 0.18s ease;
    z-index: 2000;
  }
  .navbar__menu.show { opacity: 1; pointer-events: auto; transform: translateY(0) scale(1); }
  .navbar__menu li { list-style: none; }
  .navbar__menu a {
    display: block;
    padding: 14px 14px;
    border-radius: 10px;
    color: var(--deep-900);
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
  }
  .navbar__menu a:hover,
  .navbar__menu a:focus-visible {
    background: rgba(2, 40, 56, 0.06);
    outline: none;
  }
  .navbar__menu a.active { background: rgba(2, 40, 56, 0.08); }
}

.no-wrap {
  white-space: nowrap;
}

.navbar__menu {
  list-style: none;
  display: flex;
  gap: 18px;
  margin: 0;
}

.navbar__menu a {
  color: var(--deep-900);
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 10px;
}

.navbar__menu a:hover {
  background: rgba(2, 40, 56, 0.06);
}

.navbar__menu a.active {
  background: linear-gradient(90deg, #048ea0, #7b61ff);
}

.navbar__toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 8px;
  margin-left: 12px;
  cursor: pointer;
  width: 36px;
  height: 36px;
  position: relative;
}

.navbar__toggle:focus-visible {
  outline: 2px solid rgba(2, 40, 56, 0.35);
  outline-offset: 2px;
  border-radius: 10px;
}

.navbar__bar {
  position: absolute;
  left: 6px;
  right: 6px;
  height: 2px;
  background: var(--deep-900);
  border-radius: 2px;
  transition: 0.2s;
}

.navbar__bar:nth-child(1) { top: 10px; }
.navbar__bar:nth-child(2) { top: 17px; }
.navbar__bar:nth-child(3) { top: 24px; }

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

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

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

/* ================================================
   HERO COMPONENT
   ================================================ */

.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100vh;
  padding: calc(var(--nav-height) + clamp(24px, 6vh, 60px));
  background-image: url('/assets/images/herosectionwebp.webp');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(3, 43, 71, 0.45) 0%, rgba(3, 43, 71, 0.18) 35%, rgba(255, 255, 255, 0.04) 100%);
  mix-blend-mode: normal;
  opacity: 0.96;
}

.hero__container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1100px;
  padding: clamp(18px, 4vh, 40px);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(8px, 3vh, 28px);
}

.hero__title {
  font-size: clamp(30px, 5.5vw, 72px);
  letter-spacing: 0.2px;
  color: #fff;
  margin: 0;
  line-height: 1.02;
  text-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
}

.hero__subtitle {
  max-width: 760px;
  margin: 16px auto 28px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
}

.hero__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__title-line { display: inline; }

/* Keep the lead phrase together to prefer one-line on mobile */
.hero__title-lead {
  white-space: nowrap;
}

.hero .mesh {
  position: absolute;
  inset: -20%;
  background: 
    radial-gradient(1200px 600px at 20% 10%, rgba(53, 193, 255, 0.35), transparent 60%),
    radial-gradient(900px 500px at 80% 20%, rgba(32, 196, 200, 0.35), transparent 60%),
    radial-gradient(1200px 700px at 50% 100%, rgba(255, 239, 200, 0.35), transparent 65%);
  z-index: -1;
  transform: translate3d(0, var(--mesh-translate), 0);
}

/* ================================================
   BUTTON COMPONENT
   ================================================ */

.btn {
  display: inline-block;
  border-radius: 12px;
  font-weight: 700;
  padding: 12px 18px;
  transition: 0.2s;
  text-decoration: none;
  border: 0;
  cursor: pointer;
}

.btn--primary {
  color: #fff;
  background: linear-gradient(90deg, var(--ocean), color-mix(in oklab, var(--ocean) 40%, var(--purple)));
  box-shadow: var(--shadow);
}

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

.btn--secondary {
  border: 1px solid var(--sea-700);
  color: var(--sea-700);
  background: rgba(255, 255, 255, 0.6);
}

.btn--secondary:hover {
  background: #fff;
}

/* Hero button overrides */
.hero .btn--primary {
  box-shadow: 0 10px 30px rgba(3, 43, 71, 0.3);
  /* Strong contrasting coral/orange for the background image */
  background:  #e04916;
}

.hero .btn--secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.24);
}

/* Unify hero hover effects for both buttons */
.hero .btn--primary:hover,
.hero .btn--secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(3, 43, 71, 0.36);
}

/* Fix hero secondary hover contrast (avoid white text on white bg) */
.hero .btn--secondary:hover {
  background: rgba(255, 255, 255, 0.524);
  color: var(--deep-900);
  border-color: rgba(255, 255, 255, 0.95);
}

/* Focus states */
.btn--primary:focus-visible,
.btn--secondary:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
  box-shadow: 0 0 0 4px rgba(3, 43, 71, 0.18), 0 8px 24px rgba(3, 43, 71, 0.12);
}

/* ================================================
   LAYOUT COMPONENTS
   ================================================ */

.section {
  padding: 100px 20px;
}

.section__container {
  max-width: 1100px;
  margin: 0 auto;
}

.section--alt {
  background: linear-gradient(180deg, var(--sand-200), #fff);
}

 .section--banner {
   position: relative;
   /* Ocean-forward banner for Join section */
   /* Fallback background for older browsers */
   background: linear-gradient(90deg, var(--ocean), var(--sea-700));
   background:
     radial-gradient(900px 480px at 10% 20%, rgba(0, 183, 255, 0.18), transparent 60%),
     radial-gradient(700px 420px at 90% 10%, rgba(131, 229, 255, 0.18), transparent 60%),
     linear-gradient(90deg, color-mix(in oklab, var(--ocean) 85%, #001a2a), color-mix(in oklab, var(--ocean) 65%, var(--sea-700)));
   color: #ffffff;
   text-align: center;
   overflow: hidden;
 }

 /* Subtle sheen overlay for depth */
 .section--banner::after {
   content: "";
   position: absolute;
   inset: 0;
   background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0));
   pointer-events: none;
 }

 /* Join section typography and spacing */
 #join .section__container {
  max-width: 900px;
  display: grid;
  gap: 16px;
  justify-items: center;
 }

 #join .heading {
   color: #ffffff;
   font-size: clamp(26px, 4.4vw, 40px);
   letter-spacing: 0.2px;
   margin-bottom: 14px;
 }

 #join p {
   color: rgba(255, 255, 255, 0.92);
   margin: 0 auto 22px;
   max-width: 820px;
 }

 #join .btn--primary {
   background: linear-gradient(90deg, #ffffff, #eaf6ff);
   /* Fallback solid color, then enhanced color-mix when supported */
   color: #0b3a57;
   color: color-mix(in oklab, #0b1f2d 40%, var(--ocean));
  border: 1px solid rgba(11, 58, 87, 0.22);
  box-shadow: 0 10px 30px rgba(3, 43, 71, 0.18);
 }

 #join .btn--primary:hover {
   transform: translateY(-2px) scale(1.02);
 }

/* Slightly tighter vertical rhythm for Join */
#join.section,
#join.section--banner,
#join {
  padding: 90px 20px;
}

/* ================================================
   GRID SYSTEM
   ================================================ */

.grid {
  display: grid;
  gap: 28px;
}

.grid--3-cols {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid--4-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  text-align: center;
}

/* Force 2x2 layout in Why section */
#why .grid--4-cols {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 780px) {
  #why .grid--4-cols {
    grid-template-columns: 1fr;
  }
}

/* ================================================
   CARD COMPONENT
   ================================================ */

.card {
  padding: 22px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.4));
  border: 1px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
}

.card__icon {
  margin-bottom: 10px;
  /* Make inline SVGs inherit deep ocean blue */
  color: var(--deep-900);
}

.card__icon svg {
  width: 36px;
  height: 36px;
}

.card__title {
  margin: 0 0 6px;
  font-size: 18px;
  color: var(--deep-900);
}

.card__text {
  margin: 0;
  color: #395b6d;
}

.card:focus-visible {
  outline: 3px solid var(--sea-700);
  outline-offset: 4px;
  transform: translateY(-4px);
}

/* ================================================
   FEATURE COMPONENT
   ================================================ */

.feature {
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.9) 0%, 
    rgba(255, 255, 255, 0.7) 100%);
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: 
    0 20px 40px rgba(3, 43, 71, 0.1),
    0 8px 16px rgba(3, 43, 71, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 183, 255, 0.14);
  backdrop-filter: blur(20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.feature::before { content: none; }

.feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(3, 43, 71, 0.12), 0 8px 16px rgba(3, 43, 71, 0.08);
  border-color: rgba(0, 183, 255, 0.24);
}

.feature__title {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 700;
  color: #0e3a5b;
  position: relative;
}

.feature__text {
  margin: 0;
  color: #325a6f;
  line-height: 1.6;
  font-size: 15px;
}

.feature:focus-visible {
  outline: 3px solid rgba(0, 183, 255, 0.5);
  outline-offset: 4px;
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(3, 43, 71, 0.12), 0 8px 16px rgba(3, 43, 71, 0.08);
}

/* ================================================
   TYPOGRAPHY
   ================================================ */

.heading {
  font-size: clamp(26px, 5vw, 42px);
  text-align: center;
  margin: 0 0 60px;
  color: var(--deep-900);
}

/* Elevate section titles for Expertise and Why */
#expertise .heading,
#why .heading {
  font-size: clamp(28px, 6vw, 48px);
  font-weight: 800;
  letter-spacing: 0.2px;
  text-wrap: balance;
}

#expertise .heading::after,
#why .heading::after {
  content: "";
  display: block;
  width: 84px;
  height: 4px;
  margin: 10px auto 0;
  background: linear-gradient(90deg, var(--ocean), var(--sea-700));
  border-radius: 3px;
  box-shadow: 0 2px 0 rgba(3, 43, 71, 0.06);
}

/* ================================================
   DECORATION COMPONENTS
   ================================================ */

.decoration {
  position: absolute;
  left: 0;
  width: 100%;
  pointer-events: none;
  z-index: 0;
}

.decoration--wave {
  top: -60px;
  z-index: 1;
  opacity: 0.95;
  left: 50%;
  transform: translateX(-50%);
  bottom: -2px;
  width: 130%;
  max-width: none;
}

.decoration--wave svg,
.decoration--wave img {
  display: block;
  width: 100%;
  height: auto;
}

/* ================================================
   FORM COMPONENTS
   ================================================ */

.form {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.form__row {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
}

.form__field {
  display: grid;
  gap: 6px;
}

.form input,
.form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid color-mix(in oklab, var(--ocean) 25%, white);
  background: #f6fbff;
  font-size: 16px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 8px 24px rgba(2,42,68,0.04);
}

.form input::placeholder,
.form textarea::placeholder {
  color: #88a3b2;
}

.form input:focus,
.form textarea:focus {
  border-color: var(--ocean);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--ocean) 25%, transparent), 0 8px 24px rgba(2,42,68,0.06);
  background: #faffff;
}

.form textarea {
  resize: vertical;
  min-height: 120px;
}

.form__error {
  color: #7b1d1d;
  min-height: 18px;
}

/* ================================================
   ALERT COMPONENT
   ================================================ */

.alert {
  max-width: 760px;
  margin: 0 auto 20px;
  padding: 12px;
  border-radius: 12px;
  font-size: 14px;
}

.alert--success {
  background: #e6fff2;
  border: 1px solid #a6f0c4;
  color: #0b6a33;
}

.alert--error {
  background: #ffe9e9;
  border: 1px solid #ffc3c3;
  color: #7b1d1d;
}

/* ================================================
   FOOTER COMPONENT
   ================================================ */

.footer {
  background: linear-gradient(90deg, var(--deep-900), var(--sea-700));
  color: #eaf6ff;
  text-align: center;
  padding: 26px 20px;
}

.footer a {
  color: #fff;
  text-decoration: underline;
}

/* ================================================
   SPECIAL SECTIONS
   ================================================ */

#why {
  position: relative;
  overflow: hidden;
  /* Brand-forward soft blue gradient */
  background: radial-gradient(1200px 600px at 20% 0%, rgba(131, 229, 255, 0.25), transparent 60%),
              radial-gradient(900px 500px at 80% 20%, rgba(0, 183, 255, 0.18), transparent 60%),
              linear-gradient(180deg, #f6fbff 0%, #eff7ff 55%, #ffffff 100%);
  /* Match section side padding so cards don't touch edges */
  padding: 100px 20px;
}

/* Deeper ocean-blue outline and icon color in Why cards */
#why .feature {
  border: 2px solid var(--ocean); /* deep ocean tint */
}

#why .feature:hover {
  border-color: color-mix(in oklab, var(--ocean) 80%, white);
}

#why .feature .card__icon,
#why .feature .feature__title {
  color: #0b3a57; /* deep ocean heading/icon */
}

#why .section__container {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
}

/* ================================================
   MEDIA QUERIES
   ================================================ */

@media (max-width: 860px) {
  .section {
    padding: 40px 16px;
  }
  /* Keep Why section side gutters consistent on mobile */
  #why { padding: 40px 16px; }

  .hero {
    min-height: 100vh;
    height: 100vh;
    padding: calc(var(--nav-height) + 16px) 16px clamp(18px, 6vh, 48px);
    overflow: hidden;
  }

  .hero__container {
    padding: 12px;
  }

  .hero__content {
    padding: 90px 8px 6px;
    text-align: center;
  }

  .hero__title {
    /* Three-line layout with bold, impactful sizing */
    font-size: 0; /* use per-line sizing below */
    font-weight: 700;
    text-align: start;
    line-height: 1.1;
    word-break: keep-all;
    overflow-wrap: normal;
    hyphens: manual;
    margin-bottom: 28px;
  }

  .hero__title-line { 
    display: block;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  }
  
  /* All title lines large and bold for mobile impact */
  .hero__title-line--1 { 
    font-size: clamp(42px, 11.5vw, 64px);
    font-weight: 800;
    letter-spacing: -0.5px;
  }
  
  .hero__title-line--2 { 
    font-size: clamp(42px, 11.5vw, 64px);
    font-weight: 800;
    letter-spacing: -0.5px;
  }
  
  .hero__title-line--3 { 
    font-size: clamp(42px, 11.5vw, 64px);
    font-weight: 800;
    letter-spacing: -0.5px;
  }
  
  .hero__title-line + .hero__title-line { 
    margin-top: 2px; 
  }

  .hero__subtitle {
    font-size: clamp(1.05rem, 4.2vw, 1.25rem);
    text-align: start;
    color: rgba(255, 255, 255, 0.93);
    line-height: 1.5;
    margin: 0 0 32px 0;
    max-width: 100%;
    padding: 0 4px;
    font-weight: 400;
  }

  .decoration--wave {
    width: 150%;
  }

  .form__row {
    grid-template-columns: 1fr;
  }

  .navbar { padding: 12px clamp(16px, 7vw, 28px); }

  .navbar__toggle {
    display: inline-flex;
    align-items: center;
  }

  /* Slightly smaller logo on mobile for balance */
  .navbar__logo {
    /* Override later cascade: keep larger branding even in condensed layout */
    width: 50px;
    height: 50px;
  }

  /* Slightly tighten hero actions gap on mobile */
  .hero__actions {
    gap: 16px;
    margin-top: 46px;
  }

  /* Full-width submit button on mobile */
  .form .btn--primary {
    width: 100%;
  }

  /* Join section mobile polish */
  #join .heading {
    margin-bottom: 10px;
    font-size: clamp(24px, 7vw, 32px);
  }
  #join p {
    margin-bottom: 18px;
    font-size: 0.975rem;
  }
  #join .btn--primary {
    padding: 12px 16px;
  }

  .navbar__menu { /* keep styles in the 870px block */ }
  .navbar__menu.show { /* keep styles in the 870px block */ }
}

@media (max-width: 600px) {
  .hero {
    padding-bottom: 140px;
  }
}
