:root {
  --green: #0fa230;
  --green-dark: #0c8a28;
  --cream: #fcf9f2;
  --white: #ffffff;
  --shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
  --radius: 28px;
  --font: "Montserrat", system-ui, sans-serif;
  --max: 1200px;
  --pad-x: 1rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--cream);
  color: #123018;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

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

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--green);
  color: var(--white);
  font-weight: 700;
  border-radius: 0 0 8px 0;
}

.skip-link:focus {
  left: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.card-wrap {
  display: block;
}

/* ========== HEADER ========== */
.site-header {
  background: var(--green);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.7rem var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo img {
  height: 28px;
  width: auto;
}

.logo--footer img {
  height: 26px;
}

.social {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.social a {
  display: grid;
  place-items: center;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.social a:hover {
  transform: translateY(-1px);
  opacity: 0.9;
}

.social svg {
  width: 1em;
  height: 1em;
}

.social--header a {
  width: 28px;
  height: 28px;
  border: 1.5px solid var(--white);
  border-radius: 7px;
  color: var(--white);
  font-size: 15px;
}

.social--footer a {
  width: 34px;
  height: 34px;
  background: var(--green);
  border-radius: 8px;
  color: var(--white);
  font-size: 18px;
}

/* ========== HERO ========== */
.hero {
  position: relative;
  z-index: 2;
  color: var(--white);
  overflow: visible;
}

.hero__media {
  display: block;
  width: 100%;
  overflow: hidden;
}

.hero__media img {
  width: 100%;
  height: clamp(420px, 78vw, 640px);
  object-fit: cover;
  object-position: center 20%;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 var(--pad-x) 4.75rem;
  background: linear-gradient(
    to top,
    rgba(6, 32, 12, 0.72) 0%,
    rgba(6, 32, 12, 0.42) 38%,
    rgba(6, 32, 12, 0.12) 62%,
    transparent 82%
  );
  pointer-events: none;
}

.hero__copy {
  width: min(100%, 20.5rem);
  text-align: center;
}

.hero__title {
  font-weight: 900;
  font-size: clamp(1.95rem, 7.6vw, 2.85rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
  animation: titleIn 0.9s ease both;
}

.hero__subtitle {
  margin: 0.75rem auto 0;
  max-width: 19.5rem;
  font-weight: 500;
  font-size: clamp(0.78rem, 3.1vw, 0.9rem);
  line-height: 1.5;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.96);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6), 0 6px 18px rgba(0, 0, 0, 0.35);
  animation: titleIn 0.9s ease 0.12s both;
}

@keyframes titleIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========== TICKER ========== */
.ticker {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--green);
  overflow: hidden;
  height: 2.35rem;
  display: flex;
  align-items: center;
}

.ticker__track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  animation: marquee 22s linear infinite;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
}

.ticker__track span {
  padding-right: 0.35rem;
}

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

/* ========== SCROLL BUTTON ========== */
.scroll-btn {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 50%);
  z-index: 10;
}

.scroll-btn__outer {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 8px 20px rgba(15, 162, 48, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.scroll-btn:hover .scroll-btn__outer {
  transform: scale(1.06);
  box-shadow: 0 10px 24px rgba(15, 162, 48, 0.45);
}

.scroll-btn__inner {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--white);
  color: var(--green);
  animation: bounce 1.6s ease-in-out infinite;
}

.scroll-btn__inner svg {
  width: 22px;
  height: 22px;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(3px);
  }
}

/* ========== CONTENT CARDS ========== */
.content {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 3.5rem var(--pad-x) 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.card {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--green);
  aspect-ratio: 2.1 / 1;
  min-height: 160px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card > picture {
  display: block;
  width: 100%;
  height: 100%;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
}

.card__bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

.card__text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.15rem 42% 1.15rem 1.15rem;
  color: var(--white);
  pointer-events: none;
}

.card__text h2 {
  font-weight: 900;
  font-size: clamp(1.15rem, 4.6vw, 1.75rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

.card__text p {
  font-weight: 500;
  font-size: clamp(0.78rem, 2.8vw, 0.95rem);
  line-height: 1.35;
  max-width: 18ch;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.15);
}

.card--full {
  aspect-ratio: 16 / 9;
  background: #e8f0e4;
}

.card--full .card__bg {
  object-fit: cover;
  object-position: center;
}

/* ========== FOOTER ========== */
.site-footer {
  padding: 1.5rem var(--pad-x) 2rem;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.footer-line {
  flex: 1;
  height: 2px;
  background: var(--green);
  opacity: 0.85;
  border-radius: 2px;
}

/* ========== TABLET ========== */
@media (min-width: 768px) {
  :root {
    --pad-x: 1.75rem;
    --radius: 32px;
  }

  .header-inner {
    padding-top: 0.95rem;
    padding-bottom: 0.95rem;
  }

  .logo img {
    height: 34px;
  }

  .logo--footer img {
    height: 32px;
  }

  .social--header a {
    width: 34px;
    height: 34px;
    font-size: 17px;
    border-radius: 8px;
  }

  .social--footer a {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .hero__media img {
    height: min(78vh, 760px);
    object-position: 62% center;
  }

  .hero__overlay {
    align-items: center;
    justify-content: flex-start;
    padding: 0 var(--pad-x) 3.5rem;
    background: linear-gradient(
      90deg,
      rgba(6, 40, 16, 0.42) 0%,
      rgba(6, 40, 16, 0.18) 34%,
      transparent 58%
    );
  }

  .hero__copy {
    width: min(100%, 28rem);
    text-align: left;
  }

  .hero__title {
    max-width: none;
    width: max-content;
    text-align: left;
    font-size: clamp(2.65rem, 4.6vw, 3.85rem);
    line-height: 1;
    text-shadow: 0 6px 28px rgba(0, 0, 0, 0.35);
  }

  .hero__subtitle {
    margin: 1rem 0 0;
    max-width: 26rem;
    font-size: 1.02rem;
    line-height: 1.55;
    text-align: left;
  }

  .ticker {
    height: 2.75rem;
  }

  .ticker__track {
    font-size: 0.88rem;
    letter-spacing: 0.1em;
  }

  .scroll-btn__outer {
    width: 72px;
    height: 72px;
  }

  .scroll-btn__inner {
    width: 42px;
    height: 42px;
  }

  .scroll-btn__inner svg {
    width: 26px;
    height: 26px;
  }

  .content {
    padding: 4.5rem var(--pad-x) 2.75rem;
    gap: 1.5rem;
  }

  .card {
    aspect-ratio: 1109 / 498;
    min-height: 0;
    border-radius: 36px;
  }

  .card__text {
    padding: 2rem 46% 2rem 2.25rem;
  }

  .card__text h2 {
    font-size: clamp(1.85rem, 2.8vw, 2.5rem);
    margin-bottom: 0.7rem;
  }

  .card__text p {
    font-size: 1.08rem;
    max-width: 24ch;
    line-height: 1.4;
  }

  .card--full {
    aspect-ratio: 968 / 545;
  }

  .site-footer {
    padding: 2rem var(--pad-x) 2.75rem;
  }
}

/* ========== DESKTOP ========== */
@media (min-width: 1100px) {
  :root {
    --pad-x: 2rem;
    --max: 1280px;
  }

  .header-inner {
    padding-top: 1.05rem;
    padding-bottom: 1.05rem;
  }

  .logo img {
    height: 38px;
  }

  .hero__media img {
    height: min(82vh, 820px);
    object-position: 58% center;
  }

  .hero__overlay {
    padding-left: max(var(--pad-x), calc((100% - var(--max)) / 2 + var(--pad-x)));
    padding-bottom: 4rem;
  }

  .hero__copy {
    width: min(100%, 32rem);
  }

  .hero__title {
    font-size: clamp(3.2rem, 4vw, 4.6rem);
  }

  .hero__subtitle {
    max-width: 28rem;
    font-size: 1.08rem;
  }

  .ticker {
    height: 3rem;
  }

  .ticker__track {
    font-size: 0.95rem;
  }

  .scroll-btn__outer {
    width: 78px;
    height: 78px;
  }

  .scroll-btn__inner {
    width: 46px;
    height: 46px;
  }

  .content {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 4.5rem var(--pad-x) 3rem;
    gap: 1.25rem;
  }

  .card {
    border-radius: 28px;
    aspect-ratio: 16 / 9;
  }

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

  .card__bg {
    object-position: right center;
  }

  .card__text {
    padding: 1.5rem 44% 1.5rem 1.5rem;
    justify-content: center;
    background: none;
  }

  .card__text h2 {
    font-size: 1.55rem;
    margin-bottom: 0.45rem;
  }

  .card__text h2 br {
    display: inline;
  }

  .card__text p {
    font-size: 0.92rem;
    max-width: 22ch;
    line-height: 1.35;
  }

  .card--full {
    aspect-ratio: 16 / 9;
    max-height: none;
  }

  .card--full .card__bg {
    object-fit: cover;
    object-position: center;
  }

  .footer-inner {
    gap: 1.15rem;
  }

  .logo--footer img {
    height: 34px;
  }
}

/* ========== WIDE DESKTOP ========== */
@media (min-width: 1440px) {
  :root {
    --max: 1360px;
    --pad-x: 2.5rem;
  }

  .hero__media img {
    height: min(86vh, 900px);
  }

  .hero__title {
    font-size: 4.75rem;
  }

  .hero__subtitle {
    max-width: 30rem;
    font-size: 1.12rem;
  }

  .content {
    gap: 1.4rem;
  }

  .card {
    border-radius: 32px;
  }

  .card__text {
    padding: 1.75rem 46% 1.75rem 1.75rem;
  }

  .card__text h2 {
    font-size: 1.75rem;
  }

  .card__text p {
    font-size: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .ticker__track,
  .hero__title,
  .hero__subtitle,
  .scroll-btn__inner {
    animation: none;
  }
}
