/* Lost Plant Remedies — botanical sales page
   Cream paper, deep green, warm brown ink, one ochre accent. */

:root {
  --cream: #f3ecdf;
  --cream-2: #e7dcc8;
  --ink: #3c2a1e;
  --ink-soft: #6d5646;
  --green: #18382c;
  --green-deep: #10261e;
  --ochre: #c4893a;
  --ochre-deep: #a8742e;
  --forage: #e4d2ae;
  --clay: #6a4032;
  --line: rgb(60 42 30 / 0.16);
  --serif: "Fraunces", "Iowan Old Style", Palatino, "Palatino Linotype", serif;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--cream);
  background-image:
    radial-gradient(ellipse 70% 40% at 0% -10%, rgb(196 137 58 / 0.09), transparent 60%),
    radial-gradient(ellipse 50% 40% at 100% 0%, rgb(24 56 44 / 0.05), transparent 55%);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.6;
}

h1, h2, h3, p {
  margin: 0;
}

a {
  color: var(--green);
  text-underline-offset: 0.18em;
}

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

.skip {
  position: absolute;
  left: 0.75rem;
  top: -3.5rem;
  background: var(--cream);
  color: var(--ink);
  padding: 0.5rem 0.75rem;
  z-index: 20;
}

.skip:focus {
  top: 0.75rem;
}

.wrap {
  width: min(72rem, calc(100% - 3rem));
  margin-inline: auto;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgb(243 236 223 / 0.92);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  padding: 0.9rem 0;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--green);
  text-decoration: none;
  font-family: var(--serif);
  font-weight: 560;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}

.brand-mark {
  width: 1.15rem;
  height: 1.35rem;
  flex: none;
}

.header-nav {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  font-size: 1rem;
}

.header-nav a {
  color: var(--ink);
  text-decoration: none;
}

.header-nav a:hover {
  color: var(--green);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(16rem, 0.7fr);
  gap: 3rem 3.5rem;
  align-items: end;
  padding: 4.25rem 0 1rem;
}

.channel {
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ochre-deep);
  font-weight: 600;
}

.who {
  margin-top: 0.7rem;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.35rem;
  color: var(--green);
}

h1 {
  font-family: var(--serif);
  font-weight: 560;
  font-size: clamp(2.5rem, 4.6vw, 4.15rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-top: 0.85rem;
  max-width: 14ch;
  color: var(--ink);
}

.lede {
  margin-top: 1.35rem;
  max-width: 38rem;
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--ink);
}

.quiet {
  margin-top: 1.1rem;
  color: var(--ink-soft);
  font-size: 1rem;
}

.timer {
  border-left: 2px solid var(--ochre);
  padding: 0.15rem 0 0.15rem 1.2rem;
  align-self: center;
}

.timer h2 {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ochre-deep);
}

.clock {
  font-family: var(--serif);
  font-weight: 560;
  font-size: clamp(2.6rem, 4vw, 3.5rem);
  letter-spacing: 0.03em;
  font-variant-numeric: tabular-nums;
  line-height: 1.05;
  color: var(--green);
  margin-top: 0.35rem;
}

.timer-label,
.clock-words,
.timer-note {
  margin-top: 0.7rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.45;
}

.clock-words {
  color: var(--ink);
}

.closed-banner {
  display: none;
  grid-column: 1 / -1;
  margin-top: 0.5rem;
  color: #6b3a22;
  font-size: 1.05rem;
}

.closed-banner.is-visible {
  display: block;
}

.noscript {
  grid-column: 1 / -1;
}

.shelf {
  padding: 3.5rem 0 1rem;
}

.shelf-head {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  align-items: end;
  margin-bottom: 1.75rem;
  max-width: 100%;
}

.shelf-head h2,
.other h2,
.set h2 {
  font-family: var(--serif);
  font-weight: 560;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.shelf-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.shelf-head p {
  max-width: 26rem;
  color: var(--ink-soft);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.book {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.jacket {
  position: relative;
  min-height: 24.5rem;
  padding: 1.35rem 1.3rem 1.4rem 1.65rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 18px 36px rgb(40 28 16 / 0.12);
}

.jacket::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 0.72rem;
  background: linear-gradient(90deg, rgb(0 0 0 / 0.28), rgb(255 255 255 / 0.12) 55%, rgb(0 0 0 / 0.12));
}

.jacket-ferment {
  background: var(--green);
  color: #f6f1e6;
}

.jacket-forage {
  background:
    linear-gradient(180deg, rgb(255 255 255 / 0.22), transparent 40%),
    var(--forage);
  color: #2c2418;
}

.jacket-remedies {
  background: var(--clay);
  color: #f6efe4;
}

.jacket-kicker {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  opacity: 0.8;
}

.jacket-mark {
  width: 4.4rem;
  height: 6.4rem;
  margin-top: 1.6rem;
  color: var(--ochre);
}

.jacket-forage .jacket-mark {
  color: var(--green);
}

.jacket-title {
  margin-top: auto;
  font-family: var(--serif);
  font-weight: 560;
  font-size: clamp(1.7rem, 2vw, 2.05rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 11ch;
}

.jacket-sub {
  margin-top: 0.7rem;
  padding-top: 0.7rem;
  border-top: 1px solid rgb(246 241 230 / 0.35);
  font-size: 1rem;
  line-height: 1.35;
}

.jacket-forage .jacket-sub {
  border-top-color: rgb(44 36 24 / 0.28);
}

.jacket-author {
  margin-top: 0.85rem;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  opacity: 0.85;
}

.book-copy {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.15rem 0.15rem 0.2rem;
  flex: 1;
}

.book-copy h2 {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 560;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.book-copy p {
  color: var(--ink);
}

.book-copy .price,
.set-price {
  font-family: var(--serif);
  font-weight: 560;
  font-size: 1.85rem;
  color: var(--green);
  letter-spacing: -0.02em;
  margin-top: auto;
}

.buy {
  appearance: none;
  width: 100%;
  border: 0;
  border-radius: 2px;
  background: var(--green);
  color: #f6f1e6;
  font: inherit;
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.35;
  padding: 0.85rem 1rem;
  cursor: pointer;
  text-align: center;
}

.buy:hover:not(:disabled) {
  background: var(--green-deep);
}

.buy:focus-visible,
a:focus-visible {
  outline: 3px solid var(--ochre);
  outline-offset: 3px;
}

.buy:disabled {
  background: #ddd4c6;
  color: #5e5146;
  cursor: not-allowed;
}

.set {
  margin: 3.25rem 0 0;
  background: var(--green-deep);
  color: #f6f1e6;
  padding: 2rem 2rem 2rem 1.4rem;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(14rem, 18rem);
  gap: 1.5rem 2rem;
  align-items: center;
}

.spines {
  display: flex;
  gap: 0.45rem;
  align-self: stretch;
}

.spine {
  width: 0.7rem;
  border-radius: 1px;
}

.spine-a { background: #2f6a52; }
.spine-b { background: var(--forage); }
.spine-c { background: #a86b55; }

.set-kicker {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ochre);
}

.set h2 {
  font-size: clamp(2rem, 3vw, 2.7rem);
  margin-top: 0.35rem;
  color: #f6f1e6;
}

.set-copy p:last-child {
  margin-top: 0.75rem;
  max-width: 38rem;
  color: #e7dcc8;
}

.set-price {
  color: #f6f1e6;
  font-size: 3rem;
  line-height: 1;
}

.set .buy {
  margin-top: 0.85rem;
  background: var(--ochre);
  color: #2a2118;
}

.set .buy:hover:not(:disabled) {
  background: #d7a04e;
}

.set .buy:disabled {
  background: #ddd4c6;
  color: #5e5146;
}

.other {
  padding: 3.25rem 0 3.5rem;
}

.other h2 {
  font-size: 1.85rem;
}

.other > p {
  margin-top: 0.55rem;
  color: var(--ink-soft);
  max-width: 36rem;
}

.link-list {
  list-style: none;
  padding: 0;
  margin: 1.1rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.5rem;
}

.link-list a {
  font-weight: 600;
}

.site-footer {
  background: var(--green);
  color: #e7dcc8;
  padding: 2.25rem 0 2.5rem;
}

.footer-inner {
  display: grid;
  gap: 0.55rem;
  max-width: 46rem;
}

.footer-brand {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: #f6f1e6;
}

.site-footer p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.55;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-top: 2.5rem;
  }

  h1 {
    max-width: 16ch;
  }

  .timer {
    border-left: 0;
    border-top: 2px solid var(--ochre);
    padding: 1.1rem 0 0;
    max-width: 28rem;
  }

  .grid {
    grid-template-columns: 1fr;
    max-width: 28rem;
  }

  .jacket {
    min-height: 22rem;
  }

  .shelf-head,
  .set {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .set {
    padding: 1.6rem 1.25rem 1.6rem 1.15rem;
  }

  .spines {
    height: 4.5rem;
    align-self: auto;
  }

  .set-buy,
  .set .buy {
    width: 100%;
  }

  .wrap {
    width: min(72rem, calc(100% - 2rem));
  }
}

@media (min-width: 981px) and (max-width: 1100px) {
  .jacket-title {
    font-size: 1.65rem;
  }
}
