:root {
  --sand: #f5df9b;
  --gold: #d9941e;
  --amber: #a86616;
  --ink: #1f261f;
  --green: #244c3d;
  --leaf: #5c7c46;
  --ocean: #277b7d;
  --sky: #d9eee8;
  --paper: #fff8e6;
  --muted: #6d6048;
  --line: rgba(31, 38, 31, 0.14);
  --shadow: 0 18px 48px rgba(55, 43, 22, 0.14);
}

* {
  box-sizing: border-box;
}

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

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

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 248, 230, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 850;
  letter-spacing: 0;
}

.brand img {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border: 2px solid rgba(31, 38, 31, 0.18);
  border-radius: 50%;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
  color: #344134;
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  border-color: var(--gold);
}

.search-button,
.nav-toggle {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: #fff3ca;
  color: var(--ink);
  cursor: pointer;
}

.search-button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.nav-toggle {
  display: none;
  gap: 4px;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: clamp(560px, 78vh, 760px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--green);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(31, 38, 31, 0.72), rgba(31, 38, 31, 0.18) 62%),
    linear-gradient(0deg, rgba(31, 38, 31, 0.62), transparent 48%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 36px));
  margin: 0 clamp(18px, 7vw, 96px) 72px;
  color: #fff9e9;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow,
.inverted .eyebrow {
  color: var(--sand);
}

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

h1 {
  margin-bottom: 12px;
  font-size: clamp(4rem, 13vw, 8.5rem);
  line-height: 0.92;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 5vw, 3.7rem);
  line-height: 1.02;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.24rem;
  line-height: 1.2;
}

.hero-content p:not(.eyebrow) {
  max-width: 640px;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-actions,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button,
.resource-card button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  font-weight: 850;
  cursor: pointer;
}

.button.primary {
  background: var(--gold);
  color: #201b12;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff9e9;
}

.button.light {
  background: #fff3ca;
  color: var(--ink);
}

.section {
  padding: clamp(58px, 8vw, 104px) clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
}

.section-heading.inverted {
  color: #fff9e9;
}

.section-heading.inverted p:not(.eyebrow) {
  color: rgba(255, 249, 233, 0.78);
}

.section-heading.compact {
  margin-bottom: 18px;
}

.guide-strip {
  background: #fff2c7;
}

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

.guide-card,
.content-card,
.resource-card,
.video-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.48);
  box-shadow: var(--shadow);
}

.guide-card {
  min-height: 220px;
  padding: 24px;
  background: linear-gradient(145deg, #fff8e6, #e1f1eb);
}

.card-icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 24px;
  background: var(--green);
  color: #fff8e6;
  font-weight: 900;
}

.content-card {
  overflow: hidden;
  background: #fffaf0;
}

.image-placeholder,
.video-thumb {
  min-height: 190px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(217, 148, 30, 0.9), rgba(245, 223, 155, 0.75)),
    var(--gold);
  color: #3d2a0f;
  font-weight: 900;
}

.image-placeholder.teal {
  background: linear-gradient(135deg, rgba(39, 123, 125, 0.9), rgba(217, 238, 232, 0.85));
}

.image-placeholder.green {
  background: linear-gradient(135deg, rgba(36, 76, 61, 0.95), rgba(92, 124, 70, 0.8));
  color: #fff8e6;
}

.card-body {
  padding: 22px;
}

time {
  display: block;
  margin-bottom: 8px;
  color: var(--ocean);
  font-size: 0.84rem;
  font-weight: 850;
}

.text-link {
  display: inline-flex;
  margin-top: 8px;
  color: var(--green);
  font-weight: 900;
}

.popular-videos {
  background:
    linear-gradient(135deg, rgba(31, 38, 31, 0.96), rgba(36, 76, 61, 0.96)),
    var(--green);
}

.video-card.featured {
  padding: 18px;
  background: rgba(255, 248, 230, 0.08);
  border-color: rgba(255, 249, 233, 0.18);
  color: #fff9e9;
  box-shadow: none;
}

.video-card.featured p {
  color: rgba(255, 249, 233, 0.78);
}

.video-thumb {
  position: relative;
  min-height: 220px;
  margin-bottom: 18px;
  background:
    linear-gradient(135deg, rgba(217, 148, 30, 0.96), rgba(168, 102, 22, 0.9)),
    var(--gold);
}

.video-thumb.ocean {
  background:
    linear-gradient(135deg, rgba(39, 123, 125, 0.98), rgba(217, 148, 30, 0.7)),
    var(--ocean);
}

.video-thumb.leaf {
  background:
    linear-gradient(135deg, rgba(92, 124, 70, 0.98), rgba(245, 223, 155, 0.7)),
    var(--leaf);
}

.play-mark {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  background: rgba(255, 248, 230, 0.9);
  clip-path: polygon(32% 22%, 32% 78%, 78% 50%);
}

.latest-videos {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(260px, 1.3fr);
  gap: 24px;
  align-items: start;
  background: #eaf4ee;
}

.latest-list {
  display: grid;
  gap: 10px;
}

.latest-list a {
  padding: 18px 20px;
  border-left: 5px solid var(--ocean);
  background: #fffaf0;
  font-weight: 800;
}

.resources {
  background: #fffaf0;
}

.resource-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.resource-card {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  padding: 22px;
  background: #eaf4ee;
}

.resource-card button {
  width: 100%;
  margin-top: auto;
  border-color: rgba(31, 38, 31, 0.2);
  background: #fffaf0;
  color: var(--green);
}

.newsletter {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(280px, 1.1fr);
  gap: 28px;
  margin: clamp(18px, 5vw, 72px);
  padding: clamp(28px, 5vw, 54px);
  background: var(--green);
  color: #fff9e9;
}

.newsletter .eyebrow {
  color: var(--sand);
}

.newsletter p {
  color: rgba(255, 249, 233, 0.78);
}

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

.newsletter-form label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

.newsletter-form input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(255, 249, 233, 0.26);
  background: rgba(255, 255, 255, 0.08);
  color: #fff9e9;
}

.newsletter-form input::placeholder {
  color: rgba(255, 249, 233, 0.58);
}

.form-message {
  min-height: 24px;
  margin: 0;
  font-weight: 750;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(18px, 5vw, 72px);
  background: #16211a;
  color: #fff9e9;
}

.site-footer p {
  margin-bottom: 0;
  color: rgba(255, 249, 233, 0.68);
}

.footer-links a {
  color: rgba(255, 249, 233, 0.78);
}

.page-main {
  min-height: 70vh;
  padding: clamp(64px, 10vw, 120px) clamp(18px, 5vw, 72px);
  background: linear-gradient(145deg, #fff8e6, #eaf4ee);
}

.page-main h1 {
  max-width: 920px;
  color: var(--green);
  font-size: clamp(3rem, 8vw, 6rem);
}

.page-main p {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.08rem;
}

.placeholder-panel {
  max-width: 820px;
  margin-top: 36px;
  padding: 28px;
  border: 1px solid var(--line);
  background: #fffaf0;
}

.placeholder-panel h2 {
  font-size: clamp(1.5rem, 3vw, 2.4rem);
}

@media (max-width: 980px) {
  .guide-grid,
  .card-grid,
  .video-grid,
  .resource-grid,
  .latest-videos,
  .newsletter {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
  }

  .nav-toggle {
    display: inline-grid;
  }

  .site-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 18px 18px;
    background: rgba(255, 248, 230, 0.98);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px 0;
  }

  .search-button {
    margin-top: 8px;
  }

  .hero {
    min-height: 620px;
  }

  .hero-content {
    margin: 0 18px 42px;
  }

  .guide-grid,
  .card-grid,
  .video-grid,
  .resource-grid,
  .latest-videos,
  .newsletter {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }
}
