/* All sixteen illustrations use the same portrait frame and readable labels. */
.library-controls .filters { flex-wrap: wrap; }
.library-controls .search { min-width: 165px; }
.terpene-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(32px, 3.5vw, 52px) clamp(16px, 1.6vw, 24px);
  scroll-margin-top: 96px;
}
.terpene-grid[hidden] { display: none; }
.terpene-card { position: relative; scroll-margin-top: 96px; }
.terpene-card .card-art {
  height: auto;
  aspect-ratio: 4 / 5;
  background: #d4d5c6;
  color: #26362c;
}
.terpene-card .card-art::before { content: none; }
.specimen-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform .7s ease;
}
.card-meta { align-items: center; top: 14px; left: 14px; right: 14px; }
.terpene-card .card-meta span, .terpene-card .art-caption {
  margin: 0;
  padding: 5px 7px;
  color: #243128;
  background: #f5f2e8eb;
  backdrop-filter: blur(8px);
}
.card-meta span:first-child, .terpene-card .art-caption {
  font-size: 9px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: .09em;
}
.card-meta span.card-formula { font-size: 14px; line-height: 1; letter-spacing: .01em; }
.terpene-card .art-caption { left: 14px; bottom: 14px; text-transform: uppercase; }
.terpene-card .card-title { gap: 6px; align-items: baseline; }
.terpene-card .card-title h3 { font-size: clamp(22px, 2vw, 30px); line-height: 1.14; }
.card-open { padding: 0; background: transparent; color: inherit; font: inherit; letter-spacing: inherit; text-align: left; }
.card-open::after { content: ""; position: absolute; inset: 0; z-index: 3; }
.card-open:focus-visible { outline: none; }
.card-open:focus-visible::after { outline: 3px solid #354b3a; outline-offset: 5px; }
.terpene-card .card-copy { padding-top: 13px; }
.terpene-card .card-copy p { font-size: 13px; line-height: 1.5; color: #4c594d; margin-top: 6px; }
.reader-plate { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); margin-bottom: 25px; background: #e2e3d6; }
.reader-plate .reader-image { width: 100%; height: auto; margin: 0; aspect-ratio: 4 / 5; align-self: center; }
.specimen-facts { display: grid; align-content: center; gap: clamp(8px, 1.4vw, 20px); margin: 0; padding: clamp(10px, 2.5vw, 28px); }
.specimen-facts dt { color: #465549; font-size: 9px; line-height: 1.3; text-transform: uppercase; letter-spacing: .08em; }
.specimen-facts dd { margin: 3px 0 0; font: clamp(16px, 2.2vw, 27px)/1.05 var(--serif); color: #233728; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .terpene-card:hover .specimen-image { transform: scale(1.035); }
}
.motion-paused .terpene-card:hover .specimen-image { transform: none; }
@media (max-width: 1099px) { .terpene-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 590px) { .terpene-grid { grid-template-columns: minmax(0, 1fr); }.terpene-card .card-title h3 { font-size: 27px; } }
#about { padding-block: clamp(48px, 6vw, 95px); background: radial-gradient(ellipse at 82% 47%, #3d4a3b 0%, #233329 36%, #16231c 74%); }
#about::before,#about::after { display: none; }
.wheel-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .86fr); gap: clamp(25px, 7vw, 100px); align-items: center; }
#about .wheel-copy h2 { margin: 20px 0 24px; font-size: clamp(52px, 6.5vw, 96px); }
.wheel-copy p { max-width: 38ch; font-size: 15px; line-height: 1.65; color: #d1d5c8; }
.wheel-copy .eyebrow { color: #c2cbb3; }
.wheel-collection-link { display: inline-flex; gap: 17px; align-items: center; margin-top: 29px; padding: 8px 0; border-bottom: 1px solid #bca98a; font-size: 13px; }
.wheel-stage { max-width: 460px; width: 100%; justify-self: center; }
.spectrum { position: relative; width: 100%; aspect-ratio: 1; border-radius: 50%; background: #192920; box-shadow: 0 15px 60px #07100a50; }
.wheel-sector { position:absolute; inset:0; width:100%; height:100%; border:none; background:var(--segment); transition:filter .18s; }
.wheel-sector:hover { filter:brightness(1.17); }
.wheel-sector[aria-pressed=true] { background:repeating-linear-gradient(125deg,transparent 0 4px,#fff4 4px 5px),var(--segment); }
.spectrum:focus-within { outline: 2px solid #d8c6a5; outline-offset: 5px; }
.wheel-label { position:absolute; inset:22%; border:1px solid #aab39655; border-radius:50%; background:radial-gradient(circle at 35% 25%,#334337,#17261d); display:flex; flex-direction:column; align-items:center; justify-content:center; gap:7px; text-align:center; padding:7%; }
.wheel-label .wheel-name { color:#f3eee0; font-family:var(--serif); line-height:1.06; font-size:clamp(22px,3.2vw,47px); overflow-wrap:break-word; }
.wheel-formula { color:#d4c4a8; font-size:14px; }
.wheel-note { color:#d0d6c9; font-size:12px; }
.wheel-controls { display:flex; justify-content:center; align-items:center; gap:14px; margin-top:25px; }
.wheel-controls button { background:transparent; color:#f0ecdf; border:1px solid #adb7a37a; min-height:44px; border-radius:30px; }
.wheel-step { width:44px; font-size:18px; }
.wheel-read { padding:8px 20px; font-size:13px; }
.wheel-controls button:is(:hover,:focus-visible) { background:#d2d4be; color:#1a281e; }
@media(max-width:850px) { .library-controls { flex-wrap:wrap; }.wheel-layout { gap:30px; }.wheel-note {font-size:10px;} }
@media(max-width:650px) { .wheel-layout{grid-template-columns:1fr;gap:35px;}.wheel-stage{max-width:360px;}.wheel-copy p{font-size:14px;}.wheel-controls{margin-top:20px;}.wheel-label .wheel-name{font-size:30px;}.wheel-note{font-size:11px;} }

.brand .brand-mark { width:40px; height:40px; object-fit:contain; }
.footer-top .brand .brand-mark { width:32px; height:32px; }
.wedge-name { position:absolute; color:#1f271e; font-size:clamp(8px,1vw,12px); letter-spacing:-.015em; pointer-events:none; font-weight:650; white-space:nowrap; }
@media(max-width:650px) { .brand .brand-mark {width:32px;height:32px;} .wedge-name{font-size:clamp(8px,2.4vw,10px);} }
