:root {
  --ink: #1c2a22;
  --mute: #5f7268;
  --paper: #f5faf7;
  --mint: #d7ebe1;
  --leaf: #2f7a55;
  --line: rgba(28, 42, 34, 0.12);
  --display: "DM Serif Display", Georgia, serif;
  --sans: "Plus Jakarta Sans", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  background: var(--paper);
  line-height: 1.55;
}
a { color: inherit; }
img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 4vw;
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(245, 250, 247, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.brand {
  font-family: var(--display);
  font-size: 1.4rem;
  text-decoration: none;
}
.top nav { display: flex; gap: 1.1rem; flex-wrap: wrap; }
.top nav a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--mute);
}

.hero-bento {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.5rem;
  padding: clamp(2rem, 6vw, 3.5rem) 4vw 1rem;
  align-items: center;
}
.tag {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--leaf);
  margin: 0 0 0.9rem;
}
.hero-text h1 {
  font-family: var(--display);
  font-size: clamp(3rem, 7vw, 5rem);
  line-height: 0.95;
  margin: 0 0 1rem;
  animation: rise 0.8s ease both;
}
.lead {
  color: var(--mute);
  font-size: 1.12rem;
  max-width: 30rem;
  margin: 0 0 1.4rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  padding: 0.85rem 1.2rem;
  background: var(--leaf);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
}
.btn.dark { background: var(--ink); }
.btn:hover { filter: brightness(1.05); }

.bento {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.7rem;
  min-height: 420px;
  animation: wash 1s ease both;
}
.bento img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.b1 { grid-row: 1 / span 2; }

.sill {
  margin: 2rem 4vw;
  padding: 1.6rem;
  background: var(--mint);
  border-radius: 16px;
}
.sill h2, .content h2, .letter h2, .class-card h2 {
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin: 0 0 1rem;
}
.sill-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.sill-grid article {
  background: rgba(255,255,255,0.65);
  padding: 1rem;
  border-radius: 12px;
}
.sill-grid h3 {
  font-family: var(--display);
  margin: 0 0 0.4rem;
  font-size: 1.2rem;
}
.sill-grid p { margin: 0; color: var(--mute); }

.layout-main {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 2rem;
  padding: 2rem 4vw 3rem;
}
.toc {
  position: sticky;
  top: 5rem;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 0.9rem;
}
.toc p {
  margin: 0 0 0.3rem;
  font-weight: 700;
  color: var(--leaf);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.toc a { text-decoration: none; color: var(--mute); font-weight: 500; }
.toc a:hover { color: var(--ink); }

.content > section { margin-bottom: 3rem; }
.herb-list { display: grid; gap: 1rem; }
.herb-list article {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1rem;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.herb-list img {
  width: 100%;
  height: 100%;
  min-height: 150px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.herb-list h3 {
  font-family: var(--display);
  margin: 0 0 0.35rem;
  font-size: 1.3rem;
}
.herb-list p { margin: 0; color: var(--mute); padding-right: 1rem; }
.herb-list div { padding: 0.5rem 0; }

.notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}
.notes figure { margin: 0; }
.notes img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
}
.notes figcaption {
  margin-top: 0.55rem;
  color: var(--mute);
  font-size: 0.95rem;
}

.kit-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.kit-row article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.kit-row img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.kit-row h3 {
  font-family: var(--display);
  margin: 0.8rem 1rem 0.35rem;
}
.kit-row p { margin: 0 1rem 1rem; color: var(--mute); }

.class {
  position: relative;
  min-height: 62vh;
  display: grid;
  align-items: end;
}
.class > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.class-card {
  position: relative;
  z-index: 1;
  margin: 4vw;
  max-width: 28rem;
  background: rgba(245, 250, 247, 0.95);
  padding: 1.4rem;
  border-radius: 14px;
}
.class-card p { color: var(--mute); margin: 0 0 1rem; }

.letter {
  margin: 0 4vw 3rem;
  padding: 1.8rem;
  background: var(--ink);
  color: #eef6f1;
  border-radius: 16px;
}
.letter p { color: rgba(238, 246, 241, 0.75); margin: 0; }
.letter form {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  max-width: 32rem;
}
.letter input {
  flex: 1 1 200px;
  border: 0;
  padding: 0.85rem 1rem;
  font: inherit;
  border-radius: 999px;
}
.letter button {
  border: 0;
  background: var(--leaf);
  color: #fff;
  font-weight: 700;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  cursor: pointer;
}
.form-note { flex: 1 1 100%; font-size: 0.85rem; margin-top: 0.25rem !important; }
.form-note a { color: #fff; }

.foot {
  padding: 2rem 4vw 2.5rem;
  border-top: 1px solid var(--line);
}
.foot strong { font-family: var(--display); font-size: 1.25rem; }
.foot p { color: var(--mute); }
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.1rem;
  margin: 1rem 0;
}
.footer-legal a { text-decoration: none; color: var(--mute); font-size: 0.9rem; }
.fine { font-size: 0.85rem; }

.cookie-banner {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 50;
  max-width: 36rem; margin: 0 auto; padding: 1rem 1.1rem;
  background: #111; color: #f5f5f5; box-shadow: 0 12px 40px rgba(0,0,0,.25);
  border-radius: 10px;
}
.cookie-banner a { color: #fff; }
.cookie-banner p { margin: 0 0 .8rem; font-size: .92rem; line-height: 1.45; color: inherit; }
.cookie-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.cookie-btn {
  border: 0; padding: .65rem 1rem; cursor: pointer; font-weight: 600; background: #fff; color: #111; border-radius: 999px;
}
.cookie-btn.ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.45); }

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
@keyframes wash {
  from { opacity: 0; transform: scale(1.03); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
  .top nav { display: none; }
  .hero-bento, .layout-main { grid-template-columns: 1fr; }
  .toc { display: none; }
  .sill-grid, .notes, .kit-row { grid-template-columns: 1fr; }
  .herb-list article { grid-template-columns: 1fr; }
  .bento { min-height: 320px; }
}
