/* ═══════════════════════════════════════════════════════════════════
   NEXT SHIPPING — Color Palette Override
   Remaps Lando/Webflow color variables to Next Shipping brand
   Load AFTER webflow.css and custom.css
   ═══════════════════════════════════════════════════════════════════ */

:root {
  /* ─── Brand Core ──────────────────────────────────────── */
  --color--dark-green: #0a0a0f;
  --color--white: #f0f1fa;
  --color--black: #000000;
  --color--lime: #8f2dda;
  --color--lime-off: #6b1fad;
  --color--lime-zero: #8f2dda00;

  /* ─── Neutrals ────────────────────────────────────────── */
  --color--green-off-white-1: #e4e6ef;
  --color--green-off-white-2: #b0b3c8;
  --color--grey-on-track: #b0b3c8;
  --color--dark-green-tint-1: #1a1a2e;
  --color--dark-green-tint-2: #2b2e3a;
  --color--grey-1: #e4e6ef;
  --color--green-light: #e4e6ef;
  --color--cream: #f0f1fa;
  --color--grey-2: #c0c3d4;
  --color--orange: #b366f0;

  /* ─── Custom.css aliases ──────────────────────────────── */
  --lando-yellow: #8f2dda;
  --lando-black: #000000;
  --lando-white: #ffffff;

  /* ─── Next Shipping Design Tokens ─────────────────────── */
  --next-purple: #8f2dda;
  --next-purple-deep: #5a1a8a;
  --next-purple-light: #b366f0;
  --next-purple-glow: rgba(143, 45, 218, 0.35);
  --next-green: #c1ff00;
  --next-off-white: #f0f1fa;
  --next-dark-white: #e4e6ef;
  --next-grey-blue: #2b2e3a;
  --next-dark-blue: #6b1fad;
  --next-black: #000000;
  --next-white: #ffffff;
  --next-red: #ff4c41;
  --next-error: #e90000;

  /* ─── Typography ──────────────────────────────────────── */
  --font-primary: 'Aeonik', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'IBMPlexMono', 'SF Mono', 'Fira Code', monospace;

  /* ─── Easing ──────────────────────────────────────────── */
  --ease-nextshipping: cubic-bezier(0.25, 0, 0, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out-cubic: cubic-bezier(0.65, 0, 0.35, 1);

  /* ─── Transitions ─────────────────────────────────────── */
  --transition-fast: 0.2s var(--ease-nextshipping);
  --transition-base: 0.4s var(--ease-nextshipping);
  --transition-slow: 0.8s var(--ease-nextshipping);

  /* ─── Layout ──────────────────────────────────────────── */
  --global-border-radius: 20px;
  --base-padding-x: max(5vw, 40px);
  --base-padding-y: clamp(30px, 4vw, 50px);
  --grid-gap: 2vw;
}

@media (max-width: 812px) {
  :root {
    --grid-gap: 4vw;
    --global-border-radius: 10px;
    --base-padding-x: 25px;
    --base-padding-y: 25px;
  }
}

@media (max-width: 400px) {
  :root {
    --base-padding-x: 15px;
    --base-padding-y: 15px;
  }
}

/* ─── Selection Color ───────────────────────────────────── */
::selection {
  background: var(--next-purple);
  color: var(--next-white);
}

::-moz-selection {
  background: var(--next-purple);
  color: var(--next-white);
}

/* ═══════════════════════════════════════════════════════════════════
   HAMBURGER SIZE OVERRIDE
   Old Next Shipping site: 40px desktop / 44px mobile
   Lando original: 60px desktop / 75.2px mobile
   Only change dimensions — keep Rive animation untouched
   ═══════════════════════════════════════════════════════════════════ */
.nav-ham {
  width: 40px;
  height: 40px;
  position: relative;
  z-index: 60;
  flex: 0 0 auto;
  border: 1px solid currentColor;
  overflow: hidden;
  opacity: 1 !important;
  visibility: visible !important;
}

.nav-rive-w {
  width: 100%;
  height: 100%;
}

.btn-layout.is-nav {
  z-index: 60;
}

[data-nav-theme="light"] .nav-ham {
  color: var(--color--white);
  background-color: rgba(255, 255, 255, 0.08);
}

[data-nav-theme="dark"] .nav-ham {
  color: var(--color--dark-green);
  background-color: rgba(240, 241, 250, 0.72);
}

@media screen and (max-width: 991px) {
  .nav-ham {
    width: 44px;
    height: 44px;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   NEXT INNER PAGES — Additional styles for .s / .c based pages
   ═══════════════════════════════════════════════════════════════════ */

/* Screen reader only */
.screen-reader {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Inner page hero sections */
.next-hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 120px;
  padding-bottom: 80px;
}

.next-hero .text-impact-lg-mona {
  font-size: clamp(2.5rem, 7vw, 6rem);
}

.next-hero .text-eyebrow {
  margin-bottom: 2rem;
}

/* Section spacing for inner pages */
.next-section {
  padding-top: clamp(60px, 8vh, 120px);
  padding-bottom: clamp(60px, 8vh, 120px);
}

/* Inner page grid helper (12-col using .c) */
.next-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2rem;
}

@media screen and (max-width: 767px) {
  .next-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Stats / numbers */
.next-stat {
  text-align: center;
  padding: 2rem;
}

.next-stat-value {
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 800;
  line-height: 1;
  color: var(--color--lime);
}

.next-stat-label {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--color--green-off-white-2);
  line-height: 1.4;
}

/* Card component for inner pages */
.next-card {
  background: var(--color--dark-green-tint-1);
  border-radius: var(--global-border-radius);
  padding: clamp(24px, 3vw, 40px);
  transition: transform 0.4s var(--ease-nextshipping), box-shadow 0.4s var(--ease-nextshipping);
}

.next-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(143, 45, 218, 0.15);
}

/* CTA block */
.next-cta-block {
  text-align: center;
  padding: clamp(60px, 10vh, 140px) 0;
}

.next-cta-block .text-impact-sm-mona {
  margin-bottom: 2rem;
}

/* Button styles for inner pages (matches .btn-w pattern) */
.next-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 14px 32px;
  border-radius: 100px;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: background 0.3s var(--ease-nextshipping), color 0.3s, transform 0.3s var(--ease-nextshipping);
}

.next-btn--primary {
  background: var(--color--lime);
  color: var(--color--dark-green);
}

.next-btn--primary:hover {
  background: var(--next-purple-light);
  transform: scale(1.04);
}

.next-btn--outline {
  background: transparent;
  color: var(--color--white);
  border: 1px solid var(--color--green-off-white-2);
}

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

/* Award/tag items */
.next-award {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--color--dark-green-tint-2);
}

.next-award-year {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color--lime);
  letter-spacing: 0.05em;
  min-width: 3rem;
}

/* Principio/value items */
.next-principle {
  padding: clamp(20px, 2.5vw, 32px);
  border-left: 2px solid var(--color--lime);
}

.next-principle-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color--lime);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 0.75rem;
}

/* ═══════════════════════════════════════════════════════════════════
   REUSABLE INNER PAGE SYSTEM — Lando/Webflow-compatible
   ═══════════════════════════════════════════════════════════════════ */

.next-inner-page {
  background: var(--color--dark-green);
  color: var(--color--white);
  position: relative;
  z-index: 1;
}

.next-page-hero,
.next-content-section--dark,
.next-final-cta,
.next-internal-footer {
  background: var(--color--dark-green);
  color: var(--color--white);
}

.next-content-section--light {
  background: var(--color--white);
  color: var(--color--dark-green);
}

.next-page-hero-grid,
.next-content-section-grid,
.next-internal-footer-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap, 1rem);
  row-gap: 4rem;
}

.next-page-hero-copy {
  grid-column: 1 / 9;
}

.next-page-hero-title {
  max-inline-size: 10ch;
}

.next-page-hero-aside {
  grid-column: 9 / 13;
  align-self: end;
  padding: clamp(1.25rem, 2rem, 2.5rem);
  border-left: 1px solid rgba(240, 241, 250, 0.16);
}

.next-page-hero-aside p,
.next-content-section-intro {
  max-inline-size: 44rem;
}

.next-hero-metrics,
.next-metric-grid,
.next-actions-row {
  display: grid;
  gap: 1rem;
}

.next-hero-metrics {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 2rem;
}

.next-content-section--compact .next-section-top-spacer,
.next-content-section--compact .next-section-bottom-spacer {
  height: 6rem;
}

.next-content-section-header {
  grid-column: 1 / 6;
}

.next-content-section-body {
  grid-column: 6 / 13;
}

.next-content-section-title {
  max-inline-size: 11ch;
}

.next-content-section-title > span {
  display: block;
}

.next-content-section-title strong,
.next-page-hero-title strong,
.next-final-cta strong {
  color: var(--color--lime);
  font-weight: inherit;
}

.next-process-rail {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(10, 10, 15, 0.14);
}

.next-process-step {
  display: grid;
  grid-template-columns: 4rem minmax(9rem, 0.8fr) 1.4fr;
  gap: 1.5rem;
  align-items: start;
  padding: 1.6rem 0;
  border-bottom: 1px solid rgba(10, 10, 15, 0.14);
}

.next-process-step span,
.next-feature-card-number,
.next-awards-row span {
  color: var(--color--lime);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.next-process-step p,
.next-feature-card-text,
.next-story-panel .text-body-reg-mona,
.next-metric-tile-detail,
.next-awards-row p {
  opacity: 0.64;
  line-height: 1.65;
}

.next-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.next-feature-grid--three,
.next-nexus-grid,
.next-metric-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.next-feature-card,
.next-metric-tile,
.next-story-panel,
.next-quote-panel {
  border: 1px solid rgba(240, 241, 250, 0.1);
  background: rgba(240, 241, 250, 0.04);
  border-radius: 0.5rem;
  padding: clamp(1.25rem, 2rem, 2.4rem);
  min-width: 0;
}

.next-content-section--light .next-feature-card,
.next-content-section--light .next-metric-tile,
.next-content-section--light .next-story-panel,
.next-content-section--light .next-quote-panel {
  border-color: rgba(10, 10, 15, 0.12);
  background: rgba(10, 10, 15, 0.035);
}

.next-feature-card--accent,
.next-metric-tile--accent {
  border-color: rgba(143, 45, 218, 0.48);
  background: rgba(143, 45, 218, 0.1);
}

.next-feature-card-title {
  margin-top: 1.25rem;
}

.next-feature-card-text {
  margin-top: 1rem;
}

.next-feature-card-tags,
.next-story-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.next-feature-card-tags span,
.next-story-tags span {
  border: 1px solid currentColor;
  border-radius: 999px;
  color: var(--color--lime);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  padding: 0.42rem 0.7rem;
  text-transform: uppercase;
}

.next-split-panel {
  display: grid;
  grid-template-columns: minmax(13rem, 0.8fr) 1.2fr;
  gap: 1.5rem;
  align-items: stretch;
}

.next-data-visual {
  position: relative;
  min-block-size: 24rem;
  border: 1px solid rgba(10, 10, 15, 0.14);
  border-radius: 0.5rem;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(10, 10, 15, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(10, 10, 15, 0.08) 1px, transparent 1px),
    radial-gradient(circle at 70% 30%, rgba(143, 45, 218, 0.24), transparent 32%),
    rgba(10, 10, 15, 0.035);
  background-size: 3rem 3rem, 3rem 3rem, auto, auto;
}

.next-data-visual span {
  position: absolute;
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: var(--color--lime);
  box-shadow: 0 0 2rem rgba(143, 45, 218, 0.5);
}

.next-data-visual span:nth-child(1) { left: 18%; top: 22%; }
.next-data-visual span:nth-child(2) { left: 62%; top: 34%; }
.next-data-visual span:nth-child(3) { left: 36%; top: 62%; }
.next-data-visual span:nth-child(4) { left: 78%; top: 76%; }

.next-compact-list {
  display: grid;
  gap: 1rem;
}

.next-logo-cloud {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.next-logo-cloud img {
  width: 100%;
  min-height: 7rem;
  object-fit: contain;
  padding: 1.5rem;
  border: 1px solid rgba(240, 241, 250, 0.1);
  border-radius: 0.5rem;
  background: rgba(240, 241, 250, 0.94);
}

.next-metric-grid {
  display: grid;
  margin-top: 1rem;
}

.next-metric-grid--compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.next-metric-tile {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.next-metric-tile-value {
  color: var(--color--lime);
  font-family: var(--font-primary);
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1;
}

.next-metric-tile-label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  line-height: 1.35;
  text-transform: uppercase;
}

.next-story-panel {
  display: grid;
  gap: 1.25rem;
}

.next-quote-panel {
  margin-top: 1rem;
}

.next-quote-panel p {
  font-family: var(--font-primary);
  font-size: 1.45rem;
  line-height: 1.35;
}

.next-quote-panel cite {
  display: block;
  margin-top: 1.5rem;
  color: var(--color--lime);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-style: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.next-nexus-grid {
  display: grid;
  gap: 1rem;
}

.next-awards-list {
  border-top: 1px solid rgba(10, 10, 15, 0.14);
}

.next-awards-row {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 1.5rem;
  align-items: baseline;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(10, 10, 15, 0.14);
}

.next-final-cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.next-final-cta-inner p {
  max-inline-size: 38rem;
  margin-top: 1.5rem;
}

.next-actions-row {
  grid-template-columns: repeat(2, max-content);
  justify-content: center;
  margin-top: 2.5rem;
}

.next-internal-footer {
  border-top: 1px solid rgba(240, 241, 250, 0.1);
}

.next-internal-footer-brand {
  grid-column: 1 / 6;
}

.next-internal-footer-logo {
  color: var(--color--white);
  display: inline-block;
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
  text-decoration: none;
  text-transform: uppercase;
}

.next-internal-footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-top: 2rem;
}

.next-internal-footer-nav {
  grid-column: 7 / 10;
  display: grid;
  gap: 0.8rem;
}

.next-internal-footer-link {
  color: var(--color--green-off-white-2);
  font-family: var(--font-primary);
  font-size: 1rem;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.next-internal-footer-link:hover {
  color: var(--color--white);
}

.next-internal-footer-contact {
  grid-column: 10 / 13;
  display: grid;
  gap: 2rem;
}

.next-internal-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(240, 241, 250, 0.1);
  color: var(--color--green-off-white-2);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

@media screen and (max-width: 991px) {
  .next-page-hero-grid,
  .next-content-section-grid,
  .next-internal-footer-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .next-page-hero-copy,
  .next-page-hero-aside,
  .next-content-section-header,
  .next-content-section-body,
  .next-internal-footer-brand,
  .next-internal-footer-nav,
  .next-internal-footer-contact {
    grid-column: 1 / -1;
  }

  .next-page-hero-aside {
    border-left: 0;
    border-top: 1px solid rgba(240, 241, 250, 0.16);
    padding-inline: 0;
  }

  .next-content-section-title,
  .next-page-hero-title {
    max-inline-size: 100%;
  }

  .next-feature-grid,
  .next-feature-grid--three,
  .next-nexus-grid,
  .next-metric-grid,
  .next-metric-grid--compact,
  .next-split-panel,
  .next-logo-cloud {
    grid-template-columns: 1fr;
  }

  .next-process-step {
    grid-template-columns: 3.5rem 1fr;
  }

  .next-process-step p {
    grid-column: 2;
  }

  .next-data-visual {
    min-block-size: 16rem;
  }

  .next-actions-row {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .next-actions-row .btn-w {
    justify-content: center;
  }

  .next-internal-footer-bottom {
    flex-direction: column;
  }
}

@media screen and (max-width: 479px) {
  .next-hero-metrics {
    grid-template-columns: 1fr;
  }

  .next-process-step,
  .next-awards-row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .next-process-step p {
    grid-column: auto;
  }

  .next-metric-tile-value {
    font-size: 2.25rem;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   POR QUE A NEXT — home-grade rebuild
   ═══════════════════════════════════════════════════════════════════ */

.why-next-page {
  background: var(--color--dark-green);
  color: var(--color--green-off-white-1);
  overflow: hidden;
}

.why-next-hero,
.why-next-principles,
.why-next-nexus,
.why-next-cta {
  background: var(--color--dark-green);
  color: var(--color--green-off-white-1);
}

.why-next-impact,
.why-next-story,
.why-next-culture,
.why-next-awards {
  background: var(--color--white);
  color: var(--color--dark-green);
}

.why-next-hero {
  min-height: 92svh;
  position: relative;
}

.why-next-hero-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: auto auto;
  column-gap: var(--gap);
  row-gap: 2.5rem;
  min-height: 60svh;
  position: relative;
}

.why-next-hero-copy {
  grid-column: 1 / 7;
  align-self: center;
  position: relative;
  z-index: 2;
}

.why-next-hero-title {
  max-inline-size: 14ch;
}

.why-next-hero-title strong,
.why-next-cta strong {
  color: var(--color--lime);
  font-weight: inherit;
}

.why-next-hero-media {
  grid-column: 8 / 13;
  grid-row: 1 / 3;
  align-self: stretch;
  min-height: 28rem;
  position: relative;
  z-index: 1;
}

.why-next-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.5rem;
  filter: saturate(0.92) contrast(1.04);
}

.why-next-hero-helmet {
  width: 12rem;
  max-width: 32%;
  position: absolute;
  right: 1.5rem;
  bottom: -2rem;
  transform: rotate(-4deg);
}

.why-next-hero-manifesto {
  grid-column: 1 / 5;
  align-self: end;
  border-top: 1px solid rgba(240, 241, 250, 0.16);
  padding-top: 1.25rem;
  position: relative;
  z-index: 2;
}

.why-next-hero-manifesto p {
  margin-top: 1.25rem;
  font-size: 1.05rem;
  line-height: 1.5;
}

.why-next-hero-stats {
  grid-column: 5 / 8;
  align-self: end;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  position: relative;
  z-index: 2;
}

.why-next-hero-stat,
.why-next-metric,
.why-next-nexus-item,
.why-next-award-tile {
  border: 1px solid currentColor;
  border-radius: 0.5rem;
  min-width: 0;
}

.why-next-hero-stat {
  color: rgba(240, 241, 250, 0.42);
  padding: 0.85rem 1rem;
}

.why-next-hero-stat.is-accent {
  color: var(--color--lime);
}

.why-next-hero-stat strong,
.why-next-metric strong,
.why-next-award-tile strong {
  display: block;
  font-family: var(--font-primary);
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
}

.why-next-hero-stat span,
.why-next-metric span {
  display: block;
  margin-top: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.why-next-marquee {
  display: flex;
  gap: 3rem;
  justify-content: center;
  margin-top: 3rem;
  padding: 0.85rem 0;
  border-top: 1px solid rgba(240, 241, 250, 0.12);
  border-bottom: 1px solid rgba(240, 241, 250, 0.12);
  color: var(--color--green-off-white-2);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.why-next-impact-content {
  padding-top: 4rem;
  padding-bottom: 6rem;
}

.why-next-impact-icon {
  display: grid;
  justify-items: center;
  gap: 0.85rem;
}

.why-next-impact-icon img {
  width: 9rem;
  max-width: 50vw;
}

.why-next-impact-line {
  max-width: 48rem;
  margin-inline: auto;
  text-align: center;
}

.why-next-section-head {
  align-items: end;
  row-gap: 2rem;
}

.why-next-section-title {
  grid-column: 1 / 3;
  max-width: 30rem;
}

.why-next-section-copy {
  grid-column: 3 / 5;
  max-width: 32rem;
  align-self: end;
}

.why-next-section-copy p {
  font-size: 1.05rem;
  line-height: 1.5;
}

.why-next-story-strip {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr) 1.2fr;
  gap: var(--gap);
  margin-top: 4.5rem;
  align-items: stretch;
}

.why-next-story-callout,
.why-next-story-image {
  min-height: 19rem;
  border-radius: 0.5rem;
  overflow: hidden;
}

.why-next-story-callout {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.25rem;
  border: 1px solid rgba(10, 10, 15, 0.16);
}

.why-next-story-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.why-next-story-callout.is-dark {
  background: var(--color--dark-green);
  color: var(--color--green-off-white-1);
}

.why-next-story-callout p {
  font-family: var(--font-primary);
  font-size: 1.05rem;
  line-height: 1.4;
  margin-top: 1rem;
}

.why-next-story-image {
  position: relative;
  background: var(--color--dark-green);
}

.why-next-story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.why-next-story-image figcaption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  color: var(--color--green-off-white-1);
}

.why-next-dark-head {
  display: grid;
  gap: 0;
  max-width: 56rem;
}

.why-next-dark-head.is-centered {
  margin-inline: auto;
  text-align: center;
  justify-items: center;
}

.why-next-dark-head p {
  max-width: 38rem;
  margin-top: 1.5rem;
  font-size: 1.05rem;
  line-height: 1.5;
}

.why-next-principle-list {
  margin-top: 4rem;
  border-top: 1px solid rgba(240, 241, 250, 0.14);
}

.why-next-principle-row {
  display: grid;
  grid-template-columns: 4rem minmax(10rem, 0.7fr) minmax(0, 1.6fr);
  gap: 2rem;
  align-items: baseline;
  padding: 1.4rem 0;
  border-bottom: 1px solid rgba(240, 241, 250, 0.14);
}

.why-next-principle-row h3 {
  font-size: 1.25rem;
  line-height: 1.2;
}

.why-next-principle-row p {
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: 38rem;
}

.why-next-row-number {
  color: var(--color--lime);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

.why-next-culture-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gap);
  align-items: start;
  row-gap: 4rem;
}

.why-next-culture-title {
  grid-column: 1 / 6;
}

.why-next-culture-title p {
  max-width: 28rem;
  margin-top: 1.75rem;
  font-size: 1.05rem;
  line-height: 1.5;
}

.why-next-metric-wall {
  grid-column: 7 / 13;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.why-next-metric {
  padding: 1.1rem 1.25rem;
  min-height: 10rem;
  color: rgba(10, 10, 15, 0.22);
}

.why-next-metric:nth-child(even) {
  color: var(--color--lime);
}

.why-next-metric p {
  margin-top: 0.85rem;
  color: rgba(10, 10, 15, 0.62);
  font-size: 0.85rem;
  line-height: 1.45;
}

.why-next-quote {
  grid-column: 3 / 11;
  margin: 1rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(10, 10, 15, 0.16);
  text-align: center;
  max-width: 52rem;
}

.why-next-quote p {
  font-family: var(--font-primary);
  font-size: 1.45rem;
  line-height: 1.35;
}

.why-next-quote cite {
  display: block;
  margin-top: 1.25rem;
  color: var(--color--lime);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-style: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.why-next-nexus-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
  margin-top: 3.5rem;
}

.why-next-nexus-item {
  min-height: 16rem;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: rgba(240, 241, 250, 0.22);
  transition: color var(--transition-base), background-color var(--transition-base);
}

.why-next-nexus-item:hover {
  color: var(--color--lime);
  background: rgba(240, 241, 250, 0.04);
}

.why-next-nexus-item h3 {
  color: var(--color--green-off-white-1);
  margin-top: auto;
  font-size: 1.4rem;
  line-height: 1.15;
}

.why-next-nexus-item p {
  margin-top: 1rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.why-next-awards-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 4rem;
}

.why-next-award-tile {
  min-height: 13rem;
  padding: 1.1rem 1.25rem;
  color: rgba(10, 10, 15, 0.22);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.why-next-award-tile strong {
  font-size: 2.4rem;
  font-weight: 700;
}

.why-next-award-tile p {
  color: var(--color--dark-green);
  font-family: var(--font-primary);
  font-size: 0.95rem;
  line-height: 1.4;
  margin-top: 0.85rem;
}

.why-next-cta-inner {
  max-width: 52rem;
  margin-inline: auto;
  text-align: center;
}

.why-next-cta-inner p {
  max-width: 34rem;
  margin: 1.25rem auto 0;
  font-size: 1.05rem;
  line-height: 1.5;
}

.why-next-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2.5rem;
}

@media screen and (max-width: 991px) {
  .why-next-hero-grid,
  .why-next-culture-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .why-next-hero-copy,
  .why-next-hero-media,
  .why-next-hero-manifesto,
  .why-next-hero-stats,
  .why-next-culture-title,
  .why-next-metric-wall,
  .why-next-quote {
    grid-column: 1 / -1;
  }

  .why-next-hero-copy {
    align-self: end;
  }

  .why-next-hero-title {
    max-inline-size: 100%;
  }

  .why-next-hero-media {
    grid-row: auto;
    min-height: 28rem;
  }

  .why-next-hero-stats,
  .why-next-metric-wall,
  .why-next-nexus-grid,
  .why-next-awards-grid,
  .why-next-story-strip {
    grid-template-columns: 1fr 1fr;
  }

  .why-next-section-title,
  .why-next-section-copy {
    grid-column: 1 / -1;
  }

  .why-next-culture-title {
    position: static;
  }

  .why-next-principle-row {
    grid-template-columns: 4rem 1fr;
  }

  .why-next-principle-row p {
    grid-column: 2;
  }
}

@media screen and (max-width: 767px) {
  .why-next-hero-stats,
  .why-next-metric-wall,
  .why-next-nexus-grid,
  .why-next-awards-grid,
  .why-next-story-strip {
    grid-template-columns: 1fr;
  }

  .why-next-marquee {
    justify-content: flex-start;
    overflow: hidden;
    padding-inline: 1.5rem;
  }

  .why-next-story-callout,
  .why-next-story-image,
  .why-next-nexus-item,
  .why-next-award-tile {
    min-height: 18rem;
  }

  .why-next-principle-row {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .why-next-principle-row p {
    grid-column: auto;
  }

  .why-next-quote p {
    font-size: 1.55rem;
  }
}

@media screen and (max-width: 479px) {
  .why-next-hero-media {
    min-height: 21rem;
  }

  .why-next-hero-helmet {
    right: 1rem;
    bottom: -1.5rem;
    width: 10rem;
  }

  .why-next-hero-stat strong,
  .why-next-metric strong {
    font-size: 2.2rem;
  }

  .why-next-award-tile strong {
    font-size: 3rem;
  }

  .why-next-actions {
    display: grid;
  }

  .why-next-actions .btn-w {
    justify-content: center;
  }
}

/* Spacer shrinkdown inside porque-a-next for tighter rhythm */
.why-next-page .spacer._12rem { padding-top: 6rem; }
.why-next-page .spacer._10rem { padding-top: 5.5rem; }
.why-next-page .spacer._8rem  { padding-top: 4.5rem; }
.why-next-page .spacer._4rem  { padding-top: 2.25rem; }
.why-next-page .spacer._3rem  { padding-top: 1.75rem; }
.why-next-page .spacer._2rem  { padding-top: 1.25rem; }

@media screen and (max-width: 991px) {
  .why-next-page .spacer._10rem { padding-top: 4rem; }
  .why-next-page .spacer._12rem { padding-top: 4rem; }
}

@media screen and (max-width: 479px) {
  .why-next-award-tile strong { font-size: 2.1rem; }
  .why-next-hero-stat strong,
  .why-next-metric strong { font-size: 1.65rem; }
}
