[hidden] { display: none !important; }
.brand { display: inline-flex; align-items: center; height: 52px; overflow: hidden; }
.brand img {
  display: block;
  width: 190px;
  height: auto;
  margin: -32px 0;
  filter: brightness(0) saturate(100%) invert(31%) sepia(25%) saturate(1210%) hue-rotate(116deg) brightness(91%) contrast(92%);
}
.hero h1 em { display: block; font-size: .84em; }
.hero__art img { border-radius: 28px; }
footer strong { color: #f1e7c9; font: 800 1.2rem Georgia, serif; }

.varieties { padding: 82px clamp(22px, 6vw, 96px); background: #fff; border-bottom: 1px solid var(--line); }
.varieties__heading { display: flex; justify-content: space-between; align-items: end; gap: 28px; }
.varieties__heading h2 { margin: 0; font: 700 clamp(2rem, 3vw, 3.2rem) Georgia, serif; }
.varieties__heading p { max-width: 720px; margin: 14px 0 0; color: var(--soft); line-height: 1.75; }
.varieties__all { flex: none; color: var(--green); font-size: .82rem; font-weight: 800; text-decoration: none; border-bottom: 1px solid #9cc7b8; padding-bottom: 5px; }
.trait-guide { display: flex; gap: 8px; overflow-x: auto; margin: 30px 0 22px; padding-bottom: 6px; scrollbar-width: thin; }
.trait-guide span { flex: none; padding: 9px 13px; border: 1px solid #dce9e4; border-radius: 999px; background: #f4f9f6; color: #587174; font-size: .7rem; }
.trait-guide b { color: var(--green); margin-right: 5px; }
.variety-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
.variety-card { position: relative; min-width: 0; padding: 0; overflow: hidden; text-align: left; color: var(--ink); border: 1px solid var(--line); border-radius: 18px; background: #fbfcf8; cursor: pointer; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.variety-card:hover { transform: translateY(-4px); border-color: #a7cec0; box-shadow: 0 18px 34px rgba(13,57,51,.11); }
.variety-card__number { position: absolute; top: 12px; left: 12px; z-index: 2; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(9,44,54,.84); color: #fff; font: 700 .67rem Georgia,serif; backdrop-filter: blur(8px); }
.variety-card__media { display: block; height: 168px; overflow: hidden; background: radial-gradient(circle at center,#315b60,#092c36 72%); }
.variety-card__media img { display: block; width: 100%; height: 100%; padding: 14px; object-fit: contain; transition: transform .35s ease; }
.variety-card:hover .variety-card__media img { transform: scale(1.04); }
.variety-card__body { display: grid; padding: 16px 46px 18px 16px; }
.variety-card__body small { color: var(--green); font-size: .6rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.variety-card__body strong { overflow: hidden; margin-top: 5px; font: 700 1.03rem Georgia,serif; text-overflow: ellipsis; white-space: nowrap; }
.variety-card__body em { margin-top: 7px; color: var(--soft); font-size: .65rem; font-style: normal; }
.variety-card__arrow { position: absolute; right: 16px; bottom: 18px; color: var(--green); font-weight: 900; }
.variety-skeleton { height: 256px; border-radius: 18px; background: linear-gradient(90deg,#edf2ee 25%,#f8faf7 37%,#edf2ee 63%); background-size: 400% 100%; animation: pulse 1.3s infinite; }
.variety-empty { grid-column: 1/-1; padding: 42px; text-align: center; color: var(--soft); border: 1px dashed var(--line); border-radius: 18px; }
.reference-note { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; margin-top: 22px; padding: 16px 18px; border: 1px solid #d9e7e2; border-radius: 16px; background: linear-gradient(110deg,#f8f5e9,#eff7f3); }
.reference-note__mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--navy); color: #e7d49e; font: 700 1rem Georgia,serif; }
.reference-note strong { font-size: .78rem; }
.reference-note p { margin: 4px 0 0; color: var(--soft); font-size: .68rem; line-height: 1.5; }
.reference-note a { color: var(--green); font-size: .72rem; font-weight: 800; text-decoration: none; white-space: nowrap; }
.varieties__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 18px; }

@media (min-width: 1051px) and (max-width: 1400px) {
  .hero { grid-template-columns: 1.25fr .75fr; }
  .hero h1 { font-size: clamp(3rem, 4.2vw, 4.6rem); }
}

@media (max-width: 760px) {
  .brand { height: 46px; }
  .brand img { width: 160px; margin: -27px 0; }
  .varieties { padding-top: 58px; padding-bottom: 58px; }
  .varieties__heading { display: block; }
  .varieties__all { display: inline-block; margin-top: 16px; }
  .varieties__actions { justify-content: flex-start; }
  .variety-grid { grid-template-columns: 1fr 1fr; }
  .variety-card__media { height: 132px; }
  .reference-note { grid-template-columns: auto 1fr; }
  .reference-note a { grid-column: 2; }
}

@media (min-width: 761px) and (max-width: 1100px) { .variety-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
