:root {
  color-scheme: dark;
  --surface: #1a0f0b;
  --surface-low: #1f120e;
  --surface-high: #2c1913;
  --surface-highest: #3a2119;
  --pimenton: #c44828;
  --pimenton-glow: #f07a48;
  --cinnamon: #6b4226;
  --cardamom: #5a7a42;
  --cardamom-bright: #9fc57a;
  --turmeric: #c88420;
  --linen: #f4ece0;
  --linen-deep: #f1e9db;
  --pepper: #2a2420;
  --muted: rgba(244, 236, 224, 0.72);
  --muted-strong: rgba(244, 236, 224, 0.86);
  --outline: rgba(244, 236, 224, 0.16);
  --max-width: 1120px;
}

@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/Fraunces.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/Fraunces-Italic.ttf") format("truetype");
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--surface);
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 84% 8%, rgba(240, 122, 72, 0.28), transparent 30rem),
    radial-gradient(circle at 14% 74%, rgba(107, 66, 38, 0.26), transparent 28rem),
    linear-gradient(145deg, var(--surface), #251510 48%, #080605);
  color: var(--linen);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration-color: rgba(159, 197, 122, 0.62);
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--cardamom-bright);
}

.site-shell {
  width: min(100% - 40px, var(--max-width));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--linen);
  font-weight: 760;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(244, 236, 224, 0.2);
  border-radius: 14px;
  background: linear-gradient(145deg, var(--pimenton), var(--surface-highest));
  box-shadow: 0 18px 54px rgba(196, 72, 40, 0.24);
  overflow: hidden;
}

.brand-mark img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 6px;
}

.brand-mark img:last-child {
  padding: 0;
}

.brand-word {
  font-size: 1.08rem;
  letter-spacing: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted-strong);
  font-size: 0.96rem;
}

.hero {
  min-height: calc(100vh - 104px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.72fr);
  gap: clamp(36px, 6vw, 78px);
  align-items: center;
  padding: 48px 0 84px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--cardamom-bright);
  font-size: 0.82rem;
  font-weight: 740;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--linen-deep);
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 760;
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  font-size: clamp(3.4rem, 8vw, 7.5rem);
}

.lede {
  max-width: 680px;
  margin: 28px 0 0;
  color: var(--muted-strong);
  font-size: clamp(1.08rem, 1.8vw, 1.32rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--outline);
  border-radius: 999px;
  background: rgba(244, 236, 224, 0.08);
  color: var(--linen-deep);
  font-weight: 720;
  text-decoration: none;
}

.button.primary {
  border-color: rgba(159, 197, 122, 0.42);
  background: var(--cardamom);
}

.product-panel {
  align-self: center;
  display: grid;
  align-content: center;
  gap: 18px;
  height: fit-content;
  min-height: 0;
  max-height: 420px;
  padding: 28px;
  border: 1px solid var(--outline);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(244, 236, 224, 0.1), rgba(244, 236, 224, 0.035)),
    rgba(31, 18, 14, 0.86);
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.28);
}

.recipe-card {
  padding: 18px;
  border: 1px solid rgba(244, 236, 224, 0.14);
  border-radius: 8px;
  background: rgba(26, 15, 11, 0.72);
}

.recipe-card h2 {
  font-size: 1.54rem;
}

.recipe-card p {
  margin: 10px 0 0;
  color: var(--muted);
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.metric {
  min-height: 74px;
  padding: 12px;
  border-radius: 8px;
  background: rgba(244, 236, 224, 0.08);
}

.metric strong {
  display: block;
  color: var(--linen-deep);
  font-size: 1.18rem;
}

.metric span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
}

.content {
  max-width: 860px;
  padding: 46px 0 88px;
}

.content h1 {
  font-size: clamp(2.7rem, 7vw, 5.4rem);
}

.content h2 {
  margin-top: 42px;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
}

.content h3 {
  margin-top: 28px;
  font-size: 1.2rem;
}

.content p,
.content li {
  color: var(--muted-strong);
}

.content ul {
  padding-left: 1.2rem;
}

.updated {
  margin: 18px 0 34px;
  color: var(--muted);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 30px 0;
  border-top: 1px solid var(--outline);
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  gap: 16px;
}

@media (max-width: 820px) {
  .site-shell {
    width: min(100% - 28px, var(--max-width));
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 30px;
  }

  h1 {
    font-size: clamp(3rem, 17vw, 5.2rem);
  }

  .product-panel {
    padding: 18px;
  }

  .metric-row {
    grid-template-columns: 1fr;
  }
}
