/* One generous right-side plant; content keeps its own clear column. */
.bloomHome { --vine-space: 82px; }
.bloomHome > .wrap, .bloomHome .bloomSupply { padding-right:var(--vine-space); }
.bloomHome .tourWelcome, .bloomHome .polyhouseLink { padding-right:var(--vine-space); }
.bloomHome > .dark { margin-right:var(--vine-space); width:auto; }
@media(min-width:760px) { .bloomHome { --vine-space:140px; } }
@media(min-width:1100px) { .bloomHome { --vine-space:clamp(170px,16vw,245px); } }

.landSwap { display:flex; align-items:end; }
.landSwap button { min-height:48px; }
.landHelp { margin:0; font-size:13px; line-height:1.8; color:#475d48; }
#calculator select { width:100%; min-height:48px; }
#calculation {
  overflow-wrap:anywhere;
  width:fit-content;
  max-width:100%;
  border-radius:20px;
  padding:20px 24px;
}
#calculation strong { line-height:1.45; }
#calculation p { margin:8px 0 0; }
@media(max-width:600px) {
  #calculation { border-radius:16px; padding:18px; }
}

/* Photographic leaves must occlude one another, rather than ghost through.
   Preserve their subdued lighting with colour filters, never translucency. */
.heroAtmosphere .canopyLeaf {
  opacity: 1;
  filter: brightness(var(--leaf-opacity, .55)) brightness(var(--leaf-light, .7)) saturate(.82);
}
.heroAtmosphere .canopyLeaf svg { isolation: isolate; }

/* Keep shading around the copy, leaving the greenhouse roof and crop rows clear. */
.polyhouseHero[data-growth-kind='rooted']:after {
  background: linear-gradient(90deg, #041e16c7 0%, #041e169e 27%, #041e1626 48%, transparent 63%);
}
.polyhouseHero[data-growth-kind='rooted'] .polyhouseCopy :is(h1, p) {
  text-shadow: 0 1px 10px #031a1240;
}
@media (max-width: 980px) {
  body.immersivePolyhouse .polyhouseHero[data-growth-kind='rooted'] { background: #09291f; }
  body.immersivePolyhouse .polyhouseHero[data-growth-kind='rooted']:before,
  body.immersivePolyhouse .polyhouseHero[data-growth-kind='rooted']:after { background: none; }
}

/* The library gets its own botanical paper treatment, with a clean image edge. */
.resourceCard.feature {
  background: #f3efdf;
  border: 1px solid #c5c8b4;
  border-radius: 24px;
  box-shadow: 0 10px 28px #273e2610;
  padding: 0;
}
.resourceCard.feature > img { display: block; width: 100%; margin: 0; }
.resourceCard.feature > div {
  padding: 32px 30px 38px;
  background: #f3efdf url('/assets/paper-learning.webp') right bottom/cover no-repeat;
}
.resourceCard.feature h3 { max-width: 24ch; }
.resourceCard.feature p { max-width: 46ch; padding-right: 14px; }
@media(max-width: 600px) {
  .resourceCard.feature > div { padding: 26px 24px 32px; }
}

/* Foliage-only motion over an immutable photograph. */
.polyhouseLeafCanvas {
  position: absolute;
  display: block;
  pointer-events: none;
  max-width: none;
}
.polyhouseLeafCanvas[hidden] {
  display: none;
}
/* Keep the matching opaque intro underneath: fading both layers caused an exposure dip. */
.polyhouseAmbientVisible .polyhouseFilm:not(.polyhouseAmbientFilm) {
  opacity: 1;
  transition: none;
}
.polyhouseHero:not(.polyhouseAmbientVisible) .polyhouseAmbientFilm {
  transition: none;
}

/* A select-only combobox with native labels, keyboard support and quiet focus. */
.languageNative {
  display: none !important;
}
.languageControl {
  position: relative;
  flex: 0 0 auto;
  color: var(--nav-ink, #214936);
}
.languageTrigger {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 8px 12px;
  border: 0;
  border-left: 1px solid var(--nav-border, #d9e0d6);
  border-radius: 0 12px 12px 0;
  color: inherit;
  background: transparent;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}
.languageTrigger:hover,
.languageTrigger[aria-expanded='true'] {
  background: var(--nav-hover, #2149360b);
}
.languageTrigger:focus-visible {
  outline: 2px solid var(--nav-ink, #214936);
  outline-offset: 3px;
  border-radius: 10px;
}
.languageGlyph {
  display: flex;
  align-items: baseline;
  font-size: 17px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -3px;
  width: 19px;
  opacity: 0.75;
}
.languageGlyph > span {
  font-size: 10px;
  transform: translateY(4px);
}
.languageIndicator {
  position: relative;
  display: block;
  width: 8px;
  height: 8px;
  margin-left: 1px;
}
.languageIndicator:before,
.languageIndicator:after {
  content: '';
  position: absolute;
  background: currentColor;
  border-radius: 1px;
}
.languageIndicator:before {
  width: 8px;
  height: 1px;
  left: 0;
  top: 3.5px;
}
.languageIndicator:after {
  width: 1px;
  height: 8px;
  left: 3.5px;
  top: 0;
  transition: transform 0.18s;
}
.languageTrigger[aria-expanded='true'] .languageIndicator:after {
  transform: rotate(90deg);
}
.languagePopover {
  position: absolute;
  top: calc(100% + 17px);
  right: -6px;
  width: 244px;
  max-width: calc(100vw - 32px);
  padding: 10px;
  border: 1px solid #e2ddcf;
  border-radius: 19px;
  background: #fffdf7;
  color: #214936;
  box-shadow: 0 20px 55px #0b251c26;
  z-index: 80;
  animation: languageReveal 0.16s ease-out;
}
.languagePopover[hidden] {
  display: none;
}
.languagePopover > p {
  margin: 5px 10px 9px;
  font-size: 11px;
  font-weight: 500;
  color: #626e59;
  letter-spacing: 0.02em;
}
.languagePopover [role='option'] {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 62px;
  padding: 9px 10px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: #214936;
  text-align: left;
  cursor: pointer;
}
.languagePopover [role='option'].isActive {
  background: #f0f2e8;
}
.languagePopover [role='option']:hover {
  background: #e9eedd;
}
.languageCode {
  display: grid;
  place-items: center;
  flex: 0 0 35px;
  width: 35px;
  height: 35px;
  border: 1px solid #d3dccb;
  border-radius: 10px;
  color: #66785b;
  font-size: 12px;
  font-weight: 600;
}
[aria-selected='true'] > .languageCode {
  background: #214936;
  color: #fffdf4;
  border-color: #214936;
}
.languageNames {
  display: flex;
  flex-direction: column;
  flex: 1;
  line-height: 1.5;
}
.languageNames strong {
  font-size: 15px;
  font-weight: 500;
}
.languageNames small {
  color: #68745f;
  font-size: 10px;
}
.languageCheck {
  font-size: 15px;
  color: #3e694a;
}
@keyframes languageReveal {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Three phases, three related material treatments — no repeated placeholder panel. */
.roadmapGrid {
  gap: 20px;
  align-items: stretch;
}
.roadmapGrid > div:nth-child(n) {
  position: relative;
  isolation: isolate;
  padding: 30px;
  min-height: 280px;
  border: 1px solid #d7d7c5;
  border-radius: 22px;
  background: #f3ecdc;
  box-shadow: none;
  overflow: hidden;
}
.roadmapGrid > div:nth-child(1) {
  background: #f3eadb url('/assets/paper-business.webp') right bottom/cover no-repeat;
  border-color: #d8c6ab;
}
.roadmapGrid > div:nth-child(2) {
  background: #e9eedf url('/assets/paper-tools.webp') right bottom/cover no-repeat;
  border-color: #c4d0ba;
}
.roadmapGrid > div:nth-child(3) {
  background: #f1efe2 url('/assets/paper-learning.webp') right bottom/cover no-repeat;
  border-color: #d6d8c4;
}
.roadmapGrid .roadmapNumber {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #667253;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
}
.roadmapGrid .roadmapNumber:after {
  content: '';
  width: 44px;
  height: 1px;
  background: currentColor;
  opacity: 0.4;
}
.roadmapGrid h3 {
  margin: 26px 0 14px;
  max-width: 18ch;
  font-size: 27px;
  line-height: 1.3;
  letter-spacing: -0.5px;
}
.roadmapGrid p {
  margin: 0;
  max-width: 43ch;
  font-size: 13px;
  line-height: 1.85;
  color: #53604c;
}

/* Photographic cultivation notes: tonal families taken from each flower. */
.exoticGrid {
  gap: 22px;
}
.exoticCard:nth-child(n) {
  display: flex;
  flex-direction: column;
  border: 1px solid #d7d8c9;
  border-radius: 20px;
  background: #fffdf5;
  box-shadow: none;
  overflow: hidden;
  transition:
    border-color 0.2s ease,
    transform 0.2s ease;
}
.exoticCard:hover {
  transform: translateY(-4px);
  border-color: #879a76;
}
.exoticImage {
  flex: 0 0 auto;
  overflow: hidden;
}
.exoticImage img {
  transition: transform 0.6s ease;
}
.exoticCard:hover .exoticImage img {
  transform: scale(1.035);
}
.exoticBody {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px 22px 20px;
}
.exoticBody > small {
  font-size: 10px;
  color: #7b806a;
}
.exoticBody h3 {
  margin: 8px 0 15px;
  font-size: 26px;
  line-height: 1.3;
}
.exoticBody p {
  flex: 1;
  min-height: 0;
  margin: 0 0 22px;
  font-size: 12.5px;
  line-height: 1.85;
}
.exoticRegion {
  padding: 14px 0 10px;
  line-height: 1.6;
}
.exoticBody .textlink {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 4px 0;
  font-size: 11px;
}
.exoticCard[href$='gladiolus'] .exoticBody {
  background: #f2f1e3 url('/assets/paper-learning.webp') 70% bottom/auto 110% no-repeat;
}
.exoticCard[href$='heliconia'] {
  border-color: #dbc8b7;
}
.exoticCard[href$='heliconia'] .exoticBody {
  background: #f3e6d9;
}
.exoticCard[href$='heliconia'] .exoticRegion {
  border-color: #ceaf92;
  color: #876a4c;
}
.exoticCard[href$='anthurium'] {
  background: #254b3c;
  border-color: #254b3c;
}
.exoticCard[href$='anthurium'] .exoticBody {
  background: #254b3c;
}
.exoticCard[href$='anthurium'] :is(h3, p, small, .exoticRegion, .textlink) {
  color: #f3f1e4;
}
.exoticCard[href$='anthurium'] :is(.exoticRegion, .textlink) {
  border-color: #b4c6aa66;
}
.exoticCard[href$='china-aster'] .exoticBody {
  background: #faf7ee;
}
.exoticCard[href$='china-aster'] .exoticRegion {
  padding: 12px;
  border: 0;
  margin: 0 -8px 4px;
  border-radius: 9px;
  background: #e6eddf;
  color: #53674d;
}
@media (max-width: 1100px) {
  .roadmapGrid > div:nth-child(n) {
    padding: 26px;
  }
}
@media (max-width: 760px) {
  .languageTrigger {
    min-height: 44px;
    padding: 7px 5px 7px 8px;
    gap: 7px;
    border: 0;
    font-size: 12px;
  }
  .languageGlyph {
    width: 16px;
    font-size: 15px;
  }
  .languageIndicator {
    display: none;
  }
  .languagePopover {
    right: -35px;
    top: calc(100% + 19px);
  }
  .roadmapGrid {
    gap: 15px;
  }
  .roadmapGrid > div:nth-child(n) {
    min-height: 0;
    padding: 28px;
  }
  .roadmapGrid h3 {
    margin-top: 20px;
    font-size: 26px;
  }
  .exoticBody {
    padding: 24px;
  }
}
.polyhousePage #cultivationPlans .resourceGrid {
  gap: 0;
  margin: 44px 0;
  border: 1px solid #c8d2bd;
  border-radius: 22px;
  overflow: hidden;
  background: #e9eedf;
}
.polyhousePage #cultivationPlans .resourceCard:nth-child(n) {
  background: none;
  border: 0;
  border-right: 1px solid #c8d2bd;
  border-radius: 0;
  box-shadow: none;
  min-height: 0;
  padding: 28px;
}
.polyhousePage #cultivationPlans .resourceCard:last-child {
  border-right: 0;
}
.polyhousePage #cultivationPlans .resourceCard:before {
  display: none;
}
.polyhousePage #cultivationPlans .resourceCard h3 {
  font-size: 21px;
  margin: 0 0 14px;
}
.polyhousePage #cultivationPlans .resourceCard p {
  font-size: 13px;
  line-height: 1.85;
  margin: 0;
}
@media (max-width: 760px) {
  .polyhousePage #cultivationPlans .resourceGrid {
    grid-template-columns: 1fr;
  }
  .polyhousePage #cultivationPlans .resourceCard:nth-child(n) {
    border-right: 0;
    border-bottom: 1px solid #c8d2bd;
  }
  .polyhousePage #cultivationPlans .resourceCard:last-child {
    border-bottom: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .languagePopover {
    animation: none;
  }
  .exoticCard,
  .exoticImage img {
    transition: none;
  }
  .exoticCard:hover,
  .exoticCard:hover .exoticImage img {
    transform: none;
  }
}

/* Homepage reading contrast and interactive links. */
.bloomHome > .wrap .eyebrow, .bloomHome .resourceGrid .eyebrow { color: #45573d; }
.bloomHome .exoticCard .exoticBody > small { color: #43543c; font-size: 12px; }
.bloomHome .exoticCard .exoticRegion { color: #554732; font-size: 12px; }
.bloomHome .exoticCard .exoticBody { padding: clamp(22px, 2.2vw, 34px); }
.bloomHome .steps b { font-size: 1rem; font-weight: 700; }
.bloomHome .resourceCard .textlink, .bloomHome .sectionTop .textlink {
  text-decoration: underline; text-underline-offset: .3em;
}
.bloomHome .bloomProductInfo a.requestPrice {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 5px 13px; border: 1px solid currentColor;
  border-radius: 12px; text-decoration: none;
}
.bloomHome .requestPrice:focus-visible, .bloomHome .textlink:focus-visible {
  outline: 2px solid currentColor; outline-offset: 3px;
}

/* Carry each flower's paper palette from the home selection into the catalogue. */
.bloomProduct, .productGrid .product {
  --paper: #f4e9df;
  --ink-wash: rgba(249,239,233,.9);
  --paper-art: url('/assets/paper-business.webp');
  --edge: #d9c8b9;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--edge);
  border-radius: 18px;
  background: var(--paper);
}
.bloomProduct:has(a[href$='/gerbera']), .productGrid .product:is([href$='/gerbera'],[href$='/jasmine']) {
  --paper: #edf1e4;
  --ink-wash: rgba(239,244,231,.92);
  --paper-art: url('/assets/paper-learning.webp');
  --edge: #c6d0bc;
}
.bloomProduct:has(a[href$='/marigold']), .productGrid .product:is([href$='/marigold'],[href$='/chrysanthemum']) {
  --paper: #f8efd5;
  --ink-wash: rgba(253,245,219,.92);
  --paper-art: url('/assets/paper-tools.webp');
  --edge: #d9cba8;
}
.bloomProduct .bloomProductInfo, .productGrid .product .productBody {
  flex: 1;
  padding: clamp(16px, 1.8vw, 26px);
  background-color: var(--paper);
  background-image: linear-gradient(105deg,var(--ink-wash) 35%,transparent 100%),var(--paper-art);
  background-position: center, right bottom;
  background-size: cover;
  color: #213c30;
}
.bloomProduct .requestPrice { background-color: #fffdf6; }
.bloomProduct a:focus-visible { outline-offset: -3px; }

main:has(.farmWeather) { background: radial-gradient(ellipse at 75% 32%, #e2edf0 0%, transparent 48%), linear-gradient(155deg, #f6efe2, #f8f4ea 58%, #eee8d7); }
.farmWeather { max-width: 940px; padding-block: clamp(28px,5vw,64px); }
.farmWeather h1 { margin: 0 0 18px; }
.farmWeather label { max-width: 360px; font-weight: 600; }
.farmWeather article { margin: 22px 0; padding: clamp(18px,3vw,32px); border-radius: 20px; }
.forecastBox { background:#eaf0e6; border:1px solid #bccab9; }
.farmWeather article h2 { margin:0; font-size:clamp(21px,3vw,30px); letter-spacing:normal; }
.forecastTime { margin:5px 0 18px; color:#43574a; }
.forecastBox dl { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:14px 0 0; }
.forecastBox dt { font-size:14px; }
.forecastBox dd { font-weight:650;font-size:clamp(19px,2vw,26px);margin:4px 0 0; }
.localCrops {background:#f5eddc;border:1px solid #d6cbb4}
.localCrops ul {display:flex;flex-wrap:wrap;gap:8px;list-style:none;padding:0;margin:14px 0 0}
.localCrops li {padding:4px 14px;background:#fffaf0;border:1px solid #c8bea9;border-radius:18px}
.farmWeather details {margin:12px 0}
@media(max-width:680px){.forecastBox dl{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:20px}}

/* Cloud photograph with a pale wash under the forecast title. */
.farmWeather .forecastBox {
  color: #183b43;
  border: 0;
  border-radius: 24px 24px 12px 12px;
  background: linear-gradient(100deg,rgba(245,249,248,.96) 0%,rgba(245,249,248,.88) 43%,rgba(245,249,248,.16) 85%),
    var(--forecast-sky, url('/assets/forecast-fair.jpg')) center 42% / cover no-repeat, #deedf0;
}
.farmWeather .forecastBox.rainy { --forecast-sky: url('/assets/forecast-clouds.webp'); }
@media(min-width:681px){.forecastBox dl{grid-template-columns:repeat(auto-fit,minmax(115px,1fr))}}
.forecastBox dl {
  background: #f9fcfb; border: 0; border-radius: 12px;
  overflow: hidden; gap: 1px; background-color: #c6d8d9;
}
.forecastBox dl > div { min-width: 0; background: #f9fcfb; padding: 12px clamp(10px,1.5vw,18px); }
.forecastBox dd { line-height: 1.4; }
.farmWeather .localCrops {
  color: #343e2d; border-color: #d7c9a7; border-left: 5px solid #948052;
  border-radius: 6px 24px 24px 6px;
  background: linear-gradient(100deg,#faf4e5 35%,#faf4e5f0 58%,#faf4e564),
    url('/assets/paper-learning.webp') right bottom / cover no-repeat, #faf4e5;
}
.localCrops li { background: #fffcf3; border-color:#c9c0a4; }
@media(max-width:680px){.farmWeather .forecastBox dl{gap:1px}}
.farmWeather{max-width:1220px}.forecastHero{display:grid;grid-template-columns:minmax(240px,.8fr) minmax(420px,2fr);gap:clamp(18px,4vw,54px);align-items:center}.currentTemp{display:block;font-size:clamp(72px,8vw,108px);line-height:1.1;color:#174939}.hourlyForecast svg{width:100%;height:84px}.hourlyButtons{display:grid;grid-template-columns:repeat(6,1fr);gap:4px}.hourlyButtons button{color:#193e36;background:#f9fcfb;border:0;padding:9px 4px;border-radius:9px}.hourlyButtons button[aria-pressed=true]{background:#e5efe3}.hourlyButtons span,.hourlyButtons small{display:block;font-size:12px}.hourlyButtons small{color:#456d85}.hourDetail{margin:12px 0}.forecastMetrics{display:flex;gap:0;margin:22px 0 0;background:#ffffffd9;border-radius:12px}.forecastMetrics>div{padding:12px 20px;flex:1;border-right:1px solid #dce5df}.forecastMetrics>div:last-child{border:0}.forecastMetrics dd{margin:2px 0;font-weight:700;font-size:20px}@media(max-width:760px){.forecastHero{grid-template-columns:1fr}.forecastMetrics>div{padding:10px}.hourlyButtons button{font-size:12px;padding:8px 2px}}
