/* ============================================================
   Carnivore Wellness LLC — corporate site v2
   Display: Fraunces · Body: Manrope · Utility: IBM Plex Mono
   ============================================================ */

:root {
  --paper: #fafaf7;
  --white: #ffffff;
  --ink: #191d1b;
  --slate: #57605b;
  --slate-light: #8a938d;
  --rule: #e4e4dd;
  --ever: #234b3b;
  --ever-deep: #16332a;
  --ever-tint: #ecf2ee;
  --bronze: #96692e;

  --display: "Fraunces", Georgia, serif;
  --body: "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;

  --measure: 46rem;
  --wide: 64rem;
  --gutter: 1.5rem;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  width: 100%;
  max-width: var(--measure);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.wrap--wide {
  max-width: var(--wide);
}

a {
  color: var(--ever);
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}

a:hover {
  color: var(--ever-deep);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--ever);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Header ---------- */

.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header .wrap--wide {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
}

.wordmark {
  font-family: var(--body);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
}

.wordmark span {
  color: var(--slate-light);
  font-weight: 500;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
}

.site-nav a {
  color: var(--slate);
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ever);
}

/* ---------- Typography ---------- */

.eyebrow {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bronze);
  margin: 0 0 1rem;
}

h1 {
  font-family: var(--display);
  font-weight: 560;
  font-variation-settings: "opsz" 60;
  font-size: clamp(2.1rem, 6.5vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 1.25rem;
}

h1 em {
  font-style: italic;
  color: var(--ever);
}

h2 {
  font-family: var(--display);
  font-weight: 540;
  font-size: clamp(1.4rem, 3.5vw, 1.75rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0 0 1rem;
}

h3 {
  font-family: var(--body);
  font-weight: 700;
  font-size: 0.9375rem;
  margin: 0 0 0.4rem;
}

.lede {
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--slate);
  margin: 0 0 1.5rem;
  max-width: 38rem;
}

p {
  margin: 0 0 1rem;
}

/* ---------- Sections ---------- */

main {
  padding-bottom: 4rem;
}

.band {
  padding: 4rem 0;
  border-bottom: 1px solid var(--rule);
}

.band:last-of-type {
  border-bottom: 0;
}

.band--hero {
  padding-top: 5rem;
  padding-bottom: 4.5rem;
}

.band--tint {
  background: var(--ever-tint);
}

/* ---------- Commitment cards ---------- */

.commitments {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 2rem;
}

.commitment {
  background: var(--white);
  padding: 1.5rem;
}

.commitment__tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ever);
  background: var(--ever-tint);
  border-radius: 2px;
  padding: 0.2rem 0.5rem;
  margin-bottom: 0.875rem;
}

.commitment p {
  font-size: 0.9063rem;
  color: var(--slate);
  margin: 0;
}

/* ---------- Principles list ---------- */

.principles {
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.principles li {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--rule);
}

.principles li:last-child {
  border-bottom: 1px solid var(--rule);
}

.principles__marker {
  flex: 0 0 auto;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--ever);
  margin-top: 0.55rem;
}

.principles h3 {
  margin-bottom: 0.35rem;
}

.principles p {
  font-size: 0.9375rem;
  color: var(--slate);
  margin: 0;
}

/* ---------- Data list ---------- */

.facts {
  margin: 1.5rem 0 0;
  border-top: 1px solid var(--rule);
}

.facts__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--rule);
}

.facts dt {
  flex: 0 0 11rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-light);
  padding-top: 0.2rem;
}

.facts dd {
  flex: 1 1 14rem;
  margin: 0;
  font-family: var(--mono);
  font-size: 0.875rem;
  color: var(--ink);
}

/* ---------- Brand card ---------- */

.brand {
  display: block;
  padding: 1.75rem;
  border: 1px solid var(--rule);
  border-radius: 4px;
  background: var(--white);
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  margin-top: 1.5rem;
}

.brand:hover {
  border-color: var(--ever);
  box-shadow: 0 2px 12px rgba(25, 29, 27, 0.06);
}

.brand__name {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 560;
  color: var(--ink);
  margin: 0 0 0.25rem;
}

.brand__url {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--ever);
}

.brand__desc {
  font-size: 0.9375rem;
  color: var(--slate);
  margin: 0.75rem 0 0;
}

/* ---------- Buttons ---------- */

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.btn {
  display: inline-block;
  padding: 0.7rem 1.2rem;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 4px;
  border: 1px solid var(--rule);
  background: var(--white);
  color: var(--ink);
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.btn:hover {
  border-color: var(--ever);
  color: var(--ever);
}

.btn--primary {
  background: var(--ever);
  border-color: var(--ever);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--ever-deep);
  border-color: var(--ever-deep);
  color: var(--white);
}

/* ---------- Charge strip ---------- */

.charge-strip {
  background: var(--ever-deep);
  color: #dfe9e3;
  border-radius: 4px;
  padding: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
  margin-top: 2.5rem;
}

.charge-strip__text {
  flex: 1 1 20rem;
}

.charge-strip__text strong {
  color: var(--white);
}

.charge-strip p {
  margin: 0;
  font-size: 0.9063rem;
}

.charge-strip .charge-strip__desc {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: #a9c0b2;
  margin-top: 0.4rem;
}

.charge-strip a.btn {
  background: var(--white);
  border-color: var(--white);
  color: var(--ever-deep);
}

.charge-strip a.btn:hover {
  background: var(--ever-tint);
  border-color: var(--ever-tint);
}

/* ---------- Legal pages ---------- */

.legal {
  font-size: 0.9375rem;
}

.legal h2 {
  margin-top: 2.5rem;
  font-size: 1.2rem;
}

.legal h2:first-of-type {
  margin-top: 1.75rem;
}

.legal ul {
  padding-left: 1.1rem;
  margin: 0 0 1rem;
}

.legal li {
  margin-bottom: 0.4rem;
}

.legal__meta {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--slate-light);
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 0;
}

.callout {
  border-left: 3px solid var(--ever);
  background: var(--ever-tint);
  border-radius: 0 4px 4px 0;
  padding: 1rem 1.25rem;
  margin: 1.75rem 0;
  font-size: 0.9063rem;
  color: var(--ever-deep);
}

.callout p:last-child {
  margin-bottom: 0;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--rule);
  padding: 2.5rem 0 3.5rem;
  font-size: 0.8125rem;
  color: var(--slate);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
  font-weight: 600;
}

.footer-nav a {
  color: var(--slate);
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--ever);
}

.site-footer address {
  font-style: normal;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--slate-light);
  line-height: 1.8;
}

.site-footer .disclaimer {
  max-width: var(--measure);
  font-size: 0.75rem;
  color: var(--slate-light);
  margin-top: 1.25rem;
}

/* ---------- Motion ---------- */

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    animation: rise 0.55s cubic-bezier(0.2, 0.6, 0.2, 1) both;
  }

  .reveal:nth-child(2) { animation-delay: 0.07s; }
  .reveal:nth-child(3) { animation-delay: 0.14s; }
  .reveal:nth-child(4) { animation-delay: 0.21s; }

  @keyframes rise {
    from {
      opacity: 0;
      transform: translateY(8px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}

/* ---------- Small screens ---------- */

@media (max-width: 34rem) {
  .band {
    padding: 3rem 0;
  }

  .band--hero {
    padding-top: 3.5rem;
  }

  .facts dt {
    flex: 1 1 100%;
  }

  .btn {
    flex: 1 1 100%;
    text-align: center;
  }

  .charge-strip a.btn {
    flex: 1 1 100%;
  }
}
