:root {
  color-scheme: light;
  --cream: #fbf4e7;
  --steam: #fffaf0;
  --ink: #1c1510;
  --muted: #6e6257;
  --line: rgba(28, 21, 16, 0.13);
  --line-strong: rgba(28, 21, 16, 0.24);
  --copper: #b76635;
  --copper-dark: #6d351f;
  --gold: #e7a83e;
  --green: #55745a;
  --moss: #dce7d4;
  --brown: #50321f;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(28, 21, 16, 0.035) 1px, transparent 1px) 0 0 / 76px 76px,
    radial-gradient(circle at 18% 6%, rgba(231, 168, 62, 0.22), transparent 28%),
    radial-gradient(circle at 86% 22%, rgba(85, 116, 90, 0.16), transparent 30%),
    linear-gradient(180deg, #fff9ef 0%, var(--cream) 52%, #f2e7d8 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.page {
  max-width: 1240px;
  margin: 0 auto;
  padding: 28px 26px 86px;
}

.topline {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: clamp(74px, 10vw, 132px);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.topline a {
  color: var(--muted);
  text-decoration: none;
}

.hero {
  min-height: 88vh;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line-strong);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.65fr);
  gap: clamp(36px, 8vw, 96px);
  align-items: end;
}

.eyebrow,
.kicker,
.broth-grid span,
.phase-grid span {
  margin: 0 0 14px;
  color: var(--copper);
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 750;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-weight: 400;
  color: var(--ink);
}

h1 {
  max-width: 840px;
  font-size: clamp(4.6rem, 11vw, 10.5rem);
  line-height: 0.82;
  letter-spacing: -0.085em;
}

h2 {
  font-size: clamp(2.35rem, 5.4vw, 5.7rem);
  line-height: 0.92;
  letter-spacing: -0.06em;
}

h3 {
  font-size: clamp(1.45rem, 2.2vw, 2.35rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.68;
}

.hero-copy p {
  margin-top: 0;
  color: var(--brown);
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  line-height: 1.5;
}

.button {
  display: inline-flex;
  margin-top: 14px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--steam);
  text-decoration: none;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.marquee {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.marquee span {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.62);
  color: var(--brown);
  font-size: 0.86rem;
}

.section {
  padding: clamp(58px, 8vw, 112px) 0;
  border-bottom: 1px solid var(--line);
}

.intro,
.modes-section,
.alias-section {
  display: grid;
  grid-template-columns: 0.46fr 1fr;
  gap: clamp(36px, 8vw, 108px);
  align-items: start;
}

.large-copy {
  max-width: 790px;
}

.large-copy p {
  color: var(--ink);
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: clamp(1.8rem, 3.4vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.section-head {
  max-width: 900px;
  margin-bottom: 42px;
}

.section-head.wide {
  max-width: 1040px;
}

.section-head p:not(.kicker) {
  max-width: 760px;
}

.concept-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 18px;
}

.concept-card {
  position: relative;
  min-height: 360px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 34px;
  background: var(--steam);
  box-shadow: 0 26px 70px rgba(80, 50, 31, 0.1);
}

.concept-card-large {
  grid-row: span 2;
  min-height: 742px;
}

.concept-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.concept-card figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 250, 240, 0.42);
  border-radius: 22px;
  background: rgba(28, 21, 16, 0.68);
  backdrop-filter: blur(14px);
  color: var(--steam);
}

.concept-card figcaption span {
  display: block;
  margin-bottom: 6px;
  color: #f3c084;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 760;
}

.concept-card figcaption strong {
  display: block;
  max-width: 520px;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: clamp(1.25rem, 2vw, 2rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 400;
}

.phase-grid,
.broth-grid {
  display: grid;
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line);
}

.phase-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.broth-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.phase-grid article,
.broth-grid article {
  min-height: 280px;
  padding: 25px 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 250, 240, 0.52);
}

.phase-grid h3,
.broth-grid h3 { margin-top: 54px; }

.dispenser-card {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) 1fr;
  gap: clamp(34px, 6vw, 78px);
  align-items: center;
  padding: clamp(28px, 5vw, 62px);
  border-radius: 34px;
  background: var(--steam);
  border: 1px solid var(--line-strong);
  box-shadow: 0 30px 80px rgba(80, 50, 31, 0.09);
}

.machine {
  position: relative;
  min-height: 420px;
  border: 1px solid rgba(28, 21, 16, 0.18);
  border-radius: 38px;
  background: linear-gradient(180deg, #f7e6d3, #cc8b5b 48%, #6d351f 100%);
  box-shadow: inset 0 0 0 18px rgba(255,255,255,0.24);
  overflow: hidden;
}

.tank {
  position: absolute;
  left: 15%;
  width: 70%;
  height: 54px;
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(28,21,16,0.16);
}
.tank-one { top: 84px; background: #efa83d; }
.tank-two { top: 164px; background: #8f5130; }
.tank-three { top: 244px; background: #657b58; }

.spouts {
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 64px;
  display: flex;
  justify-content: space-between;
}

.spouts i {
  width: 28px;
  height: 72px;
  border-radius: 999px 999px 10px 10px;
  background: var(--ink);
}

.mode-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.mode-list article,
.alias-card {
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 250, 240, 0.6);
}

.mode-list p { margin-bottom: 0; }

.plant-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) 1fr;
  gap: clamp(34px, 6vw, 78px);
  align-items: center;
}

.plant-visual {
  min-height: 430px;
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  gap: 16px;
  padding: 34px 28px;
  border-radius: 38px;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(circle at 50% 10%, rgba(255,255,255,0.74), transparent 24%),
    linear-gradient(180deg, #f5fbef, #dfead6);
  box-shadow: 0 30px 80px rgba(85, 116, 90, 0.13);
}

.plant-visual i {
  position: relative;
  width: 38px;
  border-radius: 999px;
  background: rgba(255,255,255,0.68);
  border: 1px solid rgba(85,116,90,0.24);
}

.plant-visual i::before,
.plant-visual i::after {
  content: "";
  position: absolute;
  width: 42px;
  height: 22px;
  border-radius: 100% 0 100% 0;
  background: var(--green);
  opacity: 0.82;
}

.plant-visual i::before { top: 28%; left: 22px; transform: rotate(-18deg); }
.plant-visual i::after { top: 56%; right: 22px; transform: rotate(160deg); }

.notes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
}

.notes-grid p {
  margin: 0;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: clamp(1.35rem, 2vw, 2.1rem);
}

.alias-card {
  position: relative;
  min-height: 240px;
  background: linear-gradient(135deg, rgba(255,250,240,0.84), rgba(220,231,212,0.72));
}

.alias-name {
  margin: 0;
  color: var(--ink);
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.qr {
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: 86px;
  height: 86px;
  background:
    linear-gradient(90deg, var(--ink) 12px, transparent 12px) 0 0 / 24px 24px,
    linear-gradient(var(--ink) 12px, transparent 12px) 0 0 / 24px 24px,
    var(--steam);
  border: 8px solid var(--steam);
  outline: 1px solid var(--line-strong);
}

.final {
  text-align: center;
  border-bottom: 0;
}

.final h2 {
  max-width: 860px;
  margin: 0 auto;
}

.final p:not(.eyebrow) {
  max-width: 700px;
  margin: 26px auto 0;
}

@media (max-width: 1040px) {
  .broth-grid,
  .mode-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .hero { min-height: auto; }
  .hero-grid,
  .intro,
  .modes-section,
  .alias-section,
  .dispenser-card,
  .plant-section {
    grid-template-columns: 1fr;
  }
  .phase-grid {
    grid-template-columns: 1fr;
  }
  .concept-grid {
    grid-template-columns: 1fr;
  }
  .concept-card,
  .concept-card-large {
    min-height: 420px;
  }
}

@media (max-width: 640px) {
  .page { padding: 22px 18px 68px; }
  .topline { margin-bottom: 64px; }
  h1 { font-size: clamp(3.8rem, 18vw, 6.4rem); }
  .broth-grid,
  .mode-list,
  .notes-grid {
    grid-template-columns: 1fr;
  }
  .machine,
  .plant-visual { min-height: 330px; }
  .concept-card,
  .concept-card-large { min-height: 320px; }
  .qr { position: static; margin-top: 22px; }
}
