:root {
  --ink: #191713;
  --charcoal: #2b2720;
  --muted: #756e64;
  --paper: #f2eee7;
  --surface: #fbf8f1;
  --stone: #d8d0c3;
  --agave: #676d5f;
  --copper: #8d6645;
  --gold: #b39362;
  --line: rgba(23, 20, 17, 0.14);
  --shadow: 0 34px 90px rgba(23, 20, 17, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 76px;
  padding: 14px clamp(22px, 5vw, 76px);
  color: var(--ink);
  background: rgba(251, 248, 241, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 36px);
}

.brand {
  display: grid;
  gap: 2px;
  line-height: 1;
}

.brand span,
.eyebrow,
.nav-links,
.language-switch,
.button,
.inclusion-grid span,
.results span,
.site-footer {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand span {
  color: var(--gold);
}

.brand strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 38px);
  color: rgba(25, 23, 19, 0.62);
}

.nav-links a:hover {
  color: var(--ink);
}

.language-switch {
  display: inline-flex;
  padding: 3px;
  background: rgba(25, 23, 19, 0.06);
  border: 1px solid var(--line);
}

.language-switch button {
  min-width: 38px;
  min-height: 30px;
  padding: 0 9px;
  color: rgba(25, 23, 19, 0.58);
  background: transparent;
  border: 0;
  border-radius: 0;
  font: inherit;
  cursor: pointer;
}

.language-switch button.active {
  color: var(--surface);
  background: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(360px, 0.86fr);
  align-items: center;
  min-height: auto;
  max-width: 1600px;
  margin: 0 auto;
  color: var(--ink);
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  display: grid;
  align-self: center;
  align-content: start;
  max-width: 690px;
  padding: clamp(56px, 7vh, 96px) clamp(22px, 5vw, 76px);
}

.hero-product {
  display: grid;
  align-items: center;
  justify-items: center;
  margin: 0;
  min-height: min(760px, calc(100svh - 76px));
  padding: clamp(22px, 4vh, 54px) clamp(22px, 5vw, 70px);
  background: rgba(216, 208, 195, 0.46);
  border-left: 1px solid var(--line);
}

.hero-product img {
  width: auto;
  max-width: min(460px, 90%);
  max-height: min(680px, calc(100svh - 140px));
  object-fit: contain;
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold);
}

h1,
h2,
h3,
p,
figure,
section {
  margin-top: 0;
  min-width: 0;
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.02;
}

h1 {
  max-width: 680px;
  margin-bottom: 24px;
  font-size: clamp(2.7rem, 4vw, 4.85rem);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.85rem, 2.8vw, 3.45rem);
}

h3 {
  margin-bottom: 12px;
  font-size: 1.45rem;
}

p {
  color: var(--muted);
}

.hero p:not(.eyebrow) {
  max-width: 630px;
  color: var(--muted);
  font-size: 1.1rem;
}

.closing p {
  max-width: 630px;
  color: rgba(255, 250, 241, 0.72);
  font-size: 1.1rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid rgba(255, 250, 241, 0.34);
}

.button.primary {
  color: var(--surface);
  background: var(--ink);
  border-color: var(--ink);
}

.button.ghost {
  color: var(--ink);
  border-color: var(--line);
}

.origin {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(34px, 6vw, 92px);
  padding: clamp(54px, 7vh, 92px) clamp(22px, 5vw, 76px);
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.origin-copy {
  display: grid;
  gap: 18px;
  max-width: 780px;
}

.origin-copy p {
  margin: 0;
  font-size: 1.04rem;
}

.statement {
  display: grid;
  place-items: center;
  padding: clamp(48px, 7vh, 86px) clamp(22px, 5vw, 76px);
  background: var(--surface);
}

.statement p {
  max-width: 1040px;
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2.35vw, 2.65rem);
  line-height: 1.18;
  text-align: center;
}

.heritage {
  display: grid;
  grid-template-columns: minmax(280px, 0.68fr) minmax(0, 1.32fr);
  gap: clamp(34px, 6vw, 92px);
  padding: clamp(54px, 7vh, 92px) clamp(22px, 5vw, 76px);
  color: var(--surface);
  background: var(--ink);
  border-bottom: 1px solid rgba(255, 250, 241, 0.12);
}

.heritage h2 {
  max-width: 620px;
}

.heritage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  align-self: start;
  background: rgba(255, 250, 241, 0.18);
}

.heritage-grid article {
  display: grid;
  align-content: start;
  min-height: 230px;
  padding: 0;
  background: var(--ink);
}

.heritage-grid figure {
  aspect-ratio: 5 / 3;
  margin: 0;
  overflow: hidden;
  background: rgba(255, 250, 241, 0.08);
}

.heritage-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.08);
}

.heritage-grid span {
  display: block;
  margin: clamp(22px, 3vw, 30px) clamp(22px, 3vw, 34px) 26px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.heritage-grid h3 {
  margin-right: clamp(22px, 3vw, 34px);
  margin-left: clamp(22px, 3vw, 34px);
}

.heritage-grid p {
  margin: 0 clamp(22px, 3vw, 34px) clamp(24px, 3vw, 34px);
  color: rgba(255, 250, 241, 0.68);
}

.section,
.calculator-section,
.closing {
  padding: clamp(54px, 7vh, 92px) clamp(22px, 5vw, 76px);
}

.split,
.process,
.calculator-section,
.closing {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(34px, 6vw, 92px);
}

.inclusion-grid,
.process ol,
.results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--line);
}

.inclusion-grid article,
.process li,
.results article {
  min-height: 170px;
  padding: clamp(22px, 3vw, 34px);
  background: var(--surface);
}

.inclusion-grid span {
  color: var(--copper);
}

.process {
  color: var(--surface);
  background: var(--charcoal);
}

.process p,
.process li p {
  color: rgba(255, 250, 241, 0.72);
}

.process ol {
  background: rgba(255, 250, 241, 0.22);
}

.process li {
  background: var(--charcoal);
}

.process span {
  display: block;
  margin-bottom: 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
}

.calculator-section {
  align-items: start;
  background: var(--surface);
  padding-top: clamp(36px, 5vh, 64px);
  padding-bottom: clamp(36px, 5vh, 64px);
}

.calculator-copy {
  max-width: 520px;
}

.calculator-copy h2 {
  font-size: clamp(1.85rem, 2.5vw, 3rem);
}

.calculator-workspace {
  display: grid;
  gap: 10px;
}

.calculator {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: clamp(14px, 1.6vw, 20px);
  background: var(--paper);
  border: 1px solid var(--line);
}

.calculator label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.calculator input {
  width: 100%;
  min-height: 38px;
  padding: 7px 10px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0;
  font: inherit;
  font-size: 0.96rem;
  letter-spacing: 0;
}

.results {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 0;
}

.results article {
  display: grid;
  grid-template-rows: minmax(34px, auto) 1fr;
  align-content: start;
  min-height: 100px;
  padding: clamp(18px, 2vw, 24px);
}

.results span {
  display: flex;
  align-items: start;
}

.results strong {
  display: block;
  margin-top: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.18rem, 1.65vw, 2rem);
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.results b {
  font: inherit;
}

.closing {
  color: var(--surface);
  background: var(--ink);
}

.legal-page {
  max-width: 940px;
  min-height: calc(100svh - 190px);
  padding: clamp(58px, 9vh, 110px) clamp(22px, 7vw, 86px);
}

.legal-page h1 {
  max-width: 720px;
  font-size: clamp(2.2rem, 4vw, 4.2rem);
}

.legal-page p:not(.eyebrow) {
  max-width: 760px;
  font-size: 1.04rem;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(220px, 1.15fr) auto minmax(220px, 0.85fr);
  align-items: center;
  gap: 24px;
  padding: 28px clamp(22px, 5vw, 76px);
  color: rgba(255, 250, 241, 0.62);
  background: #0f0d0b;
}

.site-footer strong {
  display: block;
  margin-bottom: 8px;
  color: var(--surface);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 22px;
}

.site-footer a {
  color: rgba(255, 250, 241, 0.72);
}

.site-footer a:hover {
  color: var(--surface);
}

@media (max-width: 980px) {
  .hero,
  .origin,
  .heritage,
  .split,
  .process,
  .calculator-section,
  .closing {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
    background: var(--surface);
  }

  .hero-product {
    min-height: 0;
    padding: 30px 18px;
    background: rgba(216, 208, 195, 0.46);
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .hero-product img {
    max-width: min(340px, 72vw);
    max-height: 480px;
  }

  .calculator-copy {
    position: static;
  }

  .results {
    grid-column: auto;
  }
}

@media (min-width: 981px) and (max-height: 780px) {
  .hero-copy {
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .hero-product {
    min-height: calc(100svh - 76px);
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .hero-product img {
    max-height: calc(100svh - 148px);
  }

  h1 {
    font-size: clamp(2.65rem, 3.7vw, 4.25rem);
  }

  .hero p:not(.eyebrow) {
    font-size: 1rem;
  }
}

@media (max-width: 720px) {
  .site-header {
    position: static;
    align-items: center;
    min-height: 0;
    padding: 18px 20px;
  }

  .header-actions {
    gap: 10px;
  }

  .nav-links {
    display: none;
  }

  .brand strong {
    font-size: 1.3rem;
  }

  .hero-copy,
  .origin,
  .section,
  .statement,
  .calculator-section,
  .closing {
    padding-right: 20px;
    padding-left: 20px;
  }

  .hero-product {
    min-height: 360px;
    padding-top: 0;
    padding-bottom: 26px;
  }

  .hero-product img {
    width: min(260px, 70%);
  }

  .hero-copy {
    padding-top: 32px;
    padding-bottom: 30px;
  }

  h1 {
    font-size: 2.25rem;
    line-height: 1.04;
  }

  h2 {
    font-size: 1.78rem;
    line-height: 1.08;
  }

  .statement p {
    font-size: 1.45rem;
    line-height: 1.22;
  }

  .hero-actions,
  .site-footer {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .inclusion-grid,
  .heritage-grid,
  .process ol,
  .calculator,
  .results {
    grid-template-columns: 1fr;
  }

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

  .results article:last-child {
    grid-column: 1 / -1;
  }

  .inclusion-grid article,
  .heritage-grid article,
  .process li,
  .results article {
    min-height: 0;
    padding: 18px 16px;
  }

  .calculator {
    gap: 8px;
    padding: 12px;
  }

  .calculator label {
    font-size: 0.62rem;
    letter-spacing: 0.06em;
  }

  .calculator input {
    min-height: 38px;
    padding: 7px 8px;
  }

  .heritage-grid article {
    padding: 0;
  }

  .heritage-grid figure {
    aspect-ratio: 16 / 9;
  }

  .heritage-grid span,
  .heritage-grid h3,
  .heritage-grid p {
    margin-right: 20px;
    margin-left: 20px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}
