:root {
  --bg: #f6f0e4;
  --bg-soft: #eef1e7;
  --surface: rgba(255, 251, 245, 0.82);
  --surface-strong: rgba(255, 255, 255, 0.92);
  --ink: #1d251b;
  --muted: #5c6657;
  --olive: #5b6d2f;
  --olive-deep: #31401a;
  --olive-soft: #7d8f51;
  --accent: #bf7a3c;
  --line: rgba(49, 64, 26, 0.12);
  --shadow: 0 24px 60px rgba(24, 31, 21, 0.14);
  --radius-xl: 32px;
  --radius-lg: 26px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: min(1120px, calc(100vw - 32px));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(191, 122, 60, 0.15), transparent 32%),
    radial-gradient(circle at top right, rgba(91, 109, 47, 0.14), transparent 28%),
    linear-gradient(180deg, var(--bg) 0%, #f4efe5 34%, var(--bg-soft) 100%);
  line-height: 1.65;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(49, 64, 26, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(49, 64, 26, 0.025) 1px, transparent 1px);
  background-size: 28px 28px;
}

body::after {
  content: "";
  position: fixed;
  top: 0;
  right: 0;
  width: 50vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  opacity: 0.28;
  background-image:
    linear-gradient(90deg, rgba(246, 240, 228, 1) 0%, rgba(246, 240, 228, 0.24) 34%, rgba(246, 240, 228, 0.08) 100%),
    url("../images/home-bg.jpg");
  background-repeat: no-repeat;
  background-position: left center, center center;
  background-size: cover, cover;
  filter: saturate(0.78) contrast(0.94) brightness(1.04);
}

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

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

button,
input,
textarea {
  font: inherit;
}

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

.skip-link,
.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;
}

.skip-link:focus {
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  margin: 0;
  clip: auto;
  padding: 0.8rem 1rem;
  white-space: normal;
  border-radius: 999px;
  background: var(--olive-deep);
  color: #fff;
  z-index: 100;
}

.top-strip {
  border-bottom: 1px solid var(--line);
  background: rgba(250, 245, 237, 0.72);
  backdrop-filter: blur(18px);
}

.top-strip__inner,
.top-strip__group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.top-strip__inner {
  justify-content: space-between;
  padding: 0.75rem 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.top-strip a:hover,
.site-nav a:hover,
.contact-details a:hover,
.site-footer a:hover {
  color: var(--olive-deep);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(250, 245, 237, 0.84);
  backdrop-filter: blur(18px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.brand__logo {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 16px 24px rgba(33, 40, 24, 0.16);
}

.brand__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand__text strong,
.site-footer__title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1;
}

.brand__text small {
  color: var(--muted);
  font-size: 0.86rem;
  margin-top: 0.18rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.site-nav > a {
  color: var(--muted);
  font-weight: 600;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-direction: column;
  cursor: pointer;
}

.nav-toggle__line {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--olive-deep);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 0;
  border-radius: 999px;
  padding: 0.95rem 1.45rem;
  background: var(--olive-deep);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(49, 64, 26, 0.22);
}

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

.button--secondary {
  background: rgba(49, 64, 26, 0.08);
  color: var(--olive-deep);
}

.button--small {
  padding: 0.75rem 1.15rem;
}

.section {
  padding: 5.5rem 0;
}

.section--tight {
  padding-top: 4rem;
}

.section--alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.05));
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 1.35rem;
  align-items: stretch;
}

.card--hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 4vw, 3.8rem);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(28, 39, 18, 0.86), rgba(52, 73, 30, 0.78)),
    url("../images/home-bg.jpg") center/cover;
}

.card--hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -36% auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(191, 122, 60, 0.34), transparent 70%);
}

.hero__content > * {
  position: relative;
  z-index: 1;
}

.hero__lead {
  max-width: 56ch;
  font-size: 1.07rem;
  color: rgba(255, 255, 255, 0.86);
}

.eyebrow {
  margin: 0 0 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--accent);
}

.card--hero .eyebrow {
  color: rgba(255, 228, 202, 0.9);
}

h1,
h2,
h3 {
  margin: 0 0 0.75rem;
  font-family: "Cormorant Garamond", serif;
  line-height: 1;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(3rem, 6vw, 5.3rem);
  max-width: 9.6ch;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

h3 {
  font-size: 1.8rem;
}

p {
  margin: 0 0 1rem;
}

.hero__actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin: 2rem 0;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.hero__stats article,
.detail-card,
.contact-details dl div,
.feature-card,
.product-card__body,
.story-card,
.contact-card,
.contact-details,
.certifications {
  position: relative;
}

.hero__stats article {
  padding: 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.hero__stats strong,
.feature-card__meta,
.contact-details dt {
  display: block;
  font-weight: 800;
}

.hero__stats span,
.feature-card__meta,
.section-heading__copy,
.detail-card p,
.contact-details dd,
.contact-details p,
.site-footer__copyright,
.site-footer__credit {
  color: var(--muted);
}

.card--hero .hero__stats span {
  color: rgba(255, 255, 255, 0.74);
}

.hero__aside {
  padding: 2rem;
}

.feature-list,
.certifications__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li,
.certifications__list li {
  position: relative;
  padding-left: 1.3rem;
}

.feature-list li + li,
.certifications__list li + li {
  margin-top: 0.9rem;
}

.feature-list li::before,
.certifications__list li::before {
  content: "";
  position: absolute;
  top: 0.58rem;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--olive));
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-bottom: 2rem;
}

.section-heading__copy {
  max-width: 38ch;
  margin: 0;
}

.grid {
  display: grid;
  gap: 1.25rem;
}

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

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

.feature-card,
.detail-card,
.contact-card,
.contact-details,
.story-card,
.certifications {
  padding: 1.7rem;
}

.feature-card__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 1.25rem;
  border-radius: 14px;
  background: rgba(191, 122, 60, 0.12);
  color: var(--accent);
  font-weight: 800;
}

.feature-card__meta {
  margin-top: 1.4rem;
  color: var(--olive-deep);
}

.product-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 1rem 1rem 0;
}

.product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  object-position: center;
  border-radius: 20px;
  padding: 0.75rem;
  background: linear-gradient(180deg, #fbf7f1, #eff1e8);
}

.product-card__body {
  padding: 1.25rem 0.35rem 1.45rem;
}

.split-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.story-card--image {
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.82), rgba(255, 248, 240, 0.78)),
    url("../images/home-bg.jpg") center/cover;
  background-blend-mode: screen;
}

.certifications {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1.5rem;
  margin-top: 1.25rem;
  align-items: center;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 1.25rem;
}

.contact-form {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.8rem;
}

.contact-form label {
  font-weight: 700;
}

.form-control {
  width: 100%;
  border: 1px solid rgba(49, 64, 26, 0.14);
  border-radius: 16px;
  background: var(--surface-strong);
  padding: 0.95rem 1rem;
  color: var(--ink);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.form-control:focus {
  outline: none;
  border-color: rgba(191, 122, 60, 0.72);
  box-shadow: 0 0 0 4px rgba(191, 122, 60, 0.12);
}

textarea.form-control {
  resize: vertical;
  min-height: 170px;
}

.form-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-details dl {
  margin: 1.6rem 0;
  display: grid;
  gap: 1rem;
}

.contact-details dl div {
  padding: 0 0 1rem;
  border-bottom: 1px solid var(--line);
}

.contact-details dd {
  margin: 0.4rem 0 0;
}

.contact-details__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.4rem 0 2.1rem;
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}

.site-footer__inner p {
  margin: 0;
}

.site-footer__credit a {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.site-footer__credit a:hover,
.site-footer__credit a:focus-visible {
  color: var(--olive-deep);
}

section[id] {
  scroll-margin-top: 100px;
}

@media (max-width: 1080px) {
  .hero__layout,
  .contact-layout,
  .split-layout,
  .certifications {
    grid-template-columns: 1fr;
  }

  .grid--three,
  .grid--products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body::after {
    width: 100vw;
    height: 50vh;
    opacity: 0.14;
    background-position: center top, center top;
    background-size: cover, cover;
  }

  .section {
    padding: 4.2rem 0;
  }

  .site-header__inner {
    position: relative;
  }

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

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: grid;
    gap: 0.5rem;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255, 251, 245, 0.96);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-header[data-open="true"] .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav > a {
    padding: 0.8rem 0.6rem;
    border-radius: 12px;
  }

  .hero__stats,
  .grid--three,
  .grid--products {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .site-footer__inner {
    align-items: start;
    flex-direction: column;
  }

  h1 {
    max-width: 11ch;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
