:root {
  --cream: #f7f2e9;
  --ink: #020617;
  --muted: #334155;
  --soft-muted: #475569;
  --line: #e2e8f0;
  --orange: #ea580c;
  --orange-light: #fdba74;
  --sky: #075985;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

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

h1,
h2,
h3,
p,
dl,
dd {
  margin: 0;
}

h1,
h2,
h3 {
  font-weight: 900;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(2.25rem, 4vw, 3rem);
  line-height: 1.03;
}

h3 {
  font-size: 1.125rem;
  line-height: 1.25;
}

button,
input,
textarea {
  font: inherit;
}

.page-wrap {
  width: min(100%, 80rem);
  margin: 0 auto;
  padding-right: 1.25rem;
  padding-left: 1.25rem;
}

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(2, 6, 23, 0.25);
  color: var(--white);
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  width: min(100%, 80rem);
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 1.25rem;
}

.brand {
  font-size: 1.125rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.brand span {
  color: #fb923c;
}

.site-nav {
  display: none;
  align-items: center;
  gap: 1.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-nav a:hover {
  color: #fdba74;
}

.header-cta {
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 0.25rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.header-cta:hover {
  border-color: #fdba74;
  color: #fed7aa;
}

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 560px;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

.hero-image {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 6, 23, 0.85), rgba(2, 6, 23, 0.45), rgba(2, 6, 23, 0.1));
}

.hero-content {
  padding-top: 7rem;
  padding-bottom: 3rem;
}

.hero-copy {
  max-width: 48rem;
}

.hero-kicker,
.section-label {
  color: var(--orange);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero-kicker {
  margin-bottom: 1.25rem;
  color: #fdba74;
  letter-spacing: 0.28em;
}

.hero h1 {
  max-width: 48rem;
  font-size: clamp(3rem, 11vw, 6rem);
  line-height: 0.9;
  text-transform: uppercase;
}

.hero-subtitle {
  max-width: 36rem;
  margin-top: 1.75rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2.25rem;
}

.button-primary,
.button-link {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.button-primary {
  gap: 0.75rem;
  border-radius: 0.25rem;
  background: var(--orange);
  padding: 0.75rem 1.25rem;
}

.button-primary:hover,
.contact-form button:hover {
  background: #f97316;
}

.button-link {
  padding: 0.75rem 0.25rem;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.6);
  text-decoration-thickness: 2px;
  text-underline-offset: 8px;
}

.button-link:hover {
  text-decoration-color: var(--white);
}

.section {
  border-bottom: 1px solid var(--line);
}

.section-white {
  background: var(--white);
}

.section-cream {
  background: var(--cream);
}

.split,
.gear-layout,
.contact-layout {
  display: grid;
  gap: 2.5rem;
}

.split-intro {
  gap: 2rem;
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.split-location,
.gear-layout,
.contact-layout {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.section-label {
  margin-bottom: 0.75rem;
}

.section-copy {
  margin-top: 1.25rem;
  color: var(--soft-muted);
  font-size: 1.125rem;
  line-height: 1.75;
}

.section-heading {
  max-width: 48rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 600;
}

.feature-grid p {
  border-left: 2px solid var(--orange);
  padding-left: 0.75rem;
}

.placeholder-image {
  position: relative;
  min-height: 16rem;
  overflow: hidden;
  border-radius: 0.5rem;
  background: #020617;
}

.placeholder-image::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 28% 18%, rgba(255, 255, 255, 0.35), transparent 23%),
    linear-gradient(135deg, #0f4f7d 0%, #d97706 48%, #f5efe4 100%);
  opacity: 0.9;
}

.placeholder-image::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 45%;
  content: "";
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.85), transparent);
}

.placeholder-image p {
  position: absolute;
  z-index: 1;
  right: 1.25rem;
  bottom: 1.25rem;
  left: 1.25rem;
  color: #fed7aa;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-stack {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.training-grid {
  display: grid;
  gap: 1rem;
  margin-top: 3rem;
}

.training-card,
.gear-card {
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: var(--white);
}

.training-card {
  padding: 1.25rem;
}

.card-number {
  color: var(--orange);
  font-size: 0.875rem;
  font-weight: 900;
}

.training-card h3 {
  margin-top: 1.25rem;
}

.training-card p:last-child {
  margin-top: 0.75rem;
  color: var(--soft-muted);
  font-size: 0.875rem;
  line-height: 1.5;
}

.safety-section,
.contact-section {
  background: var(--ink);
  color: var(--white);
}

.safety-section {
  display: grid;
}

.safety-copy {
  padding: 4rem 1.25rem;
}

.safety-copy .section-copy,
.contact-section .section-copy {
  color: #cbd5e1;
}

.safety-list {
  display: grid;
  gap: 1rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.safety-list li {
  position: relative;
  padding-left: 1.25rem;
  color: #e2e8f0;
  font-size: 0.875rem;
  font-weight: 600;
}

.safety-list li::before {
  position: absolute;
  top: 0.42rem;
  left: 0;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: var(--orange);
  content: "";
}

.placeholder-tall {
  min-height: 32.5rem;
  border-radius: 0;
}

.placeholder-location {
  min-height: 26.25rem;
}

.location-copy {
  align-self: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2.25rem;
}

.stats-grid dt {
  color: var(--sky);
  font-size: 1.875rem;
  font-weight: 900;
}

.stats-grid dd {
  margin-top: 0.25rem;
  color: var(--soft-muted);
  font-size: 0.875rem;
  font-weight: 600;
}

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

.gear-card {
  padding: 1.25rem;
}

.gear-card div {
  height: 5rem;
  margin-bottom: 1.25rem;
  border-radius: 0.25rem;
  background: linear-gradient(135deg, #e2e8f0, #ffffff, #ffedd5);
}

.gear-card p {
  color: #0f172a;
  font-weight: 900;
}

.contact-details {
  display: grid;
  gap: 0.75rem;
  margin-top: 2rem;
  color: #cbd5e1;
}

.contact-details strong {
  color: var(--white);
}

.contact-form {
  display: grid;
  gap: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 1.25rem;
}

.form-row {
  display: grid;
  gap: 1rem;
}

.contact-form label {
  color: #e2e8f0;
  font-size: 0.875rem;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0.25rem;
  background: var(--white);
  color: var(--ink);
  padding: 0.75rem;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--orange);
}

.contact-form textarea {
  min-height: 9rem;
  resize: vertical;
}

.contact-form button {
  border: 0;
  border-radius: 0.25rem;
  background: var(--orange);
  color: var(--white);
  cursor: pointer;
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 1.25rem;
  color: #64748b;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

@media (min-width: 640px) {
  .page-wrap,
  .header-inner {
    padding-right: 2rem;
    padding-left: 2rem;
  }

  .hero-actions,
  .form-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-actions {
    display: flex;
    flex-direction: row;
  }

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

@media (min-width: 768px) {
  .site-nav {
    display: flex;
  }
}

@media (min-width: 1024px) {
  .hero {
    min-height: 52vh;
  }

  .hero-content {
    padding-top: 7rem;
    padding-bottom: 7rem;
  }

  .hero h1 {
    font-size: 6rem;
  }

  .split-intro {
    grid-template-columns: 1fr 1.3fr;
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  .section-stack,
  .split-location,
  .gear-layout,
  .contact-layout {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }

  .training-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .safety-section {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .safety-copy {
    width: min(100%, 40rem);
    margin-left: auto;
    padding: 6rem 4rem 6rem 2rem;
  }

  .split-location {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .gear-layout {
    grid-template-columns: 0.8fr 1.2fr;
  }

  .contact-layout {
    grid-template-columns: 0.85fr 1.15fr;
  }
}

@media (max-width: 420px) {
  .brand {
    font-size: 0.95rem;
  }

  .header-cta,
  .button-primary,
  .button-link,
  .contact-form button {
    letter-spacing: 0.08em;
  }

  .feature-grid,
  .stats-grid,
  .gear-grid {
    grid-template-columns: 1fr;
  }
}
