/*
 * MORBOX visual refinement
 * Design review informed by unslop by Damir Sokolovsky, CC BY 4.0:
 * https://github.com/HEYDAMIR/unslop
 */
:root {
  --paper: #f6f5f1;
  --surface: #fffefa;
  --muted-surface: #edede7;
  --ink: #191c1b;
  --muted: #5b605c;
  --line: #d8d9d1;
  --red: #d80719;
  --red-hover: #af0615;
  --red-light: #ff8a93;
  --dark: #141615;
  --dark-raised: #202421;
  --light: #f8f8f3;
  --dim: #b9c0ba;
  --teal: #d80719;
  --teal-dim: #af0615;
  --pink: #f6f2e8;
  --black: #141615;
  --black-soft: #202421;
  --white: #fffefa;
  --off-white: #f6f5f1;
  --font-display: "Morbox Display", "Barlow Condensed", Impact, sans-serif;
  --font-body: "Morbox Sans", "DM Sans", Arial, sans-serif;
  --display: "Morbox Display", "Barlow Condensed", Impact, sans-serif;
  --body: "Morbox Sans", "DM Sans", Arial, sans-serif;
  --radius: 16px;
  --radius-sm: 8px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  scroll-padding-top: 96px;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
}

h1,
h2,
h3,
h4 {
  letter-spacing: -0.02em;
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: none;
}

.section-dark .eyebrow,
.section-cta .eyebrow {
  color: var(--red-light);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  padding: 12px 0;
  border-bottom: 1px solid rgba(248, 248, 243, 0.1);
  background: var(--dark);
  color: var(--light);
}

body:not(.travel-design):not(.package-page):not(.coaching-page):not(:has(.checkout-heading)) .site-header {
  position: fixed;
  right: 0;
  left: 0;
  border-bottom-color: transparent;
  background: rgba(20, 22, 21, 0.72);
}

.header-inner {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
}

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

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 25px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav a:not(.nav-cta) {
  position: relative;
  padding: 6px 0;
  color: rgba(248, 248, 243, 0.86);
  font-size: 0.9rem;
  font-weight: 700;
}

.main-nav a:not(.nav-cta):hover,
.main-nav a.active-link {
  color: var(--light);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border: 0;
  background: transparent;
  color: var(--light);
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.site-header.scrolled {
  background: rgba(20, 22, 21, 0.96);
  border-bottom: 1px solid rgba(248, 248, 243, 0.1);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.main-nav a:not(.nav-cta)::after {
  background: var(--red);
}

.btn,
.button {
  min-height: 44px;
  border-radius: 9px;
  box-shadow: none;
  font-weight: 700;
  transition:
    color 160ms var(--ease),
    background-color 160ms var(--ease),
    border-color 160ms var(--ease),
    transform 160ms var(--ease);
}

.btn-primary,
.btn-pink,
.button {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}

.btn-primary:hover,
.btn-pink:hover,
.button:hover {
  transform: translateY(-1px);
  border-color: var(--red-hover);
  background: var(--red-hover);
  box-shadow: none;
}

.btn:active,
.button:active {
  transform: scale(0.98);
}

.btn-ghost,
.button-outline,
.button-ghost {
  border: 1px solid currentColor;
  border-radius: 9px;
  box-shadow: none;
}

.btn-ghost:hover,
.button-outline:hover,
.button-ghost:hover {
  transform: translateY(-1px);
  box-shadow: none;
}

.nav-toggle,
.menu-toggle {
  border-radius: 8px;
}

.hero {
  min-height: min(900px, 100svh);
  padding: 128px 0 76px;
  background: var(--dark);
}

.hero-bg {
  right: 0;
  left: auto;
  width: min(54%, 760px);
  background-image: url("/images/morbox-training.jpeg");
  background-position: center 44%;
  background-size: cover;
  opacity: 0.92;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 20%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 20%);
}

.hero-bg::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #141615 0%, rgba(20, 22, 21, 0.42) 24%, transparent 72%);
  content: "";
}

.training-note {
  position: relative;
  display: flex;
  width: min(100%, 440px);
  min-height: 420px;
  padding: 36px;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border-radius: 14px;
  background: var(--dark);
  color: var(--light);
}

.training-note::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--red);
  content: "";
}

.training-note-label,
.training-note-place {
  position: relative;
  color: rgba(248, 248, 243, 0.72);
  font-size: 0.84rem;
  font-weight: 700;
}

.training-note strong {
  position: relative;
  max-width: 300px;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4.25rem);
  font-weight: 700;
  line-height: 0.98;
}

.hero-bg .hero-blob {
  display: none;
}

.hero-inner {
  width: min(100%, 620px);
  max-width: 620px;
  margin-right: auto;
}

.hero h1 {
  max-width: 700px;
  margin-bottom: 20px;
  font-size: clamp(3.25rem, 6vw, 5.25rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.hero-highlight {
  color: var(--red-light);
}

.hero-lead {
  max-width: 540px;
  font-size: 1.08rem;
  line-height: 1.6;
}

.hero-actions {
  gap: 12px;
  margin-bottom: 44px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(248, 248, 243, 0.2);
}

.hero-stats > div {
  min-width: 0;
  padding: 16px 16px 0 0;
}

.hero-stats > div + div {
  padding-left: 16px;
  border-left: 1px solid rgba(248, 248, 243, 0.2);
}

.hero-stats dt {
  font-size: 0.97rem;
  font-weight: 700;
  line-height: 1.35;
}

.hero-stats dd {
  margin: 4px 0 0;
  color: rgba(248, 248, 243, 0.7);
  font-size: 0.82rem;
  line-height: 1.4;
}

.scroll-cue span {
  animation: none;
}

.section {
  padding: clamp(68px, 8vw, 104px) 0;
}

.section-dark {
  background: var(--dark);
  color: var(--light);
}

.section-dark p,
.section-dark .lead,
.section-cta p {
  color: rgba(248, 248, 243, 0.76);
}

.feature-card,
.person-card,
.value-card,
.price-card,
.mv-card {
  border: 1px solid rgba(25, 28, 27, 0.1);
  border-radius: 14px;
  box-shadow: none;
}

.section-dark .feature-card,
.section-dark .person-card,
.section-dark .value-card,
.section-dark .price-card {
  border-color: rgba(248, 248, 243, 0.12);
  background: var(--dark-raised);
  box-shadow: none;
}

.feature-icon {
  border: 1px solid rgba(216, 7, 25, 0.22);
  border-radius: 6px;
  background: rgba(216, 7, 25, 0.08);
  color: var(--red);
}

.section-dark .feature-icon {
  color: var(--red-light);
}

.price-card--highlight,
.mv-teal {
  border-color: var(--red);
  background: var(--dark);
  color: var(--light);
}

.price-card--highlight {
  border: 1px solid rgba(216, 7, 25, 0.5);
  border-top: 4px solid var(--red);
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.section-dark .price-card--highlight {
  border-color: rgba(216, 7, 25, 0.5);
  border-top: 4px solid var(--red);
  background: var(--surface);
  color: var(--ink);
}

.price-card--highlight .price-window,
.price-card--highlight .price-breakdown li {
  color: var(--muted);
}

.price-card--highlight .price-tag {
  border: 1px solid var(--line);
  background: var(--muted-surface);
  color: var(--ink);
}

.price-card--highlight .price-amount span {
  display: inline-block;
  margin-left: 8px;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
}

.price-card--highlight .jan-camp-badge {
  border-color: rgba(216, 7, 25, 0.2);
  background: rgba(216, 7, 25, 0.08);
  color: var(--red-hover);
}

.price-card--highlight .jan-deposit-note {
  color: var(--red-hover) !important;
}

.price-card--highlight {
  border-top: 3px solid var(--red);
}

.jan-camp-badge {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 16px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 138, 147, 0.42);
  border-radius: 999px;
  background: rgba(216, 7, 25, 0.17);
  color: var(--red-light);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.025em;
}

.jan-deposit-note {
  margin: 0 0 18px;
  color: var(--red-light) !important;
  font-size: 0.92rem;
  font-weight: 700;
}

.package-camp-spotlight {
  margin: 20px 0 4px;
  padding: 16px 18px;
  border-left: 4px solid var(--red);
  border-radius: 0 10px 10px 0;
  background: #fff4f2;
}

.package-camp-spotlight span {
  display: block;
  margin-bottom: 5px;
  color: var(--red-hover);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.package-camp-spotlight strong {
  display: block;
  color: var(--ink);
  font-size: 1.15rem;
}

.package-camp-spotlight p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.deposit-summary b {
  color: var(--red-hover);
}

#arrivalHint {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.82rem;
}

.mv-teal p,
.mv-teal .eyebrow {
  color: rgba(248, 248, 243, 0.78);
}

.mv-pink {
  border-color: var(--line);
  background: var(--muted-surface);
}

.mv-pink .eyebrow {
  color: var(--red-hover);
}

.pill,
.pill-pink,
.package-duration,
.price-tag {
  border-radius: 8px;
}

.pill-pink {
  border-color: rgba(216, 7, 25, 0.24);
  background: rgba(216, 7, 25, 0.06);
}

.program-table {
  border-color: rgba(25, 28, 27, 0.16);
}

.program-table > div {
  border-color: rgba(25, 28, 27, 0.16);
}

.program-table strong {
  color: var(--red-hover);
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
}

.package-page,
body:has(.checkout-heading) {
  background: var(--paper);
}

.package-page .site-header,
body:has(.checkout-heading) .site-header {
  background: var(--dark);
}

.package-hero,
.checkout-heading {
  color: var(--ink);
}

.package-hero .eyebrow,
.checkout-heading .eyebrow {
  color: var(--red-hover);
}

.booking-form,
.form-section,
.checkout-layout aside {
  border-color: var(--line);
  border-radius: 14px;
  box-shadow: none;
}

.form-section,
.booking-form {
  background: var(--surface);
}

.booking-form input:not([type="radio"]):not([type="checkbox"]),
.booking-form select,
.booking-form textarea,
.form-row input,
.form-row select,
.form-row textarea {
  border: 1px solid #c9cbc3;
  border-radius: 8px;
  background: #fffefa;
  color: var(--ink);
  box-shadow: none;
}

.booking-form input:focus-visible,
.booking-form select:focus-visible,
.booking-form textarea:focus-visible,
.form-row input:focus-visible,
.form-row select:focus-visible,
.form-row textarea:focus-visible,
.btn:focus-visible,
.button:focus-visible,
.main-nav a:focus-visible,
.nav-toggle:focus-visible,
.menu-toggle:focus-visible {
  outline: 3px solid rgba(216, 7, 25, 0.45);
  outline-offset: 2px;
}

.footer-grid,
.footer-inner {
  gap: 28px;
}

.footer-grid h2,
.footer-col h3,
.footer-col h4 {
  font-weight: 700;
}

.footer-bottom {
  border-color: rgba(248, 248, 243, 0.14);
}

.coach-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(248, 248, 243, 0.14);
}

.coach-cta p {
  margin: 0;
}

.coach-card .coach-role {
  color: var(--red-hover);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: none;
}

.photo-story .mini-gallery {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 960px) {
  .main-nav {
    gap: 18px;
  }

  .main-nav ul {
    gap: 16px;
  }

  .nav-cta {
    padding-inline: 16px;
  }
}

@media (max-width: 800px) {
  .site-header,
  .site-header.scrolled {
    padding: 12px 0;
    background: rgba(20, 22, 21, 0.98);
  }

  .header-inner {
    min-height: 44px;
  }

  .main-nav {
    position: fixed;
    inset: 68px 0 0;
    z-index: 205;
    display: none;
    width: 100%;
    height: calc(100dvh - 68px);
    padding: 24px;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    overflow-y: auto;
    border-top: 1px solid rgba(248, 248, 243, 0.12);
    background: var(--dark);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav ul {
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: 0;
  }

  .main-nav li {
    border-bottom: 1px solid rgba(248, 248, 243, 0.1);
  }

  .main-nav ul a {
    display: block;
    padding: 16px 0;
    color: var(--light);
    font-size: 1.05rem;
  }

  .main-nav .nav-cta {
    align-self: flex-start;
    margin-top: 20px;
  }

  .nav-toggle,
  .menu-toggle {
    display: flex;
  }

  .hero {
    min-height: 780px;
    padding: 118px 0 64px;
  }

  .hero-bg {
    width: 100%;
    opacity: 0.5;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .hero-bg::after {
    background: linear-gradient(90deg, rgba(20, 22, 21, 0.94), rgba(20, 22, 21, 0.62));
  }

  .hero-inner {
    max-width: 660px;
  }

  .training-note {
    min-height: 320px;
    padding: 28px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-stats > div,
  .hero-stats > div + div {
    padding: 12px 0;
    border-left: 0;
  }

  .hero-stats > div + div {
    border-top: 1px solid rgba(248, 248, 243, 0.16);
  }

  .coach-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .photo-story .mini-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

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

.january-spotlight {
  display: flex;
  max-width: 610px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 24px;
  padding: 18px 22px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-left: 5px solid #f6cf55;
  border-radius: 12px;
  background: #f6cf55;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
  color: #191c1b;
}

.coaching-page .site-header {
  position: sticky;
  top: 0;
  background: #141615;
  opacity: 1;
}

body.october-page:not(.travel-design):not(.package-page):not(.coaching-page):not(:has(.checkout-heading)) .site-header.scrolled {
  background: #141615;
  backdrop-filter: none;
}

.january-spotlight div {
  display: grid;
  flex: 0 0 auto;
  gap: 2px;
}

.january-spotlight span {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.09em;
}

.january-spotlight strong {
  font-family: var(--display);
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  line-height: 1.1;
}

.january-spotlight p {
  max-width: 225px;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.4;
}

.january-spotlight b {
  font-weight: 800;
}

@media (max-width: 600px) {
  .january-spotlight {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding: 16px 18px;
  }

  .january-spotlight p {
    max-width: none;
  }
}
.camp-departure-note {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.25rem 0;
  scroll-margin-top: 7rem;
}
.camp-departure-note img {
  width: 4.75rem;
  height: 4.75rem;
  object-fit: cover;
  border-radius: 0.65rem;
}
.camp-departure-note p { margin: 0.25rem 0 0; }
