:root {
  --paper: #fbfaf7;
  --paper-soft: #f2eee6;
  --ink: #3f3a3c;
  --muted: #746f70;
  --nav: #414042;
  --nav-dark: #333234;
  --gold: #eeca6c;
  --gold-dark: #9a772b;
  --teal: #9a772b;
  --green: #443f43;
  --line: rgba(63, 58, 60, 0.16);
  --container: min(1172px, calc(100% - 72px));
  --content: min(920px, calc(100% - 48px));
  --grain-hero-image: url("../images/slide-3.jpg");
}

* {
  box-sizing: border-box;
}

html {
  max-width: 100%;
  overflow-x: hidden;
  overflow-y: scroll;
  scrollbar-gutter: stable;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.65;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 100;
  transform: translateY(-160%);
  padding: 10px 14px;
  color: white;
  background: var(--nav);
}

.skip-link:focus {
  transform: translateY(0);
}

.masthead {
  width: var(--container);
  margin: 0 auto;
  padding: 34px 0 54px;
  text-align: center;
}

.wordmark {
  display: inline-block;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.9rem, 3.3vw, 2.55rem);
  line-height: 1.08;
  letter-spacing: 0.19em;
  text-decoration: none;
}

.masthead p {
  margin: 6px 0 0;
  color: #6f686a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.77rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.hero-slider .slider-frame {
  aspect-ratio: 1172 / 350;
  min-height: 245px;
}

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

.subpage-hero .slider-frame {
  aspect-ratio: 1172 / 350;
  min-height: 245px;
}

.slider-frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 940 / 446;
  min-height: 280px;
  background: #e8ddc8;
  box-shadow: 0 20px 58px rgba(63, 58, 60, 0.12);
}

.grain-image {
  position: absolute;
  inset: 0;
}

.grain-image {
  background-image: var(--grain-hero-image);
  background-position: center 56%;
  background-size: cover;
}

.grain-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(238, 202, 108, 0.08), rgba(255, 255, 255, 0.18), rgba(69, 181, 168, 0.06)),
    rgba(255, 252, 242, 0.08);
  mix-blend-mode: screen;
}

.nav-band {
  position: sticky;
  top: 0;
  z-index: 20;
  width: var(--container);
  margin: 10px auto 0;
  background: var(--nav);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(63, 58, 60, 0.16);
}

.primary-nav {
  display: flex;
  justify-content: center;
  min-height: 58px;
}

.primary-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  padding: 0 28px;
  color: var(--gold);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 180ms ease, background 180ms ease;
}

.primary-nav a:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.primary-nav a:hover,
.primary-nav a:focus-visible,
.primary-nav a[aria-current="page"] {
  color: white;
  background: var(--nav-dark);
}

.nav-toggle {
  display: none;
  width: 100%;
  min-height: 54px;
  padding: 0 18px;
  color: var(--gold);
  border: 0;
  background: var(--nav);
  font-weight: 700;
  text-align: left;
  text-transform: uppercase;
  cursor: pointer;
}

.page-main {
  min-height: 38vh;
}

.home-page .page-main {
  min-height: 0;
}

.welcome-section,
.page-section {
  width: var(--content);
  margin: 0 auto;
  padding: 86px 0 86px;
  text-align: center;
}

.home-page .welcome-section {
  padding-bottom: 58px;
}

.subpage .page-section {
  padding-bottom: 58px;
}

.rule {
  width: 100%;
  height: 1px;
  margin: 0 auto 34px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: 0;
}

.welcome-section h1,
.page-title h1 {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  line-height: 1.2;
}

.welcome-section p {
  max-width: 760px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 1rem;
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 44px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 34px;
  border-radius: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--ink);
  background: white;
  border: 1px solid #e4e4e4;
}

.button-primary:hover,
.button-primary:focus-visible,
.button-primary:active {
  color: var(--ink);
  border-color: var(--gold);
  background: var(--gold);
}

.legal-page .masthead {
  padding-bottom: 28px;
}

.legal-page .nav-band {
  margin-top: 0;
}

.subpage .nav-band {
  margin-top: 10px;
}

.subpage .page-section {
  width: var(--container);
}

.page-title {
  width: var(--content);
  margin: 0 auto;
  padding: 54px 0 18px;
  text-align: center;
}

.content-box {
  max-width: 840px;
  margin: 0 auto;
  padding: 34px;
  border-top: 1px solid var(--line);
  text-align: left;
}

.team-list {
  display: grid;
  gap: 24px;
  max-width: 820px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.team-list li {
  padding: 0 0 22px;
  border-bottom: 1px solid var(--line);
}

.team-list li:last-child {
  border-bottom: 0;
}

.team-list strong {
  display: block;
  color: var(--ink);
  font-size: 1.08rem;
}

.team-list span,
.team-list a {
  display: block;
  color: var(--muted);
}

.team-list a {
  color: var(--teal);
  font-weight: 700;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.product-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0;
  text-align: left;
}

.product-group {
  min-height: 300px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
  box-shadow: 0 16px 36px rgba(63, 58, 60, 0.08);
}

.product-group h2 {
  color: var(--green);
  font-size: 1.35rem;
}

.product-group ul {
  margin: 14px 0 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
}

.product-group li {
  position: relative;
  padding-left: 18px;
}

.product-group li::before {
  content: "*";
  position: absolute;
  left: 0;
  color: var(--gold-dark);
}

.contact-address {
  display: grid;
  gap: 6px;
  max-width: 540px;
  margin: 0 auto;
  color: var(--muted);
  font-style: normal;
  text-align: center;
}

.contact-address strong {
  color: var(--ink);
  font-size: 1.12rem;
}

.contact-address a {
  color: var(--teal);
  font-weight: 700;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.legal-content h2 {
  margin-top: 34px;
  font-size: 1.42rem;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h3 {
  margin-top: 22px;
  color: var(--green);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 700;
}

.legal-content p {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.legal-content a {
  color: var(--teal);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.privacy-content {
  max-width: 980px;
}

.privacy-content p {
  color: var(--muted);
}

.privacy-content .caps {
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.site-footer {
  width: var(--container);
  margin: 0 auto;
  padding: 18px 0 36px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
  text-align: center;
}

.site-footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links span {
  color: #b8b4b3;
}

.site-footer a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--gold-dark);
}

@media (max-width: 900px) {
  :root {
    --container: min(1172px, calc(100% - 28px));
    --content: min(920px, calc(100% - 32px));
  }

  .masthead {
    padding: 24px 0 34px;
  }

  .wordmark {
    letter-spacing: 0.12em;
  }

  .nav-toggle {
    display: block;
  }

  .primary-nav {
    display: none;
  }

  .menu-open .primary-nav {
    display: grid;
  }

  .primary-nav a {
    justify-content: center;
    min-height: 52px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 0;
  }

  .primary-nav a:last-child {
    border-right: 0;
  }

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

  .slider-frame {
    min-height: 250px;
  }
}

@media (max-width: 560px) {
  :root {
    --container: calc(100% - 20px);
    --content: calc(100% - 24px);
  }

  .masthead {
    padding-top: 22px;
  }

  .masthead,
  .hero-slider,
  .subpage-hero,
  .nav-band,
  .site-footer {
    width: calc(100% - 20px);
    max-width: calc(100% - 20px);
  }

  .welcome-section,
  .page-title,
  .legal-page .page-section {
    width: calc(100% - 24px);
    max-width: calc(100% - 24px);
  }

  .subpage .page-section {
    width: calc(100% - 20px);
    max-width: calc(100% - 20px);
  }

  .wordmark {
    max-width: 100%;
    font-size: clamp(1.65rem, 8vw, 2.2rem);
    letter-spacing: 0.07em;
  }

  .masthead p {
    max-width: 290px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
  }

  .hero-slider .slider-frame,
  .subpage-hero .slider-frame {
    aspect-ratio: 1.18;
    min-height: 320px;
  }

  .grain-image {
    background-position: 38% 56%;
  }

  .welcome-section,
  .page-section {
    padding-top: 44px;
    padding-bottom: 56px;
  }

  .home-page .welcome-section {
    padding-bottom: 60px;
  }

  .subpage .page-section {
    padding-bottom: 60px;
  }

  .home-actions {
    display: grid;
  }

  .product-list {
    grid-template-columns: 1fr;
  }

  .content-box {
    padding: 26px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
