:root {
  --cream: #f7e9c4;
  --cream-deep: #edd7a4;
  --paper: #fff6e4;
  --mustard: #e8b323;
  --mustard-deep: #c99412;
  --ink: #1b2744;
  --ink-soft: #2c3a5c;
  --tabby: #d4894a;
  --soil: #6b4a2a;
  --leaf: #6f8b4a;
  --shadow: 7px 7px 0 var(--ink);
  --font-display: "Lilita One", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;
  --font-hand: "Caveat", cursive;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}

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

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.02em;
  margin: 0;
}

p {
  margin: 0;
}

/* ---------- atmosphere: sunshine, no grids ---------- */

.sky {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(1200px 700px at 88% -8%, rgba(255, 228, 150, 0.85), transparent 62%),
    radial-gradient(900px 540px at 8% 18%, rgba(255, 246, 228, 0.7), transparent 58%),
    linear-gradient(180deg, #fbe9b8 0%, #f7e9c4 38%, #f3d9a2 100%);
}

.sky__sun {
  position: absolute;
  top: -80px;
  right: -40px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #fff4c4 0%, #f0c44a 38%, rgba(232, 179, 35, 0.15) 68%, transparent 72%);
  filter: blur(2px);
}

.sky__haze {
  position: absolute;
  inset: 18% 0 auto;
  height: 40%;
  background: radial-gradient(ellipse at 50% 0%, rgba(255, 250, 235, 0.45), transparent 70%);
}

.sky__leaf {
  position: absolute;
  width: 140px;
  height: 90px;
  background: #7a924e;
  opacity: 0.14;
  border-radius: 0 70% 0 70%;
  transform: rotate(-18deg);
}

.sky__leaf--a { top: 22%; left: -30px; }
.sky__leaf--b { top: 58%; right: -20px; transform: rotate(28deg); width: 180px; }
.sky__leaf--c { bottom: 8%; left: 12%; transform: rotate(8deg); width: 110px; opacity: 0.1; }

.shed {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  perspective: 1200px;
  perspective-origin: 50% 18%;
}

.shed__aisle {
  position: absolute;
  left: 50%;
  bottom: -8%;
  width: 160%;
  height: 58%;
  transform: translateX(-50%) rotateX(64deg);
  transform-origin: center top;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 246, 220, 0.55), transparent 42%),
    linear-gradient(180deg, rgba(237, 215, 164, 0.15), rgba(201, 154, 74, 0.28) 55%, rgba(107, 74, 42, 0.18));
  mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 78%, transparent);
}

/* ---------- masthead ---------- */

.mast {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 22px;
  background: rgba(255, 246, 228, 0.86);
  border-bottom: 4px solid var(--ink);
  backdrop-filter: blur(8px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 14px;
  box-shadow: 3px 3px 0 var(--ink);
}

.brand b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1;
}

.brand i {
  display: block;
  font-style: normal;
  font-size: 0.72rem;
  color: var(--ink-soft);
}

.mast__nav {
  display: none;
  gap: 22px;
  font-weight: 800;
}

.mast__nav a:hover {
  color: var(--mustard-deep);
}

.mast__acts {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ico {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 12px;
  box-shadow: 3px 3px 0 var(--ink);
}

.ico img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.ico i {
  font-size: 1.05rem;
}

.btn-buy {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--mustard);
  border: 3px solid var(--ink);
  border-radius: 14px;
  box-shadow: 3px 3px 0 var(--ink);
  font-weight: 800;
}

.btn-buy img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.nav-toggle {
  width: 42px;
  height: 42px;
  border: 3px solid var(--ink);
  border-radius: 12px;
  background: var(--paper);
  box-shadow: 3px 3px 0 var(--ink);
  font-size: 1.3rem;
  cursor: pointer;
}

.drawer {
  display: none;
  position: sticky;
  top: 74px;
  z-index: 35;
  background: var(--paper);
  border-bottom: 4px solid var(--ink);
  padding: 10px 22px 16px;
}

.drawer.is-open {
  display: grid;
  gap: 10px;
}

.drawer a {
  font-weight: 800;
  padding: 8px 0;
}

/* ---------- shared ---------- */

.almanac {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 80px;
  display: grid;
  gap: 56px;
}

.kicker {
  font-family: var(--font-hand);
  font-size: 1.45rem;
  color: var(--soil);
  margin-bottom: 4px;
}

.hand {
  font-family: var(--font-hand);
  font-size: 1.35rem;
  color: var(--ink-soft);
}

.plate {
  background: var(--paper);
  border: 4px solid var(--ink);
  border-radius: 22px;
  padding: 10px;
  box-shadow: var(--shadow);
}

.plate img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 16px;
  border: 3px solid var(--ink);
  border-radius: 16px;
  box-shadow: 4px 4px 0 var(--ink);
  font-weight: 800;
  line-height: 1;
}

.btn img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.btn-sm {
  padding: 9px 14px;
  margin-top: 10px;
}

.btn-mustard { background: var(--mustard); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink img { filter: brightness(0) invert(1); }
.btn-cream { background: var(--paper); }

.btn:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
}

/* ---------- hero: greenhouse sash + windowsill caption ---------- */

.hero {
  display: grid;
  gap: 22px;
}

.hero__row {
  display: grid;
  gap: 18px;
}

.sash {
  background: #f3d7a0;
  border: 5px solid var(--ink);
  border-radius: 28px;
  padding: 12px;
  box-shadow: var(--shadow);
}

.sash__rail {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
}

.sash__knob {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--mustard);
  border: 3px solid var(--ink);
}

.sash .plate {
  box-shadow: none;
}

.bubble {
  background: var(--paper);
  border: 4px solid var(--ink);
  border-radius: 28px 28px 28px 8px;
  padding: 18px 20px 20px;
  box-shadow: var(--shadow);
  align-self: end;
}

.bubble__hand {
  font-family: var(--font-hand);
  font-size: 1.3rem;
  color: var(--soil);
  margin-bottom: 6px;
}

.bubble p:last-child {
  font-size: 1.05rem;
  line-height: 1.55;
}

.sill {
  background: var(--paper);
  border: 5px solid var(--ink);
  border-radius: 28px;
  padding: 26px 24px 22px;
  box-shadow: var(--shadow);
  text-align: center;
}

.sill__mark {
  font-family: var(--font-hand);
  font-size: 1.35rem;
  color: var(--soil);
}

.sill h1 {
  font-size: clamp(2.4rem, 8vw, 4.4rem);
  line-height: 0.95;
  margin: 4px 0 6px;
}

.sill__sym {
  display: inline-block;
  margin-bottom: 16px;
  padding: 4px 12px;
  background: var(--mustard);
  border: 3px solid var(--ink);
  border-radius: 999px;
  font-weight: 800;
}

.sill__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.ca {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  background: #f3e2b6;
  border: 3px dashed var(--ink);
  border-radius: 16px;
  padding: 10px 12px;
}

.ca__tag {
  font-family: var(--font-display);
  background: var(--ink);
  color: var(--paper);
  padding: 3px 8px;
  border-radius: 8px;
}

.ca code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
  word-break: break-all;
}

.ca button {
  border: 3px solid var(--ink);
  background: var(--paper);
  border-radius: 10px;
  padding: 6px 10px;
  font-weight: 800;
  cursor: pointer;
}

/* ---------- about: open journal ---------- */

.about {
  display: grid;
  gap: 20px;
}

.journal {
  display: grid;
  background: var(--paper);
  border: 5px solid var(--ink);
  border-radius: 30px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.journal__page {
  padding: 26px 24px;
}

.journal__page--story h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 12px;
}

.journal__page--story p + p {
  margin-top: 12px;
}

.journal__page--story p:not(.kicker) {
  font-size: 1.05rem;
  line-height: 1.65;
}

.journal__spine {
  display: none;
}

.journal__page--photo {
  background:
    radial-gradient(ellipse at 80% 20%, rgba(232, 179, 35, 0.18), transparent 46%),
    #f4dfb0;
}

.journal__page--photo .plate {
  box-shadow: 5px 5px 0 var(--ink);
}

.journal__page--photo figcaption {
  margin-top: 12px;
  text-align: center;
}

.nameplate {
  background: var(--paper);
  border: 5px solid var(--ink);
  border-radius: 22px;
  padding: 10px;
  box-shadow: var(--shadow);
}

.nameplate img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
}

/* ---------- how to buy: garden vine, not a card grid ---------- */

.howto__head {
  max-width: 36rem;
  margin-bottom: 28px;
}

.howto__head h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 8px;
}

.vine {
  position: relative;
  display: grid;
  gap: 22px;
}

.vine__stem {
  display: none;
}

.seed {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 14px;
  align-items: start;
  width: min(100%, 560px);
  background: var(--paper);
  border: 4px solid var(--ink);
  border-radius: 26px;
  padding: 16px;
  box-shadow: var(--shadow);
}

.seed--right {
  justify-self: end;
  border-radius: 26px 10px 26px 26px;
}

.seed--left {
  border-radius: 10px 26px 26px 26px;
}

.seed__icon {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  background: #f3dfb2;
  border: 3px solid var(--ink);
  border-radius: 20px;
}

.seed__icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.seed h3 {
  font-size: 1.45rem;
  margin-bottom: 6px;
}

.seed p {
  line-height: 1.5;
}

/* ---------- community: rooftop gathering ---------- */

.gather {
  display: grid;
  gap: 22px;
  background: #efe0b0;
  border: 5px solid var(--ink);
  border-radius: 32px;
  padding: 16px;
  box-shadow: var(--shadow);
}

.gather__photo {
  margin: 0;
}

.gather__copy {
  padding: 8px 8px 12px;
}

.gather__copy h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 10px;
}

.gather__copy > p:not(.kicker) {
  line-height: 1.6;
  max-width: 38rem;
}

.gather__logo {
  width: 96px;
  margin: 18px 0 16px;
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 22px;
  padding: 6px;
  box-shadow: 4px 4px 0 var(--ink);
}

.gather__logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 14px;
}

.gather__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- footer ---------- */

.foot {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 22px;
  border-top: 4px solid var(--ink);
  background: rgba(255, 246, 228, 0.88);
}

.foot p {
  font-size: 0.92rem;
  color: var(--ink-soft);
}

/* ---------- breakpoints ---------- */

@media (min-width: 760px) {
  .mast__nav { display: flex; }
  .btn-buy { display: inline-flex; }
  .nav-toggle,
  .drawer { display: none !important; }

  .hero__row {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: end;
  }

  .journal {
    grid-template-columns: 1fr 18px 1fr;
  }

  .journal__spine {
    display: block;
    background:
      linear-gradient(90deg, rgba(27, 39, 68, 0.12), rgba(27, 39, 68, 0.28), rgba(27, 39, 68, 0.12));
  }

  .vine__stem {
    display: block;
    position: absolute;
    left: 50%;
    top: 12px;
    bottom: 12px;
    width: 6px;
    transform: translateX(-50%);
    background:
      repeating-linear-gradient(
        180deg,
        var(--mustard) 0 14px,
        transparent 14px 24px
      );
    border-radius: 99px;
    opacity: 0.7;
  }

  .gather {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    padding: 18px;
  }
}

@media (min-width: 980px) {
  .almanac {
    width: min(1180px, calc(100% - 48px));
    gap: 72px;
    padding-top: 36px;
  }

  .sill {
    padding: 32px 40px 28px;
  }
}
