:root {
  --forest: #1e4a2c;
  --forest-2: #12351f;
  --sage: #a8b86b;
  --sage-2: #dfe7bd;
  --paper: #f7f7f2;
  --paper-2: #fffef7;
  --ink: #173321;
  --muted: #65705d;
  --orange: #e18917;
  --line: rgba(30, 74, 44, 0.14);
  --shadow: 0 24px 70px rgba(18, 53, 31, 0.18);
  --radius: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  margin: 0;
}

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

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

.skip-link {
  background: var(--forest);
  color: white;
  left: 16px;
  padding: 10px 14px;
  position: fixed;
  top: -60px;
  z-index: 100;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(247, 247, 242, 0.94);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  min-height: 86px;
  padding: 12px clamp(18px, 4vw, 60px);
  position: sticky;
  top: 0;
  z-index: 30;
}

.site-header.is-scrolled {
  box-shadow: 0 14px 36px rgba(18, 53, 31, 0.12);
}

.brand img {
  height: 60px;
  object-fit: contain;
  width: min(300px, 40vw);
}

.main-nav {
  align-items: center;
  display: flex;
  gap: clamp(12px, 1.8vw, 22px);
}

.main-nav a {
  color: var(--forest);
  font-size: 14px;
  font-weight: 800;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: #708630;
}

.nav-cta,
.btn {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  font-size: 14px;
  font-weight: 900;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover,
.nav-cta:hover {
  transform: translateY(-2px);
}

.primary,
.nav-cta {
  background: linear-gradient(135deg, var(--forest), #2e6b3d);
  color: white !important;
  box-shadow: 0 16px 32px rgba(30, 74, 44, 0.2);
}

.ghost {
  border-color: rgba(255, 255, 255, 0.72);
  color: white;
}

.outline {
  border-color: var(--forest);
  color: var(--forest);
}

.nav-toggle {
  background: transparent;
  border: 0;
  display: none;
  height: 44px;
  padding: 8px;
  width: 44px;
}

.nav-toggle span {
  background: var(--forest);
  display: block;
  height: 2px;
  margin: 6px 0;
  width: 26px;
}

.hero {
  align-items: center;
  display: grid;
  min-height: calc(100vh - 86px);
  overflow: hidden;
  position: relative;
}

.hero-slider,
.hero-slider img,
.hero-overlay {
  inset: 0;
  position: absolute;
}

.hero-slider img {
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.025);
  transition: opacity 1200ms ease, transform 6500ms ease;
  width: 100%;
}

.hero-slider img.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(9, 37, 21, 0.9) 0%, rgba(9, 37, 21, 0.76) 36%, rgba(9, 37, 21, 0.18) 72%, rgba(9, 37, 21, 0.05) 100%);
  z-index: 1;
}

.hero-content {
  color: white;
  max-width: 760px;
  padding: clamp(42px, 7vw, 96px);
  position: relative;
  z-index: 2;
}

.hero-logo {
  margin-bottom: clamp(26px, 4vw, 48px);
  width: min(430px, 78vw);
}

.eyebrow {
  color: var(--sage);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: 0;
}

.hero h1 {
  color: white;
  font-size: clamp(52px, 7vw, 104px);
  line-height: 0.95;
  margin-bottom: 22px;
}

.hero p {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.72;
  max-width: 640px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.hero-pills span {
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  font-weight: 900;
  padding: 9px 13px;
  text-transform: uppercase;
}

.section {
  margin: 0 auto;
  max-width: 1180px;
  padding: clamp(54px, 8vw, 96px) clamp(18px, 4vw, 34px);
}

.section-heading {
  margin: 0 auto 34px;
  max-width: 760px;
  text-align: center;
}

.section-heading h2,
.brand-strip h2,
.split h2,
.cta-band h2,
.newsletter h2,
.featured-news h2,
.contact-card h2,
.form-section h2 {
  color: var(--forest);
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.05;
}

.section-heading p:last-child,
.brand-strip p,
.split p,
.cta-band p,
.newsletter p,
.featured-news p,
.contact-card p,
.form-section p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.72;
}

.brand-strip {
  align-items: center;
  background: var(--paper-2);
  display: grid;
  gap: clamp(28px, 5vw, 70px);
  grid-template-columns: minmax(220px, 420px) minmax(0, 650px);
  max-width: none;
  padding-inline: clamp(22px, 7vw, 110px);
}

.value-grid,
.cards {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.value-grid article,
.media-card,
.contact-card,
.form-card {
  background: rgba(255, 254, 247, 0.96);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 44px rgba(18, 53, 31, 0.09);
  overflow: hidden;
}

.value-grid article {
  padding: 26px;
}

.value-grid span {
  color: var(--sage);
  display: block;
  font-weight: 900;
  margin-bottom: 18px;
}

.value-grid h3,
.media-card h3 {
  color: var(--forest);
  font-size: 22px;
}

.value-grid p,
.media-card p {
  color: var(--muted);
  line-height: 1.65;
}

.split {
  align-items: center;
  display: grid;
  gap: clamp(30px, 5vw, 70px);
  grid-template-columns: minmax(0, 1fr) minmax(260px, 470px);
}

.split.reverse {
  grid-template-columns: minmax(260px, 520px) minmax(0, 1fr);
}

.split.reverse > div {
  order: 2;
}

.poster,
.photo,
.page-hero > img,
.featured-news img,
.poster-grid img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
  width: 100%;
}

.small-poster {
  margin: 0 auto;
  max-width: 360px;
}

.media-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

.media-card h3,
.media-card p,
.media-card a {
  margin-left: 22px;
  margin-right: 22px;
}

.media-card h3 {
  margin-top: 22px;
}

.media-card a {
  color: var(--forest);
  display: inline-block;
  font-weight: 900;
  margin-bottom: 24px;
}

.banner-preview {
  padding-top: 0;
}

.banner-preview img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
}

.newsletter,
.cta-band {
  align-items: center;
  background: linear-gradient(135deg, var(--forest), #3e7435);
  color: white;
  display: grid;
  gap: 24px;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  margin: clamp(40px, 6vw, 72px) auto;
  max-width: 1180px;
  padding: clamp(28px, 5vw, 54px);
}

.newsletter {
  grid-template-columns: 120px minmax(0, 1fr) minmax(260px, 380px);
}

.newsletter h2,
.newsletter p,
.cta-band h2,
.cta-band p {
  color: white;
}

.newsletter form {
  display: grid;
  gap: 10px;
}

input,
textarea,
select {
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  font: inherit;
  min-height: 46px;
  padding: 12px 14px;
  width: 100%;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.page-hero {
  align-items: center;
  background: linear-gradient(90deg, rgba(30, 74, 44, 0.94), rgba(30, 74, 44, 0.72)), url("/assets/img/sliderHero1.png") center/cover;
  color: white;
  display: grid;
  gap: clamp(28px, 5vw, 70px);
  grid-template-columns: minmax(0, 1fr) minmax(240px, 430px);
  min-height: 520px;
  padding: clamp(46px, 8vw, 92px) clamp(22px, 7vw, 110px);
}

.page-hero.compact-hero {
  min-height: 420px;
}

.page-hero h1 {
  color: white;
  font-size: clamp(42px, 5vw, 76px);
  line-height: 1;
}

.page-hero p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.9);
  font-size: 19px;
  line-height: 1.7;
  max-width: 720px;
}

.page-hero > img {
  max-height: 540px;
  object-fit: contain;
}

.compact-hero > img {
  max-height: 270px;
}

.check-list {
  color: var(--muted);
  line-height: 1.8;
  padding-left: 20px;
}

.featured-news article,
.contact-layout,
.form-section {
  display: grid;
  gap: clamp(28px, 5vw, 70px);
  grid-template-columns: minmax(260px, 440px) minmax(0, 1fr);
}

.featured-news article {
  align-items: center;
}

.form-card,
.contact-card {
  padding: 28px;
}

.form-card {
  display: grid;
  gap: 16px;
}

.form-card label {
  color: var(--forest);
  display: grid;
  font-weight: 800;
  gap: 7px;
}

.notice {
  border-radius: 12px;
  font-weight: 800;
  margin: 18px 0 0;
  padding: 14px 16px;
}

.notice.success {
  background: #dfe7bd;
  color: var(--forest);
}

.notice.error {
  background: #ffe4d0;
  color: #793000;
}

.checkline {
  align-items: start;
  display: flex !important;
  gap: 10px !important;
}

.checkline input {
  min-height: auto;
  width: auto;
}

.poster-grid,
.gallery-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.gallery-item {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(18, 53, 31, 0.08);
  overflow: hidden;
}

.gallery-item img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
}

.gallery-item span {
  color: var(--forest);
  display: block;
  font-weight: 900;
  padding: 14px 16px 16px;
}

.contact-card a,
.site-footer a {
  display: block;
  font-weight: 800;
  margin-bottom: 10px;
}

.site-footer {
  background: var(--forest-2);
  color: white;
  padding: 54px clamp(18px, 5vw, 70px) 26px;
}

.footer-inner {
  display: grid;
  gap: 34px;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  margin: 0 auto;
  max-width: 1180px;
}

.footer-brand img {
  margin-bottom: 22px;
  max-width: 290px;
}

.site-footer h2 {
  color: var(--sage-2);
  font-size: 16px;
  margin-bottom: 16px;
}

.site-footer p,
.site-footer a,
.footer-bottom {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.65;
}

.footer-admin {
  color: white !important;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  margin: 42px auto 0;
  max-width: 1180px;
  padding-top: 22px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.admin-shell,
.admin-login {
  background: var(--paper);
  min-height: 100vh;
  padding: 40px;
}

.admin-card,
.admin-table,
.admin-panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 44px rgba(18, 53, 31, 0.09);
  padding: 24px;
}

@media (max-width: 1050px) {
  .main-nav {
    background: var(--paper);
    border-top: 1px solid var(--line);
    display: none;
    flex-direction: column;
    left: 0;
    padding: 20px;
    position: absolute;
    right: 0;
    top: 100%;
  }

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

  .nav-toggle {
    display: block;
  }

  .value-grid,
  .cards,
  .footer-inner,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .brand-strip,
  .split,
  .split.reverse,
  .page-hero,
  .featured-news article,
  .contact-layout,
  .form-section,
  .newsletter,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .split.reverse > div {
    order: initial;
  }
}

@media (max-width: 700px) {
  .site-header {
    min-height: 74px;
  }

  .brand img {
    height: 50px;
    width: min(220px, 62vw);
  }

  .hero {
    min-height: 700px;
  }

  .hero-overlay {
    background: rgba(9, 37, 21, 0.78);
  }

  .hero-content {
    padding: 34px 20px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .section {
    padding-block: 54px;
  }

  .value-grid,
  .cards,
  .poster-grid,
  .gallery-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .page-hero {
    min-height: auto;
    padding: 42px 20px;
  }

  .page-hero h1 {
    font-size: 42px;
  }

  .newsletter,
  .cta-band {
    margin-left: 18px;
    margin-right: 18px;
  }
}
