.hazard-command,
.hazard-command * {
  box-sizing: border-box;
}

.hazard-command {
  --ink: #07100f;
  --field: #0d1415;
  --paper: #f4f7ef;
  --muted: #65726e;
  --amber: #ffbc20;
  --green: #13b981;
  --line: rgba(7, 16, 15, 0.14);
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: clip;
}

.hazard-command a {
  color: inherit;
  text-decoration: none;
}

.hc-demo-strip,
.hc-nav,
.hc-ribbon,
.hc-about,
.hc-programs,
.hc-booking,
.hc-instructors,
.hc-areas,
.hc-faq,
.hc-enroll,
.hc-footer {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.hc-demo-strip {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 11px 0;
  color: #d9fff1;
  background: var(--field);
  width: 100%;
  padding-inline: max(20px, calc((100vw - 1180px) / 2));
  border-bottom: 6px solid var(--amber);
  font-size: 0.9rem;
}

.hc-demo-strip p {
  margin: 0;
  max-width: 800px;
}

.hc-demo-strip nav,
.hc-nav nav,
.hc-ribbon,
.hc-hero-grid aside,
.hc-areas div {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.hc-demo-strip a {
  color: #fff;
  font-weight: 950;
}

.hc-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
}

.hc-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  font-weight: 950;
}

.hc-brand span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--field);
  background: var(--amber);
  clip-path: polygon(18% 0, 82% 0, 100% 18%, 100% 82%, 82% 100%, 18% 100%, 0 82%, 0 18%);
}

.hc-nav nav {
  overflow-x: auto;
  scrollbar-width: none;
}

.hc-nav nav::-webkit-scrollbar {
  display: none;
}

.hc-nav nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-bottom: 4px solid transparent;
  color: #203431;
  font-weight: 900;
  white-space: nowrap;
}

.hc-nav nav a:last-child {
  padding-inline: 18px;
  color: var(--field);
  border-radius: 0;
  background: var(--amber);
  border-bottom-color: var(--field);
}

.hc-hero-banner {
  position: relative;
  min-height: clamp(560px, 74vh, 780px);
  overflow: hidden;
  isolation: isolate;
  background: var(--field);
}

.hc-hero-banner picture,
.hc-hero-banner img {
  position: absolute;
  inset: 0;
}

.hc-hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.08);
}

.hc-hero-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(7, 16, 15, 0.95), rgba(7, 16, 15, 0.68) 46%, rgba(7, 16, 15, 0.1)),
    repeating-linear-gradient(-45deg, rgba(255,188,32,0.16) 0 14px, transparent 14px 30px);
}

.hc-hero-grid {
  position: relative;
  z-index: 2;
  min-height: inherit;
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(280px, 650px) minmax(250px, 360px);
  gap: 30px;
  align-items: center;
  padding: 72px 0;
}

.hc-kicker {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hc-hero-grid .hc-kicker {
  color: var(--amber);
}

.hc-hero-grid h1 {
  margin: 0;
  max-width: 11ch;
  color: #fff;
  font-size: clamp(2.45rem, 5vw, 4rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.hc-hero-grid p:not(.hc-kicker) {
  max-width: 620px;
  margin: 18px 0 0;
  color: #d8efe7;
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  line-height: 1.6;
}

.hc-hero-grid a,
.hc-module-grid a,
.hc-booking button,
.hc-enroll button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  margin-top: 28px;
  padding: 0 22px;
  color: var(--field);
  background: var(--amber);
  font-weight: 950;
  cursor: pointer;
  box-shadow: 0 18px 48px rgba(255,188,32,0.24);
}

.hc-hero-grid aside {
  flex-direction: column;
  align-items: stretch;
  padding: 22px;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(244, 247, 239, 0.12);
  backdrop-filter: blur(16px);
}

.hc-hero-grid aside strong {
  color: #fff;
  font-size: 1.2rem;
}

.hc-hero-grid aside span {
  padding: 12px 14px;
  color: #fff;
  border-left: 5px solid var(--amber);
  background: rgba(255,255,255,0.1);
  font-weight: 850;
}

.hc-ribbon {
  justify-content: space-between;
  gap: 12px;
  padding: 22px;
  color: #fff;
  background: var(--field);
  transform: translateY(-34px);
  box-shadow: 0 22px 70px rgba(7,16,15,0.18);
}

.hc-ribbon span {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(255,188,32,0.38);
  color: #f7fffb;
  font-weight: 900;
}

.hc-about,
.hc-booking,
.hc-enroll {
  display: grid;
  grid-template-columns: minmax(280px, 390px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  margin-top: 56px;
}

.hc-about aside {
  display: grid;
  gap: 14px;
  padding: 26px;
  color: #fff;
  background: var(--field);
  border-top: 10px solid var(--amber);
}

.hc-about aside strong {
  font-size: 1.25rem;
  line-height: 1.35;
}

.hc-about aside span {
  color: #d8efe7;
}

.hc-about > div,
.hc-booking > div,
.hc-enroll > div {
  padding: 30px;
  border: 1px solid var(--line);
  background: #fff;
}

.hc-about h2,
.hc-section-head h2,
.hc-booking h2,
.hc-areas h2,
.hc-faq h2,
.hc-enroll h2 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.hc-about p:not(.hc-kicker),
.hc-booking p,
.hc-faq p,
.hc-module-grid p,
.hc-instructors p,
.hc-enroll p {
  color: var(--muted);
  line-height: 1.65;
  font-size: 1rem;
}

.hc-programs,
.hc-instructors,
.hc-areas,
.hc-faq {
  margin-top: 88px;
}

.hc-section-head {
  max-width: 760px;
  margin-bottom: 24px;
}

.hc-module-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
}

.hc-module-grid article {
  min-height: 356px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  background: #fff;
  border-right: 1px solid var(--line);
}

.hc-module-grid article:nth-child(even) {
  background: #f9fbf3;
}

.hc-module-grid article:last-child {
  border-right: 0;
}

.hc-module-grid article > span {
  width: 58px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--field);
  background: var(--amber);
  font-weight: 950;
}

.hc-module-grid h3,
.hc-instructors h3 {
  margin: 20px 0 10px;
  font-size: clamp(1.35rem, 2.3vw, 1.75rem);
  line-height: 1.15;
}

.hc-module-grid footer {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.hc-module-grid small,
.hc-instructors strong {
  color: #2f4d47;
  font-weight: 900;
}

.hc-module-grid strong {
  font-size: 1.65rem;
}

.hc-module-grid a {
  margin-top: 0;
  width: max-content;
}

.hc-booking {
  grid-template-columns: minmax(0, 1fr) minmax(310px, 460px);
  padding: 26px;
  color: #fff;
  background: var(--field);
}

.hc-booking > div {
  padding: 0;
  color: #fff;
  background: transparent;
  border: 0;
}

.hc-booking h2,
.hc-booking .hc-kicker {
  color: #fff;
}

.hc-booking p {
  color: #cfe3dc;
}

.hc-booking form,
.hc-enroll form {
  display: grid;
  gap: 14px;
  padding: 22px;
  background: #fff;
}

.hc-booking form > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.hc-booking label,
.hc-enroll label {
  display: grid;
  gap: 8px;
  color: #2f4d47;
  font-size: 0.84rem;
  font-weight: 950;
}

.hc-booking select,
.hc-enroll input,
.hc-enroll select {
  min-height: 46px;
  width: 100%;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: #f4f7ef;
}

.hc-booking button,
.hc-enroll button {
  margin-top: 0;
}

.hc-booking output {
  color: var(--muted);
  line-height: 1.4;
}

.hc-slots {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hc-slots span {
  padding: 9px 12px;
  color: #fff;
  background: var(--field);
  font-weight: 950;
}

.hc-instructors > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.hc-instructors article {
  display: grid;
  gap: 10px;
  padding: 28px;
  border: 1px solid var(--line);
  background: #fff;
}

.hc-instructors article > span {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  color: var(--field);
  background: var(--green);
  font-weight: 950;
  clip-path: polygon(18% 0, 82% 0, 100% 18%, 100% 82%, 82% 100%, 18% 100%, 0 82%, 0 18%);
}

.hc-areas {
  padding: 46px;
  color: #fff;
  background:
    repeating-linear-gradient(135deg, rgba(255,188,32,0.18) 0 18px, transparent 18px 38px),
    var(--field);
}

.hc-areas .hc-kicker,
.hc-areas h2 {
  color: #fff;
}

.hc-areas div {
  margin-top: 22px;
}

.hc-areas span {
  padding: 12px 14px;
  color: var(--field);
  background: var(--amber);
  font-weight: 950;
}

.hc-faq {
  display: grid;
  gap: 12px;
}

.hc-faq details {
  border: 1px solid var(--line);
  background: #fff;
  padding: 18px 20px;
}

.hc-faq summary {
  cursor: pointer;
  font-weight: 950;
}

.hc-enroll {
  padding: 28px;
  color: #fff;
  background: linear-gradient(135deg, #0d1415, #123d35);
}

.hc-enroll > div {
  padding: 0;
  color: #fff;
  background: transparent;
  border: 0;
}

.hc-enroll h2,
.hc-enroll .hc-kicker {
  color: #fff;
}

.hc-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  padding: 42px 0 56px;
  color: var(--muted);
}

.hc-footer strong {
  color: var(--ink);
}

@media (max-width: 920px) {
  .hc-nav,
  .hc-demo-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .hc-hero-grid,
  .hc-about,
  .hc-booking,
  .hc-enroll {
    grid-template-columns: 1fr;
  }

  .hc-module-grid,
  .hc-instructors > div {
    grid-template-columns: 1fr;
  }

  .hc-module-grid article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 620px) {
  .hc-demo-strip,
  .hc-nav,
  .hc-ribbon,
  .hc-about,
  .hc-programs,
  .hc-booking,
  .hc-instructors,
  .hc-areas,
  .hc-faq,
  .hc-enroll,
  .hc-footer {
    width: min(100% - 28px, 1180px);
  }

  .hc-demo-strip {
    width: 100%;
    padding-inline: 14px;
  }

  .hc-nav nav {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .hc-hero-banner {
    min-height: 650px;
  }

  .hc-hero-banner::after {
    background: linear-gradient(0deg, rgba(7,16,15,0.92), rgba(7,16,15,0.38));
  }

  .hc-hero-grid h1 {
    font-size: clamp(2rem, 11vw, 2.75rem);
  }

  .hc-ribbon {
    transform: none;
    margin-top: 18px;
  }

  .hc-about > div,
  .hc-about aside,
  .hc-booking,
  .hc-enroll,
  .hc-areas {
    padding: 22px;
  }

  .hc-booking form > div {
    grid-template-columns: 1fr;
  }
}
