:root {
  color-scheme: light;
  --ink: #172b23;
  --muted: #46584d;
  --brand: #0b432e;
  --cream: #faf8f1;
  --paper: #fffef8;
  --sand: #e9dec2;
  --line: #dcded0;
  --forest: #132d24;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Avenir Next", Avenir, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 1rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

a:focus-visible {
  outline: 2px solid #ac711f;
  outline-offset: 5px;
}

h1, h2, h3, h4, p { margin: 0; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.08;
}

h2 {
  font-size: clamp(2.4rem, 4vw, 3.65rem);
  letter-spacing: -.047em;
}

address { font-style: normal; }

.wrap { width: min(100% - 5rem, 73rem); margin-inline: auto; }

.section { padding-block: clamp(3.75rem, 7vw, 6.5rem); }

section[id] { scroll-margin-top: 1.5rem; }

.skip {
  z-index: 5;
  position: absolute;
  top: .5rem;
  left: .5rem;
  padding: .7rem 1rem;
  background: var(--paper);
  transform: translateY(calc(-100% - 1rem));
}

.skip:focus { transform: none; }

.header {
  background: var(--cream);
  border-bottom: 1px solid rgba(19, 45, 36, .1);
}

.header-inner, .footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
}

.header-inner { min-height: 5.15rem; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  color: var(--brand);
  font: 700 1.08rem/1.15 var(--serif);
  letter-spacing: .035em;
  text-decoration: none;
  white-space: nowrap;
}

.brand img { width: 2.95rem; height: 2.95rem; object-fit: contain; }

.brand small {
  font: 600 .7rem/1 var(--sans);
  letter-spacing: .02em;
  vertical-align: .12em;
}

nav { display: flex; align-items: center; gap: clamp(1rem, 2.9vw, 2.6rem); }

nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--ink);
  font-size: .94rem;
  font-weight: 600;
  text-underline-offset: .25em;
  text-decoration: none;
  white-space: nowrap;
}

nav a:hover { text-decoration: underline; }

nav .nav-contact {
  border: 1px solid #a6afa3;
  border-radius: 3px;
  padding-inline: 1.15rem;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

nav .nav-contact:hover {
  background: var(--forest);
  color: var(--paper);
  border-color: var(--forest);
  text-decoration: none;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(28rem, 38vw, 36rem);
  background: var(--forest);
  color: var(--paper);
}

.hero-scene, .hero-scene::after {
  position: absolute;
  z-index: -1;
  inset: 0;
}

.hero-scene img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 54%; }

.hero-scene::after {
  z-index: 0;
  content: "";
  background:
    linear-gradient(90deg, rgb(10 28 23 / .91), rgb(10 28 23 / .67) 40%, rgb(10 28 23 / .12)),
    linear-gradient(0deg, rgb(10 28 23 / .32), transparent 60%);
}

.hero-inner {
  padding-block: clamp(3.4rem, 6.5vw, 5.5rem);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin-bottom: 1.15rem;
  color: #f3e9d1;
  font-size: .83rem;
  font-weight: 650;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.eyebrow span { width: 1.65rem; border-top: 1px solid currentColor; }

.hero h1 {
  font-size: clamp(3.15rem, 6.3vw, 6.4rem);
  letter-spacing: -.063em;
  line-height: .99;
}

.hero h1 em { color: #efdfb7; font-size: .9em; font-weight: 400; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: .65rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.45;
  text-decoration: none;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.button-light { background: var(--sand); color: #172a22; }

.button-light:hover { background: var(--paper); border-color: var(--paper); }

.hero .button { margin-top: 1.65rem; }

.section-intro { margin-bottom: clamp(1.55rem, 3vw, 2.4rem); }

.offer-jumps {
  flex-wrap: wrap;
  gap: .25rem 1.4rem;
  margin-top: .65rem;
}

.offer-jumps a {
  color: var(--brand);
  text-decoration: underline;
  text-decoration-color: #9fac9d;
}

.offer-jumps a:hover { text-decoration-color: currentColor; }

.offer-group + .offer-group { margin-top: clamp(2.8rem, 6vw, 5rem); }

.offer-group-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: clamp(1rem, 2.4vw, 1.55rem);
  color: var(--brand);
  font-size: clamp(1.65rem, 3vw, 2.3rem);
  letter-spacing: -.035em;
}

.offer-group-title::after {
  content: "";
  flex: 1;
  border-top: 1px solid var(--line);
}

.offer-grid {
  --offer-gap: clamp(1rem, 2.4vw, 1.75rem);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--offer-gap);
}

.offer {
  flex: 0 0 calc((100% - var(--offer-gap)) / 2);
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 5px;
}

.offer-media {
  position: relative;
  aspect-ratio: 2;
  overflow: hidden;
  background: #1a2520;
}

.offer-photo { display: block; width: 100%; height: 100%; object-fit: cover; }

.comparison-photo, .plans-photo { object-fit: contain; }

.plans-media { background: #dbdbcb; }

.logo-media {
  padding: 1rem clamp(.9rem, 3vw, 2rem);
  background: #fff;
}

.logo-media .offer-photo { object-fit: contain; }

.academy-logo-media {
  padding-block: .75rem;
  background: #f3f0ed;
}

.revier-photo { object-position: 50% 56%; }

.video-labels {
  position: absolute;
  top: .45rem;
  left: .5rem;
  right: .5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-items: start;
  gap: .5rem;
  pointer-events: none;
}

.video-labels span {
  padding: .12rem .45rem;
  border-radius: 2px;
  background: rgb(10 23 18 / .83);
  color: #fff;
  font-size: .8125rem;
  line-height: 1.4;
}

.offer-content {
  display: flex;
  align-items: flex-start;
  flex: 1;
  flex-direction: column;
  padding: 1.4rem clamp(1.15rem, 2.3vw, 1.75rem) 1.45rem;
}

.category {
  margin-bottom: .5rem;
  color: var(--brand);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .105em;
  text-transform: uppercase;
}

.offer h4 {
  margin-bottom: .68rem;
  font-size: clamp(1.45rem, 2.45vw, 2.03rem);
  letter-spacing: -.04em;
  overflow-wrap: anywhere;
}

.offer-wordmark img { width: min(100%, 11.75rem); height: auto; }

.offer p:not(.category), .about-copy p { color: var(--muted); }

.offer-links {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  align-items: baseline;
  gap: .45rem 1rem;
  width: 100%;
  margin-top: auto;
  padding-top: 1.2rem;
}

.offer-links a, .text-link, .register {
  color: var(--brand);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: .24em;
}

.offer-links a:hover, .text-link:hover, .register:hover { text-decoration-thickness: 2px; }

.offer-links .secondary-link { color: var(--muted); font-weight: 500; }

.training-media {
  background: radial-gradient(ellipse at 50% 40%, #294137, #12271f 76%);
  color: #f3e9d1;
}

.training-media video { object-fit: contain; }

.training-media button, .film-dialog button {
  min-height: 2.75rem;
  padding-inline: .7rem;
  border: 1px solid currentColor;
  border-radius: 3px;
  background: transparent;
  color: inherit;
  font: 650 .875rem/1.25 var(--sans);
  cursor: pointer;
}

.training-media button {
  position: absolute;
  z-index: 1;
  inset: .55rem .55rem auto auto;
  background: rgb(10 23 18 / .86);
}

.training-media button:hover { background: #294137; }

.training-media :focus-visible {
  outline: 2px solid #efdfb7;
  outline-offset: -4px;
}

.film-dialog {
  width: min(54rem, calc(100% - 1.5rem));
  max-height: calc(100% - 1.5rem);
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 5px;
}

.film-dialog::backdrop { background: rgb(10 23 18 / .78); }

.film-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .7rem 1rem;
  padding: .75rem 1.15rem;
}

.film-dialog h3 { font-size: clamp(1.2rem, 4vw, 1.8rem); }

.film-dialog button:hover { background: #edf0e5; }

.film-dialog button:focus-visible { outline: 2px solid #ac711f; outline-offset: 2px; }

.film-dialog video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 68vh;
  object-fit: contain;
  background: #080e0c;
}

.about { border-top: 1px solid var(--line); background: #f0f1e8; }

.about-inner {
  display: grid;
  grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr);
  align-items: start;
  gap: clamp(1rem, 6vw, 5rem);
}

.about-copy p + p { margin-top: 1rem; }

.contact { background: var(--forest); color: var(--paper); }

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(0, .9fr);
  align-items: center;
  gap: clamp(2rem, 8vw, 8rem);
}

.contact p { margin: .9rem 0 1.15rem; color: #e2e9de; }

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}

.company { border-left: 1px solid #688076; padding-left: clamp(1.2rem, 4vw, 2.65rem); }

.company h3 {
  margin-bottom: .75rem;
  color: #ebdfbc;
  font: 700 .82rem/1.4 var(--sans);
  letter-spacing: .13em;
  text-transform: uppercase;
}

.company .register { display: inline-block; margin-top: .6rem; color: #efe3c4; font-size: .93rem; }

.register span { white-space: nowrap; }

.footer { background: #0e261e; color: #dee6da; }

.footer-inner { min-height: 4.25rem; }

.footer small, .footer a { font-size: .875rem; }

.footer a { text-underline-offset: .22em; }

.privacy { max-width: 49rem; }

.privacy h1 { font-size: clamp(2.65rem, 6vw, 4.2rem); letter-spacing: -.055em; }

.privacy h2 { margin: 2rem 0 .65rem; font-size: 1.6rem; letter-spacing: -.025em; }

@media (min-width: 721px) {
  .offer-links { min-height: 4.8rem; }
}

@media (max-width: 900px) {
  .offer-grid { --offer-gap: .9rem; }
  .offer-content { padding-inline: 1rem; }
}

@media (max-width: 720px) {
  .wrap { width: calc(100% - 2.5rem); }
  .offer-grid { --offer-gap: 1.05rem; }
  .offer { flex-basis: 100%; }
  .offer-content { padding: 1.3rem 1.25rem 1.4rem; }
  .offer h4 { font-size: 2rem; }
  .about-inner, .contact-inner { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .hero-scene img { object-position: 50% 60%; }
  .hero-scene::after { background: linear-gradient(90deg, rgb(10 28 23 / .86), rgb(10 28 23 / .5)); }
  .hero h1 { font-size: clamp(2.8rem, 9.2vw, 4.6rem); }
}

@media (max-width: 480px) {
  .header-inner { flex-wrap: wrap; gap: .25rem; padding-block: .65rem .55rem; }
  .brand img { width: 2.5rem; height: 2.5rem; }
  nav { width: 100%; gap: 1.5rem; }
  nav .nav-contact { margin-left: auto; padding-inline: .85rem; }
  .hero .button { margin-top: 1.3rem; }
}

@media (max-width: 348px) {
  .wrap { width: calc(100% - 2rem); }
  nav { gap: .95rem; }
  .hero h1 { font-size: 2.55rem; }
  .footer-inner { flex-wrap: wrap; gap: .3rem 1rem; padding-block: .65rem; }
}

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