:root {
  --dark: #073b3a;
  --dark-2: #0b514d;
  --cream: #f5f0e6;
  --white: #fff;
  --orange: #f36f3d;
  --yellow: #f4c95d;
  --text: #183f3d;
  --muted: #6e8581;
  --max: 1240px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", sans-serif;
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
  border: 0;
  cursor: pointer;
}

/* ================= HEADER ================= */

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 22px 5%;
  transition: .4s ease;
}

header.scrolled {
  background: rgba(7, 59, 58, .94);
  backdrop-filter: blur(14px);
  padding: 14px 5%;
  box-shadow: 0 8px 30px rgba(0,0,0,.12);
}

.nav {
  max-width: var(--max);
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
}

.logo {
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -1px;
}

.logo span {
  color: var(--yellow);
}

.nav-links {
  display: flex;
  gap: 34px;
  align-items: center;
  list-style: none;
  font-size: 14px;
  font-weight: 600;
}

.nav-links a {
  position: relative;
  padding: 8px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--yellow);
  transition: .3s;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-button {
  background: var(--orange);
  padding: 12px 20px;
  border-radius: 40px;
  color: white;
  transition: .3s;
}

.nav-button:hover {
  transform: translateY(-2px);
  background: #ff8354;
}

.menu {
  display: none;
  background: transparent;
  color: white;
  font-size: 28px;
}

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

.hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  background:
    linear-gradient(
      90deg,
      rgba(3, 48, 47, .92) 0%,
      rgba(3, 48, 47, .65) 43%,
      rgba(3, 48, 47, .1) 100%
    ),
    url("https://images.unsplash.com/photo-1500534623283-312aade485b7?auto=format&fit=crop&w=2000&q=85")
    center/cover;
}

.hero-content {
  width: min(var(--max), 90%);
  margin: auto;
  color: white;
  padding-top: 80px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--yellow);
}

.hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(52px, 8vw, 105px);
  line-height: .92;
  max-width: 800px;
  letter-spacing: -5px;
}

.hero p {
  max-width: 530px;
  font-size: 19px;
  line-height: 1.65;
  margin: 30px 0;
  color: rgba(255,255,255,.86);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 15px 27px;
  border-radius: 40px;
  font-weight: 700;
  transition: .3s;
}

.btn-primary {
  background: var(--orange);
  color: white;
}

.btn-secondary {
  border: 1px solid rgba(255,255,255,.5);
  color: white;
}

.btn:hover {
  transform: translateY(-4px);
}

/* floating circle */

.hero-circle {
  position: absolute;
  width: 240px;
  height: 240px;
  right: 8%;
  bottom: 12%;
  border-radius: 50%;
  background: rgba(244,201,93,.9);
  display: grid;
  place-items: center;
  color: var(--dark);
  text-align: center;
  padding: 40px;
  font-weight: 800;
  animation: float 5s ease-in-out infinite;
}

@keyframes float {
  0%,100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-18px) rotate(4deg); }
}

/* ================= MARQUEE ================= */

.marquee {
  background: var(--orange);
  color: white;
  overflow: hidden;
  white-space: nowrap;
  padding: 15px 0;
}

.marquee-track {
  display: inline-flex;
  gap: 45px;
  animation: marquee 20s linear infinite;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

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

.section {
  padding: 120px 5%;
}

.container {
  max-width: var(--max);
  margin: auto;
}

.intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: center;
}

.section-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(45px, 6vw, 75px);
  line-height: 1;
  color: var(--dark);
  letter-spacing: -3px;
}

.intro-text {
  font-size: 19px;
  line-height: 1.8;
  color: #526c68;
}

.letter {
  margin-top: 60px;
  font-size: 18px;
  line-height: 1.9;
  color: #526c68;
}

.letter p {
  margin-bottom: 22px;
}

.letter .signature {
  font-family: "Playfair Display", serif;
  font-size: 24px;
  color: var(--dark);
  font-weight: 600;
  line-height: 1.4;
  margin-top: 8px;
}

/* ================= FOUNDER ================= */
.founder {
  background: var(--dark);
  color: white;
}

.founder-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 700px;
}

.founder-image {
  background:
    linear-gradient(rgba(0,0,0,.1),rgba(0,0,0,.15)),
    url("https://images.unsplash.com/photo-1517841905240-472988babdf9?auto=format&fit=crop&w=1200&q=85")
    center/cover;
  min-height: 600px;
}

.founder-copy {
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding: 80px;
}

.founder-copy .section-title {
  color: white;
  margin-bottom: 28px;
}

.founder-copy p {
  line-height: 1.8;
  color: rgba(255,255,255,.75);
  font-size: 17px;
  max-width: 550px;
}

/* ================= VIDEO ================= */

.video-section {
  padding: 100px 5%;
  background: #e9e2d5;
}

.video-box {
  max-width: var(--max);
  height: 650px;
  margin: auto;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  background:
    linear-gradient(rgba(0,0,0,.18),rgba(0,0,0,.45)),
    url("https://images.unsplash.com/photo-1544551763-46a013bb70d5?auto=format&fit=crop&w=1800&q=85")
    center/cover;
}

.play {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: white;
  color: var(--dark);
  display: grid;
  place-items: center;
  font-size: 30px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  transition: .3s;
}

.play:hover {
  transform: translate(-50%,-50%) scale(1.12);
}

/* ================= FEATURES ================= */

.features {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
  margin-top: 65px;
}

.feature {
  background: white;
  border-radius: 20px;
  padding: 38px;
  transition: .4s;
}

.feature:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0,0,0,.08);
}

.feature-number {
  font-size: 13px;
  font-weight: 800;
  color: var(--orange);
  margin-bottom: 30px;
}

.feature h3 {
  font-family: "Playfair Display", serif;
  font-size: 31px;
  margin-bottom: 16px;
  color: var(--dark);
}

.feature p {
  color: var(--muted);
  line-height: 1.7;
}

/* ================= PROCESS ================= */

.process {
  background: #fff;
}

.process-intro {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  margin-bottom: 70px;
}

.process-intro p {
  max-width: 450px;
  color: var(--muted);
  line-height: 1.7;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  border-top: 1px solid #d8ddd8;
}

.step {
  padding: 35px 25px;
  border-right: 1px solid #d8ddd8;
}

.step:last-child {
  border-right: 0;
}

.step span {
  display: block;
  font-size: 50px;
  font-family: "Playfair Display", serif;
  color: var(--orange);
  margin-bottom: 35px;
}

.step h3 {
  font-size: 21px;
  margin-bottom: 15px;
}

.step p {
  color: var(--muted);
  line-height: 1.65;
  font-size: 15px;
}

/* ================= BOOMERANG ================= */

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

.boomerang-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.boomerang-image img {
  border-radius: 24px;
  box-shadow: 0 30px 60px rgba(7,59,58,.18);
}

.boomerang-title {
  font-size: clamp(34px, 4vw, 52px);
  letter-spacing: -2px;
  margin-bottom: 28px;
}

.boomerang-lead {
  font-size: 18px;
  line-height: 1.8;
  color: #526c68;
  margin-bottom: 40px;
}

.boomerang-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 28px;
  border-top: 1px solid #d8ddd8;
  padding-top: 8px;
}

.boomerang-steps li {
  padding-top: 18px;
  border-bottom: 1px solid #e3e8e3;
  padding-bottom: 18px;
}

.boomerang-steps li span {
  display: block;
  font-weight: 700;
  font-size: 19px;
  color: var(--dark);
  margin-bottom: 8px;
}

.boomerang-steps li p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 15.5px;
}

/* ================= BUSINESS ================= */

.business {
  background: var(--yellow);
}

.business-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.business-image {
  height: 600px;
  border-radius: 20px;
  background:
    url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1300&q=85")
    center/cover;
}

.business-copy p {
  color: #536a61;
  line-height: 1.8;
  font-size: 18px;
  margin: 28px 0;
  max-width: 550px;
}

/* ================= CTA ================= */

.cta {
  background:
    linear-gradient(rgba(7,59,58,.9),rgba(7,59,58,.9)),
    url("https://images.unsplash.com/photo-1469474968028-56623f02e42e?auto=format&fit=crop&w=1800&q=85")
    center/cover;
  text-align: center;
  color: white;
  padding: 150px 5%;
}

.cta h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(48px,7vw,85px);
  max-width: 850px;
  margin: auto;
  line-height: 1;
  letter-spacing: -3px;
}

.cta p {
  max-width: 570px;
  margin: 28px auto;
  color: rgba(255,255,255,.75);
  line-height: 1.7;
}

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

footer {
  background: #042f2e;
  color: white;
  padding: 80px 5% 35px;
}

.footer-grid {
  max-width: var(--max);
  margin: auto;
  display: grid;
  grid-template-columns: 2fr repeat(3,1fr);
  gap: 60px;
}

footer h4 {
  margin-bottom: 20px;
  color: var(--yellow);
}

footer ul {
  list-style: none;
}

footer li {
  margin-bottom: 12px;
  color: rgba(255,255,255,.65);
  font-size: 14px;
}

.footer-brand {
  font-size: 35px;
  font-weight: 800;
}

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

.copyright {
  max-width: var(--max);
  margin: 70px auto 0;
  padding-top: 25px;
  border-top: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.45);
  font-size: 13px;
}

/* ================= LEGAL ================= */

.legal-page header {
  background: var(--dark);
  box-shadow: 0 8px 30px rgba(0,0,0,.12);
}

.legal {
  background: var(--cream);
  padding: 180px 5% 120px;
}

.legal-title {
  margin: 20px 0 10px;
}

.legal-updated {
  color: var(--muted);
  font-size: 14.5px;
  margin-bottom: 20px;
}

.legal h2 {
  font-family: "Playfair Display", serif;
  font-size: 26px;
  color: var(--dark);
  margin: 48px 0 18px;
  letter-spacing: -0.5px;
}

.legal p {
  color: var(--text);
  line-height: 1.8;
  font-size: 15.5px;
  margin-bottom: 16px;
  opacity: .92;
}

.legal ul,
.legal ol {
  margin: 0 0 16px 22px;
  color: var(--text);
  line-height: 1.8;
  font-size: 15.5px;
  opacity: .92;
}

.legal li {
  margin-bottom: 8px;
}

/* ================= REVEAL ================= */

.reveal {
  opacity: 0;
  transform: translateY(45px);
  transition: opacity .9s ease, transform .9s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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

@media (max-width: 900px) {

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background: var(--dark);
    flex-direction: column;
    justify-content: center;
    transition: .4s;
  }

  .nav-links.active {
    right: 0;
  }

  .menu {
    display: block;
    z-index: 1001;
  }

  .intro,
  .founder-grid,
  .business-grid,
  .boomerang-grid {
    grid-template-columns: 1fr;
  }

  .founder-copy {
    padding: 70px 8%;
  }

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

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

  .step:nth-child(2) {
    border-right: 0;
  }

  .business-image {
    height: 450px;
  }

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

@media (max-width: 600px) {

  .hero h1 {
    letter-spacing: -2px;
  }

  .hero-circle {
    width: 140px;
    height: 140px;
    font-size: 12px;
    padding: 20px;
    right: 5%;
    bottom: 7%;
  }

  .section {
    padding: 80px 6%;
  }

  .video-box {
    height: 430px;
  }

  .process-intro {
    display: block;
  }

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

  .step {
    border-right: 0;
    border-bottom: 1px solid #ddd;
  }

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