:root {
  --navy: #071827;
  --blue: #0d3047;
  --water: #174d66;
  --red: #d63232;
  --yellow: #f1c84b;
  --cream: #f5f0df;
  --muted: #aebbc0;
  --line: #ffffff18;
  --max: 1160px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  background: var(--navy);
  color: var(--cream);
  font: 15px "DM Sans", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

.section {
  padding: 125px 0;
  position: relative;
  z-index: 1;
}

.section,
.heading,
.grid,
.contact-box,
footer,
nav {
  width: min(var(--max), calc(100% - 50px));
  margin: auto;
}

h1,
h2,
h3 {
  line-height: .95;
}

h2 {
  font-size: clamp(45px, 6vw, 75px);
  letter-spacing: -.06em;
}

h2 span {
  color: var(--red);
}

small.label {
  color: var(--yellow);
  font-size: 10px;
  letter-spacing: .2em;
  font-weight: 800;
}


/* =========================
   NAV
========================= */

header {
  position: fixed;
  z-index: 100;
  top: 0;
  width: 100%;
  background: #071827d9;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

nav {
  height: 75px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-weight: 900;
  letter-spacing: .08em;
}

.logo b {
  color: var(--red);
}

.links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 12px;
  font-weight: 700;
}

.links a:hover {
  color: var(--yellow);
}

#menu {
  display: none;
  background: none;
  border: 0;
  color: white;
  font-size: 24px;
}

/* =========================
   LOGIN / PROFILE
========================= */ 


.login-button,
.profile-button {
    margin-left: 0;
}

.login-button {
    padding: 9px 16px;
    border: 1px solid var(--yellow);
    border-radius: 999px;
    color: var(--yellow);
}

.login-button:hover {
    background: var(--yellow);
    color: var(--navy);
}

.profile-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
}

.profile-icon {
    font-size: 10px;
    color: var(--yellow);
}

/* =========================
   LEDEN DROPDOWN
========================= */

.nav-dropdown {
    position: relative;
}

.dropdown-button {
    background: none;
    border: none;
    color: white;
    font: inherit;
    cursor: pointer;
    padding: 0;
}

.dropdown-button:hover {
    color: var(--yellow);
}

.dropdown-button span {
    margin-left: 3px;
    font-size: 11px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);

    min-width: 170px;
    padding: 20px 0 8px;

    background: var(--navy);
    border: 1px solid var(--line);
    border-radius: 12px;

    box-shadow: 0 12px 30px #00000040;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity .2s ease,
        transform .2s ease;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(3px);
}

.nav-dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 15px;
}

.dropdown-menu a {
    display: block;
    padding: 11px 18px;
    white-space: nowrap;
}

.dropdown-menu a:hover {
    color: var(--yellow);
    background: #ffffff08;
}

/* =========================
   HERO
========================= */

.hero {
  height: 900px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(#092239, #123d53 60%, #0b344b);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 5;
  width: min(var(--max), calc(100% - 50px));
  margin: auto;
  padding-top: 180px;
}

.hero-content small {
  color: var(--yellow);
  letter-spacing: .2em;
  font-size: 10px;
  font-weight: 800;
}

.hero h1 {
  font-size: clamp(80px, 12vw, 155px);
  letter-spacing: -.08em;
  margin: 20px 0;
}

.hero h1 em {
  font-style: normal;
  color: var(--red);
}

.hero-content p {
  color: #ccd3d2;
  max-width: 430px;
  font-size: 17px;
  margin-bottom: 30px;
}

.btn {
  display: inline-flex;
  gap: 20px;
  background: var(--red);
  padding: 14px 20px;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 8px 7px 0 #f1c84b;
  transition: .2s;
}

.btn:hover {
  transform: translate(3px, 3px);
  box-shadow: 4px 4px 0 #f1c84b;
}

.sun {
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: var(--yellow);
  right: 16%;
  top: 170px;
  box-shadow: 0 0 80px #f1c84b55;
}

.mountains {
  position: absolute;
  bottom: 170px;
  width: 100%;
  height: 330px;
  background: #12374b;
  clip-path: polygon(
    0 75%,
    12% 50%,
    22% 70%,
    34% 32%,
    47% 65%,
    58% 25%,
    72% 65%,
    83% 40%,
    100% 65%,
    100% 100%,
    0 100%
  );
}

.water {
  position: absolute;
  bottom: -80px;
  left: -5%;
  width: 110%;
  height: 270px;
  border-radius: 50% 50% 0 0;
  background: var(--water);
  transform: rotate(-2deg);
}

.water:before,
.water:after {
  content: "";
  position: absolute;
  height: 3px;
  background: #f1c84b66;
  border-radius: 50%;
  width: 30%;
  top: 80px;
  left: 15%;
  box-shadow:
    320px 40px 0 #f1c84b44,
    -120px 80px 0 #ffffff18;
}


/* =========================
   BRUSH STROKES
========================= */

.brush {
  position: absolute;
  z-index: 3;
  pointer-events: none;
  user-select: none;
  height: auto;
}

.brush-red {
  width: 520px;
  right: -80px;
  top: 450px;
  transform: rotate(-7deg);
}

.brush-yellow {
  width: 430px;
  left: -100px;
  bottom: 270px;
  transform: rotate(5deg);
}


/* =========================
   ABOUT
========================= */

.about {
  background: var(--navy);
  position: relative;
  z-index: 1;
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
}

.copy {
  max-width: 550px;
  padding-top: 12px;
}

.copy p {
  color: var(--muted);
  margin-bottom: 22px;
}

.copy .lead {
  color: var(--cream);
  font-size: 20px;
}

.copy:after {
  content: "";
  display: block;
  width: 180px;
  height: 12px;
  background: var(--yellow);
  margin-top: 35px;
  transform: rotate(-3deg);
  border-radius: 50% 10% 50% 10%;
}


/* =========================
   PAINT BREAK
========================= */

.paint-break {
  position: relative;
  height: 150px;
  margin-top: -1px;
  margin-bottom: -1px;
  overflow: visible;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
}

.paint-break span {
  position: relative;
  z-index: 52;
  font-weight: 900;
  letter-spacing: .2em;
  color: var(--cream);
  font-size: 12px;
}

.brush-break-red {
  position: absolute;
  width: 650px;
  height: auto;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  opacity: .9;
  z-index: 51;
  pointer-events: none;
}

/* =========================
   LANDSCAPE
========================= */

.landscape {
  height: 650px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(#174b62, #2c6070);
  z-index: 1;
}

.land {
  position: absolute;
  bottom: 130px;
  width: 100%;
  height: 280px;
  background: #173f43;
  clip-path: polygon(
    0 70%,
    15% 48%,
    28% 62%,
    42% 30%,
    58% 62%,
    74% 38%,
    90% 65%,
    100% 50%,
    100% 100%,
    0 100%
  );
}

.land-water {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 190px;
  background: #174f63;
}

.land-water:before {
  content: "";
  position: absolute;
  top: 55px;
  width: 100%;
  height: 2px;
  background: #f1c84b55;
  box-shadow:
    0 45px #ffffff15,
    0 90px #f1c84b33;
}

.land-text {
  position: absolute;
  z-index: 5;
  top: 110px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

.land-text small {
  color: var(--yellow);
  font-weight: 800;
  letter-spacing: .2em;
  font-size: 10px;
}

.land-text h2 {
  font-size: clamp(45px, 6vw, 70px);
  margin-top: 15px;
}

.land-text i {
  color: var(--yellow);
  font-family: Pacifico;
  font-style: normal;
  font-weight: 400;
}

.cloud {
  position: absolute;
  background: #ffffff10;
  width: 280px;
  height: 70px;
  border-radius: 50%;
  filter: blur(7px);
}

.c1 {
  top: 80px;
  left: 8%;
}

.c2 {
  top: 160px;
  right: 8%;
}

.brush-landscape-yellow {
  width: 380px;
  left: -130px;
  top: 80px;
  transform: rotate(-12deg);
  opacity: .65;
  z-index: 2;
}


/* =========================
   ACTIVITIES
========================= */

.training {
  background: var(--navy);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.activities {
  border-top: 1px solid var(--line);
  position: relative;
  z-index: 1;
}

.activities article {
  display: grid;
  grid-template-columns: 80px 1fr 40px;
  align-items: center;
  gap: 25px;
  padding: 27px 0;
  border-bottom: 1px solid var(--line);
  transition: .2s;
}

.activities article:hover {
  padding-left: 12px;
  background: #ffffff04;
}

.activities article > b {
  font-size: 28px;
  color: var(--red);
}

.activities article small {
  color: var(--yellow);
  font-size: 9px;
  letter-spacing: .18em;
  font-weight: 800;
}

.activities h3 {
  font-size: 25px;
  margin: 3px 0;
}

.activities p {
  color: var(--muted);
  font-size: 13px;
}

.activities article > span {
  color: var(--yellow);
  font-size: 22px;
}

.brush-training-red {
  width: 470px;
  right: -150px;
  bottom: 100px;
  transform: rotate(-10deg);
  opacity: .7;
  z-index: 0;
}

.training > *:not(.brush) {
  position: relative;
  z-index: 1;
}

/* =========================
   WEBBOB
========================= */

.webbob {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.webbob-coming {
  position: relative;
  margin: 10px 0 50px;
  padding: 55px 40px;
  border: 1px solid var(--line);
  text-align: center;
  overflow: hidden;
}

.webbob-coming:before {
  content: "";
  position: absolute;
  width: 500px;
  height: 80px;
  background: var(--red);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-5deg);
  opacity: .85;
  z-index: 0;
}

.coming-title {
  position: relative;
  z-index: 1;
  font-size: clamp(35px, 6vw, 65px);
  font-weight: 900;
  letter-spacing: .04em;
}

.webbob-coming p {
  position: relative;
  z-index: 1;
  margin-top: 12px;
  color: var(--cream);
}


/* =========================
   WEBBOB ITEMS
========================= */

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

.webbob-card {
  border: 1px solid var(--line);
  background: #ffffff04;
  overflow: hidden;
  position: relative;
  transition: .2s;
}

.webbob-card:hover {
  transform: translateY(-5px) rotate(-1deg);
  background: #ffffff08;
}


/* =========================
   WEBBOB IMAGES
========================= */

.webbob-card-image {
  width: 100%;
  height: 220px;
  object-fit: contain;
  display: block;
}

/* =========================
   QUOTE
========================= */

.quote {
  height: 580px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: #0b2a40;
}

.quote:before {
  content: "";
  position: absolute;
  width: 700px;
  height: 110px;
  background: var(--red);
  transform: rotate(-7deg);
  opacity: .9;
  box-shadow:
    0 70px #f1c84b,
    0 140px #164966;
}

.quote p,
.quote h2 {
  position: relative;
  z-index: 2;
}

.quote p {
  font-size: 10px;
  letter-spacing: .25em;
  font-weight: 800;
}

.quote h2 {
  font-size: clamp(55px, 8vw, 100px);
  margin-top: 20px;
}

.quote h2 span {
  color: var(--cream);
  font-family: Pacifico;
  font-weight: 400;
}


/* =========================
   CONTACT
========================= */

.contact {
  background: var(--blue);
}

.contact-box {
  padding: 75px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.contact-box:after {
  content: "";
  position: absolute;
  width: 300px;
  height: 25px;
  background: var(--yellow);
  right: -80px;
  top: 80px;
  transform: rotate(-8deg);
}

.contact-box p {
  color: var(--muted);
  max-width: 400px;
  margin-bottom: 25px;
}


/* =========================
   FOOTER
========================= */

footer {
  width: 100%;
  max-width: none;
  padding: 40px max(25px, calc((100% - 1160px) / 2));
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #040c14;
  color: #71818b;
  font-size: 11px;
}

footer strong {
  color: var(--red);
  font-size: 18px;
  letter-spacing: .1em;
}

footer span {
  color: #4c5c66;
}


/* =========================
   INTRO LOGO
========================= */

body.intro-active {
  overflow: hidden;
}

.logo-intro {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  animation: introFade 2.5s ease forwards;
  pointer-events: none;
}

.logo-intro img {
  width: min(70vw, 900px);
  max-width: 85vw;
  max-height: 80vh;
  height: auto;
  object-fit: contain;
  animation: logoPop 1.4s cubic-bezier(.2, .8, .2, 1) forwards;
}

@keyframes logoPop {
  0% {
    opacity: 0;
    transform: scale(.65) rotate(-4deg);
  }

  60% {
    opacity: 1;
    transform: scale(1.05) rotate(1deg);
  }

  100% {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}

@keyframes introFade {
  0%,
  70% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    visibility: hidden;
  }
}


/* =========================
   MOBILE
========================= */

@media (max-width: 800px) {

  .links {
    display: none;
  }

  .links.open {
    display: flex;
    position: absolute;
    top: 75px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--navy);
  }

  .links.open a {
    padding: 16px 25px;
    border-bottom: 1px solid var(--line);
    }

    .links.open .nav-dropdown {
    border-bottom: 1px solid var(--line);
    }

    .links.open .dropdown-button {
    width: 100%;
    text-align: left;
    padding: 16px 25px;
    }

    .links.open .dropdown-menu {
    position: static;
    transform: none;

    width: 100%;
    min-width: 0;

    border: 0;
    border-radius: 0;
    box-shadow: none;

    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    display: none;
    }

    .links.open .nav-dropdown:hover .dropdown-menu {
    transform: none;
    }

    .links.open .nav-dropdown:hover .dropdown-menu {
    display: block;
    }

    .links.open .dropdown-menu a {
    padding: 13px 45px;
    background: #ffffff05;
    }

  #menu {
    display: block;
  }

  .grid,
  .contact-box {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .heading {
    display: block;
  }

  .heading > p {
    margin-top: 20px;
  }

  .crew-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    height: 780px;
  }

  .hero-content {
    padding-top: 130px;
  }

  .hero-caption {
    display: none;
  }

  .contact-box {
    padding: 45px 30px;
  }

  footer {
    flex-wrap: wrap;
    gap: 20px;
  }

  .brush-break-red {
    width: 520px;
  }

  .brush-crew-yellow {
    width: 330px;
    right: -130px;
  }

  .brush-training-red {
    width: 350px;
    right: -130px;
  }

  .brush-landscape-yellow {
    width: 300px;
    left: -120px;
  }
}

@media (max-width: 520px) {

  .section {
    padding: 90px 0;
  }

  .section,
  .heading,
  .grid,
  .contact-box {
    width: calc(100% - 32px);
  }

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

  .photo {
    height: 400px;
  }

  .hero h1 {
    font-size: 82px;
  }

  .hero-content p {
    font-size: 15px;
  }

  .sun {
    right: 5%;
    width: 110px;
    height: 110px;
  }

  .brush-red {
    top: 500px;
    width: 400px;
    right: -120px;
  }

  .brush-yellow {
    width: 330px;
    left: -120px;
    bottom: 230px;
  }

  .paint-break {
    height: 130px;
  }

  .brush-break-red {
    width: 470px;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-12deg);
  }

  .activities article {
    grid-template-columns: 50px 1fr 25px;
  }

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

  .webbob-card-image {
    height: 250px;
    object-fit: contain;
  }

  .webbob-coming {
    padding: 45px 25px;
  }

  .quote:before {
    width: 500px;
  }
}


/* =========================
   DEV LOGIN MENU
========================= */

#devLoginMenu {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9999;

  display: flex;
  flex-direction: column;
  gap: 10px;

  padding: 16px 18px;

  background: var(--navy);
  border: 1px solid var(--line);
  border-radius: 12px;

  box-shadow: 0 10px 35px #00000055;

  font-size: 13px;

  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);

  transition:
    opacity .2s ease,
    transform .2s ease;
}

#devLoginMenu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#devLoginMenu strong {
  color: var(--yellow);
  font-size: 11px;
  letter-spacing: .1em;
}

#devLoginMenu label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}