:root {
  --cream: #fbf6ea;
  --paper: #fffaf0;
  --ink: #2e3323;
  --muted: #6b6657;
  --moss: #4d5b35;
  --leaf: #75855a;
  --copper: #985d2e;
  --clay: #c98d55;
  --lavender: #7d637d;
  --line: rgba(46, 51, 35, 0.18);
  --shadow: 0 18px 60px rgba(42, 35, 20, 0.12);
  color-scheme: light;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
  padding: 0.75rem clamp(1rem, 4vw, 4rem);
  border-bottom: 1px solid var(--line);
  background: rgba(251, 246, 234, 0.94);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-weight: 700;
}

.js .brand {
  max-width: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transform: translateY(-4px);
  visibility: hidden;
  transition:
    max-height 360ms ease,
    max-width 360ms ease,
    opacity 360ms ease,
    transform 360ms ease,
    visibility 0ms linear 360ms;
}

.js .site-header.is-past-hero .brand {
  max-width: 24rem;
  max-height: 72px;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
  transition:
    max-height 360ms ease,
    max-width 360ms ease,
    opacity 360ms ease,
    transform 360ms ease,
    visibility 0ms;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.brand span {
  white-space: nowrap;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(0.6rem, 2vw, 1.6rem);
  font-size: 0.92rem;
  font-weight: 700;
}

nav a {
  border-bottom: 2px solid transparent;
  padding: 0.25rem 0;
}

nav a:hover,
nav a:focus-visible {
  border-color: var(--copper);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(280px, 0.7fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: start;
  justify-content: center;
  min-height: calc(100svh - 72px);
  overflow: hidden;
  padding: clamp(1rem, 2.5vw, 2rem) clamp(1rem, 6vw, 6rem)
    clamp(1.5rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(251, 246, 234, 0.98), rgba(251, 246, 234, 0.78)),
    radial-gradient(circle at 85% 18%, rgba(201, 141, 85, 0.24), transparent 34%),
    linear-gradient(135deg, #f5ead7, #fffaf0 50%, #edf0df);
}

.hero-brand-mark {
  position: relative;
  z-index: 1;
  justify-self: end;
  width: min(100%, 560px);
  transform: translateY(-0.6rem);
}

.hero-logo {
  width: 100%;
  border-radius: 50%;
  filter: drop-shadow(0 24px 42px rgba(42, 35, 20, 0.18));
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(100%, 580px);
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--copper);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.04;
}

h1 {
  max-width: 11ch;
  font-size: clamp(3.2rem, 10vw, 8.6rem);
}

.hero p:not(.eyebrow) {
  max-width: 42ch;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  line-height: 1.7;
}

.hero-actions,
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.button,
.filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  padding: 0.75rem 1rem;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.button.primary,
.filter.is-active {
  background: var(--ink);
  color: var(--paper);
}

.button.secondary,
.filter {
  background: rgba(255, 250, 240, 0.72);
  color: var(--ink);
}

.mission-band {
  padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 6vw, 6rem);
  background: var(--moss);
  color: var(--paper);
}

.mission-band p {
  width: min(100%, 980px);
  margin: 0 auto;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 3.4vw, 3rem);
  line-height: 1.22;
  text-align: center;
}

.section,
.contact-section {
  padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 6vw, 6rem);
}

.section-heading {
  width: min(100%, 760px);
  margin-bottom: 1.5rem;
}

.section-heading h2,
.contact-section h2 {
  font-size: clamp(2rem, 5vw, 4rem);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.product-card,
.provision-list article,
.journal-preview article {
  min-height: 190px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.2rem;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.product-card.is-hidden {
  display: none;
}

.product-card p,
.journal-preview p {
  margin: 0 0 0.8rem;
  color: var(--copper);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.product-card h3,
.provision-list h3,
.journal-preview h3 {
  font-size: 1.7rem;
}

.product-card span,
.provision-list p {
  display: block;
  margin-top: 1rem;
  color: var(--muted);
  line-height: 1.55;
}

.provision-section {
  background:
    linear-gradient(180deg, rgba(117, 133, 90, 0.15), rgba(125, 99, 125, 0.12)),
    var(--paper);
}

.provision-list,
.journal-preview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 1rem;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: start;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 520px);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: start;
  border-top: 1px solid var(--line);
  background: #f2ead9;
}

.contact-section p {
  color: var(--muted);
  line-height: 1.7;
}

.contact-form {
  display: grid;
  gap: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.2rem;
  background: var(--paper);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0.8rem;
  background: #fffdf7;
  color: var(--ink);
  font: inherit;
}

textarea {
  resize: vertical;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem clamp(1rem, 6vw, 6rem);
  background: var(--ink);
  color: var(--paper);
}

@media (max-width: 780px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .brand span {
    white-space: normal;
  }

  nav {
    width: 100%;
    justify-content: space-between;
    overflow-x: auto;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    min-height: 82svh;
    place-items: start;
    padding-top: 1rem;
  }

  .hero-brand-mark {
    justify-self: center;
    width: min(78vw, 390px);
    transform: none;
  }

  .hero-copy {
    width: min(100%, 34rem);
  }

  .split-section,
  .contact-section {
    grid-template-columns: 1fr;
  }
}
