:root {
  color-scheme: light;
  --ink: #16243a;
  --muted: #63717a;
  --line: #d8e2e4;
  --paper: #f8f5ee;
  --foam: #eef8f7;
  --brand-blue: #1d2e70;
  --brand-orange: #cb5b3b;
  --brand-mist: #9ca5c2;
  --sea: #087f90;
  --sea-deep: #1d2e70;
  --sun: #cb5b3b;
  --coral: #e2765d;
  --white: #ffffff;
  --shadow: 0 22px 70px rgba(23, 32, 38, 0.18);
  --hero-image: url("assets/site/hero-kiteschool.jpg");
  --lesson-image: url("assets/site/course-start.jpg");
  --water-image: url("assets/site/course-water.jpg");
  --jump-image: url("assets/site/course-jump.jpg");
  --lagoon-image: url("assets/site/story-lagoon.jpg");
  --duotone-image: url("assets/site/product-duotone-evo.png");
  --core-image: url("assets/site/product-core-xr-pro.jpg");
  --flysurfer-image: url("assets/site/product-flysurfer-soul3.png");
  --camp-window-image: url("assets/camps/camp-kite-window.jpg");
  --camp-open-image: url("assets/camps/camp-open-water.jpg");
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 18px 32px;
  color: var(--white);
  background: linear-gradient(180deg, rgba(6, 18, 22, 0.72), rgba(6, 18, 22, 0));
}

.brand,
.main-nav,
.header-cta {
  display: inline-flex;
  align-items: center;
}

.brand {
  display: grid;
  gap: 2px;
  align-items: center;
  width: max-content;
  line-height: 1;
}

.brand-wordmark {
  color: var(--white);
  font-size: 25px;
  font-weight: 950;
  letter-spacing: 0;
}

.brand-wordmark span,
.hero-wordmark span {
  color: var(--brand-orange);
}

.brand small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.main-nav {
  justify-content: center;
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(7, 20, 25, 0.28);
  backdrop-filter: blur(16px);
}

.main-nav a {
  min-width: 92px;
  padding: 9px 14px;
  border-radius: 999px;
  text-align: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.88);
}

.main-nav a:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.header-cta {
  justify-self: end;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--white);
  color: var(--brand-blue);
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -2;
  background:
    linear-gradient(115deg, rgba(2, 20, 28, 0.1), rgba(2, 20, 28, 0.1)),
    var(--hero-image) center / cover,
    linear-gradient(135deg, #056b78, #f49b45);
  transform: scale(1.02);
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 18, 24, 0.88), rgba(5, 18, 24, 0.44) 48%, rgba(5, 18, 24, 0.12)),
    linear-gradient(0deg, rgba(23, 32, 38, 0.72), rgba(23, 32, 38, 0.1) 42%);
}

.hero-content {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 168px 0 52px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--sun);
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: 84px;
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-wordmark {
  max-width: none;
  margin-bottom: 12px;
  color: var(--white);
  font-size: 112px;
  font-weight: 950;
  line-height: 0.86;
  text-transform: uppercase;
}

.brand-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  max-width: 650px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
  font-weight: 800;
}

.brand-line span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
}

.brand-line span + span::before {
  content: "";
  width: 44px;
  height: 1px;
  margin-right: 10px;
  background: rgba(255, 255, 255, 0.34);
}

h2 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: 42px;
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.16;
}

.hero-lead {
  max-width: 680px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 22px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 56px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 900;
}

.button-primary {
  background: var(--sun);
  color: var(--white);
}

.button-primary:hover {
  background: #dc6747;
}

.button-light {
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  backdrop-filter: blur(18px);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 180px));
  gap: 16px;
  margin: 0;
}

.hero-facts div {
  padding: 18px 18px 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(18px);
}

.hero-facts dt {
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
}

.hero-facts dd {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.intro-band {
  width: min(1180px, calc(100% - 48px));
  margin: -32px auto 0;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  box-shadow: var(--shadow);
}

.intro-band a {
  min-height: 168px;
  padding: 28px;
  background: var(--white);
  border-right: 1px solid var(--line);
}

.intro-band a:first-child {
  border-radius: 8px 0 0 8px;
}

.intro-band a:last-child {
  border-right: 0;
  border-radius: 0 8px 8px 0;
}

.intro-band span,
.method-grid span {
  display: block;
  margin-bottom: 18px;
  color: var(--sea);
  font-weight: 900;
}

.intro-band strong {
  display: block;
  margin-bottom: 8px;
  font-size: 21px;
}

.intro-band em {
  display: block;
  color: var(--muted);
  font-style: normal;
}

.section {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 108px 0 0;
}

.section-split {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 58px;
  align-items: start;
}

.section-copy {
  position: sticky;
  top: 110px;
}

.section-copy p:not(.eyebrow),
.story-copy p,
.contact-section p {
  color: var(--muted);
  font-size: 18px;
}

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

.course-card,
.product-card,
.article-grid article,
.instructor-card {
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(23, 32, 38, 0.08);
}

.course-card.featured {
  grid-row: span 2;
}

.card-media,
.product-photo,
.story-media,
.video-card {
  background:
    linear-gradient(135deg, rgba(5, 127, 143, 0.42), rgba(244, 155, 69, 0.2)),
    var(--lesson-image) center / cover,
    linear-gradient(135deg, #057f8f, #f49b45);
}

.card-media {
  min-height: 210px;
}

.featured .card-media {
  min-height: 430px;
}

.course-zero {
  background-image:
    linear-gradient(135deg, rgba(5, 127, 143, 0.34), rgba(244, 155, 69, 0.2)),
    var(--water-image), linear-gradient(135deg, #057f8f, #f49b45);
}

.course-progress {
  background-image:
    linear-gradient(135deg, rgba(5, 127, 143, 0.34), rgba(244, 155, 69, 0.2)),
    var(--jump-image), linear-gradient(135deg, #057f8f, #f49b45);
}

.card-body {
  padding: 22px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 12px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--foam);
  color: var(--sea-deep);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.card-body p:not(.tag),
.product-card p:not(.tag),
.article-grid p:not(.tag) {
  color: var(--muted);
}

.card-body strong {
  display: block;
  margin-top: 18px;
  font-size: 20px;
}

.dark-section {
  width: 100%;
  margin-top: 110px;
  padding: 88px max(24px, calc((100vw - 1180px) / 2)) 96px;
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(29, 46, 112, 0.92), rgba(8, 68, 83, 0.94)),
    var(--lagoon-image) center / cover;
}

.section-heading {
  margin-bottom: 32px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.method-grid article {
  min-height: 248px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(18px);
}

.method-grid span {
  color: var(--sun);
}

.method-grid p {
  color: rgba(255, 255, 255, 0.76);
}

.shop-section {
  padding-top: 96px;
}

.inline-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.filter-controls {
  display: flex;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
}

.filter {
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 800;
}

.filter.is-active {
  background: var(--brand-blue);
  color: var(--white);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  padding: 16px;
  transition: opacity 160ms ease, transform 160ms ease;
}

.product-card.is-hidden {
  display: none;
}

.product-photo {
  min-height: 260px;
  margin-bottom: 18px;
  border-radius: 6px;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0) 38%),
    linear-gradient(135deg, rgba(8, 127, 144, 0.2), rgba(203, 91, 59, 0.12)),
    #f5faf9;
  background-position: center;
  background-repeat: no-repeat;
}

.product-duotone {
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0) 36%),
    var(--duotone-image),
    linear-gradient(135deg, #eef8f7, #f7efe8);
  background-size: auto, 112% auto, cover;
  background-position: center, center 45%, center;
}

.product-core {
  background-image:
    linear-gradient(90deg, rgba(22, 36, 58, 0.18), rgba(22, 36, 58, 0.02)),
    var(--core-image),
    linear-gradient(135deg, #eef8f7, #f7efe8);
  background-size: cover;
  background-position: center;
}

.product-flysurfer {
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0) 36%),
    var(--flysurfer-image),
    linear-gradient(135deg, #eef8f7, #f7efe8);
  background-size: auto, 118% auto, cover;
  background-position: center, center 44%, center;
}

.product-card h3,
.product-card p {
  padding: 0 8px;
}

.product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 8px 4px;
}

.product-bottom strong {
  font-size: 19px;
}

.product-bottom a,
.text-link {
  color: var(--sea-deep);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: rgba(5, 85, 99, 0.28);
  text-underline-offset: 5px;
}

.story-section {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 44px;
  align-items: center;
}

.story-media {
  min-height: 560px;
  border-radius: 8px;
  background-image:
    linear-gradient(180deg, rgba(5, 127, 143, 0.1), rgba(23, 32, 38, 0.24)),
    var(--lagoon-image), linear-gradient(135deg, #057f8f, #f49b45);
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--ink);
  font-weight: 700;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 14px;
  height: 10px;
  border-left: 3px solid var(--sea);
  border-bottom: 3px solid var(--sea);
  transform: rotate(-45deg);
}

.camps-section {
  padding-top: 104px;
}

.camps-grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr 1fr;
  gap: 18px;
  align-items: stretch;
}

.camp-summary,
.camp-card {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 18px 58px rgba(23, 32, 38, 0.1);
}

.camp-summary {
  display: grid;
  align-content: space-between;
  gap: 24px;
  padding: 30px;
  color: var(--white);
  background:
    linear-gradient(150deg, rgba(29, 46, 112, 0.98), rgba(8, 127, 144, 0.92)),
    var(--brand-blue);
}

.camp-summary h3,
.camp-summary p {
  margin: 0;
}

.camp-summary h3 {
  font-size: 28px;
  line-height: 1.02;
}

.camp-summary p:not(.tag),
.camp-summary li {
  color: rgba(255, 255, 255, 0.82);
}

.camp-summary ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
}

.camp-card {
  background: var(--white);
}

.camp-photo {
  aspect-ratio: 9 / 14;
  min-height: 0;
  background-color: #dfe7e8;
  background-position: center;
  background-size: cover;
}

.camp-photo-window {
  background-image:
    linear-gradient(180deg, rgba(5, 18, 24, 0.08), rgba(5, 18, 24, 0.22)),
    var(--camp-window-image);
  background-position: center 38%;
}

.camp-photo-open {
  background-image:
    linear-gradient(180deg, rgba(5, 18, 24, 0.06), rgba(5, 18, 24, 0.2)),
    var(--camp-open-image);
  background-position: center 38%;
}

.camp-body {
  display: grid;
  gap: 10px;
  padding: 22px;
}

.camp-body h3,
.camp-body p {
  margin: 0;
}

.camp-body p:not(.tag) {
  color: var(--muted);
}

.instructors-section {
  padding-top: 104px;
}

.section-note {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.instructors-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.92fr 0.92fr;
  gap: 18px;
}

.instructor-card {
  display: grid;
  grid-template-rows: auto 1fr;
}

.instructor-photo {
  width: 100%;
  height: 500px;
  display: block;
  background-color: #eef1f2;
  background-position: center 18%;
  background-size: cover;
}

.instructor-arseny {
  background-image: url("assets/instructors/arseny-katerina-site.jpg");
  background-position: center 22%;
}

.instructor-esenia {
  background-image: url("assets/instructors/esenia-site.jpg");
}

.instructor-dzhe {
  background-image: url("assets/instructors/dzhe-site.jpg");
}

.instructor-body {
  padding: 24px;
}

.instructor-body p:not(.tag) {
  color: var(--muted);
}

.instructor-body ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.instructor-body li {
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--foam);
  color: var(--sea-deep);
  font-size: 13px;
  font-weight: 900;
}

.journal-section {
  padding-top: 104px;
  padding-bottom: 112px;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.article-grid article {
  min-height: 260px;
  padding: 26px;
}

.article-grid .video-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: end;
  min-height: 360px;
  color: var(--white);
  overflow: hidden;
  background-image:
    linear-gradient(180deg, rgba(23, 32, 38, 0.08), rgba(23, 32, 38, 0.78)),
    url("assets/video/drone-test-poster.jpg"), linear-gradient(135deg, #057f8f, #f49b45);
}

.article-grid .video-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(12, 20, 28, 0.06), rgba(12, 20, 28, 0.82));
  pointer-events: none;
}

.journal-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 50%;
  background: #101820;
}

.article-grid .video-card .tag,
.article-grid .video-card h3,
.article-grid .video-card p,
.play-button {
  position: relative;
  z-index: 2;
}

.article-grid .video-card p:not(.tag) {
  color: rgba(255, 255, 255, 0.82);
}

.play-button {
  position: absolute;
  top: 26px;
  right: 26px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
}

.play-button::after {
  content: "";
  position: absolute;
  left: 21px;
  top: 16px;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid var(--sea-deep);
}

.contact-section {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 54px;
  padding: 82px max(24px, calc((100vw - 1180px) / 2));
  background: #eef7f6;
}

.contact-section h2 {
  margin-bottom: 18px;
}

.lead-form {
  display: grid;
  gap: 14px;
}

.lead-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 900;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  border: 1px solid #cbdadc;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  padding: 15px 16px;
  outline: none;
}

.lead-form input:focus,
.lead-form textarea:focus {
  border-color: var(--sea);
  box-shadow: 0 0 0 4px rgba(5, 127, 143, 0.12);
}

.lead-form textarea {
  min-height: 132px;
  resize: vertical;
}

.lead-form .button {
  width: max-content;
  margin-top: 4px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 30px max(24px, calc((100vw - 1180px) / 2));
  color: rgba(255, 255, 255, 0.72);
  background: var(--brand-blue);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

.footer-brand {
  display: grid;
  gap: 6px;
}

.footer-brand strong {
  color: var(--white);
  font-size: 28px;
  line-height: 1;
}

.footer-brand span {
  color: var(--brand-orange);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    display: none;
  }

  h1 {
    font-size: 64px;
  }

  .hero-wordmark {
    font-size: 76px;
  }

  h2 {
    font-size: 34px;
  }

  .intro-band,
  .section-split,
  .method-grid,
  .product-grid,
  .story-section,
  .camps-grid,
  .instructors-grid,
  .article-grid,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .intro-band {
    margin-top: -24px;
  }

  .intro-band a,
  .intro-band a:first-child,
  .intro-band a:last-child {
    border-radius: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .intro-band a:first-child {
    border-radius: 8px 8px 0 0;
  }

  .intro-band a:last-child {
    border-bottom: 0;
    border-radius: 0 0 8px 8px;
  }

  .section-copy {
    position: static;
  }

  .course-grid {
    grid-template-columns: 1fr;
  }

  .course-card.featured {
    grid-row: auto;
  }

  .featured .card-media {
    min-height: 280px;
  }

  .camp-photo {
    aspect-ratio: 4 / 5;
  }

  .inline-heading {
    align-items: start;
    flex-direction: column;
  }

  .filter-controls {
    width: 100%;
    overflow-x: auto;
  }

  .story-media {
    min-height: 380px;
  }

  .instructor-card {
    min-height: auto;
  }

  .instructor-photo {
    aspect-ratio: 4 / 5;
    height: auto;
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand {
    font-size: 18px;
  }

  .header-cta {
    min-height: 40px;
    padding: 0 14px;
    font-size: 14px;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-content {
    width: min(100% - 32px, 1180px);
    padding-bottom: 38px;
  }

  h1 {
    font-size: 48px;
  }

  .hero-wordmark {
    font-size: 43px;
  }

  .brand-wordmark {
    font-size: 19px;
  }

  .brand small {
    display: none;
  }

  .brand-line {
    font-size: 15px;
  }

  .brand-line span + span::before {
    width: 24px;
  }

  h2 {
    font-size: 29px;
  }

  .hero-lead {
    font-size: 18px;
  }

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

  .intro-band,
  .section {
    width: min(100% - 32px, 1180px);
  }

  .section {
    padding-top: 78px;
  }

  .dark-section {
    margin-top: 78px;
    padding-top: 68px;
    padding-bottom: 72px;
  }

  .contact-section {
    padding-top: 62px;
    padding-bottom: 68px;
  }

  .site-footer {
    display: grid;
  }

  .filter-controls {
    flex-wrap: wrap;
    border-radius: 8px;
    overflow: visible;
  }

  .filter {
    flex: 1 1 calc(50% - 8px);
  }
}
