/* ==========================================================
   01. Fonts and Design Tokens
   ========================================================== */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800;900&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --navy: #061a33;
  --navy2: #0a2a4b;
  --orange: #f45b12;
  --orange2: #ff801c;
  --ink: #17283d;
  --muted: #647388;
  --line: #e4eaf1;
  --paper: #f5f8fc;
}

/* ==========================================================
   02. Base Styles
   ========================================================== */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  background: #fff;
}

a {
   text-decoration: none;
}

a:hover {
   text-decoration: underline;
}

a.text-navy-orange {
   color: var(--orange);
}

a.text-navy-orange:hover {
   color: var(--orange2);
}

/* ==========================================================
   03. Shared Components
   ========================================================== */

/* Buttons */

.btn-orange {
  background: linear-gradient(120deg, #ff7719, #e94b0b);
  border: 0;
  color: #fff;
  font-weight: 700;
  border-radius: 9px;
  padding: 0.9rem 1.55rem;
  box-shadow: 0 8px 22px #ef571b30;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-orange:hover,
.btn-orange:focus {
  background: linear-gradient(120deg, #ff852a, #f45b12);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px #ef571b45;
}

.btn-orange.btn-sm {
  padding: 0.65rem 1.2rem;
}

/* Section Typography */

.section-kicker {
  font-size: 0.76rem;
  letter-spacing: 0.27em;
  font-weight: 800;
  color: var(--orange);
  margin-bottom: 12px;
}

.section-heading {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  /* letter-spacing: -0.055em; */
  color: var(--navy);
}

.section-heading span {
  color: var(--orange);
}

.section-title-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 30px;
}

.section-subtitle {
  color: var(--muted);
  max-width: 270px;
}

.eyebrow {
  font-weight: 800;
  letter-spacing: 0.12em;
  font-size: 0.9rem;
}

.eyebrow .sun-mark {
  vertical-align: middle;
  margin-right: 0.25rem;
}

.small-note {
  font-size: 0.73rem;
  color: #748297;
  text-align: center;
  margin: 10px 0 0;
}

/* ==========================================================
   04. Header
   ========================================================== */

.site-header {
  background: #fff;
  box-shadow: 0 2px 15px #071a2d12;
}

/* ==========================================================
   05. Hero
   ========================================================== */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 75% 50%,
      #12476c 0%,
      transparent 45%
    ),
    linear-gradient(125deg, #031326, #082c50 70%, #03182d);
  color: white;
}

.hero::before {
  content: "";
  position: absolute;
  left: -6%;
  top: -45px;
  width: 48%;
  height: 90px;
  background: linear-gradient(140deg, #e24c0b, #ff8d20 55%, #842d0a);
  transform: skewY(-27deg);
  opacity: 0.95;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(#ffffff07 1px, transparent 1px),
    linear-gradient(90deg, #ffffff07 1px, transparent 1px);
  background-size: 42px 42px;
  pointer-events: none;
}

.hero h1 {
  font-family: 'Barlow Condensed', Impact, sans-serif;
  font-size: clamp(3.8rem, 7vw, 6.6rem);
  line-height: 0.87;
  letter-spacing: 0.005em;
}

.hero h1 span {
  display: block;
  color: var(--orange);
  font-weight: 800;
}

.hero-tagline {
  font-family: 'Barlow Condensed', Impact, sans-serif;
  font-size: clamp(1.5rem, 2.7vw, 2.2rem);
  font-weight: 800;
  font-style: italic;
  letter-spacing: 0.05em;
}

.hero-art {
  min-height: 310px;
  aspect-ratio: 600 / 330;
  background: url('../images/bootcamp-banner.jpg') center / cover no-repeat;
  border: 1px solid #ffffff25;
  border-radius: 18px;
  box-shadow: 0 25px 80px #0008;
  transform: rotate(1.5deg);
}

.hero-stripe {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 7px;
  background: linear-gradient(90deg, #ed4d0b, #ff9b2a 55%, #a83b0a);
}

/* ==========================================================
   06. Introduction
   ========================================================== */

.intro-section {
  background: linear-gradient(#fff, #f6f9fd, #efeeed, #fef0e0);
}

.intro-copy {
  max-width: 760px;
  color: #53667b;
  font-size: 1.08rem;
  line-height: 1.85;
}

/* ==========================================================
   07. Events
   ========================================================== */

.events-section {
  background: linear-gradient(#fef0e0, #efeeed, #f6f9fd, #edf3fa);
}

/* Cards */

.event-card {
  background: white;
  border: 1px solid #e2e9f2;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 35px #0b2a4b12;
  transition: transform 0.25s, box-shadow 0.25s;
}

.event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 45px #0b2a4b1e;
}

.event-card-body {
  padding: 30px;
  display: flex;
  flex-direction: column;
}

.city-label {
  font-family: 'Barlow Condensed', Impact, sans-serif;
  font-weight: 800;
  font-size: 2.65rem;
  line-height: 1;
  color: #fff;
  letter-spacing: 0.02em;
}

.city-label i {
  font-size: 1.7rem;
  color: var(--orange2);
}

/* Event Details */

.event-meta {
  display: flex;
  gap: 15px;
  margin-bottom: 19px;
  align-items: flex-start;
}

.meta-icon {
  display: grid;
  place-items: center;
  background: #fff0e9;
  color: var(--orange);
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 11px;
  font-size: 1.2rem;
}

.event-meta strong,
.event-meta span {
  display: block;
}

.event-meta strong {
  font-size: 0.85rem;
  margin: 2px 0 5px;
}

.event-meta span {
  font-size: 0.91rem;
  line-height: 1.5;
}

/* Notes and Registration */

.event-notes span {
  font-size: 0.78rem;
  font-weight: 600;
  background: #f2f6fa;
  border-radius: 6px;
  padding: 9px 12px;
}

.event-notes i {
  color: var(--orange);
  margin-right: 5px;
}

.register-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

/* ==========================================================
   08. Benefits
   ========================================================== */

.benefits-section {
  position: relative;
  background: radial-gradient(circle at 50% -30%, #164b74, #061a33 70%);
  color: #fff;
  overflow: hidden;
}

.benefits-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(#ffffff07 1px, transparent 1px),
    linear-gradient(90deg, #ffffff07 1px, transparent 1px);
  background-size: 42px 42px;
  pointer-events: none;
  z-index: 1;
}

.benefits-section .container-xl {
  position: relative;
  z-index: 2;
}

.benefit {
  padding: 15px;
}

.benefit > i {
  display: inline-block;
  font-size: 2.6rem;
  color: var(--orange2);
  margin-bottom: 13px;
}

.benefit h3 {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.benefit p {
  color: #bfcedf;
  font-size: 0.85rem;
  line-height: 1.6;
  max-width: 200px;
  margin: 10px auto 0;
}

/* ==========================================================
   09. Footer
   ========================================================== */

.site-footer {
  background: #f9fbfd;
  padding: 35px 0 22px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-bottom: 28px;
}

.footer-brand {
  font-weight: 800;
  color: var(--navy);
  font-size: 1.1rem;
}

.footer-top nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-top nav a {
  color: #516278;
  font-size: 0.85rem;
}

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

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: #8190a1;
  font-size: 0.74rem;
}

/* ==========================================================
   10. Pure-CSS Icons
   No external icon fonts, images, or URLs.
   ========================================================== */

/* Shared Icon Styles */

.bi {
  position: relative;
  display: inline-block;
  width: 1em;
  height: 1em;
  box-sizing: border-box;
  vertical-align: -0.125em;
  font-style: normal;
  line-height: 1;
  flex-shrink: 0;
}

.bi::before,
.bi::after {
  content: "";
  position: absolute;
  display: block;
  box-sizing: border-box;
}

/* Arrow Down */

.bi-arrow-down::before {
  left: 46%;
  top: 8%;
  width: 8%;
  height: 76%;
  background: currentColor;
}

.bi-arrow-down::after {
  left: 25%;
  top: 43%;
  width: 50%;
  height: 50%;
  border-right: 0.08em solid currentColor;
  border-bottom: 0.08em solid currentColor;
  transform: rotate(45deg);
}

/* Arrow Right */

.bi-arrow-right::before {
  left: 8%;
  top: 46%;
  width: 76%;
  height: 8%;
  background: currentColor;
}

.bi-arrow-right::after {
  left: 43%;
  top: 25%;
  width: 50%;
  height: 50%;
  border-top: 0.08em solid currentColor;
  border-right: 0.08em solid currentColor;
  transform: rotate(45deg);
}

/* Calendar */

.bi-calendar3 {
  width: 0.95em;
  height: 0.9em;
  margin-top: 0.1em;
  border: 0.07em solid currentColor;
  border-radius: 0.12em;
  background:
    linear-gradient(currentColor, currentColor)
    left 0.22em / 100% 0.07em no-repeat;
}

.bi-calendar3::before {
  top: -0.16em;
  left: 0.18em;
  width: 0.07em;
  height: 0.23em;
  border-radius: 0.03em;
  background: currentColor;
  box-shadow: 0.43em 0 0 currentColor;
}

.bi-calendar3::after {
  left: 0.1em;
  right: 0.1em;
  top: 0.33em;
  bottom: 0.08em;
  background:
    radial-gradient(
      circle,
      currentColor 0.035em,
      transparent 0.04em
    ) 0 0 / 33.333% 50%;
}

/* Clock */

.bi-clock {
  border: 0.075em solid currentColor;
  border-radius: 50%;
}

.bi-clock::before {
  left: 46%;
  top: 15%;
  width: 8%;
  height: 39%;
  border-radius: 0.03em;
  background: currentColor;
}

.bi-clock::after {
  left: 46%;
  top: 46%;
  width: 30%;
  height: 8%;
  border-radius: 0.03em;
  background: currentColor;
}

/* Location Pin */

.bi-pin-map {
  position: relative;
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
  border: 0;
  border-radius: 0;
  clip-path: none;

  /* Vertical stem */
  background:
    linear-gradient(currentColor, currentColor)
    center 0.4375em / 0.0625em 0.4375em no-repeat;
}

.bi-pin-map::before {
  content: "";
  position: absolute;
  inset: auto;
  top: 0;
  left: 25%;
  width: 50%;
  height: 50%;
  box-sizing: border-box;
  border: 0.0625em solid currentColor;
  border-radius: 50%;
  background: transparent;
  transform: none;
  clip-path: none;
}

.bi-pin-map::after {
  content: "";
  position: absolute;
  inset: auto;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 31.25%;
  border: 0;
  border-radius: 0;
  background: currentColor;
  transform: none;

  /* Hollow map base */
  clip-path: polygon(
    evenodd,
    0% 100%,
    18.75% 0%,
    81.25% 0%,
    100% 100%,
    0% 100%,
    12.5% 80%,
    87.5% 80%,
    78% 20%,
    22% 20%,
    12.5% 80%,
    0% 100%
  );
}

/* Perforated Ticket */

.bi-ticket-perforated {
  position: relative;
  display: inline-block;
  width: 1em;
  height: 0.625em;
  vertical-align: 0.05em;
  border: 0;
  border-radius: 0;
  clip-path: none;

  /* Curved side cutouts */
  background:
    radial-gradient(
      circle at left center,
      transparent 0.135em,
      currentColor 0.14em 0.195em,
      transparent 0.2em
    ) left center / 0.21em 100% no-repeat,
    radial-gradient(
      circle at right center,
      transparent 0.135em,
      currentColor 0.14em 0.195em,
      transparent 0.2em
    ) right center / 0.21em 100% no-repeat;
}

.bi-ticket-perforated::before {
  content: "";
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  border: 0.06em solid currentColor;
  border-radius: 0.095em;
  background: transparent;

  -webkit-mask-image:
    radial-gradient(
      circle at left center,
      transparent 0.19em,
      #000 0.195em
    ),
    radial-gradient(
      circle at right center,
      transparent 0.19em,
      #000 0.195em
    );
  -webkit-mask-composite: source-in;

  mask-image:
    radial-gradient(
      circle at left center,
      transparent 0.19em,
      #000 0.195em
    ),
    radial-gradient(
      circle at right center,
      transparent 0.19em,
      #000 0.195em
    );
  mask-composite: intersect;
}

.bi-ticket-perforated::after {
  content: "";
  position: absolute;
  top: 0.11em;
  bottom: 0.11em;
  left: 27%;
  right: 27%;
  width: auto;
  height: auto;
  border: 0;
  border-left: 0.055em dashed currentColor;
  border-right: 0.055em dashed currentColor;
  border-radius: 0;
  background: transparent;
}

/* Hot Cup */

.bi-cup-hot {
  background:
    linear-gradient(currentColor, currentColor)
    29% 0 / 0.055em 0.23em no-repeat,
    linear-gradient(currentColor, currentColor)
    49% 0 / 0.055em 0.23em no-repeat,
    linear-gradient(currentColor, currentColor)
    69% 0 / 0.055em 0.23em no-repeat,
    linear-gradient(currentColor, currentColor)
    center bottom / 90% 0.065em no-repeat;
}

.bi-cup-hot::before {
  left: 10%;
  top: 32%;
  width: 65%;
  height: 54%;
  border: 0.07em solid currentColor;
  border-radius: 0.02em 0.02em 0.18em 0.18em;
}

.bi-cup-hot::after {
  right: 3%;
  top: 39%;
  width: 24%;
  height: 29%;
  border: 0.065em solid currentColor;
  border-left: 0;
  border-radius: 0 50% 50% 0;
}

/* Translate — ordinary text, not an icon font */

.bi-translate {
  width: 1.2em;
}

.bi-translate::before {
  content: "A";
  left: 0;
  top: 0;
  width: 58%;
  height: 75%;
  border: 0.055em solid currentColor;
  border-radius: 0.08em;
  font-family: Arial, sans-serif;
  font-size: 0.65em;
  font-weight: 400;
  line-height: 1;
  text-align: center;
  padding-top: 0.09em;
}

.bi-translate::after {
  content: "文";
  right: 0;
  bottom: 0;
  font-family: sans-serif;
  font-size: 0.7em;
  font-weight: 400;
  line-height: 1;
}

/* Graduation Cap */

.bi-mortarboard {
  position: relative;
  display: inline-block;
  width: 1.15em;
  height: 1em;
  vertical-align: -0.125em;
  border: 0;
  border-radius: 0;
  clip-path: none;

  /* Tassel */
  background:
    linear-gradient(currentColor, currentColor)
    94% 0.4em / 0.055em 0.5em no-repeat,
    linear-gradient(currentColor, currentColor)
    96% bottom / 0.11em 0.15em no-repeat;
}

.bi-mortarboard::before {
  content: "";
  position: absolute;
  inset: auto;
  left: 0;
  top: 0.08em;
  width: 100%;
  height: 0.55em;
  border: 0;
  border-radius: 0;
  background: currentColor;
  transform: none;
  -webkit-mask: none;
  mask: none;

  /* Hollow diamond */
  clip-path: polygon(
    evenodd,
    50% 0%, 100% 50%, 50% 100%, 0% 50%, 50% 0%,
    50% 13%, 12% 50%, 50% 87%, 88% 50%, 50% 13%
  );
}

.bi-mortarboard::after {
  content: "";
  position: absolute;
  inset: auto;
  left: 21%;
  top: 0.62em;
  width: 58%;
  height: 0.27em;
  border: 0;
  border-radius: 0;
  background: currentColor;
  transform: none;
  -webkit-mask: none;
  mask: none;

  /* Hollow lower band */
  clip-path: polygon(
    evenodd,
    5% 0%, 50% 37%, 95% 0%,
    100% 63%, 50% 100%, 0% 63%, 5% 0%,
    14% 27%, 11% 51%, 50% 80%,
    89% 51%, 86% 27%, 50% 57%, 14% 27%
  );
}

/* People */

.bi-people {
  width: 1.15em;
  background:
    radial-gradient(
      circle at 34% 25%,
      currentColor 0 0.15em,
      transparent 0.16em
    ),
    radial-gradient(
      circle at 74% 30%,
      currentColor 0 0.13em,
      transparent 0.14em
    );
}

.bi-people::before {
  left: 5%;
  bottom: 3%;
  width: 58%;
  height: 45%;
  border: 0.07em solid currentColor;
  border-radius: 50% 50% 0.05em 0.05em;
}

.bi-people::after {
  right: 0;
  bottom: 3%;
  width: 34%;
  height: 39%;
  border-top: 0.07em solid currentColor;
  border-right: 0.07em solid currentColor;
  border-bottom: 0.07em solid currentColor;
  border-radius: 0.15em 0.22em 0.05em 0;
}

/* Rising Graph */

.bi-graph-up-arrow {
  border-left: 0.065em solid currentColor;
  border-bottom: 0.065em solid currentColor;
}

.bi-graph-up-arrow::before {
  inset: 8% 3% 12% 8%;
  background: currentColor;
  clip-path: polygon(
    0 80%, 32% 43%, 52% 60%, 92% 8%,
    100% 15%, 53% 73%, 33% 56%, 7% 87%
  );
}

.bi-graph-up-arrow::after {
  top: 8%;
  right: 3%;
  width: 35%;
  height: 35%;
  border-top: 0.075em solid currentColor;
  border-right: 0.075em solid currentColor;
}

/* Trophy */

.bi-trophy {
  --trophy-stroke: 0.065em;

  position: relative;
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
  box-sizing: border-box;
  border: 0;
  border-radius: 0;
  clip-path: none;
  overflow: visible;

  /* Stem and base */
  background:
    linear-gradient(currentColor, currentColor)
    center 0.64em / var(--trophy-stroke) 0.25em no-repeat,
    linear-gradient(currentColor, currentColor)
    center 0.94em / 0.55em var(--trophy-stroke) no-repeat;
}

.bi-trophy::before {
  content: "";
  position: absolute;
  inset: auto;
  top: 0.03em;
  left: 21%;
  width: 58%;
  height: 0.64em;
  box-sizing: border-box;
  border: var(--trophy-stroke) solid currentColor;
  border-radius: 0.035em 0.035em 50% 50%;
  background: transparent;
  transform: none;
  clip-path: none;
  -webkit-mask: none;
  mask: none;
  box-shadow: none;
}

.bi-trophy::after {
  content: "";
  position: absolute;
  inset: auto;
  top: 0.13em;
  left: 0;
  width: 100%;
  height: 0.4em;
  box-sizing: border-box;
  border: var(--trophy-stroke) solid currentColor;
  border-radius: 0.035em 0.035em 0.3em 0.3em;
  background: transparent;

  /* Handles outside the cup */
  clip-path: polygon(
    0% 0%,
    22% 0%,
    22% 100%,
    78% 100%,
    78% 0%,
    100% 0%,
    100% 100%,
    0% 100%
  );

  transform: none;
  -webkit-mask: none;
  mask: none;
  box-shadow: none;
}

/* ==========================================================
   11. Responsive Styles
   ========================================================== */

/* Below 992px */

@media (max-width: 991.98px) {
  .navbar-collapse {
    padding: 14px 0 22px;
  }

  .nav-cta {
    margin-top: 10px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 30px;
    min-height: 0;
    padding-top: 90px;
    padding-bottom: 60px;
  }

  .hero-content {
    max-width: 720px;
  }

  .hero-art {
    width: 100%;
    max-width: 650px;
    min-height: 0;
    justify-self: center;
    transform: none;
  }

  .event-card-body {
    min-height: 0;
  }
}

/* Below 576px */

@media (max-width: 575.98px) {
  /* Navigation */

  .navbar {
    min-height: 65px;
  }

  /* Hero */

  .hero-inner {
    padding-top: 75px;
    padding-bottom: 45px;
  }

  .hero h1 {
    font-size: clamp(3.45rem, 15vw, 5rem);
  }

  .hero-art {
    border-radius: 10px;
  }

  .hero-description {
    font-size: 0.92rem;
  }

  /* Sections and Events */

  .events-section {
    padding: 0 0 65px;
  }

  .section-title-row {
    display: block;
  }

  .section-subtitle {
    max-width: none;
  }

  .event-card-head {
    min-height: 125px;
    padding: 20px;
  }

  .city-label {
    font-size: 2.15rem;
  }

  .event-card-body {
    padding: 23px;
  }

  .event-meta {
    margin-bottom: 16px;
  }

  .event-notes {
    gap: 8px;
  }

  /* Benefits */

  .benefit {
    padding: 10px 0;
  }

  .benefit > i {
    font-size: 2rem;
  }

  .benefit h3 {
    font-size: 0.8rem;
  }

  .benefit p {
    font-size: 0.78rem;
  }

  /* Footer */

  .footer-top {
    align-items: start;
    flex-direction: column;
  }

  .footer-top nav {
    gap: 12px 20px;
  }
}

/* ==========================================================
   12. Accessibility — Reduced Motion
   ========================================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}