:root {
  --ink: #15201b;
  --ink-soft: #4e5e55;
  --paper: #fbfaf6;
  --paper-deep: #f0efe7;
  --green: #214435;
  --green-deep: #10261d;
  --reed: #a67c3d;
  --water: #426a73;
  --line: rgba(21, 32, 27, 0.14);
  --shadow: 0 22px 70px rgba(16, 38, 29, 0.18);
  --radius: 8px;
  --container: min(1120px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

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

.skip-link,
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  z-index: 1000;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  clip: auto;
  color: #fff;
  background: var(--green);
}

.news-ticker {
  position: relative;
  z-index: 70;
  display: flex;
  align-items: center;
  min-height: 42px;
  overflow: hidden;
  background: var(--green-deep);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.news-ticker__label {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0 16px;
  background: var(--reed);
  color: #15100a;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news-ticker__track {
  display: flex;
  width: max-content;
  min-width: 100%;
  animation: kwca-ticker 28s linear infinite;
}

.news-ticker__track span {
  flex: 0 0 auto;
  padding-inline: 28px;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.92rem;
  font-weight: 700;
}

.news-ticker:hover .news-ticker__track {
  animation-play-state: paused;
}

@keyframes kwca-ticker {
  from {
    transform: translateX(0);
  }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 246, 0.94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  width: var(--container);
  min-height: 62px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  min-width: 0;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 800;
  font-size: 0.78rem;
}

.brand__text {
  display: grid;
  line-height: 1.1;
}

.brand__text strong {
  font-size: 0.94rem;
  letter-spacing: 0;
}

.brand__text small {
  color: var(--ink-soft);
  font-size: 0.76rem;
}

.primary-nav__list,
.footer-menu__list {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-nav__list li {
  position: relative;
}

.primary-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 9px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.primary-nav a:hover,
.primary-nav .current-menu-item > a,
.primary-nav .current-menu-ancestor > a {
  color: var(--ink);
  background: rgba(33, 68, 53, 0.09);
}

.primary-nav .menu-item-has-children > a::after {
  content: "";
  width: 0;
  height: 0;
  margin-left: 7px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.75;
}

.primary-nav .sub-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 220px;
  margin: 0;
  padding: 8px;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.primary-nav .menu-item-has-children:hover > .sub-menu,
.primary-nav .menu-item-has-children:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.primary-nav .sub-menu a {
  justify-content: flex-start;
  width: 100%;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 6px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle span:not(.screen-reader-text) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 640px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  background-color: var(--green-deep);
  background-image: var(--hero-image), linear-gradient(110deg, #1c332a, #6f7972 56%, #d8d9d0);
  background-size: cover;
  background-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 18, 14, 0.86), rgba(7, 18, 14, 0.45) 46%, rgba(7, 18, 14, 0.16)),
    linear-gradient(0deg, rgba(7, 18, 14, 0.82), transparent 48%);
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 72px 0 78px;
}

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

.hero h1,
.page-hero h1,
.section-heading h2,
.split h2,
.cta-band h2 {
  margin: 0;
  font-family: "Libre Baskerville", Georgia, serif;
  line-height: 1.05;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 820px;
  font-size: clamp(2.8rem, 6.4vw, 5.15rem);
}

.hero p:not(.eyebrow) {
  max-width: 660px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.18rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--primary {
  background: var(--reed);
  color: #15100a;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.18);
}

.button--ghost {
  border: 1px solid rgba(255, 255, 255, 0.48);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.button--ghost-dark {
  border: 1px solid rgba(21, 32, 27, 0.3);
  color: var(--ink);
  background: transparent;
}

.hero__stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 34px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.hero__stats div {
  min-height: 106px;
  padding: 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
}

.hero__stats div:last-child {
  border-right: 0;
}

.hero__stats strong {
  display: block;
  min-height: 1em;
  font-size: 1.85rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.hero__stats span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
}

.section {
  padding: 92px 0;
}

.section--muted,
.intro-band {
  background: var(--paper-deep);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
  gap: 70px;
  align-items: start;
}

.split--wide {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  align-items: center;
}

.split h2,
.section-heading h2,
.cta-band h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.split p,
.section-heading p + h2 {
  margin-top: 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

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

.feature-card {
  display: grid;
  align-content: space-between;
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 12px 40px rgba(16, 38, 29, 0.05);
}

.feature-card:hover {
  border-color: rgba(33, 68, 53, 0.42);
  box-shadow: var(--shadow);
}

.feature-card span {
  color: var(--green);
  font-size: 1.18rem;
  font-weight: 800;
}

.feature-card p {
  margin: 54px 0 0;
  color: var(--ink-soft);
}

.rate-panel {
  display: grid;
  gap: 10px;
}

.rate-panel div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
}

.rate-panel span {
  color: var(--ink-soft);
  font-weight: 700;
}

.rate-panel strong {
  color: var(--green);
  font-size: 1.25rem;
}

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

.cta-band {
  padding: 82px 0;
  background: #d9e1dd;
}

.cta-band p {
  max-width: 680px;
  color: var(--ink-soft);
}

.page-hero {
  padding: 110px 0 70px;
  background: var(--green-deep);
  color: #fff;
}

.page-hero h1 {
  max-width: 900px;
  font-size: clamp(2.6rem, 7vw, 5rem);
}

.page-content {
  padding: 70px 0 100px;
}

.page-content > * {
  max-width: 860px;
}

.page-content h2,
.page-content h3 {
  margin: 1.45em 0 0.4em;
  line-height: 1.15;
}

.page-content h2 {
  font-size: clamp(1.8rem, 4vw, 2.7rem);
}

.page-content h3 {
  font-size: 1.35rem;
}

.page-content p,
.page-content li {
  color: var(--ink-soft);
}

.page-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.96rem;
}

.page-content th,
.page-content td {
  padding: 13px 14px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.page-content th {
  color: #fff;
  background: var(--green);
}

.page-content tr:nth-child(even) td {
  background: var(--paper-deep);
}

.post-card {
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 1040px;
  margin: 28px 0;
}

.video-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 40px rgba(16, 38, 29, 0.05);
}

.video-card h3 {
  margin-top: 0;
}

.video-card p {
  margin-bottom: 14px;
}

.video-card iframe {
  display: block;
  width: 100%;
  height: 340px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper-deep);
}

.site-footer {
  background: var(--green-deep);
  color: rgba(255, 255, 255, 0.78);
}

.site-footer__inner {
  width: var(--container);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 0.9fr;
  gap: 46px;
  padding: 58px 0;
}

.site-footer .brand,
.site-footer a {
  color: #fff;
}

.site-footer .brand__mark {
  background: var(--reed);
  color: #15100a;
}

.site-footer .brand__text small,
.site-footer p {
  color: rgba(255, 255, 255, 0.68);
}

.footer-contact,
.footer-menu__list {
  display: grid;
  gap: 8px;
}

.footer-menu__list {
  align-items: start;
}

.footer-menu__list a,
.footer-contact a {
  text-decoration: none;
}

.site-footer__base {
  width: var(--container);
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.86rem;
}

@media (max-width: 920px) {
  .site-header__inner {
    min-height: 60px;
  }

  .menu-toggle {
    display: block;
  }

  .primary-nav {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    display: none;
    padding: 14px 20px 22px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }

  .primary-nav.is-open {
    display: block;
  }

  .primary-nav__list {
    display: grid;
    gap: 2px;
  }

  .primary-nav__list li {
    width: 100%;
  }

  .primary-nav a {
    justify-content: flex-start;
    min-height: 42px;
    border-radius: 8px;
  }

  .primary-nav .sub-menu {
    position: static;
    min-width: 0;
    padding: 0 0 4px 14px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .primary-nav .sub-menu a {
    min-height: 38px;
    color: var(--ink-soft);
  }

  .hero {
    min-height: 620px;
  }

  .hero__content {
    padding: 66px 0 58px;
  }

  .hero__stats,
  .feature-grid,
  .video-grid,
  .split,
  .split--wide,
  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .hero__stats div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  }

  .hero__stats div:last-child {
    border-bottom: 0;
  }

  .split {
    gap: 28px;
  }
}

@media (max-width: 640px) {
  :root {
    --container: min(100vw - 28px, 1120px);
  }

  body {
    font-size: 15px;
  }

  .news-ticker {
    min-height: 38px;
  }

  .news-ticker__label {
    min-height: 38px;
    padding: 0 10px;
    font-size: 0.68rem;
  }

  .news-ticker__track span {
    padding-inline: 18px;
    font-size: 0.82rem;
  }

  .brand__mark {
    width: 40px;
    height: 40px;
  }

  .brand__text small {
    display: none;
  }

  .hero {
    min-height: 600px;
  }

  .hero h1 {
    font-size: 2.72rem;
  }

  .hero p:not(.eyebrow) {
    font-size: 1rem;
  }

  .hero__actions,
  .site-footer__base {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .section,
  .page-content {
    padding: 58px 0;
  }

  .page-hero {
    padding: 82px 0 54px;
  }

  .page-content .wp-block-table {
    max-width: 100%;
    overflow-x: auto;
  }
}

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

  .news-ticker__track {
    animation: none;
    transform: none;
  }

  .button {
    transition: none;
  }
}
