@import url("https://fonts.googleapis.com/css2?family=Bodoni+Moda:opsz,wght@6..96,500;6..96,700&family=Roboto:wght@400;500;700&family=Roboto+Mono:wght@400;700&display=swap");
:root {
  --paper: #f3eddf;
  --ink: #11110f;
  --y: #ffcf24;
  --b: #2437d5;
  --p: #e6007e;
  font-family: "Roboto Mono", monospace;
  color: var(--ink);
  background: var(--paper);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  min-width: 320px;
  background-color: var(--paper);
  background-image: radial-gradient(#1112 0.7px, transparent 0.8px);
  background-size: 5px 5px;
}
button,
input,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
header {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto;
  height: 76px;
  display: grid;
  grid-template-columns: 220px 1fr 110px;
  align-items: center;
  padding: 0 4vw;
  border-bottom: 2px solid;
  background: #f3eddff2;
  backdrop-filter: blur(10px);
}
.brand {
  display: block;
  width: 52px;
  text-decoration: none;
}
.brand img {
  display: block;
  width: 100%;
  height: auto;
}
nav {
  display: flex;
  justify-content: center;
  gap: 3vw;
}
nav a {
  font-size: 10px;
  font-weight: 700;
  text-decoration: none;
}
.cart-link {
  position:relative;
  display:grid;
  place-items:center;
  width:34px;
  height:30px;
}
.cart-link svg { width:25px; height:25px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
#cartCount {
  position:absolute;
  right:-7px;
  top:-6px;
  min-width:17px;
  height:17px;
  display:grid;
  place-items:center;
  padding:0 3px;
  border:1px solid var(--ink);
  border-radius:50%;
  background:var(--paper);
  font:700 9px/1 "Roboto Mono",monospace;
}
#cartCount.active { background:var(--y); }
.try,
.menu {
  border: 2px solid;
  background: var(--ink);
  color: var(--paper);
  padding: 11px;
  font-size: 10px;
  font-weight: 700;
}
.language-switcher {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
}
.language-link {
  width: 39px;
  height: 29px;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  background: #fff;
  color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform .15s ease, box-shadow .15s ease;
}
.language-link:hover,
.language-link:focus-visible,
.language-link[aria-current="page"] {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--ink);
  outline: 2px solid var(--y);
  outline-offset: 2px;
}
.flag {
  position: relative;
  display: block;
  width: 31px;
  height: 21px;
  overflow: hidden;
  background: #fff;
}
.flag-england::before,
.flag-england::after {
  content: "";
  position: absolute;
  background: #ce1124;
}
.flag-england::before { inset: 0 12px; }
.flag-england::after { inset: 8px 0; }
.flag-japan::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  background: #bc002d;
  transform: translate(-50%, -50%);
}
.menu {
  display: none;
}
section {
  position: relative;
  padding: 100px clamp(20px, 5vw, 78px) 68px;
  border-bottom: 2px solid;
}
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(370px, 0.85fr) 1.3fr;
  align-items: center;
  padding-top: 125px;
}
.issue {
  position: absolute;
  top: 94px;
  left: 5vw;
  right: 5vw;
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  font-weight: 700;
}
.heroText {
  z-index: 2;
}
.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin: 0 0 18px;
}
.hero h1,
h2 {
  font: normal clamp(56px, 7.5vw, 122px)/0.83 "Archivo Black";
  letter-spacing: -0.07em;
  margin: 0;
  text-transform: uppercase;
}
h1 em,
h2 em {
  font-style: normal;
  color: transparent;
  -webkit-text-stroke: 2px currentColor;
}
.hero .lead,
.detail .lead {
  font-size: clamp(13px, 1.2vw, 17px);
  line-height: 1.65;
  max-width: 650px;
}
.hero > img {
  width: 116%;
  margin-left: -12%;
  filter: grayscale(1) contrast(1.1);
  mix-blend-mode: multiply;
}
.tryBig {
  display: flex;
  justify-content: space-between;
  width: 270px;
  border: 3px solid;
  background: var(--y);
  padding: 17px;
  font: 20px "Archivo Black";
  box-shadow: 8px 8px var(--ink);
}
.no {
  position: absolute;
  top: 94px;
  right: 5vw;
  border: 1px solid;
  padding: 4px 8px;
  font-style: normal;
  font-size: 9px;
}
.head {
  display: grid;
  grid-template-columns: 1fr minmax(250px, 0.55fr);
  gap: 36px;
  align-items: end;
  margin-bottom: 28px;
}
.head .eyebrow {
  grid-column: 1/-1;
}
.head h2 {
  font-size: clamp(49px, 7vw, 105px);
}
.head > p:last-child {
  font-size: 13px;
  line-height: 1.65;
}
.territory-maps-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 12px;
  border: 2px solid var(--ink);
  background: var(--y);
  color: var(--ink);
  font: 700 14px/1.4 "Roboto Mono", monospace;
}
.dark {
  background: var(--ink);
  color: var(--paper);
}
.dark .no {
  border-color: var(--paper);
}
.data {
  display: grid;
  grid-template-columns: 300px 1fr;
  align-items: start;
  gap: 28px;
  border: 2px solid;
  padding: 28px;
}
.data > article h3 {
  font: 24px "Archivo Black";
  margin: 0;
}
.data > article p {
  font-size: 11px;
  line-height: 1.6;
}
.data > article small {
  font-size: 8px;
  line-height: 1.6;
}
.research-grid {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid #f3eddf55;
}
.research-item {
  padding: 18px 18px 18px 0;
  border-bottom: 1px solid #f3eddf55;
}
.research-item:nth-child(odd) { border-right: 1px solid #f3eddf55; }
.research-item:nth-child(even) { padding-left: 18px; }
.research-item > span {
  display: block;
  margin-bottom: 10px;
  color: var(--y);
  font: 700 8px/1.5 "Roboto Mono", monospace;
  letter-spacing: .055em;
}
.research-item h4 {
  margin: 0 0 8px;
  font: 500 21px/1.1 "Bodoni Moda", Georgia, serif;
}
.research-item p {
  margin: 0 0 12px;
  font-size: 11px;
  line-height: 1.6;
}
.research-item .study-number {
  display: block;
  margin: 14px 0 6px;
  color: var(--y);
  font: 700 27px/1 "Roboto Mono", monospace;
  font-variant-numeric: tabular-nums;
}
.research-item .study-number small {
  font-size: 9px;
  color: var(--paper);
  text-transform: uppercase;
}
.research-item p.study-note,
.research-item p.measure {
  padding-top: 9px;
  border-top: 1px solid #f3eddf55;
  font-size: 11px;
}
.research-item a {
  display: block;
  margin-top: 7px;
  color: var(--paper);
  font: 700 10px/1.4 "Roboto Mono", monospace;
  text-decoration: underline;
  text-decoration-color: var(--p);
  text-underline-offset: 3px;
}
.research-item a:focus-visible {
  outline: 2px solid var(--y);
  outline-offset: 3px;
}
.research-footnote {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 14px;
  color: #f3eddf;
  font-size: 10px;
  line-height: 1.55;
}
.wide {
  display: block;
  width: 100%;
  border: 3px solid;
  filter: grayscale(1) contrast(1.08);
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 2px solid;
  border-top: 0;
}
.steps article {
  padding: 22px;
  border-right: 1px solid;
}
.steps article:last-child {
  border: 0;
}
.gesture-visual {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  margin: 14px 0 20px;
  overflow: hidden;
  background: #c6b79a;
}
.gesture-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) sepia(.62) contrast(1.18) brightness(.97);
}
.gesture-photo.cignula-photo {
  opacity: 0;
  transition: opacity 900ms ease;
}
.gesture-switcher[data-set="cignula"] .gesture-photo.cignula-photo { opacity: 1; }
.gesture-switcher[data-set="cignula"] .gesture-photo.biomass-photo { opacity: 0; }
.gesture-copy { transition: opacity 350ms ease; }
.gesture-copy.cignula-copy { display: none; }
.gesture-switcher[data-set="cignula"] .gesture-copy.biomass-copy { display: none; }
.gesture-switcher[data-set="cignula"] .gesture-copy.cignula-copy { display: block; }
.gesture-transform {
  margin: 0;
}
.gesture-transform > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gesture-hint {
  margin: 10px 0 0;
  font: 10px/1.5 "Roboto Mono", monospace;
  opacity: .8;
}
.van-lettering {
  position: absolute;
  left: 74%;
  top: 54%;
  width: 23%;
  transform: translateY(-50%) rotate(-2deg) skewX(-5deg);
  color: #221a12;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  text-align: center;
  text-shadow: 0 0 1px #f4ebd8, 0 0 3px #f4ebd8;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  line-height: .95;
  white-space: nowrap;
  pointer-events: none;
}
.van-lettering strong {
  font-size: clamp(7px, .83vw, 12px);
  letter-spacing: -.045em;
}
.van-lettering small {
  margin-top: 2px;
  font-size: clamp(4.4px, .49vw, 7px);
  letter-spacing: .005em;
}
.steps h3 {
  font: clamp(20px, 2vw, 31px) "Archivo Black";
  margin: 20px 0 10px;
}
.steps p {
  font-size: 10px;
  line-height: 1.55;
}
.launch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.product {
  position: relative;
  border: 3px solid;
  background: #e7dfce;
  overflow: hidden;
}
.product > span {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  background: var(--y);
  border: 2px solid;
  padding: 8px;
  font-size: 9px;
  font-weight: 700;
}
.crop {
  height: 420px;
  overflow: hidden;
  border-bottom: 3px solid;
}
.crop img {
  width: 200%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.1);
}
.crop.right img {
  margin-left: -100%;
}
.product > div:last-child {
  padding: 25px;
}
.product small {
  font-size: 9px;
  font-weight: 700;
}
.product h3 {
  font: clamp(33px, 4vw, 60px)/0.9 "Archivo Black";
  letter-spacing: -0.05em;
  margin: 16px 0;
}
.product h3 em {
  font-style: normal;
  color: var(--p);
}
.product p {
  font-size: 11px;
  line-height: 1.55;
  max-width: 520px;
}
.product button,
.product a,
.detail button,
form button {
  display: inline-block;
  border: 2px solid;
  background: var(--ink);
  color: var(--paper);
  padding: 13px 17px;
  font-size: 10px;
  font-weight: 700;
  text-decoration: none;
}
.future {
  display: grid;
  grid-template-columns: 1fr 2fr;
  margin-top: 38px;
  border-top: 3px solid;
}
.future h3 {
  font: 35px/0.9 "Archivo Black";
  padding: 20px;
}
.future button {
  grid-column: 2;
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 14px;
  border: 0;
  border-bottom: 1px solid;
  background: none;
  padding: 18px;
  text-align: left;
}
.future button:hover {
  background: var(--y);
}
.future span,
.future em {
  font-size: 9px;
  font-style: normal;
}
.note {
  border: 2px solid;
  background: var(--y);
  padding: 17px;
  font-size: 9px;
  line-height: 1.5;
}
.detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.detail h2 {
  font-size: clamp(48px, 6.6vw, 104px);
}
.detail dl {
  margin: 35px 0;
}
.detail dl div {
  display: grid;
  grid-template-columns: 110px 1fr;
  padding: 12px 0;
  border-top: 1px solid #fff5;
  font-size: 10px;
}
.detail dd {
  margin: 0;
}
.detail button {
  background: var(--y);
  color: var(--ink);
}
.inbruma-gallery { display:grid; grid-template-columns:1fr 1fr; gap:8px; align-self:center; }
.inbruma-gallery figure { position:relative; margin:0; height:clamp(290px,34vw,430px); overflow:hidden; border:2px solid var(--paper); background:#a99c7c; }
.inbruma-gallery img { width:100%; height:100%; object-fit:cover; display:block; }
.inbruma-gallery figure:first-child img { object-position:center 64%; }
.inbruma-gallery .process { grid-column:1/-1; height:clamp(90px,9vw,125px); }
.inbruma-gallery .process img { object-position:center; }
.inbruma-gallery figcaption { position:absolute; left:0; bottom:0; padding:7px 10px; background:var(--ink); color:var(--paper); font:700 9px "Roboto Mono",monospace; letter-spacing:.06em; }
@media(max-width:640px) { .inbruma-gallery figure { height:240px; } .inbruma-gallery .process { height:90px; } }
.hero-diptych {
  width: min(72vw, 1120px);
  height: min(76vh, 760px);
  min-height: 520px;
  justify-self: end;
  margin: 16px -2vw 0 0;
  overflow: hidden;
  background: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: 12px 14px 0 #18140e18;
}
.hero-diptych img {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  object-fit: cover;
  filter: saturate(.92) contrast(1.08);
}
.tags {
  border: 2px solid;
  border-top: 0;
  padding: 16px;
  font-size: 9px;
  font-weight: 700;
  line-height: 2;
}
.contact {
  min-height: 650px;
  background: var(--y);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 65px;
  align-content: center;
}
.contact h2 {
  font-size: clamp(48px, 6vw, 94px);
}
.contact > div > p:last-child {
  font-size: 13px;
  line-height: 1.6;
  max-width: 620px;
}
form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
form label {
  font-size: 9px;
  font-weight: 700;
}
input,
textarea {
  width: 100%;
  border: 0;
  border-bottom: 2px solid;
  background: transparent;
  padding: 10px 3px;
  border-radius: 0;
}
form button {
  align-self: flex-start;
}
.success {
  border: 2px solid;
  background: var(--y);
  padding: 18px;
  font-size: 11px;
  line-height: 1.6;
}
.contact footer {
  position: absolute;
  bottom: 20px;
  left: 5vw;
  right: 5vw;
  border-top: 2px solid;
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
  font-size: 9px;
}
.contact footer a {
  text-decoration: none;
}
.back {
  position: fixed;
  z-index: 100;
  inset: 0;
  background: #111d;
  display: grid;
  place-items: center;
  padding: 20px;
}
.modal {
  position: relative;
  width: min(550px, 100%);
  background: var(--paper);
  border: 3px solid;
  box-shadow: 12px 12px var(--p);
  padding: 36px;
}
.modal h2 {
  font-size: clamp(30px, 5vw, 52px);
  margin: 15px 0 25px;
}
.x {
  position: absolute;
  right: 8px;
  top: 4px;
  border: 0;
  background: none;
  font-size: 34px;
}
.modal > small {
  display: block;
  margin-top: 18px;
}
.live .hero > img,
.live .wide,
.live .crop img {
  filter: grayscale(0.1) contrast(1.05);
}
.live .no {
  background: var(--p);
  color: white;
}
.live .try {
  background: var(--p);
}
@media (max-width: 820px) {
  header {
    height: 64px;
    grid-template-columns: 1fr auto auto;
    gap: 8px;
  }
  .language-switcher { gap: 6px; }
  .language-link { width: 35px; height: 27px; }
  .flag { width: 27px; height: 19px; }
  .menu {
    display: block;
    grid-column: 2;
  }
  .language-switcher { grid-column: 3; }
  nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--paper);
    border-bottom: 2px solid;
    padding: 24px;
  }
  nav.open {
    display: flex;
  }
  .hero,
  section {
    padding: 98px 20px 58px;
  }
  .issue,
  .no {
    top: 78px;
  }
  .hero {
    display: block;
    min-height: auto;
  }
  .hero h1 {
    font-size: clamp(52px, 15vw, 80px);
  }
  .hero > img {
    width: 130%;
    margin: 25px -15% 0;
  }
  .head {
    display: block;
  }
  .head h2 {
    margin-bottom: 22px;
  }
  .data,
  .launch,
  .detail,
  .contact {
    grid-template-columns: 1fr;
  }
  .data label {
    grid-column: 1;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .steps article {
    border-right: 0;
    border-bottom: 1px solid;
  }
  .crop {
    height: 330px;
  }
  .future {
    grid-template-columns: 1fr;
  }
  .future button {
    grid-column: 1;
  }
  .contact {
    padding-bottom: 120px;
  }
  .contact footer {
    flex-direction: column;
    gap: 7px;
  }
  .modal {
    padding: 28px 20px;
  }
}
.real-photo-gate {
  min-height: 430px;
  display: grid;
  place-content: center;
  text-align: center;
  border: 3px dashed;
  padding: 30px;
  background: url("/assets/approved-botanical-plate.png") center/cover;
  position: relative;
}
.real-photo-gate:before {
  content: "";
  position: absolute;
  inset: 0;
  background: #f3eddfd9;
}
.real-photo-gate > * {
  position: relative;
}
.real-photo-gate b {
  font: clamp(25px, 5vw, 64px) "Archivo Black";
}
.real-photo-gate p {
  max-width: 600px;
  font-size: 11px;
  line-height: 1.6;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
dialog {
  width: min(560px, calc(100% - 32px));
  background: var(--paper);
  color: var(--ink);
  border: 3px solid;
  padding: 36px;
  box-shadow: 12px 12px var(--p);
}
dialog::backdrop {
  background: #111d;
}
dialog h2 {
  font-size: clamp(30px, 5vw, 54px);
  margin: 16px 0 28px;
}
.x {
  position: absolute;
  right: 8px;
  top: 4px;
  border: 0;
  background: none;
  color: var(--ink);
  font-size: 34px;
}
.future > div {
  grid-column: 2;
}
.future > div > button {
  width: 100%;
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 14px;
  border: 0;
  border-bottom: 1px solid;
  background: none;
  padding: 18px;
  text-align: left;
}
.future > div > button:hover {
  background: var(--y);
}
.future > div span,
.future > div em {
  font-size: 9px;
  font-style: normal;
}
@media (max-width: 820px) {
  .future > div {
    grid-column: 1;
  }
  .future > div > button {
    grid-template-columns: 35px 1fr;
  }
  .future > div em {
    grid-column: 2;
  }
  dialog {
    padding: 28px 20px;
  }
}
.brand {
  font-family: "Roboto", sans-serif;
  font-weight: 700;
}
.hero h1,
h2,
.steps h3,
.product h3,
.future h3,
.data article h3,
.real-photo-gate b {
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  letter-spacing: -0.055em;
}
.hero h1 em,
h2 em,
.product h3 em {
  font-family: "Bodoni Moda", serif;
  font-weight: 500;
  letter-spacing: -0.065em;
  text-transform: none;
  -webkit-text-stroke: 0;
  color: inherit;
}
.tryBig {
  font-family: "Roboto Mono", monospace;
  font-weight: 700;
}
#ecosystem {
  inset: 0;
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  box-shadow: none;
  background: var(--paper);
}
#ecosystem::backdrop {
  background: var(--ink);
}
.eco-shell {
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto;
}
.eco-head {
  position: static;
  height: auto;
  display: flex;
  justify-content: space-between;
  align-items: start;
  padding: 12px 4vw;
  border-bottom: 2px solid;
  background: var(--paper);
}
.eco-head small {
  font: 11px "Roboto Mono";
}
.eco-head h2 {
  font-size: clamp(30px, 4vw, 58px);
  margin: 4px 0 0;
}
.eco-close {
  border: 2px solid;
  background: transparent;
  font-size: 30px;
  width: 46px;
  height: 46px;
}
.eco-stage {
  position: relative;
  min-height: 0;
  background: #d8cdb6;
  overflow: hidden;
}
#ecoCanvas {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
  cursor: crosshair;
}
#dayNightOverlay {
  position:absolute;
  inset:0;
  z-index:2;
  pointer-events:none;
  opacity:0;
  visibility:hidden;
  background:rgba(17,24,38,.30);
  -webkit-backdrop-filter:grayscale(.82) saturate(.42) brightness(.74) contrast(1.04);
  backdrop-filter:grayscale(.82) saturate(.42) brightness(.74) contrast(1.04);
}
#dayNightOverlay.visible { visibility:visible; }
.eco-readout,
.basin-meter {
  position: absolute;
  display: flex;
  flex-direction: column;
  background: #f3eddfea;
  border: 2px solid;
  padding: 12px 16px;
}
.eco-readout {
  left: 4vw;
  top: 18px;
  max-width: 360px;
}
.eco-readout span,
.eco-readout small,
.basin-meter span,
.basin-meter small {
  font: 10px "Roboto Mono";
}
.eco-readout strong {
  font: clamp(18px, 2.5vw, 32px) "Bodoni Moda";
  margin: 4px 0;
}
.basin-meter {
  left: 4vw;
  bottom: 18px;
  width: 210px;
}
.basin-meter b {
  font: 28px "Roboto";
  margin: 3px 0;
}
.basin-meter i {
  height: 8px;
  border: 1px solid;
  margin-bottom: 5px;
}
.basin-meter em {
  display: block;
  width: 0;
  height: 100%;
  background: var(--b);
  transition: width 0.25s;
}
.eco-controls {
  display: grid;
  grid-template-columns: 1fr 210px minmax(260px, auto) auto;
  gap: 12px;
  align-items: center;
  border-top: 2px solid;
  padding: 13px 4vw;
  background: var(--paper);
}
.eco-brush .eco-controls {
  position:relative; z-index:6; margin-top:-72px; background:var(--paper);
}
#depositQueue {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
#depositQueue button,
.eco-controls > button {
  border: 2px solid;
  background: transparent;
  padding: 10px 12px;
  font: 10px "Roboto Mono";
}
#depositQueue button {
  min-width:145px;
  display:grid;
  grid-template-columns:1fr auto;
  gap:7px 10px;
  text-align:left;
  align-items:center;
}
#depositQueue button span { line-height:1.2; }
#depositQueue button b { font-variant-numeric:tabular-nums; }
#depositQueue button i { grid-column:1 / -1; height:5px; border:1px solid currentColor; }
#depositQueue button em { display:block; height:100%; width:0; background:currentColor; }
#depositQueue button.active,
#water:not(:disabled) {
  background: var(--ink);
  color: var(--paper);
}
#depositQueue button:disabled {
  opacity: 0.38;
}
#depositQueue button.empty:disabled { opacity:1; background:#dbd2c1; cursor:default; }
.brush-size {
  font: 9px "Roboto Mono";
}
.brush-size input {
  padding: 4px 0;
  accent-color: var(--p);
}
#plantEvidence {
  position: absolute;
  right: 3vw;
  top: 18px;
  width: min(390px, 42vw);
  background: var(--ink);
  color: var(--paper);
  border: 2px solid var(--paper);
  padding: 22px;
  transform: translateX(130%);
  transition: transform 0.25s;
  z-index: 3;
}
#plantEvidence.open {
  transform: none;
}
#plantEvidence h3 {
  font: 26px "Bodoni Moda";
  margin: 8px 0;
}
#plantEvidence p {
  font: 10px/1.55 "Roboto Mono";
}
#plantEvidence a {
  color: var(--y);
  font: 10px "Roboto Mono";
}
.evidenceClose {
  position: absolute;
  right: 5px;
  top: 2px;
  color: var(--paper);
  background: none;
  border: 0;
  font-size: 24px;
}
.eco-future #ecoCanvas {
  cursor: pointer;
}
.eco-future .basin-meter {
  display: none;
}
#wateringCan {
  position: absolute;
  z-index: 2;
  width: clamp(120px, 17vw, 245px);
  transform: translate(-28%, -72%) rotate(-8deg);
  pointer-events: auto;
  cursor: context-menu;
  opacity: 0;
  visibility: hidden;
  filter: none;
  mix-blend-mode: normal;
  transition:
    opacity 180ms ease-out,
    transform 180ms cubic-bezier(0.16, 1, 0.3, 1);
}
#wateringCan.visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-28%, -72%) rotate(12deg);
}
#macerationClock {
  position: absolute;
  z-index: 7;
  right: 4vw;
  top: 20px;
  width: 126px;
  min-height: 108px;
  border: 3px solid var(--ink);
  background: var(--y);
  box-shadow:8px 8px 0 var(--p);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.82);
  transition:
    opacity 300ms ease-out,
    transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
}
#macerationClock.visible {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}
#macerationClock small,
#macerationClock span {
  position: relative;
  z-index: 1;
  font: 9px/1.45 "Roboto Mono";
  max-width: 110px;
  font-weight:700;
}
#macerationClock b {
  position: relative;
  z-index: 1;
  font: 64px/.9 "Bodoni Moda";
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

#harvestCombo {
  position:absolute;
  z-index:9;
  display:grid;
  place-items:center;
  min-width:clamp(76px,8vw,112px);
  aspect-ratio:1;
  border:3px solid var(--ink);
  background:var(--y);
  color:var(--ink);
  box-shadow:9px 9px 0 var(--p);
  transform:translate(-50%,-50%) rotate(-4deg) scale(.68);
  opacity:0;
  pointer-events:none;
}
#harvestCombo[hidden] { display:none; }
#harvestCombo b { font:700 clamp(38px,5.7vw,72px)/1 "Bodoni Moda",serif; }
#harvestCombo.show { animation:harvest-combo-pop 1.6s cubic-bezier(.16,1,.3,1) both; }
@keyframes harvest-combo-pop {
  0% { opacity:0; transform:translate(-50%,-50%) rotate(-7deg) scale(.55); }
  16%,78% { opacity:1; transform:translate(-50%,-50%) rotate(-3deg) scale(1); }
  100% { opacity:0; transform:translate(-50%,-57%) rotate(2deg) scale(.9); }
}
.eco-mixing #ecoCanvas,
.eco-watering #ecoCanvas {
  cursor: grab;
}
.eco-mixing #ecoCanvas:active,
.eco-watering #ecoCanvas:active {
  cursor: grabbing;
}
.eco-macerating .eco-controls,
.eco-sowing .eco-controls {
  opacity: 0.35;
  pointer-events: none;
}
.eco-sowing .eco-readout {display:none;}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
#plantButtons {
  position: absolute;
  z-index: 3;
  right: 16px;
  bottom: 16px;
  display: none;
  width: min(260px, 38%);
  padding: 10px;
  background: #f3eddfee;
  border: 1px solid var(--ink);
  pointer-events: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}
#plantButtons.visible { display: grid; }
.fruit-count { display:flex; align-items:center; gap:5px; min-width:0; border-bottom:1px solid #766f63; font:9px/1.1 "Roboto Mono"; }
.fruit-count svg { width:23px; height:23px; flex:none; }
.fruit-count span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.fruit-count b { margin-left:auto; font-size:13px; }
.eco-harvesting #ecoPrompt,
.eco-harvesting #ecoHint { display:none; }
.eco-mixing .basin-meter { left: auto; right: 4vw; bottom: auto; top: 18px; }
.reopen {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 28px;
  padding: 15px 18px;
  border: 2px solid;
  background: var(--paper);
  text-align: left;
  font-weight: 700;
  opacity: 0.62;
}
.reopen.ready {
  opacity: 1;
  box-shadow: 7px 7px var(--ink);
}
.reopen span {
  font-size: 9px;
}
.reopen:hover {
  background: var(--p);
  color: white;
}
@media (max-width: 820px) {
  .eco-head {
    padding: 12px 16px;
  }
  .eco-head h2 {
    font-size: 30px;
  }
  .eco-stage {
    min-height: 48vh;
  }
  .eco-controls {
    grid-template-columns: 1fr 1fr;
    padding: 10px 14px;
  }
  .eco-controls #depositQueue {
    grid-column: 1/-1;
  }
  .eco-controls #water {
    grid-column: 1/-1;
  }
  .eco-controls > button {
    min-height: 42px;
  }
  .basin-meter {
    left: 14px;
    bottom: 12px;
    width: 175px;
  }
  .eco-readout {
    left: 14px;
    top: 12px;
  }
  .eco-readout small {
    display: none;
  }
  #plantEvidence {
    right: 12px;
    top: 12px;
    width: calc(100% - 24px);
  }
  .brush-size {
    align-self: center;
  }
  #macerationClock {
    width: 160px;
    right: 14px;
    top: 38%;
  }
  #macerationClock b {
    font-size: 42px;
  }
  #wateringCan {
    width: 135px;
  }
}
@media (prefers-reduced-motion: reduce) {
  #wateringCan,
  #macerationClock {
    transition-duration: 1ms;
  }
}

#wateringCan.held { transform: rotate(-14deg); cursor: grab; transition:opacity 180ms; }
#wateringCan.held.pour-ready { transform: rotate(70deg); }
#canPrompt { position:absolute; z-index:4; transform:translate(38%,-150%); background:var(--ink); color:var(--paper); padding:5px 8px; border:1px solid var(--paper); font:12px "Roboto Mono"; pointer-events:none; opacity:0; white-space:nowrap; }
#canPrompt.visible { opacity:1; }
#fieldFact { position:absolute; z-index:4; left:50%; top:50%; transform:translate(-50%,-50%); width:min(450px,calc(100% - 32px)); padding:24px 28px; background:var(--paper); border:3px solid var(--ink); box-shadow:10px 10px var(--y); font:clamp(15px,1.7vw,19px)/1.45 "Roboto"; opacity:0; visibility:hidden; transition:opacity .2s; }
#fieldFact small { display:block; font:12px "Roboto Mono"; letter-spacing:.13em; margin-bottom:13px; }
#fieldFact p { margin:0; }
#fieldFact.visible { opacity:1; visibility:visible; }
#fieldReturnMessage { font:16px/1.5 "Roboto"; max-width:38rem; margin-top:14px; }
@media(max-width:820px) { #fieldFact { padding:18px 20px; font-size:15px; } #canPrompt { font-size:11px; } }

#fieldJourneyPrompt { position:fixed; z-index:100; bottom:22px; left:50%; transform:translateX(-50%); width:min(560px,calc(100% - 28px)); padding:18px 22px; background:var(--y); color:var(--ink); border:2px solid var(--ink); box-shadow:7px 7px var(--ink); font:16px/1.45 "Roboto"; }
#fieldJourneyPrompt[hidden] { display:none; }
#fieldJourneyPrompt { display:flex; align-items:center; gap:14px; }
#fieldJourneyPrompt button { margin-left:auto; border:1px solid currentColor; background:transparent; width:34px; height:34px; flex:none; font-size:24px; line-height:1; }
#fieldReward { width:min(570px,calc(100% - 32px)); box-shadow:12px 12px var(--y); }
#harvestReward { width:min(570px,calc(100% - 32px)); box-shadow:12px 12px var(--y); }
#harvestComplete { width:min(620px,calc(100% - 32px)); box-shadow:12px 12px var(--y); }
#harvestComplete h2 { font-size:clamp(38px,5.5vw,66px); line-height:.94; margin:16px 0; }
#harvestComplete #harvestCompleteSummary { display:grid; grid-template-columns:repeat(4,1fr); gap:8px; margin:18px 0; }
#harvestCompleteSummary span { position:relative; display:grid; justify-items:center; gap:4px; padding:8px 3px; border:1px solid var(--ink); }
#harvestCompleteSummary svg { width:34px; height:34px; }
#harvestCompleteSummary b { position:absolute; top:2px; right:5px; font:700 14px "Roboto Mono",monospace; }
#harvestCompleteSummary small { font:8px "Roboto Mono",monospace; }
#harvestCompleteDiscount { padding:12px; background:#f3eddfee; border:1px solid var(--ink); }
.harvest-shop-link { display:inline-block; margin:5px 0 14px; padding:13px 16px; border:2px solid var(--ink); background:var(--y); color:var(--ink); font:700 12px "Roboto Mono",monospace; text-decoration:none; }
#harvestComplete > small { display:block; font:10px/1.4 "Roboto Mono",monospace; }
#harvestReward h2 { font-size:clamp(43px,6vw,72px); line-height:.9; margin:16px 0 24px; }
#harvestBins { position:absolute; left:2%; bottom:2%; z-index:3; display:flex; gap:6px; align-items:end; pointer-events:none; }
#harvestBins[hidden] { display:none; }
.harvest-bin { width:clamp(58px,6vw,84px); height:77px; position:relative; text-align:center; color:#25241f; font:8px/1.1 "Roboto Mono",monospace; }
.harvest-bin .vessel { position:absolute; left:6%; right:6%; bottom:11px; height:24px; border:2px solid #25241f; background:repeating-linear-gradient(6deg,#b9a586 0 3px,#51483b 4px,#d4c1a4 5px); box-shadow:2px 2px 0 #e9dfca; }
.harvest-bin.bag .vessel { border-radius:3px 3px 16px 16px; transform:skew(-5deg); background:repeating-linear-gradient(85deg,#c3b399 0 4px,#6f6354 5px,#d8c8ac 6px); }
.harvest-bin.crate .vessel { border-radius:2px; background:repeating-linear-gradient(0deg,#b9a586 0 6px,#332d27 7px,#d4c1a4 8px); }
.harvest-bin.basket .vessel { border-radius:3px 3px 18px 18px; background:repeating-linear-gradient(35deg,#a89679 0 4px,#332d27 5px,#cbb99a 6px); }
.harvest-bin.tray .vessel { height:13px; border-radius:2px 2px 7px 7px; background:#c4b394; }
.harvest-bin small { position:absolute; left:0; right:0; bottom:0; background:#eee2cd; }
@media(max-width:600px) { #harvestBins { left:1%; gap:1px; transform:scale(.8); transform-origin:left bottom; } }
#fieldReward h2 { font-size:clamp(43px,6vw,72px); line-height:.9; margin:16px 0 24px; }
#fieldReward > p:not(.eyebrow) { font:16px/1.5 "Roboto",sans-serif; max-width:440px; }
.reward-actions { display:flex; align-items:stretch; gap:10px; margin:25px 0 18px; }
.reward-actions code { flex:1; border:2px solid var(--ink); padding:12px 16px; font:700 clamp(19px,4vw,27px) "Roboto Mono",monospace; letter-spacing:.07em; }
.reward-actions button { border:2px solid var(--ink); background:var(--y); padding:10px 14px; font:700 11px "Roboto Mono",monospace; }
#rewardFeedback { display:block; line-height:1.5; }
@media(max-width:520px) { .reward-actions { flex-direction:column; } }
.form-preview-note { font:14px/1.5 "Roboto", sans-serif; max-width:38rem; }
.ink-visitor {
  position:absolute; z-index:2; pointer-events:none; display:block;
  width:80px; height:74px;
  background-image:var(--pollinator-image, url('/assets/pollinator-vespa.webp'));
  background-size:320px 107px;
  background-repeat:no-repeat;
  opacity:.78;
  filter:grayscale(.35);
  left:78%; top:22%;
  animation:visitor-flight 8s ease-in-out infinite alternate;
}
.ink-visitor-0 { background-position:0 -14px; }
.ink-visitor-1 { background-position:-80px -14px; left:11%; top:35%; animation-duration:11s; }
.ink-visitor-2 { background-position:0 -14px; left:83%; top:68%; animation-duration:10s; }
@keyframes visitor-flight { to { transform:translate(28px,-18px) rotate(5deg); } }
@keyframes visitor-walk { to { transform:translateX(32px); } }
.hero h1 { font-size:clamp(48px,6.1vw,92px); letter-spacing:-.04em; line-height:.9; }
.hero > img { width:96%; margin-left:8%; }
#home .heroText { display:flex; flex-direction:column; align-items:flex-start; gap:24px; }
#home .heroText .eyebrow { margin:0; }
#territorio .head,#metodo .head,#shop .head { display:block; }
#territorio .head,#metodo .head { margin-bottom:24px; }
#shop .head h2 { font-size:clamp(48px,6vw,88px); line-height:1; max-width:1100px; }
#shop .head p { max-width:70ch; font-size:16px; line-height:1.55; }
#shop .future { display:block; }
#shop .future > div { grid-column:auto; }
.eco-readout span,.eco-readout small,.basin-meter span,.basin-meter small { font-size:12px; line-height:1.4; }
#depositQueue button,.eco-controls > button { font-size:12px; min-height:42px; }
.brush-size { font-size:12px; }
#plantEvidence p,#plantEvidence a { font-size:13px; }
@media(max-width:820px) {
  .ink-visitor { width:56px; height:54px; background-size:224px 75px; }
  .ink-visitor-0 { background-position:0 -9px; }
  .ink-visitor-1 { background-position:-56px -9px; }
  .ink-visitor-2 { background-position:0 -9px; }
  .hero h1 { font-size:clamp(44px,10vw,70px); }
  .hero > img { width:130%; margin:25px -15% 0; }
}
@media(prefers-reduced-motion:reduce) {
  .ink-visitor { animation:none; }
}

@media(max-width:820px) {
  #plantButtons { width: min(205px, 53%); right: 8px; bottom: 8px; padding:6px; gap:4px; }
  .fruit-count { font-size:8px; gap:3px; }
  .fruit-count svg { width:19px; height:19px; }
  .eco-mixing .basin-meter { right: 12px; top: 12px; }
}
@media(max-width:820px) {
  .hero-diptych { width:100%; height:min(72vh,650px); min-height:460px; margin:34px auto 12px; }
  .research-grid { grid-column: 1; }
}
@media(max-width:560px) {
  .hero-diptych { height:64vh; min-height:430px; }
}
@media(max-width:560px) {
  .research-grid { grid-template-columns: 1fr; }
  .research-item:nth-child(odd) { border-right: 0; }
  .research-item:nth-child(even) { padding-left: 0; }
  .van-lettering { left: 74%; top: 54%; width: 23%; }
}


/* Reopened field: keep only the current seasonal controls. */
#harvestBins { display: none !important; }
.eco-future #depositQueue,
.eco-future .brush-size,
.eco-future #water,
.eco-future #resetEco,
.eco-future .basin-meter { display: none !important; }

/* Hero: company mark, central product band, then the primary actions. */
#home.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 116px clamp(20px, 4vw, 64px) 52px;
}
#home .heroText {
  width: min(92vw, 1400px);
  display: block;
  text-align: center;
}
#home .heroText h1 {
  margin: 0;
  max-width: none;
  font-size: clamp(42px, 6vw, 92px);
  line-height: .88;
  letter-spacing: -.04em;
  text-wrap: balance;
}
#home .hero-diptych {
  width: min(92vw, 1400px);
  height: clamp(240px, 28vw, 410px);
  min-height: 0;
  aspect-ratio: auto;
  margin: 0;
  box-shadow: 12px 14px 0 #18140e18;
}
#home .hero-diptych img {
  object-fit: cover;
  object-position: center 52%;
}
.hero-actions {
  width: min(92vw, 1400px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.hero-button {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  border: 3px solid var(--ink);
  padding: 14px 20px;
  font: 20px "Archivo Black";
  color: var(--ink);
  text-decoration: none;
  box-shadow: 7px 7px var(--ink);
  cursor: pointer;
}
.products-button { background: var(--paper); }
#home .tryBig {
  width: auto;
  background: var(--y);
}
@media(max-width:950px) {
  #home.hero {
    padding-top: 96px;
    gap: 18px;
  }
  #home .heroText h1 { font-size: clamp(38px, 12vw, 64px); }
  #home .hero-diptych {
    width: 100%;
    height: clamp(220px, 58vw, 340px);
    min-height: 0;
    aspect-ratio: auto;
    margin: 0;
  }
  #home .hero-diptych img { object-fit: cover; object-position: center 52%; }
  .hero-actions { width: 100%; grid-template-columns: 1fr; }
  .hero-button { min-height: 54px; font-size: 17px; }
}
.eco-future .eco-controls { justify-content: flex-end; min-height: 56px; }

.harvest-cart-label {
  margin: 22px 0 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .09em;
}
.mystery-reward {
  position:relative;
  display:grid;
  gap:4px;
  margin:18px 8px 26px 0;
  padding:15px 18px 16px;
  border:2px solid var(--ink);
  background:var(--y);
  box-shadow:8px 8px 0 var(--p);
  transform:rotate(-.45deg);
}
.mystery-reward small {
  font:700 10px/1.3 "Roboto Mono",monospace;
  letter-spacing:.1em;
}
.mystery-reward strong {
  font:clamp(25px,3.4vw,42px)/.95 "Archivo Black",sans-serif;
}
.mystery-reward span {
  width:max-content;
  max-width:100%;
  padding:3px 7px;
  background:var(--ink);
  color:var(--paper);
  font:700 10px/1.3 "Roboto Mono",monospace;
}
.mystery-reward p {
  margin:7px 0 0;
  font:13px/1.4 "Roboto Mono",monospace;
}
.harvest-cart {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}
.harvest-cart button {
  min-height: 86px;
  padding: 14px;
  border: 2px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  text-align: left;
}
.harvest-cart button:hover,
.harvest-cart button:focus-visible {
  background: var(--ink);
  color: var(--paper);
}
.harvest-cart button b,
.harvest-cart button span { display: block; }
.harvest-cart button span { margin-top: 7px; font-size: 11px; line-height: 1.35; }
#goToCart {
  width:100%;
  margin:18px 0 14px;
  padding:16px 18px;
  border:2px solid var(--ink);
  background:var(--y);
  color:var(--ink);
  box-shadow:7px 7px 0 var(--ink);
  font:700 13px "Roboto Mono",monospace;
  cursor:pointer;
}
#goToCart:hover,#goToCart:focus-visible { background:var(--p); color:white; }
@media (max-width: 620px) {
  .harvest-cart { grid-template-columns: 1fr; }
}

.cart-page {
  display:grid;
  grid-template-columns:minmax(260px,.65fr) minmax(420px,1.35fr);
  gap:clamp(32px,6vw,90px);
  align-items:start;
  background:var(--paper);
}
.cart-page .head { position:sticky; top:110px; }
.cart-page .head h2 { margin:12px 0 20px; font-size:clamp(52px,7vw,102px); line-height:.82; }
.cart-page .head > p:last-child { max-width:430px; font:16px/1.55 "Roboto",sans-serif; }
.cart-products { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.cart-product {
  min-height:250px;
  display:flex;
  flex-direction:column;
  padding:22px;
  border:3px solid var(--ink);
  background:#f3eddf;
  box-shadow:8px 8px 0 var(--ink);
}
.cart-product > span { min-height:48px; font:700 18px/1.15 "Archivo Black",sans-serif; }
.cart-product > b { margin-top:22px; font:54px/.9 "Bodoni Moda",serif; }
.cart-product > small { min-height:32px; margin-top:5px; font:10px/1.4 "Roboto Mono",monospace; }
.quantity-control { display:grid; grid-template-columns:44px 1fr 44px; align-items:center; margin-top:auto; border:2px solid var(--ink); }
.quantity-control button { height:44px; border:0; background:var(--y); color:var(--ink); font:24px/1 "Roboto Mono",monospace; cursor:pointer; }
.quantity-control button:first-child { border-right:2px solid var(--ink); }
.quantity-control button:last-child { border-left:2px solid var(--ink); }
.quantity-control output { text-align:center; font:700 20px "Roboto Mono",monospace; }
#cartCheckout:not([hidden]) { display: block; margin-bottom: 10px; background: var(--y); color: var(--ink); }
#cartCheckout:hover:not(:disabled) { background: var(--ink); color: var(--paper); }
#cartCheckout:disabled { opacity: 0.55; cursor: default; }
.cart-summary {
  grid-column:2;
  display:grid;
  gap:12px;
  margin-top:10px;
  padding:24px;
  border:3px solid var(--ink);
  background:var(--ink);
  color:var(--paper);
  box-shadow:10px 10px 0 var(--y);
}
.cart-summary > small { font:10px/1.4 "Roboto Mono",monospace; letter-spacing:.08em; }
#cartDiscount { margin:0; font:14px/1.45 "Roboto Mono",monospace; }
.cart-mystery { display:flex; flex-direction:column; gap:3px; padding:12px; border:2px solid var(--paper); background:var(--p); }
.cart-mystery b { font:18px "Archivo Black",sans-serif; }
.cart-mystery span { font:10px "Roboto Mono",monospace; }
.cart-mystery[hidden],.reopen[hidden],.tryBig[hidden] { display:none !important; }
.cart-total { display:flex; justify-content:space-between; align-items:end; padding-top:14px; border-top:1px solid var(--paper); }
.cart-total span { font:10px "Roboto Mono",monospace; }
.cart-total strong { font:40px/1 "Bodoni Moda",serif; }
#cartRequest { padding:15px; border:2px solid var(--paper); background:var(--y); color:var(--ink); font:700 12px "Roboto Mono",monospace; cursor:pointer; }
#cartRequest:disabled { opacity:.35; cursor:not-allowed; }
.hero-actions:has(.tryBig[hidden]) { grid-template-columns:1fr; }
@media(max-width:820px) {
  .cart-page { grid-template-columns:1fr; }
  .cart-page .head { position:static; }
  .cart-products,.cart-summary { grid-column:1; }
}
@media(max-width:520px) { .cart-products { grid-template-columns:1fr; } }


/* The whole game stays inside a cream checked passe-partout at every viewport height. */
#ecosystem {
  overflow:hidden;
  overscroll-behavior:contain;
  padding:clamp(8px,1.35vw,22px);
  background-color:#f8f2e5;
  background-image:
    linear-gradient(45deg,var(--y) 25%,transparent 25%,transparent 75%,var(--y) 75%),
    linear-gradient(45deg,var(--y) 25%,transparent 25%,transparent 75%,var(--y) 75%);
  background-position:0 0,12px 12px;
  background-size:24px 24px;
}
.eco-shell {
  width:100%;
  height:100%;
  min-height:0;
  overflow:hidden;
  grid-template-rows:auto minmax(0,1fr) auto;
  border:2px solid var(--ink);
  background:var(--paper);
  box-shadow:clamp(3px,.55vw,8px) clamp(3px,.55vw,8px) 0 var(--ink);
}
.eco-stage { height:auto; min-height:0; }
.eco-brush .eco-controls { margin-top:0; }
.eco-controls {
  display:grid; grid-template-columns:minmax(0,1fr) 240px; gap:12px 24px;
  padding:10px clamp(14px,3vw,46px); max-height:none; overflow:visible;
  align-items:center; scrollbar-color:var(--ink) var(--paper);
  opacity:1; pointer-events:auto;
}
.eco-controls[hidden], #inbrumaSupplies[hidden], #seedDiscovery[hidden],
#depositQueue button[hidden], .brush-size[hidden], #water[hidden], #plantEvidence[hidden] { display:none !important; }
#inbrumaSupplies, #seedDiscovery { padding:0; margin:0; border:0; min-height:0; }
#inbrumaSupplies { min-width:0; }
#depositQueue { display:flex; justify-content:center; flex-wrap:nowrap; gap:18px; }
#depositQueue button {
  min-width:0; width:160px; display:grid; grid-template-columns:1fr auto;
  gap:3px 8px; padding:4px 8px 8px; border:0; border-bottom:2px solid transparent;
  background:transparent; color:var(--ink); cursor:pointer;
}
#depositQueue svg { grid-column:1/-1; width:100%; height:56px; overflow:hidden; transition:transform .2s; }
#depositQueue button span { font:11px/1.3 "Roboto Mono",monospace; }
#depositQueue button b { font:700 12px "Roboto Mono",monospace; }
#depositQueue button i { margin:3px 0 0; height:5px; }
#depositQueue button.active { background:transparent; color:var(--ink); border-bottom-color:var(--p); }
#depositQueue button:hover svg { transform:translateY(-3px); }
#depositQueue button:focus-visible, #seedContainers button:focus-visible, #sowField:focus-visible { outline:3px solid var(--p); outline-offset:3px; }
.supply-invitation { margin:-2px 0 0; text-align:center; font:10px/1.3 "Roboto Mono",monospace; }
.eco-toolbox { display:flex; flex-direction:column; align-items:stretch; gap:12px; }
.eco-toolbox button { border:2px solid var(--ink); padding:9px 12px; background:transparent; font:11px "Roboto Mono",monospace; cursor:pointer; }
.eco-toolbox #resetEco { align-self:flex-end; }
.eco-toolbox .brush-size { font:11px/1.4 "Roboto Mono",monospace; }
.eco-toolbox #water { background:var(--y); color:var(--ink); }
.eco-mixing .eco-controls, .eco-watering .eco-controls, .eco-future .eco-controls { display:flex; justify-content:flex-end; }
.eco-seeds .basin-meter { display:none; }
.eco-seeds .eco-readout { max-width:390px; }
#seedDiscovery {
  position:static; display:grid; grid-template-columns:minmax(0,1fr) 290px;
  align-items:center; gap:6px 24px; min-width:0; width:100%;
}
#seedContainers { grid-column:1; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; max-width:540px; width:100%; justify-self:center; }
#seedContainers button {
  padding:2px 4px 5px; border:0; border-bottom:2px solid transparent;
  background:transparent; color:var(--ink); cursor:pointer;
  display:flex; flex-direction:column; align-items:center;
  font-family:"Roboto Mono",monospace;
}
#seedContainers svg { width:100%; height:70px; overflow:hidden; transition:transform .2s; }
#seedContainers b { font-size:11px; letter-spacing:.02em; padding:2px 0; }
#seedContainers small { font-size:9px; line-height:1.4; }
#seedContainers button:hover svg { transform:translateY(-3px); }
#seedContainers button.discovered { border-bottom-color:var(--ink); }
.seed-invitation { grid-column:1; margin:0; text-align:center; font:700 10px/1.4 "Roboto Mono",monospace; }
.seed-invitation span { font-weight:400; }
#sowField {
  grid-column:2; grid-row:1/3; width:100%; display:grid; grid-template-columns:1fr auto;
  gap:5px 10px; padding:10px 12px; border:2px solid var(--ink);
  background:var(--paper); color:var(--ink); text-align:left;
  font:700 11px "Roboto Mono",monospace;
}
#sowField:disabled { opacity:1; cursor:default; }
#sowField b { font-size:16px; }
#sowField i { grid-column:1/-1; height:7px; border:1px solid; }
#sowField em { display:block; width:0; height:100%; background:var(--ink); transition:width .25s; }
#sowField small { grid-column:1/-1; font-size:10px; font-weight:400; line-height:1.4; }
#sowField:not(:disabled) { background:var(--y); cursor:pointer; }
#sowField:not(:disabled):hover { background:#f4cf11; }
.eco-seeds .eco-controls { grid-template-columns:minmax(0,1fr) auto; }
#plantEvidence { max-height:calc(100% - 36px); overflow:auto; }
#plantEvidence h3 { padding-right:16px; }
.evidenceClose { width:44px; height:44px; cursor:pointer; }
.research-note { display:block; margin-top:18px; padding-top:12px; border-top:1px solid #f3eddf66; font:10px/1.5 "Roboto Mono",monospace; }
/* Whole fauna quadrants preserve wings and antennae. */
.ink-visitor { background-image:var(--pollinator-image, url('/assets/pollinator-vespa.webp')); background-size:160px 132px; height:66px; }
.ink-visitor-0,.ink-visitor-2 { background-position:0 0; }
.ink-visitor-1 { background-position:-80px 0; }
@media(max-width:820px) {
  .eco-controls { grid-template-columns:minmax(0,1fr) 150px; padding:8px 14px; gap:10px; }
  #depositQueue { gap:8px; }
  #depositQueue button { padding-inline:3px; width:132px; }
  #depositQueue svg { height:52px; }
  #depositQueue button span { font-size:10px; }
  .eco-toolbox { gap:8px; }
  #seedDiscovery { grid-template-columns:minmax(0,1fr) 210px; gap:4px 12px; }
  #seedContainers { gap:4px; }
  #seedContainers svg { height:60px; }
  #seedContainers b { font-size:10px; }
  #seedContainers small { font-size:8px; }
  .seed-invitation { font-size:9px; }
  .eco-seeds .eco-readout { max-width:calc(100% - 28px); }
  .ink-visitor { width:56px; height:46px; background-size:112px 92px; }
  .ink-visitor-0,.ink-visitor-2 { background-position:0 0; }
  .ink-visitor-1 { background-position:-56px 0; }
}
@media(max-width:520px) {
  .eco-controls { grid-template-columns:1fr; gap:6px; padding:6px 12px; }
  .eco-toolbox { flex-direction:row; align-items:center; justify-content:space-between; }
  .eco-toolbox .brush-size { display:flex; align-items:center; gap:8px; font-size:9px; }
  .eco-toolbox .brush-size input { width:110px; }
  .eco-toolbox button { min-height:32px; padding:5px 9px; font-size:10px; }
  #depositQueue svg { height:44px; }
  #depositQueue button { width:110px; padding-bottom:4px; }
  #depositQueue button span { font-size:9px; }
  #depositQueue button b { font-size:10px; }
  .supply-invitation { font-size:9px; margin-top:0; }
  .eco-seeds .eco-controls { grid-template-columns:1fr; }
  #seedDiscovery { grid-template-columns:minmax(0,1fr) minmax(0,1.15fr); gap:5px 10px; }
  #seedContainers { grid-column:1/-1; gap:3px; }
  #seedContainers svg { height:48px; }
  #seedContainers b { font-size:9px; }
  #seedContainers small { font-size:8px; }
  .seed-invitation { grid-column:1; grid-row:2; font-size:8px; }
  #sowField { grid-column:2; grid-row:2; padding:6px 8px; gap:3px 8px; font-size:9px; }
  #sowField b { font-size:12px; }
  #sowField small { font-size:8px; }
  .eco-seeds .eco-readout strong { font-size:22px; }
  .eco-seeds #plantEvidence { top:8px; max-height:calc(100% - 16px); }
}
@media(max-height:760px) {
  #ecosystem { padding:7px; }
  .eco-shell { box-shadow:3px 3px 0 var(--ink); }
  .eco-head { padding:6px clamp(10px,2vw,24px); align-items:center; }
  .eco-head small { font-size:9px; }
  .eco-close { width:36px; height:36px; font-size:24px; }
  .eco-controls { padding:5px clamp(10px,2vw,24px); gap:5px 14px; }
  #depositQueue svg { height:42px; }
  #seedContainers svg { height:46px; }
  #depositQueue button { padding-top:1px; padding-bottom:3px; }
  .supply-invitation,.seed-invitation { line-height:1.15; }
  .eco-toolbox { gap:5px; }
  .eco-toolbox button { padding-block:5px; }
}
@media(max-height:620px) {
  #ecosystem { padding:5px; }
  .eco-head { padding-block:4px; }
  .eco-close { width:32px; height:32px; font-size:21px; }
  .eco-controls { padding-block:3px; }
  #depositQueue svg,#seedContainers svg { height:34px; }
  #depositQueue button span,#seedContainers b { font-size:9px; }
  #depositQueue button b,#seedContainers small,.supply-invitation,.seed-invitation { font-size:8px; }
}
@media(prefers-reduced-motion:reduce) { #depositQueue svg,#seedContainers svg,#sowField em { transition:none; } }

/* Stable game frame: phases never resize the illustrated viewport. */
#ecosystem {
  background:var(--y);
  background-image:none;
  box-sizing:border-box;
}
#ecosystem[open] { display:grid; place-items:center; }
.eco-shell {
  width:min(1400px,100%);
  height:min(860px,100%);
  align-self:center;
  justify-self:center;
  grid-template-rows:56px minmax(0,1fr) 126px;
}
.eco-head { height:56px; box-sizing:border-box; }
.eco-stage { width:100%; height:100%; min-height:0; }
.eco-controls {
  height:126px;
  box-sizing:border-box;
  overflow:hidden;
}
.eco-controls[hidden] {
  display:grid !important;
  visibility:hidden;
  pointer-events:none;
}
.eco-macerating .eco-controls[hidden],
.eco-sowing .eco-controls[hidden] { opacity:0; }
.eco-macerating #fieldFact {
  left:4vw;
  top:auto;
  bottom:22px;
  transform:none;
  width:min(390px,calc(100% - 190px));
  padding:17px 20px;
  box-shadow:8px 8px var(--y);
}
@media(max-width:820px) {
  .eco-shell { grid-template-rows:54px minmax(0,1fr) 142px; }
  .eco-head { height:54px; }
  .eco-stage { min-height:0; }
  .eco-controls { height:142px; }
  .eco-macerating #fieldFact { bottom:16px; width:min(330px,calc(100% - 170px)); padding:13px 15px; }
}
@media(max-width:520px) {
  .eco-shell { grid-template-rows:48px minmax(0,1fr) 158px; }
  .eco-head { height:48px; }
  .eco-controls { height:158px; }
  .eco-macerating #fieldFact { left:12px; bottom:12px; width:calc(100% - 152px); padding:11px 12px; font-size:12px; }
  #macerationClock { right:12px; top:12px; width:105px; min-height:88px; }
  #macerationClock b { font-size:50px; }
}
@media(max-height:620px) {
  .eco-shell { grid-template-rows:42px minmax(0,1fr) 94px; }
  .eco-head { height:42px; }
  .eco-controls { height:94px; }
  .eco-macerating #fieldFact { bottom:10px; padding:10px 12px; }
}

/* Shared visual center and typography for the primary navigation. */
body > header .brand,
body > header nav > a:not(.cart-link) {
  display: flex;
  align-items: center;
  min-height: 34px;
  color: var(--ink);
  font: 700 11px/1.2 "Roboto Mono", monospace;
  letter-spacing: .035em;
  text-decoration: none;
}
body > header nav { align-items: center; }
@media (min-width: 821px) {
  body > header { grid-template-columns: auto minmax(0, 1fr) auto; column-gap: clamp(18px, 3vw, 48px); }
  body > header .brand { white-space: nowrap; }
  body > header nav { min-width:0; gap: clamp(14px, 2.5vw, 38px); padding-right:8px; }
  body > header nav .cart-link { flex:0 0 34px; margin-left:4px; }
  body > header .language-switcher { position:relative; z-index:2; flex:0 0 auto; }
}

/* #IONONBRUCIO collection */
body > header .pickup-nav { position:relative; white-space:nowrap; }
.pickup-nav span { position:absolute; bottom:100%; left:0; font:700 7px/1 "Roboto Mono",monospace; background:var(--y); padding:3px 5px; }
.pickup-section h2 { font-size:clamp(32px,6vw,80px); overflow-wrap:anywhere; }
.pickup-section > button { background:var(--y); border:2px solid var(--ink); padding:14px 28px; font-weight:700; box-shadow:4px 4px var(--ink); }
#pickupDialog { width:min(680px,calc(100vw - 32px)); max-height:90dvh; overflow-y:auto; }
#pickupDialog h2 { font-size:clamp(28px,5vw,48px); margin-bottom:26px; }
#pickupDialog label { display:grid; gap:8px; font-size:11px; font-weight:700; margin-bottom:16px; }
#pickupDialog input,#pickupDialog select,#pickupDialog textarea { width:100%; min-width:0; border:1px solid var(--ink); background:var(--paper); color:var(--ink); padding:12px; font:inherit; }
#pickupDialog fieldset { border:1px solid var(--ink); padding:16px; margin:0 0 20px; }
#pickupDialog legend { font-size:11px; font-weight:700; }
#pickupDialog small,#pickupDialog p { font-size:11px; line-height:1.6; }
#pickupDialog button:not(.x) { padding:12px 18px; background:var(--y); border:2px solid var(--ink); font-weight:700; }
.pickup-grid { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.pickup-composition { grid-template-columns:repeat(3,minmax(0,1fr)); }
#pickupResult[hidden] { display:none; }
@media(min-width:821px) and (max-width:1100px) { body > header { padding-inline:2vw; column-gap:14px; } body > header nav { gap:12px; } body > header .brand,body > header nav > a:not(.cart-link) { font-size:10px; letter-spacing:0; } }
@media(max-width:820px) { .pickup-nav span { position:static; margin-left:8px; } }
@media(max-width:420px) { .pickup-grid { gap:8px; } #pickupDialog { padding:28px 18px; } }

/* Site decorations use individual new pollinators, never the old bee atlas. */
.ink-visitor,
.ink-visitor-0,
.ink-visitor-1,
.ink-visitor-2 {
  background-image:var(--pollinator-image, url('/assets/pollinator-vespa.webp'));
  background-size:contain;
  background-position:center;
  scale:var(--pollinator-direction, 1) 1;
}

/* English language selector: Union Jack. */
.flag-england {
  background: url("/assets/flag-english-uk.svg") center / 100% 100% no-repeat;
}
.flag-england::before, .flag-england::after { content:none; }

/* Keep seed instructions inside the existing controls band. */
.eco-seeds #seedDiscovery {
  grid-template-columns:minmax(0,1fr) minmax(130px,170px) minmax(180px,250px);
  gap:12px; align-items:center;
}
.eco-seeds #seedContainers {grid-column:1;grid-row:1;}
.eco-seeds #seedContainers svg {height:60px;}
.eco-seeds .seed-invitation {grid-column:2;grid-row:1;text-align:left;overflow-wrap:anywhere;}
.eco-seeds #sowField {grid-column:3;grid-row:1;}
@media(max-width:820px) {
  .eco-seeds #seedDiscovery {grid-template-columns:minmax(0,1fr) minmax(150px,190px);gap:6px 12px;}
  .eco-seeds #seedContainers {grid-column:1;grid-row:1/3;}
  .eco-seeds #seedContainers svg {height:48px;}
  .eco-seeds .seed-invitation {grid-column:2;grid-row:1;}
  .eco-seeds #sowField {grid-column:2;grid-row:2;padding:6px 8px;}
}
@media(max-width:520px) {
  .eco-seeds .eco-controls {grid-template-columns:minmax(0,1fr) 46px;gap:6px;padding:6px 10px;}
  .eco-seeds .eco-toolbox {align-self:center;}
  .eco-seeds .eco-toolbox #resetEco {padding:5px 3px;font-size:9px;width:46px;}
  .eco-seeds #seedDiscovery {grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:5px 8px;}
  .eco-seeds #seedContainers {grid-column:1/-1;grid-row:1;}
  .eco-seeds #seedContainers svg {height:40px;}
  .eco-seeds .seed-invitation {grid-column:1;grid-row:2;font-size:8px;line-height:1.2;}
  .eco-seeds #sowField {grid-column:2;grid-row:2;gap:3px 6px;}
}
@media(max-height:760px) and (min-width:521px) {
  .eco-seeds #seedContainers svg {height:40px;}
}
@media(max-height:620px) {
  .eco-seeds #seedContainers svg {height:28px;}
  .eco-seeds #seedContainers button {padding:0 2px;}
  .eco-seeds #seedContainers b {padding:0;font-size:9px;}
  .eco-seeds #seedContainers small {font-size:8px;line-height:1.1;}
  .eco-seeds #seedDiscovery {gap:3px 8px;}
  .eco-seeds .seed-invitation {font-size:8px;line-height:1.15;}
  .eco-seeds #sowField {padding:4px 6px;gap:2px 6px;font-size:9px;}
  .eco-seeds #sowField b {font-size:12px;}
  .eco-seeds #sowField small {font-size:8px;line-height:1.15;}
}

/* Facts occupy the seat vacated during the day/night sequence. */
.eco-macerating #fieldFact {
  left:auto; right:3%; bottom:5%; top:auto; transform:none;
  width:min(390px,34%); box-sizing:border-box;
}
.eco-macerating #fieldFact.has-card-art {
  aspect-ratio:2/3;
  width:min(250px,25%);
  padding:0;
  overflow:hidden;
  border:0;
  border-radius:12px;
  background:transparent;
  box-shadow:10px 12px 16px rgba(18,18,16,.38),4px 5px 0 rgba(17,45,99,.34);
  transform:rotate(var(--card-turn,1deg));
  transition:opacity .24s ease,transform .35s ease;
  isolation:isolate;
}
#fieldFact .field-card-art {
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  filter:saturate(.58) contrast(.96) sepia(.08);
}
#fieldFact .field-card-copy {position:relative;z-index:1;}
#fieldFact.has-card-art .field-card-copy {
  position:absolute;
  left:var(--copy-left,50%);
  right:auto;
  top:var(--copy-top,50%);
  bottom:auto;
  width:var(--copy-width,55%);
  height:var(--copy-height,29%);
  transform:translate(-50%,-50%);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:3.5%;
  box-sizing:border-box;
  container-type:inline-size;
  text-align:center;
  color:#fff;
  text-shadow:
    -2px -2px 0 #173c79, 2px -2px 0 #173c79,
    -2px  2px 0 #173c79, 2px  2px 0 #173c79,
    0 3px 8px rgba(0,0,0,.72);
}
#fieldFact[data-card="01"] .field-card-copy {--copy-left:49.86%;--copy-top:47.59%;--copy-width:62%;--copy-height:24%;}
#fieldFact[data-card="02"] .field-card-copy {--copy-left:50%;--copy-top:48.61%;--copy-width:43%;--copy-height:34%;}
#fieldFact[data-card="03"] .field-card-copy {--copy-left:50%;--copy-top:45.65%;--copy-width:64%;--copy-height:25%;}
#fieldFact[data-card="04"] .field-card-copy {--copy-left:49.86%;--copy-top:48.56%;--copy-width:54%;--copy-height:27%;}
#fieldFact[data-card="05"] .field-card-copy {--copy-left:49.93%;--copy-top:48.47%;--copy-width:51%;--copy-height:26%;}
#fieldFact[data-card="06"] .field-card-copy {--copy-left:50%;--copy-top:48.8%;--copy-width:64%;--copy-height:25%;}
#fieldFact[data-card="07"] .field-card-copy {--copy-left:50%;--copy-top:49.35%;--copy-width:50%;--copy-height:26%;}
#fieldFact[data-card="08"] .field-card-copy {--copy-left:49.93%;--copy-top:47.13%;--copy-width:43%;--copy-height:27%;}
#fieldFact[data-card="09"] .field-card-copy {--copy-left:49.93%;--copy-top:48.84%;--copy-width:39%;--copy-height:30%;}
#fieldFact[data-card="10"] .field-card-copy {--copy-left:49.86%;--copy-top:47.18%;--copy-width:56%;--copy-height:21%;}
#fieldFact.has-card-art p {
  width:100%;
  max-width:100%;
  margin:0;
  font:800 clamp(8px,5.3cqw,16px)/1.16 "Roboto Mono",monospace;
  text-align:center;
  text-wrap:balance;
  white-space:pre-line;
  overflow-wrap:normal;
  word-break:keep-all;
  text-transform:uppercase;
}
:lang(ja) #fieldFact.has-card-art p {
  font-size:clamp(8px,4.8cqw,14px);
  line-height:1.3;
  overflow-wrap:anywhere;
  word-break:normal;
  text-transform:none;
}
#fieldCardStack {
  position:absolute;
  z-index:3;
  right:3%;
  bottom:5%;
  width:min(250px,25%);
  aspect-ratio:2/3;
  opacity:0;
  visibility:hidden;
  transition:opacity .25s ease,transform .35s ease;
}
.eco-macerating #fieldCardStack:not(:empty) {opacity:1;visibility:visible;}
#fieldCardStack img {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:9px;
  filter:saturate(.58) contrast(.96) sepia(.08);
  box-shadow:9px 11px 15px rgba(18,18,16,.34),3px 4px 0 rgba(17,45,99,.28);
  transform:translate(var(--stack-x,0),var(--stack-y,0)) rotate(var(--stack-turn,0));
}
#fieldMusic {
  margin-left:auto; flex:none; min-width:40px; min-height:36px;
  border:1px solid var(--ink); background:transparent; color:var(--ink);
  font:18px "Roboto Mono",monospace; cursor:pointer;
}
#fieldMusic:focus-visible {outline:3px solid var(--p);outline-offset:3px;}
@media(max-width:820px) {
  .eco-macerating #fieldFact {right:3%;bottom:5%;width:44%;padding:13px 15px;}
  .eco-macerating #fieldFact.has-card-art {width:min(210px,36%);padding:0;}
  #fieldCardStack {right:3%;bottom:5%;width:min(210px,36%);}
}
@media(max-width:520px) {
  .eco-macerating #fieldFact {left:auto;right:12px;bottom:12px;width:58%;padding:11px 12px;font-size:12px;}
  .eco-macerating #fieldFact.has-card-art {width:min(180px,46%);padding:0;}
  #fieldCardStack {left:auto;right:12px;bottom:12px;width:min(180px,46%);}
  #fieldMusic {min-width:34px;min-height:32px;}
}
@media(max-height:620px) {
  .eco-macerating #fieldFact {bottom:10px;padding:10px 12px;font-size:12px;}
}

/* A small game-control note rests on the CTA corner. */
#home .tryBig {position:relative;overflow:visible;}
.field-postit {
  position:absolute;right:14px;top:-19px;width:48px;height:39px;
  display:grid;place-items:center;background:var(--paper);color:var(--ink);
  border:1px solid var(--ink);box-shadow:3px 3px 0 #16151044;
  transform:rotate(11deg);pointer-events:none;
}
.field-postit::before {content:"";position:absolute;top:-5px;left:13px;width:22px;height:9px;background:#ead391aa;transform:rotate(-6deg);}
.field-postit svg {width:36px;height:27px;}
#harvestCombo {
  min-width:0;width:clamp(54px,5.2vw,72px);border-width:2px;
  grid-template-rows:auto 1fr;gap:1px;padding:6px 3px 4px;
  box-sizing:border-box;box-shadow:4px 4px 0 var(--p);
}
#harvestCombo small {font:700 clamp(8px,.85vw,10px)/1 "Roboto Mono",monospace;letter-spacing:.03em;}
#harvestCombo b {font:700 clamp(25px,3vw,39px)/1 "Bodoni Moda",serif;}
#harvestComplete .recap-lizard {float:right;width:clamp(74px,18%,105px);height:auto;margin:10px 24px 4px 12px;pointer-events:none;}
@media(max-width:520px) {
  .field-postit {right:9px;top:-16px;width:42px;height:34px;}
  .field-postit svg {width:31px;height:24px;}
}

/* Impeccable audit: shared controls, readable hierarchy and explicit states. */
:root { --control-size:44px; --control-gap:8px; --focus-color:var(--b); }
::selection {background:var(--y);color:var(--ink);}
input,textarea {caret-color:var(--b);}
a {text-underline-offset:.2em;}
:where(button,a,input,textarea,select,[tabindex]):focus-visible {
  outline:3px solid var(--focus-color);outline-offset:3px;
}
#ecoCanvas:focus-visible {outline-offset:-5px;}
#plantEvidence :focus-visible {outline-color:var(--y);}
.eco-head {align-items:center;gap:16px;padding-block:0;}
.eco-head small {min-width:0;line-height:1.35;}
.eco-head-actions {display:flex;align-items:center;gap:var(--control-gap);flex:none;}
.eco-head-actions #fieldMusic,.eco-head-actions .eco-close {
  display:grid;place-items:center;flex:none;margin:0;padding:0;
  width:var(--control-size);height:var(--control-size);min-width:0;min-height:0;
  border:2px solid var(--ink);background:var(--paper);color:var(--ink);
  line-height:1;transition:background-color .15s,color .15s;
}
.eco-head-actions svg {display:block;width:22px;height:22px;}
.eco-head-actions button:hover {background:var(--y);}
.eco-head-actions button:active {background:var(--ink);color:var(--paper);}
#fieldMusic .music-slash {display:none;}
#fieldMusic[data-muted="true"] .music-slash {display:block;}
.eco-readout strong {line-height:1.08;margin:7px 0;text-wrap:balance;}
.eco-readout small,.basin-meter small {line-height:1.45;}
.basin-meter b,#sowField b,.fruit-count b,#clockValue {font-variant-numeric:tabular-nums;}
.eco-toolbox button {min-height:44px;}
.supply-invitation {margin:4px 0 0;}
#plantEvidence {scrollbar-color:var(--paper) var(--ink);scrollbar-width:thin;}
#plantEvidence h3 {line-height:1.15;text-wrap:balance;}
#seedContainers button:focus-visible,#depositQueue button:focus-visible {outline-offset:-2px;}
@media(max-width:520px) {
  .eco-head {gap:8px;padding-inline:12px;}
  .eco-head small {font-size:9px;}
  .eco-head-actions {gap:6px;}
  .eco-seeds .eco-toolbox #resetEco {min-height:44px;}
}
@media(max-height:620px) {
  .eco-head-actions {--control-size:36px;}
  .eco-head-actions svg {width:20px;height:20px;}
  .eco-toolbox button {min-height:32px;}
  .eco-seeds .eco-toolbox #resetEco {min-height:32px;}
}
@media(prefers-reduced-motion:reduce) {
  .ink-visitor {animation:none;}
  #harvestCombo.show {animation:none;opacity:1;transform:translate(-50%,-50%) rotate(-3deg);}
  .eco-head-actions button,#plantEvidence,#wateringCan,#macerationClock {transition:none;}
}

/* Compact collection form: all fields share a single visible panel. */
#pickupDialog { width:min(860px,calc(100vw - 28px)); padding:20px 24px; max-height:calc(100dvh - 28px); }
#pickupDialog > .eyebrow { margin:0 40px 6px 0; }
#pickupDialog h2 { font-size:clamp(25px,4vw,38px); line-height:1.05; margin:0 32px 16px 0; }
#pickupForm { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px 18px; }
#pickupForm > label:has([name="name"]) { grid-column:1;grid-row:1; }
#pickupForm > label:has([name="contact"]) { grid-column:2;grid-row:1; }
#pickupForm > label:has([name="location"]) { grid-column:1;grid-row:2; }
#pickupForm > label:has([name="date"]) { grid-column:2;grid-row:2; }
#pickupForm > .pickup-grid { grid-column:1/-1;grid-row:3; }
#pickupForm > fieldset { grid-column:1/-1;grid-row:4; }
#pickupForm > label:has([name="notes"]) { grid-column:1/-1;grid-row:5; }
#pickupForm > button { grid-column:1/-1;grid-row:6; }
#pickupForm > .pickup-status { grid-column:1/-1;grid-row:7; }
#pickupDialog label { margin:0;gap:5px;line-height:1.3; }
#pickupDialog input,#pickupDialog select { min-height:38px;padding:8px;font-size:16px; }
#pickupDialog textarea { height:52px;min-height:52px;padding:8px;font-size:16px;resize:none; }
#pickupDialog fieldset { margin:0;padding:8px 12px;min-width:0; }
#pickupDialog fieldset small { display:block;margin-top:5px; }
#pickupDialog .pickup-grid { gap:12px; }
#pickupDialog .pickup-status { margin:0; }
#pickupDialog .pickup-status:empty { display:none; }
#pickupDialog button:not(.x) { min-height:40px;padding:9px 14px; }
#pickupForm[hidden] { display:none; }
#pickupResult textarea { height:min(300px,45dvh); }
#pickupResult p { margin-bottom:0; }
@media(max-width:480px) {
  #pickupDialog { padding:16px; }
  #pickupForm { gap:10px; }
  #pickupDialog label,#pickupDialog legend,#pickupDialog small { font-size:10px; }
}

/* Shared launch row keeps pricing and immediate cart action visible together. */
.product .product-toolbar { position:absolute;top:12px;left:12px;right:12px;z-index:3;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:stretch;gap:8px;padding:0; }
.product-toolbar > span,.product .product-toolbar > button { display:flex;align-items:center;justify-content:center;min-height:36px;padding:8px;border:2px solid var(--ink);font:700 9px/1.35 "Roboto Mono",monospace; }
.product-toolbar > span { background:var(--y);color:var(--ink);justify-content:flex-start; }
.product .product-toolbar > button { margin:0;white-space:nowrap; }
.product .product-toolbar > button:hover { background:var(--p); }
@media(max-width:480px) {
  .product .product-toolbar { top:8px;left:8px;right:8px;gap:6px;grid-template-columns:1fr 1fr; }
  .product .product-toolbar > button { white-space:normal; }
}

/* Kit contents and user input form one full-width comparison. */
.cignula-kit-table { width:100%;table-layout:fixed;border-collapse:collapse;margin:22px 0 0;font:11px/1.6 "Roboto Mono",monospace; }
.cignula-kit-table th,.cignula-kit-table td { border:1px solid var(--ink);padding:12px 14px;text-align:left;vertical-align:top;overflow-wrap:anywhere; }
.cignula-kit-table th { background:var(--y);font-size:10px;line-height:1.5; }
.cignula-kit-table th:first-child { width:65%; }
.cignula-kit-table ul { list-style:none;padding:0;margin:0; }
.cignula-kit-table li+li { margin-top:7px; }
.product .cignula-motto { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;max-width:none;margin:0;border:1px solid var(--ink);border-top:0;padding:14px 6px;font:500 clamp(14px,1.65vw,26px)/1.2 "Roboto",sans-serif;text-align:center; }
.cignula-motto span+span { border-left:1px solid var(--ink); }
@media(max-width:480px) { .cignula-kit-table th,.cignula-kit-table td { padding:9px;font-size:10px; } }

/* Balanced kit table typography and density. */
.product .cignula-kit-table { margin-top:18px;font:12px/1.55 "Roboto Mono",monospace; }
.product .cignula-kit-table th,.product .cignula-kit-table td { padding:14px 16px;font-size:12px;line-height:1.55; }
.product .cignula-kit-table th { vertical-align:middle;font-weight:700; }
.product .cignula-kit-table th:first-child { width:60%; }
.cignula-kit-table th br { display:none; }
.cignula-kit-table th span+span { margin-left:.5em; }
.cignula-kit-table td:first-child ul { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 16px; }
.cignula-kit-table td:first-child li:first-child { grid-column:1/-1; }
.cignula-kit-table li+li { margin-top:0; }
.cignula-kit-table td:last-child li+li { margin-top:8px; }
.product .cignula-motto { padding:12px 0;font:700 14px/1.55 "Roboto Mono",monospace; }
.cignula-motto span { padding:0 8px;overflow-wrap:anywhere; }
@media(max-width:600px) {
  .product .cignula-kit-table th,.product .cignula-kit-table td { padding:11px;font-size:11px; }
  .cignula-kit-table td:first-child ul { grid-template-columns:1fr;gap:7px; }
  .product .cignula-motto { font-size:12px; }
}

/* Section numbers share the content edge and remain below the fixed menu. */
main section > .section-number-rail { position:absolute;inset:0 clamp(20px,5vw,78px);pointer-events:none;z-index:8; }
.section-number-rail > .no { position:sticky;top:88px;right:auto;display:flex;align-items:center;justify-content:center;width:32px;height:24px;margin:94px 0 0 auto;padding:0;border:1px solid var(--ink);background:var(--paper);color:var(--ink);font:500 10px/1 "Roboto Mono",monospace; }
.dark .section-number-rail > .no { background:var(--ink);color:var(--paper);border-color:var(--paper); }
@media(max-width:820px) { .section-number-rail > .no { top:76px; } }

/* Expanded pruning campaign with the supplied scenario beneath its copy. */
#iononbrucio.pickup-section { padding:0;overflow:hidden; }
#iononbrucio .pickup-copy { min-height:420px;padding:clamp(70px,7vw,120px) clamp(20px,5vw,78px) 64px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center; }
#iononbrucio .pickup-copy h2 { font-size:clamp(38px,6vw,100px); }
#iononbrucio .pickup-copy > p:not(.eyebrow) { max-width:980px;font:clamp(13px,1.2vw,18px)/1.6 "Roboto Mono",monospace; }
.pickup-scenario { width:100%;aspect-ratio:1672/941;background:var(--paper) url("/assets/biomass-scenario.svg") center/100% auto no-repeat;border-top:2px solid var(--ink); }
@media(min-width:821px) and (prefers-reduced-motion:no-preference) {
  .pickup-scenario { background-attachment:fixed;background-size:100% auto; }
}
@media(max-width:820px) {
  #iononbrucio .pickup-copy { min-height:350px;padding-block:70px 48px; }
}

.pickup-scenario { aspect-ratio:auto;height:calc(100vw * 941 / 1672 + 64px);background-attachment:scroll;background-size:100% auto;background-position:center calc(50% + var(--scenario-shift,0px)); }

/* Campaign band overlays a decorative diorama twice its height. */
#iononbrucio.pickup-section { position:relative;isolation:isolate;min-height:800px;display:grid;align-items:center; }
#iononbrucio .pickup-scenario { position:absolute;inset:0;z-index:-1;width:100%;height:100%;border:0;background-size:180% auto;background-position:center calc(50% + var(--scenario-shift,0px)); }
#iononbrucio .pickup-copy { position:relative;z-index:1;width:100%;box-sizing:border-box;min-height:400px;padding:48px clamp(20px,5vw,78px);background:var(--y);border-block:2px solid var(--ink); }
@media(max-width:820px) {
  #iononbrucio.pickup-section { min-height:700px; }
  #iononbrucio .pickup-copy { min-height:350px;padding-block:40px; }
  #iononbrucio .pickup-scenario { background-size:auto 180%; }
}

/* Soft, darkened decorative diorama; campaign copy stays sharp. */
#iononbrucio .pickup-scenario { filter:blur(5px) brightness(.48);transform:scale(1.025);transform-origin:center; }

/* Keep the campaign sentence on one line where space permits. */
#iononbrucio .pickup-copy > p:not(.eyebrow) { width:100%;max-width:none;font-size:clamp(11px,1.1vw,18px); }
@media(min-width:821px) { #iononbrucio .pickup-copy > p:not(.eyebrow) { white-space:nowrap; } }

.flag-italy { background:linear-gradient(to right,#009246 0 33.333%,#fff 33.333% 66.666%,#ce2b37 66.666% 100%); }


/* The card sequence now communicates elapsed maceration time. */
#macerationClock {display:none !important;}

/* Mobile alignment pass: desktop geometry remains unchanged. */
.eco-rotate-notice { display:none; }

@media (max-width:820px) {
  html,
  body {
    width:100%;
    max-width:100%;
    overflow-x:clip;
  }

  body > header {
    display:grid;
    grid-template-columns:minmax(0,1fr) 60px auto;
    align-items:center;
    gap:8px;
    height:64px;
    padding-inline:max(8px,env(safe-area-inset-left)) max(8px,env(safe-area-inset-right));
    text-align:left;
  }
  body > header .brand {
    width:48px;
    min-width:0;
    max-width:96px;
    font-size:10px;
    line-height:1.12;
    overflow-wrap:normal;
  }
  body > header .menu {
    display:grid;
    place-items:center;
    width:60px;
    min-width:60px;
    height:44px;
    min-height:44px;
    padding:0 8px;
  }
  body > header .language-switcher { gap:3px; }
  body > header .language-link {
    width:44px;
    height:44px;
    box-shadow:2px 2px 0 var(--ink);
  }
  body > header nav { top:64px; }
  body > header nav > a:not(.cart-link) {
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:44px;
  }
  body > header nav .cart-link {
    width:44px;
    height:44px;
  }

  .ink-visitor-0 { left:auto; right:16px; }
  .ink-visitor-1 { left:8%; }
  .ink-visitor-2 { left:auto; right:20px; }
  .ink-visitor { animation-name:visitor-flight-mobile; }
}

@media (min-width:821px) and (max-width:950px) and (hover:none) {
  html,
  body {
    width:100%;
    max-width:100%;
    overflow-x:clip;
  }
  body > header {
    display:grid;
    grid-template-columns:minmax(0,1fr) 60px auto;
    align-items:center;
    gap:8px;
    height:64px;
    padding-inline:max(8px,env(safe-area-inset-left)) max(8px,env(safe-area-inset-right));
  }
  body > header .brand {
    width:52px;
    min-width:0;
    max-width:120px;
    font-size:10px;
    line-height:1.12;
  }
  body > header .menu {
    display:grid;
    grid-column:2;
    place-items:center;
    width:60px;
    min-width:60px;
    height:44px;
    min-height:44px;
    padding:0 8px;
  }
  body > header .language-switcher { grid-column:3; gap:3px; }
  body > header .language-link { width:44px; height:44px; box-shadow:2px 2px 0 var(--ink); }
  body > header nav {
    display:none;
    position:absolute;
    inset:64px 0 auto;
    flex-direction:column;
    align-items:center;
    padding:24px;
    border-bottom:2px solid var(--ink);
    background:var(--paper);
  }
  body > header nav.open { display:flex; }
  body > header nav > a:not(.cart-link) {
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:44px;
  }
  body > header nav .cart-link { width:44px; height:44px; }
}

@media (max-width:380px) {
  body > header {
    grid-template-columns:minmax(0,1fr) 54px auto;
    gap:4px;
    padding-inline:max(6px,env(safe-area-inset-left)) max(6px,env(safe-area-inset-right));
  }
  body > header .brand { width:44px; max-width:44px; font-size:9px; }
  body > header .menu { width:54px; min-width:54px; padding-inline:5px; }
  body > header .language-switcher { gap:2px; }
}

@keyframes visitor-flight-mobile {
  to { transform:translate(-10px,-14px) rotate(5deg); }
}

/* Phones and touch tablets keep the game available, but only in landscape. */
@media (orientation:portrait) and (max-width:1366px) and (hover:none) {
  #ecosystem .eco-shell {
    --mobile-eco-head:54px;
    position:relative;
  }
  #ecosystem .eco-head {
    position:relative;
    z-index:31;
    height:var(--mobile-eco-head);
  }
  #ecosystem .eco-rotate-notice {
    position:absolute;
    z-index:30;
    inset:var(--mobile-eco-head) 0 0;
    display:grid;
    place-content:center;
    justify-items:center;
    gap:12px;
    padding:24px max(20px,env(safe-area-inset-right)) max(24px,env(safe-area-inset-bottom)) max(20px,env(safe-area-inset-left));
    border-top:2px solid var(--ink);
    background-color:var(--paper);
    background-image:radial-gradient(#1112 .7px,transparent .8px);
    background-size:5px 5px;
    color:var(--ink);
    text-align:center;
  }
  .eco-rotate-notice svg { width:72px; height:72px; }
  .eco-rotate-notice strong { font:700 clamp(18px,5vw,28px)/1.1 "Roboto Mono",monospace; }
  .eco-rotate-notice span { max-width:32ch; font:12px/1.55 "Roboto Mono",monospace; }
  #ecosystem .eco-stage,
  #ecosystem .eco-controls { pointer-events:none; visibility:hidden; }
}

@media (orientation:portrait) and (max-width:520px) and (hover:none) {
  #ecosystem .eco-shell { --mobile-eco-head:48px; }
  #ecosystem .eco-head { padding-inline:12px; }
  #ecosystem .eco-head small { font-size:9px; }
  #ecosystem .eco-head-actions { --control-size:44px; gap:6px; }
}

/* Safe-area-aware, symmetric game frame for Android/iOS landscape play. */
@media (orientation:landscape) and (max-width:1366px) and (max-height:820px) and (hover:none) {
  html:has(#ecosystem[open]),
  body:has(#ecosystem[open]) {
    width:100%;
    height:100%;
    overflow:hidden;
  }
  #ecosystem {
    --game-rail-left:clamp(112px,15vw,144px);
    --game-rail-right:clamp(128px,18vw,180px);
    width:100%;
    height:100dvh;
    padding:max(5px,env(safe-area-inset-top)) max(5px,env(safe-area-inset-right)) max(5px,env(safe-area-inset-bottom)) max(5px,env(safe-area-inset-left));
    background:var(--ink);
  }
  #ecosystem .eco-shell {
    position:relative;
    display:grid;
    grid-template-columns:var(--game-rail-left) minmax(0,1fr) var(--game-rail-right);
    grid-template-rows:minmax(0,1fr);
    width:100%;
    max-width:none;
    height:100%;
    max-height:none;
    border:0;
    background:var(--ink);
    box-shadow:none;
  }
  #ecosystem .eco-stage {
    grid-column:2;
    grid-row:1;
    place-self:center;
    width:min(100%,calc((100dvh - 20px) * 1.776833));
    height:auto;
    max-height:100%;
    aspect-ratio:1672 / 941;
    min-height:0;
    border:2px solid var(--paper);
    background:#d8cdb6;
  }
  #ecosystem #ecoCanvas { width:100%; height:100%; }
  #ecosystem .eco-head {
    grid-column:1;
    grid-row:1;
    z-index:12;
    height:100%;
    min-height:0;
    padding:10px 8px;
    border:0;
    border-right:2px solid var(--paper);
    background:var(--ink);
    color:var(--paper);
    flex-direction:column;
    align-items:stretch;
    justify-content:flex-start;
    gap:10px;
    min-width:0;
    overflow:hidden;
  }
  #ecosystem .eco-head small {
    min-width:0;
    white-space:normal;
    overflow-wrap:anywhere;
    font-size:8px;
    line-height:1.35;
  }
  #ecosystem .eco-head-actions {
    --control-size:44px;
    display:grid;
    grid-template-columns:repeat(2,44px);
    gap:6px;
    width:100%;
  }
  #ecosystem .eco-head-actions button { border-color:var(--paper); color:var(--paper); }
  #ecosystem .eco-head-actions #fieldMusic,
  #ecosystem .eco-head-actions .eco-close {
    background:var(--ink);
    color:var(--paper);
  }
  #ecosystem .eco-head-actions #fieldMusic:active,
  #ecosystem .eco-head-actions .eco-close:active {
    background:var(--paper);
    color:var(--ink);
  }
  #ecosystem .eco-head-actions svg { width:22px; height:22px; }
  #ecosystem .eco-controls {
    grid-column:3;
    grid-row:1;
    z-index:11;
    display:flex;
    flex-direction:column;
    justify-content:flex-start;
    gap:8px;
    width:100%;
    height:100%;
    min-height:0;
    padding:8px max(6px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) 7px;
    border:0;
    border-left:2px solid var(--paper);
    overflow-y:auto;
    overflow-x:hidden;
    overscroll-behavior:contain;
    background:var(--ink);
    color:var(--paper);
    scrollbar-width:thin;
    contain:layout paint;
  }
  #ecosystem .eco-controls[hidden] { display:flex !important; }
  #ecosystem #inbrumaSupplies,
  #ecosystem #seedDiscovery { width:100%; min-width:0; overflow:hidden; }
  #ecosystem #depositQueue {
    display:grid;
    grid-template-columns:1fr;
    gap:4px;
  }
  #ecosystem #depositQueue button {
    width:100%;
    min-height:58px;
    padding:4px;
    color:var(--paper);
    border:1px solid transparent;
    border-bottom-color:var(--paper);
    min-width:0;
    overflow:hidden;
  }
  #ecosystem #depositQueue button.active { color:var(--ink); background:var(--y); border-color:var(--paper); }
  #ecosystem #depositQueue svg { height:32px; }
  #ecosystem #depositQueue button span {
    min-width:0;
    font-size:8px;
    line-height:1.15;
    overflow-wrap:anywhere;
  }
  #ecosystem #depositQueue button b { font-size:9px; }
  #ecosystem .supply-invitation,
  #ecosystem .seed-invitation { color:var(--paper); font-size:7px; line-height:1.25; }
  #ecosystem .eco-toolbox { width:100%; margin-top:auto; gap:6px; }
  #ecosystem .eco-toolbox button,
  #ecosystem #sowField { min-height:44px; color:var(--paper); border-color:var(--paper); }
  #ecosystem .eco-toolbox #water,
  #ecosystem #sowField:not(:disabled) { color:var(--ink); }
  #ecosystem .eco-toolbox .brush-size { font-size:8px; }
  #ecosystem .eco-toolbox .brush-size,
  #ecosystem .eco-toolbox button { width:100%; min-width:0; overflow-wrap:anywhere; }
  #ecosystem .eco-toolbox .brush-size input { width:100%; min-width:0; }
  #ecosystem #seedDiscovery { display:flex; flex-direction:column; gap:6px; }
  #ecosystem #seedContainers { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:3px; }
  #ecosystem #seedContainers button { color:var(--paper); }
  #ecosystem #seedContainers svg { height:38px; }
  #ecosystem #sowField { width:100%; }
  #ecosystem .eco-readout,
  #ecosystem .basin-meter {
    position:fixed;
    z-index:14;
    left:max(10px,env(safe-area-inset-left));
    right:auto;
    width:calc(var(--game-rail-left) - 20px);
    max-width:none;
    padding:7px;
    border-color:var(--paper);
    background:var(--ink);
    color:var(--paper);
    min-width:0;
    max-height:calc(100dvh - 132px);
    overflow:hidden;
    box-sizing:border-box;
  }
  #ecosystem .eco-readout { top:max(116px,calc(env(safe-area-inset-top) + 116px)); }
  #ecosystem .eco-readout strong {
    display:block;
    width:100%;
    min-width:0;
    margin:4px 0;
    font-size:clamp(12px,2.45dvh,17px);
    line-height:1.02;
    letter-spacing:-.02em;
    overflow-wrap:anywhere;
    hyphens:auto;
  }
  #ecosystem .eco-readout span,
  #ecosystem .eco-readout small,
  #ecosystem .basin-meter span,
  #ecosystem .basin-meter small {
    display:block;
    width:100%;
    min-width:0;
    font-size:7px;
    line-height:1.3;
    white-space:normal;
    overflow-wrap:anywhere;
    hyphens:auto;
  }
  #ecosystem .eco-readout span,
  #ecosystem .basin-meter span { letter-spacing:.02em; }
  #ecosystem .basin-meter { top:auto; bottom:max(10px,env(safe-area-inset-bottom)); }
  #ecosystem .basin-meter b { max-width:100%; font-size:20px; line-height:1; overflow:hidden; }
  #ecosystem .basin-meter i { border-color:var(--paper); }
  #ecosystem #plantButtons {
    position:fixed;
    z-index:14;
    left:max(10px,env(safe-area-inset-left));
    right:auto;
    bottom:max(10px,env(safe-area-inset-bottom));
    width:calc(var(--game-rail-left) - 20px);
    grid-template-columns:1fr;
    padding:6px;
  }
  #ecosystem .fruit-count { font-size:7px; }
  #ecosystem .fruit-count svg { width:18px; height:18px; }
  #ecosystem .fruit-count span { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  #ecosystem #fieldFact { width:min(48vw,420px); }
  #ecosystem #plantEvidence { right:calc(var(--game-rail-right) + 8px); width:min(46vw,390px); }
  #ecosystem .eco-toolbox button,
  #ecosystem #sowField,
  #ecosystem #depositQueue button { min-height:44px; }
}

/* Short Android landscape viewports need a denser HUD, never a smaller scene ratio. */
@media (orientation:landscape) and (max-height:430px) and (hover:none) {
  #ecosystem { --game-rail-left:112px; --game-rail-right:128px; }
  #ecosystem .eco-head { padding:7px 6px; gap:7px; }
  #ecosystem .eco-head small { font-size:7px; }
  #ecosystem .eco-head-actions { grid-template-columns:repeat(2,44px); gap:4px; }
  #ecosystem .eco-readout { top:max(107px,calc(env(safe-area-inset-top) + 107px)); }
  #ecosystem .eco-readout,
  #ecosystem .basin-meter { left:max(7px,env(safe-area-inset-left)); width:98px; padding:6px; }
  #ecosystem .eco-readout strong { font-size:12px; }
  #ecosystem .eco-readout span,
  #ecosystem .eco-readout small,
  #ecosystem .basin-meter span,
  #ecosystem .basin-meter small { font-size:6.5px; }
  #ecosystem .basin-meter b { font-size:18px; }
  #ecosystem .eco-controls { padding:6px; gap:5px; }
  #ecosystem #depositQueue button { min-height:52px; }
  #ecosystem #depositQueue svg { height:27px; }
}

/* The maceration deck is a compact game object on Android landscape, not a desktop card. */
@media (orientation:landscape) and (max-width:1366px) and (max-height:820px) and (hover:none) {
  #ecosystem,
  #ecosystem .eco-shell,
  #ecosystem .eco-stage,
  #ecosystem #ecoCanvas {
    -webkit-tap-highlight-color:transparent;
    -webkit-touch-callout:none;
    user-select:none;
  }
  #ecosystem #ecoCanvas:focus,
  #ecosystem #ecoCanvas:focus-visible {
    outline:none;
  }
  #ecosystem.eco-macerating #fieldFact.has-card-art,
  #ecosystem #fieldCardStack {
    left:auto;
    right:calc(var(--game-rail-right) + 10px);
    bottom:10px;
    width:min(120px,16vw,calc(42dvh * 2 / 3));
    max-width:none;
    aspect-ratio:2 / 3;
  }
  #ecosystem.eco-macerating #fieldFact.has-card-art {
    padding:0;
    border-radius:7px;
    box-shadow:4px 5px 9px rgba(18,18,16,.34),2px 2px 0 rgba(17,45,99,.28);
  }
  #ecosystem #fieldCardStack img {
    border-radius:6px;
    box-shadow:4px 5px 8px rgba(18,18,16,.3),2px 2px 0 rgba(17,45,99,.24);
  }
  #ecosystem #fieldFact.has-card-art p {
    font-size:clamp(6px,5.1cqw,10px);
    line-height:1.12;
    text-shadow:-1px -1px 0 #173c79,1px -1px 0 #173c79,-1px 1px 0 #173c79,1px 1px 0 #173c79,0 2px 4px rgba(0,0,0,.68);
  }
}

@media (orientation:landscape) and (max-height:430px) and (hover:none) {
  #ecosystem.eco-macerating #fieldFact.has-card-art,
  #ecosystem #fieldCardStack {
    right:calc(var(--game-rail-right) + 7px);
    bottom:7px;
    width:min(104px,14.5vw,calc(38dvh * 2 / 3));
  }
}

/* Mobile header logo: constrain both axes so the mark cannot cover page content. */
@media (max-width: 820px) {
  body > header .brand { width: 44px; max-width: 44px; height: 48px; max-height: 48px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
  body > header .brand img { display: block; width: 100%; max-width: 44px; height: auto; max-height: 44px; object-fit: contain; }
}

/* 2026-11-08: Android landscape card sizing. Do not rely on hover:none:
   some mobile Chromium configurations report hover capability inconsistently. */
@media screen and (orientation:landscape) and (max-height:820px) and (max-width:1366px) {
  #ecosystem.eco-macerating #fieldFact.has-card-art,
  #ecosystem #fieldCardStack {
    box-sizing:border-box !important;
    position:absolute !important;
    left:auto !important;
    top:auto !important;
    right:clamp(12px, 3vw, 32px) !important;
    bottom:clamp(8px, 2dvh, 18px) !important;
    width:min(130px, 16vw, 27dvh) !important;
    height:auto !important;
    max-width:130px !important;
    max-height:42dvh !important;
    aspect-ratio:2 / 3 !important;
    padding:0 !important;
    transform:rotate(var(--card-turn, 0deg)) !important;
  }
  #ecosystem #fieldCardStack { transform:none !important; }
  #ecosystem #fieldCardStack img,
  #ecosystem #fieldFact .field-card-art {
    width:100% !important;
    height:100% !important;
    max-width:100% !important;
    max-height:100% !important;
    object-fit:contain !important;
  }
}

/* Mobile landscape: preserve desktop card-to-scene proportions and readable copy.
   Match coarse-pointer phones even when the CSS viewport exceeds 1366px. */
@media screen and (orientation:landscape) and (max-height:820px) and (pointer:coarse) {
  #ecosystem.eco-macerating .eco-stage #fieldFact.has-card-art,
  #ecosystem.eco-macerating .eco-stage #fieldCardStack {
    left:auto !important;
    top:auto !important;
    right:3% !important;
    bottom:5% !important;
    width:clamp(120px, 15%, 210px) !important;
    height:auto !important;
    max-width:210px !important;
    max-height:70% !important;
    aspect-ratio:2 / 3 !important;
    padding:0 !important;
    box-sizing:border-box !important;
  }
  #ecosystem.eco-macerating .eco-stage #fieldFact.has-card-art {
    transform:rotate(var(--card-turn,0deg)) !important;
  }
  #ecosystem.eco-macerating .eco-stage #fieldCardStack { transform:none !important; }
  #ecosystem.eco-macerating .eco-stage #fieldFact.has-card-art .field-card-art,
  #ecosystem.eco-macerating .eco-stage #fieldCardStack img {
    display:block;
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
  }
  #ecosystem.eco-macerating .eco-stage #fieldFact.has-card-art p {
    font-size:clamp(9px, 6.5cqw, 13px) !important;
    line-height:1.12 !important;
  }
}

/* Keep the instruction below the illustrated basin and clear of the stirring surface. */
.field-frame {
  position: relative;
  min-width: 0;
  min-height: 0;
}
#ecosystem :is(.basin-ready, .eco-mixing) .basin-guide {
  --basin-center: 9.81%; /* 164 / 1672 in the field illustration */
  position: absolute;
  z-index: 8;
  top: 100%;
  left: 0;
  width: 100%;
  padding: 6px 0 0 6px;
  box-sizing: border-box;
  pointer-events: none;
}
#ecosystem :is(.basin-ready, .eco-mixing) .basin-guide::before {
  content: "";
  position: absolute;
  bottom: calc(100% - 7px);
  left: var(--basin-center);
  width: 16px;
  height: clamp(18px, 3.5vh, 30px);
  transform: translateX(-50%);
  background: var(--ink);
  clip-path: polygon(50% 0, 100% 38%, 81% 50%, 60% 32%, 60% 100%, 40% 100%, 40% 32%, 19% 50%, 0 38%);
}
#ecosystem .basin-ready .eco-readout,
#ecosystem .eco-mixing #ecoState { display: none; }
#ecosystem .basin-guide #water,
#ecosystem .eco-mixing .basin-guide .eco-readout {
  position: static;
  box-sizing: border-box;
  width: max-content;
  min-width: min(21%, 320px);
  max-width: calc(100% - 12px);
  max-height: none;
  padding: 7px 12px;
  border: 2px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  text-align: left;
}
#ecosystem .basin-guide #water,
#ecosystem .eco-mixing .basin-guide strong {
  margin: 0;
  font: 700 clamp(12px, 1.25vw, 17px)/1.15 "Roboto Mono", monospace;
}
#ecosystem .basin-guide #water {
  min-height: 44px;
  background: var(--y);
  pointer-events: auto;
  cursor: pointer;
}
#ecosystem .eco-mixing .basin-guide small {
  display: block;
  margin-top: 3px;
  font: 12px/1.25 "Roboto", sans-serif;
}
#ecosystem .basin-ready .eco-controls {
  display: flex;
  justify-content: flex-end;
}
@media (orientation: portrait) and (max-width: 1366px) and (hover: none) {
  #ecosystem .field-frame { visibility: hidden; }
}
@media (orientation: landscape) and (max-width: 1366px) and (max-height: 820px) and (hover: none) {
  #ecosystem .field-frame {
    grid-area: 1 / 2;
    place-self: center;
    width: min(100%, calc((100dvh - 20px) * 1.776833));
  }
  #ecosystem .field-frame .eco-stage { width: 100%; }
  #ecosystem :is(.basin-ready, .eco-mixing) .field-frame {
    width: min(100%, calc((100dvh - 86px) * 1.776833));
  }
  #ecosystem :is(.basin-ready, .eco-mixing) .basin-guide {
    position: relative;
    top: auto;
  }
  #ecosystem .basin-ready .eco-controls { justify-content: flex-start; }
}

/* Keep all language names and flags reachable even in the narrow mobile header. */
.language-picker { position:relative; font:600 13px/1.3 "Roboto",sans-serif; }
.language-picker summary, .language-options a {
  display:flex; align-items:center; gap:8px; color:var(--ink); cursor:pointer;
}
.language-picker summary {
  min-height:44px; padding:4px 9px; background:var(--paper);
  border:2px solid var(--ink); list-style:none;
}
.language-picker summary::-webkit-details-marker { display:none; }
.language-picker summary::after { content:""; width:6px; height:6px; border:solid currentColor; border-width:0 2px 2px 0; transform:rotate(45deg); margin:-3px 2px 0 3px; }
.language-picker[open] summary::after { transform:rotate(225deg); margin-top:3px; }
.language-options {
  position:absolute; top:calc(100% + 5px); right:0; z-index:30; min-width:158px;
  max-height:calc(100dvh - 76px); overflow:auto; background:var(--paper);
  border:2px solid var(--ink); box-shadow:3px 3px var(--ink);
}
.language-options a { min-height:44px; padding:5px 12px; text-decoration:none; }
.language-options a:is(:hover,:focus-visible,[aria-current]) { background:var(--y); }
.language-picker .flag { flex:none; width:27px; height:18px; }
.flag-de,.flag-fr,.flag-in,.flag-es { background-size:100% 100%; background-repeat:no-repeat; }
.flag-de { background-image:url("/assets/flag-de.svg"); }
.flag-fr { background-image:url("/assets/flag-fr.svg"); }
.flag-in { background-image:url("/assets/flag-in.svg"); }
.flag-es { background-image:url("/assets/flag-es.png"); }
:lang(hi) .eco-readout strong, :lang(hi) .eco-readout small,
:lang(hi) #fieldFact p { line-height:1.35; }
