:root {
  --bg: #f7f2ea;
  --bg-soft: #fffaf3;
  --surface: rgba(255, 252, 246, 0.82);
  --surface-strong: #fff9f0;
  --text: #1f1f1b;
  --muted: #665f55;
  --line: rgba(69, 50, 27, 0.12);
  --brand: #f2ab46;
  --brand-strong: #b86820;
  --accent: #203129;
  --accent-soft: #31493d;
  --shadow: 0 22px 60px rgba(73, 53, 22, 0.16);
  --radius: 24px;
  --radius-sm: 16px;
  --container: min(1180px, calc(100vw - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Outfit", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(242, 171, 70, 0.16), transparent 32%),
    radial-gradient(circle at bottom right, rgba(32, 49, 41, 0.11), transparent 28%),
    var(--bg);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  color: var(--muted);
  line-height: 1.7;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 12px;
  line-height: 1.1;
}

ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-shell {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: rgba(247, 242, 234, 0.84);
  border-bottom: 1px solid var(--line);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand span {
  display: grid;
  gap: 4px;
}

.brand strong {
  font-size: 1.1rem;
}

.brand small {
  color: var(--muted);
  font-size: 0.88rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  transition: 0.2s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  background: rgba(242, 171, 70, 0.16);
  color: var(--text);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 14px;
  background: var(--surface-strong);
  box-shadow: var(--shadow);
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  margin: 5px auto;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand) 0%, #ffd07b 100%);
  color: #231b10;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(184, 104, 32, 0.2);
}

.button:hover {
  transform: translateY(-1px);
}

.button-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: none;
}

.button-inverse {
  background: #fff;
}

.button-small {
  padding: 10px 16px;
}

.hero {
  position: relative;
  overflow: clip;
  min-height: 88vh;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(247, 242, 234, 0.95) 0%, rgba(247, 242, 234, 0.72) 48%, rgba(247, 242, 234, 0.16) 100%),
    linear-gradient(180deg, rgba(32, 49, 41, 0.08), transparent 40%);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 130px 0 90px;
  max-width: 760px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(32, 49, 41, 0.08);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
  font-size: clamp(2.6rem, 6vw, 5.1rem);
  max-width: 14ch;
}

.hero p,
.page-hero p {
  font-size: 1.12rem;
  max-width: 58ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 44px;
}

.hero-metrics div,
.feature-card,
.testimonial,
.contact-card,
.news-card,
.value-card,
.join-panel,
.contact-form-wrap {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-metrics div {
  padding: 18px;
}

.hero-metrics strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.hero-metrics span {
  color: var(--muted);
  font-size: 0.95rem;
}

.section,
.page-hero {
  padding: 88px 0;
}

.page-hero {
  background:
    linear-gradient(135deg, rgba(242, 171, 70, 0.18), transparent),
    rgba(255, 250, 243, 0.7);
  border-bottom: 1px solid var(--line);
}

.section-dark {
  background: linear-gradient(180deg, #223229 0%, #16211b 100%);
  color: #fff9f1;
}

.section-dark p,
.section-dark li {
  color: rgba(255, 249, 241, 0.78);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  max-width: 12ch;
}

.card-grid,
.testimonial-grid,
.values-grid,
.contact-cards,
.news-grid {
  display: grid;
  gap: 20px;
}

.news-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  align-items: start;
}

.news-sidebar {
  display: grid;
  gap: 20px;
}

.sidebar-panel {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.sidebar-panel h2 {
  margin-bottom: 16px;
  font-size: 1rem;
}

.search-form-vertical {
  display: grid;
  gap: 12px;
}

.category-list,
.related-list {
  display: grid;
  gap: 10px;
}

.category-link,
.related-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
}

.category-link.is-active {
  background: rgba(242, 171, 70, 0.16);
  border-color: rgba(184, 104, 32, 0.25);
}

.category-link strong,
.related-link strong {
  font-size: 0.9rem;
}

.related-link {
  display: grid;
  justify-content: start;
}

.related-link span {
  color: var(--muted);
  font-size: 0.85rem;
}

.results-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  color: var(--muted);
}

.results-bar a {
  color: var(--brand-strong);
  font-weight: 700;
}

.card-grid-3,
.testimonial-grid,
.values-grid,
.contact-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.testimonial,
.contact-card,
.value-card,
.news-card,
.contact-form-wrap {
  padding: 28px;
}

.feature-card h3,
.testimonial cite,
.contact-card h2,
.value-card h3,
.news-card h2 {
  font-size: 1.35rem;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 34px;
  align-items: center;
}

.split-image-right {
  grid-template-columns: 1fr 1.05fr;
}

.split-media img {
  width: 100%;
  min-height: 420px;
  border-radius: calc(var(--radius) + 6px);
  object-fit: cover;
  box-shadow: var(--shadow);
}

.check-list {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.check-list div {
  padding: 18px 20px;
  border-left: 3px solid var(--brand);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.testimonial-grid,
.news-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.testimonial {
  position: relative;
  padding-top: 40px;
}

.testimonial::before {
  content: "\"";
  position: absolute;
  top: 8px;
  left: 18px;
  font-size: 4rem;
  color: rgba(242, 171, 70, 0.35);
}

.testimonial cite {
  display: block;
  margin-top: 18px;
  color: var(--brand-strong);
  font-style: normal;
}

.cta-band {
  padding-top: 24px;
}

.cta-panel,
.join-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px;
  background: linear-gradient(135deg, var(--brand-strong), var(--brand));
  color: #fff9ef;
}

.cta-panel p,
.join-panel p {
  color: rgba(255, 249, 239, 0.85);
}

.news-toolbar {
  display: grid;
  gap: 18px;
  margin-bottom: 24px;
}

.search-field span {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.search-field input,
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.74);
  font: inherit;
  color: var(--text);
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-pills button {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-strong);
  font: inherit;
  cursor: pointer;
}

.filter-pills button.is-active {
  background: var(--accent);
  color: #fff;
}

.news-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--brand-strong);
  font-size: 0.9rem;
  font-weight: 600;
}

.news-source {
  margin-top: 14px;
  margin-bottom: 6px;
  font-size: 0.9rem;
}

.news-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-strong);
  font-weight: 700;
}

.news-link:hover {
  color: var(--accent);
}

.news-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.news-meta-inline {
  margin-top: 18px;
  justify-content: start;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
}

.article-body,
.article-sidebar {
  min-width: 0;
}

.article-excerpt {
  margin: 18px 0 28px;
  padding: 18px 20px;
  border-left: 4px solid var(--brand);
  background: rgba(255, 255, 255, 0.5);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--muted);
}

.article-content {
  line-height: 1.8;
}

.article-content p {
  margin: 0 0 16px;
}

.article-content h2 {
  margin: 30px 0 14px;
  font-size: 1.5rem;
}

.article-content ul {
  margin-bottom: 18px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--brand-strong);
  font-weight: 700;
}

.source-box {
  margin-top: 32px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.empty-state {
  margin-top: 20px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-row label {
  font-weight: 600;
}

.form-row-hidden {
  position: absolute;
  left: -9999px;
}

.form-alert {
  margin-bottom: 16px;
  padding: 14px 16px;
  border-radius: 16px;
  font-weight: 600;
}

.form-alert-success {
  background: rgba(109, 180, 124, 0.2);
  color: #d7ffd8;
}

.form-alert-error {
  background: rgba(255, 133, 122, 0.22);
  color: #ffe0dc;
}

.value-card span {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--brand-strong);
  font-weight: 800;
}

.site-footer {
  margin-top: 80px;
  padding: 52px 0 26px;
  border-top: 1px solid var(--line);
  background: rgba(255, 250, 243, 0.72);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 0.7fr;
  gap: 24px;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li + li {
  margin-top: 10px;
}

.footer-bottom {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .menu-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    background: rgba(255, 249, 240, 0.98);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero-metrics,
  .card-grid-3,
  .testimonial-grid,
  .values-grid,
  .contact-cards,
  .news-grid,
  .news-layout,
  .split,
  .split-image-right,
  .contact-layout,
  .article-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .cta-panel,
  .join-panel {
    flex-direction: column;
    align-items: start;
  }

  .hero-content {
    padding-top: 110px;
  }

  .hero-media::after {
    background:
      linear-gradient(180deg, rgba(247, 242, 234, 0.82), rgba(247, 242, 234, 0.96)),
      linear-gradient(90deg, rgba(247, 242, 234, 0.1), rgba(247, 242, 234, 0.5));
  }
}

@media (max-width: 640px) {
  .section,
  .page-hero {
    padding: 72px 0;
  }

  .feature-card,
  .testimonial,
  .contact-card,
  .value-card,
  .news-card,
  .contact-form-wrap,
  .cta-panel,
  .join-panel {
    padding: 22px;
  }
}
