:root {
  /* f2aa00 */
  --brand-yellow: #f2aa00;

  --brand-yellow: #f2aa00;
  --brand-dark: #003355;
  --brand-light: #ffffff;
  --brand-text: #333333;

  --font-heading: "Playfair Display", serif;
  --font-body: "Inter", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  color: var(--brand-text);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}

/* --- Navigation --- */
.site-header {
  background-color: var(--brand-yellow);
  padding: 20px 5%;
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--brand-dark);
}

.logo span {
  font-weight: 400;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.site-nav__list {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
}

.site-nav__list a {
  text-decoration: none;
  color: var(--brand-dark);
  font-weight: 600;
  font-size: 0.95rem;
  transition: opacity 0.2s;
}

.site-nav__list a:hover {
  opacity: 0.7;
}

.button {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 15px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  cursor: pointer;
  border: none;

  background-color: var(--brand-light);
  color: var(--brand-text);
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* --- Hero Section --- */
.hero {
  background-color: var(--brand-yellow);
  padding: 4rem 5% 0 5%;
  display: flex;
  align-items: center;
  min-height: 85vh;
  position: relative;
  overflow: hidden;

  /* background-image: url('static/texture3.jpg');
            background-size: cover;


            background-size: 150%; */

  /* NEW: Apply the animation. 
       24s = duration (make it long so it's subtle)
       ease-in-out = smooth transitions between points
       infinite = loop forever
       alternate = play forwards, then backwards */
  /* animation: heroPan 200s linear infinite; */
}

.hero__content {
  flex: 1;
  max-width: 45%;
  padding: 1rem;
  z-index: 2;

  background-color: var(--brand-yellow);
  border-radius: 8px;
}

.hero__eyebrow {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--brand-dark);
}

.hero__title {
  font-family: var(--font-heading);
  font-size: 3.8rem;
  line-height: 1.1;
  color: var(--brand-dark);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.hero__title-accent {
  display: block;
  text-transform: uppercase;
  font-family: var(--font-body);
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 1px;
  position: relative;
  display: inline-block;
  margin-top: 0.5rem;
}

.hero__lede {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  max-width: 85%;
  color: var(--brand-text);
}

.hero__actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.hero__actions .secondary-link {
  font-size: 0.95rem;
  color: var(--brand-dark);
  font-weight: 600;
  text-decoration: underline;
}

.hero__image-wrapper {
  flex: 1;
  position: relative;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__image {
  width: 100%;
  max-width: 600px;
  object-fit: contain;
  object-position: bottom;
}

/* --- Tagline Bar --- */
.tagline-bar {
  background-color: var(--brand-dark);
  color: white;
  text-align: center;
  padding: 2.5rem 5%;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
}

/* --- Generic Sections --- */
.section {
  padding: 6rem 5%;
    max-width: 1200px;
  margin: 0 auto;
}

.section--alt {

  padding: 1rem 1%;
}

.section__title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section__intro {
  font-size: 1.2rem;
  max-width: 800px;
  margin-bottom: 3rem;
  opacity: 0.9;
}

/* --- Grid (The Two Layers) --- */
.grid--2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
}

.card {
  background: white;
  padding: 2.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border-top: 4px solid var(--brand-yellow);
}

#card-1 {
  background-image: url("static/texture1.jpg");
}

#card-2 {
  background-image: url("static/texture2.jpg");
}

.card__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.card__link {
  display: inline-block;
  margin-top: 1.5rem;
  font-weight: 600;
  color: var(--brand-dark);
  text-decoration: none;
  border-bottom: 2px solid var(--brand-pink);
}

/* --- Pull Quote --- */
.pull-quote {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  text-align: center;
  color: var(--brand-pink);
  margin-bottom: 4rem;
  font-style: italic;
}

/* --- Steps (The Six Elements) --- */
.steps {
  list-style: none;
  max-width: 800px;
}

.steps__item {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
}

.steps__num {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--brand-yellow);
  line-height: 1;
  min-width: 50px;
}

.steps__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

/* --- CTA / Footer --- */
.cta {
  background-color: var(--brand-yellow);
  padding: 6rem 5%;
  text-align: center;
}

.cta__title {
  font-family: var(--font-heading);
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--brand-dark);
}

.cta__text {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--brand-dark);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.site-footer {
  background-color: var(--brand-dark);
  color: white;
  padding: 4rem 5%;
  text-align: center;
}

.site-footer__brand {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.site-footer__brand span {
  font-weight: 400;
}

.site-footer__nav {
  margin-bottom: 2rem;
}

.site-footer__nav a {
  color: white;
  text-decoration: none;
  margin: 0 15px;
  font-size: 0.95rem;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.site-footer__nav a:hover {
  opacity: 1;
}

.site-footer__tagline {
  font-weight: 600;
  color: var(--brand-pink);
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
}

.site-footer__copy {
  font-size: 0.9rem;
  opacity: 0.6;
}

#hero-image {
  background-image: url("static/hero-pattern.png");
  background-size: cover;
  background-position: center;

  width: 70%;
  height: auto;
}

.hero__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* This makes the video scale properly without stretching */
  z-index: 1;
  /* Puts the video behind your content */
  pointer-events: none;
  /* Prevents the video from intercepting right-clicks or interactions */
}

@keyframes heroPan {
  /* 0 degrees (Start at middle-right) */
  0% {
    background-position: 100% 50%;
  }

  /* 45 degrees (Bottom-right) */
  12.5% {
    background-position: 85.35% 85.35%;
  }

  /* 90 degrees (Bottom-center) */
  25% {
    background-position: 50% 100%;
  }

  /* 135 degrees (Bottom-left) */
  37.5% {
    background-position: 14.65% 85.35%;
  }

  /* 180 degrees (Middle-left) */
  50% {
    background-position: 0% 50%;
  }

  /* 225 degrees (Top-left) */
  62.5% {
    background-position: 14.65% 14.65%;
  }

  /* 270 degrees (Top-center) */
  75% {
    background-position: 50% 0%;
  }

  /* 315 degrees (Top-right) */
  87.5% {
    background-position: 85.35% 14.65%;
  }

  /* 360 degrees (Back to start) */
  100% {
    background-position: 100% 50%;
  }
}



/* --- Responsive Design --- */
@media (max-width: 968px) {
  .hero {
    flex-direction: column;
    padding-top: 2rem;
    
  }

  .hero__content {
    max-width: 100%;
  }

  .hero__lede {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__image-wrapper {
    display: none;
  }

  .hero__heading {
    font-size: 2.5rem;
  }

  .hero__actions {
    justify-content: center;
    flex-direction: column;
  }

  .hero__title {
    font-size: 2.8rem;
  }

  .hero__title-accent {
    font-size: 1.8rem;
  }

  .site-nav {
    display: none;
  }

  .pull-quote {
    font-size: 2rem;
  }

  .grid--2 {
    grid-template-columns: 1fr;
  }
}
