:root {
  /* Compliance notes: Blur-Focus Scroll Interaction:** uses IntersectionObserver` thresholds at `[0.2 with CSS transitions on the `filter` property. Playfair Display for heritage elegance and Space Grotesk for modern readability; both are loaded from (Google Fonts. */
  --clotted-cream: #FFF8F0;
  --petal-blush: #F4DDD6;
  --rose-dust: #C4918A;
  --meadow-sage: #8BAF7E;
  --potting-soil: #4A3728;
  --linen: #EDE3D5;
  --honeycomb: #F7C873;
  --forget-me-not: #B8CFDF;
  --not-used-black: #000000;
  --soft-ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--clotted-cream);
}

body {
  margin: 0;
  min-height: 100%;
  color: var(--potting-soil);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  line-height: 1.75;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 16% 11%, rgba(247, 200, 115, 0.25), transparent 22rem),
    radial-gradient(circle at 86% 19%, rgba(184, 207, 223, 0.28), transparent 24rem),
    linear-gradient(180deg, #FFF8F0 0%, #F4DDD6 42%, #D4E2CB 76%, #EDE3D5 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 8% 72%, rgba(139, 175, 126, 0.24), transparent 18rem),
    radial-gradient(ellipse at 89% 64%, rgba(196, 145, 138, 0.18), transparent 20rem),
    radial-gradient(ellipse at 50% 100%, rgba(212, 226, 203, 0.85), transparent 38rem);
  z-index: -3;
}

.paper-grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.32;
  z-index: 10;
  mix-blend-mode: multiply;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(74, 55, 40, 0.05) 0 1px, transparent 1px),
    radial-gradient(circle at 70% 80%, rgba(196, 145, 138, 0.06) 0 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 248, 240, 0.4), rgba(237, 227, 213, 0.3));
  background-size: 18px 22px, 27px 31px, 100% 100%;
}

.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.bubble-field {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
}

.bubble {
  position: absolute;
  bottom: -5vh;
  width: var(--size);
  height: var(--size);
  left: var(--left);
  border-radius: 50%;
  filter: blur(3px);
  opacity: 0;
  background: radial-gradient(circle at 35% 32%, rgba(255,255,255,0.7), var(--bubble-color) 64%, transparent 72%);
  animation: float-bubble var(--duration) var(--delay) linear infinite;
}

@keyframes float-bubble {
  0% { transform: translate3d(0, 0, 0) scale(0.65); opacity: 0; }
  14% { opacity: 0.72; }
  50% { transform: translate3d(var(--drift), -52vh, 0) scale(1); }
  100% { transform: translate3d(calc(var(--drift) * -0.4), -108vh, 0) scale(0.75); opacity: 0; }
}

.meadow-hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: start center;
  padding: clamp(96px, 16vh, 160px) clamp(20px, 5vw, 80px) 90px;
  overflow: hidden;
  isolation: isolate;
}

.meadow-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse at 20% 78%, rgba(139, 175, 126, 0.34), transparent 30%),
    radial-gradient(ellipse at 80% 74%, rgba(247, 200, 115, 0.22), transparent 24%),
    linear-gradient(180deg, #FFF8F0 0%, #FFF8F0 24%, #F4DDD6 56%, #D4E2CB 100%);
}

.hero-copy {
  text-align: center;
  max-width: 880px;
  position: relative;
  z-index: 2;
  opacity: 0;
  filter: blur(14px) saturate(0.65);
  transform: translateY(16px);
  animation: hero-focus 2s var(--soft-ease) 0.25s forwards;
}

@keyframes hero-focus {
  to { opacity: 1; filter: blur(0) saturate(1); transform: translateY(0); }
}

h1, h2, h3 {
  font-family: "Playfair Display", Georgia, serif;
  color: var(--potting-soil);
  margin: 0;
  line-height: 1.05;
}

h1 {
  font-size: clamp(2.8rem, 8vw, 6.5rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-shadow: 0 10px 32px rgba(196, 145, 138, 0.22);
}

h2 {
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: 0.015em;
}

h3 {
  font-size: clamp(1.3rem, 2.6vw, 2rem);
  font-weight: 700;
  margin: 0 0 0.75rem;
}

p {
  margin: 0;
}

.hero-line {
  max-width: 620px;
  margin: 1.2rem auto 0;
  opacity: 0;
  transform: translateY(10px);
  animation: line-rise 2s var(--soft-ease) 1.5s forwards;
}

@keyframes line-rise {
  to { opacity: 0.88; transform: translateY(0); }
}

.hand-note, .card-label {
  font-family: "Caveat", cursive;
  color: var(--rose-dust);
  font-size: clamp(0.95rem, 1.5vw, 1.18rem);
  letter-spacing: 0.025em;
}

.hand-note {
  margin-bottom: 0.5rem;
}

.lupin {
  position: absolute;
  width: clamp(130px, 18vw, 300px);
  height: auto;
  opacity: 0.58;
  transform-origin: 50% 100%;
  filter: blur(1.2px) saturate(0.86);
  animation: sway 5.4s var(--soft-ease) infinite alternate;
  z-index: 1;
}

.lupin-one { left: 4%; bottom: 2%; transform: rotate(-9deg); animation-duration: 5.8s; }
.lupin-two { left: 73%; bottom: -5%; width: clamp(170px, 24vw, 390px); transform: rotate(7deg); animation-duration: 6.2s; animation-delay: -1.3s; }
.lupin-three { left: 19%; bottom: -10%; width: clamp(110px, 14vw, 240px); opacity: 0.38; transform: rotate(3deg); animation-delay: -2s; }
.lupin-four { right: 6%; top: 8%; width: clamp(96px, 12vw, 210px); opacity: 0.22; transform: rotate(18deg); filter: blur(4px) saturate(0.74); animation-duration: 6s; }

@keyframes sway {
  from { rotate: -2deg; }
  to { rotate: 2deg; }
}

.vine-divider {
  width: min(640px, 82vw);
  height: auto;
  overflow: visible;
}

.vine-divider path {
  fill: none;
  stroke: var(--rose-dust);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 720;
  stroke-dashoffset: 720;
  filter: url(#wobble-line);
  transition: stroke-dashoffset 2.8s var(--soft-ease);
}

.vine-divider .leaf {
  fill: var(--meadow-sage);
  stroke: var(--meadow-sage);
  opacity: 0.72;
}

.vine-divider.drawn path {
  stroke-dashoffset: 0;
}

.hero-vine {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.72;
}

.journal-section {
  position: relative;
  padding: clamp(70px, 10vw, 130px) clamp(16px, 5vw, 80px) clamp(80px, 12vw, 150px);
}

.section-intro {
  max-width: 720px;
  margin: 0 auto clamp(42px, 7vw, 86px);
  text-align: center;
}

.section-intro p:last-child {
  margin-top: 1rem;
}

.masonry-meadow {
  column-count: 3;
  column-gap: clamp(16px, 3vw, 32px);
  max-width: 1180px;
  margin: 0 auto;
}

.garden-card {
  position: relative;
  display: inline-block;
  width: 100%;
  margin: 0 0 clamp(16px, 3vw, 32px);
  padding: clamp(22px, 3vw, 38px);
  border-radius: clamp(12px, 2vw, 24px);
  break-inside: avoid;
  box-shadow: 0 2px 12px rgba(74, 55, 40, 0.08);
  transition: transform 0.4s var(--soft-ease), box-shadow 0.4s var(--soft-ease), filter 1.5s var(--soft-ease), opacity 1.5s var(--soft-ease);
  overflow: hidden;
  clip-path: polygon(2% 3%, 96% 0%, 100% 7%, 98% 96%, 92% 100%, 4% 98%, 0% 91%, 1% 12%);
}

.garden-card::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1.5px dashed rgba(196, 145, 138, 0.48);
  border-radius: clamp(11px, 2vw, 22px);
  pointer-events: none;
}

.garden-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 20px rgba(74, 55, 40, 0.14);
}

.garden-card p,
.garden-card li {
  color: rgba(74, 55, 40, 0.86);
}

.card-label {
  display: inline-block;
  margin-bottom: 0.8rem;
}

.card-cream { background: rgba(255, 248, 240, 0.88); }
.card-linen { background: rgba(237, 227, 213, 0.88); }
.card-rose, .card-blush { background: rgba(244, 221, 214, 0.9); }
.card-sage { background: rgba(212, 226, 203, 0.82); }

.tall { min-height: 430px; }
.medium { min-height: 300px; }
.short { min-height: 230px; }
.wide { min-height: 260px; }

.mini-lupin {
  float: right;
  width: 104px;
  margin: -0.6rem -0.5rem 0.8rem 1rem;
  opacity: 0.72;
  filter: saturate(0.92);
}

.seed-line {
  display: block;
  width: 100%;
  margin-top: 1.4rem;
  overflow: visible;
}

.seed-line path,
.seed-line circle {
  fill: rgba(247, 200, 115, 0.55);
  stroke: var(--rose-dust);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 7 6;
}

.swatches {
  display: grid;
  gap: 0.9rem;
}

.swatches i {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: "Caveat", cursive;
  font-size: 1.22rem;
  color: var(--potting-soil);
  font-style: normal;
}

.swatches i::before {
  content: "";
  width: 42px;
  height: 42px;
  border-radius: 46% 54% 44% 56% / 55% 42% 58% 45%;
  background: var(--swatch);
  box-shadow: inset 0 0 0 1px rgba(74,55,40,0.1), 0 5px 12px rgba(74,55,40,0.08);
}

.corner-sprig {
  position: absolute;
  right: 24px;
  top: 24px;
  width: 52px;
  height: 52px;
  border-radius: 50% 45% 55% 40%;
  background:
    radial-gradient(ellipse at 35% 35%, var(--meadow-sage) 0 25%, transparent 26%),
    radial-gradient(ellipse at 64% 55%, var(--meadow-sage) 0 22%, transparent 23%),
    radial-gradient(circle at 48% 74%, var(--rose-dust) 0 12%, transparent 13%);
  opacity: 0.65;
}

.pressed-specimen {
  display: grid;
  place-items: center;
  height: 260px;
  margin: -0.4rem 0 1rem;
}

.pressed-specimen svg {
  width: 126px;
  opacity: 0.75;
  transform: rotate(-5deg);
}

.specimen-caption {
  font-family: "Caveat", cursive;
  color: var(--rose-dust);
  font-size: 1.22rem;
}

.seed-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.seed-list li {
  position: relative;
  padding-left: 1.35rem;
  margin: 0.72rem 0;
}

.seed-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50% 45% 55% 50%;
  background: var(--honeycomb);
  box-shadow: 0 0 0 4px rgba(247, 200, 115, 0.15);
}

blockquote {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.12;
  color: var(--potting-soil);
}

.focusable {
  opacity: 0;
  transform: translateY(20px);
  filter: blur(3px) saturate(0.7);
  transition: opacity 1.8s var(--soft-ease), transform 1.8s var(--soft-ease), filter 1.8s var(--soft-ease);
}

.focusable.in-view {
  opacity: 1;
  transform: translateY(0);
  filter: blur(var(--focus-blur, 0px)) saturate(var(--focus-sat, 1));
}

.potting-shed {
  position: relative;
  min-height: 62vh;
  padding: clamp(84px, 13vw, 150px) clamp(20px, 6vw, 90px);
  display: grid;
  place-items: center;
  text-align: center;
  background:
    radial-gradient(circle at 15% 20%, rgba(247, 200, 115, 0.18), transparent 17rem),
    radial-gradient(circle at 84% 74%, rgba(139, 175, 126, 0.2), transparent 18rem),
    #EDE3D5;
}

.potting-shed h2,
.potting-shed p {
  max-width: 740px;
}

.potting-shed p:last-child {
  margin-top: 1rem;
}

.shed-vine {
  margin-bottom: clamp(24px, 5vw, 52px);
}

.bee {
  position: absolute;
  width: 42px;
  height: 30px;
  right: 20%;
  top: 22%;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 2s var(--soft-ease), transform 2s var(--soft-ease);
}

.potting-shed.in-view .bee {
  opacity: 1;
  transform: translateY(0);
  animation: bee-drift 5s var(--soft-ease) infinite alternate;
}

.bee::before,
.bee::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 16px;
  border-radius: 50%;
  background: rgba(184, 207, 223, 0.6);
  top: -7px;
}

.bee::before { left: 6px; transform: rotate(-25deg); }
.bee::after { right: 4px; transform: rotate(25deg); }
.bee span {
  display: block;
  width: 34px;
  height: 22px;
  border-radius: 50%;
  background: repeating-linear-gradient(90deg, #F7C873 0 8px, #4A3728 8px 12px);
  box-shadow: 0 2px 8px rgba(74, 55, 40, 0.14);
}

@keyframes bee-drift {
  from { translate: -10px 3px; rotate: -5deg; }
  to { translate: 13px -8px; rotate: 4deg; }
}

@media (max-width: 900px) {
  .masonry-meadow { column-count: 2; }
  .lupin-four { display: none; }
}

@media (max-width: 640px) {
  .meadow-hero { padding-top: 112px; }
  .masonry-meadow { column-count: 1; }
  .garden-card { clip-path: polygon(1% 2%, 97% 1%, 99% 95%, 94% 100%, 4% 98%, 0 8%); }
  .lupin-three { display: none; }
  .lupin { width: 120px; opacity: 0.42; }
  .lupin-two { width: 160px; }
  .hand-note, .card-label { font-size: clamp(1.05rem, 5vw, 1.35rem); }
  .focusable.in-view { filter: none; }
  .bee { right: 12%; }
}
