/* Hallmark pre-emit critique: P5 H5 E5 S5 R4 V5
 * Direction: cinematic split-screen botanical archive; real ecology photography meets PLY specimens.
 */

html,
body { overflow-x: clip; }

html { scroll-behavior: smooth; background: var(--color-night); }

body {
  margin: 0;
  background: var(--color-paper);
  color: var(--color-ink);
  font-family: var(--font-body);
  line-height: 1.6;
}

body::before { display: none; }
* { box-sizing: border-box; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: var(--color-accent-alpha); }
button { min-height: 44px; }
:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 4px; }
::selection { background: var(--color-accent); color: var(--color-accent-ink); }

.scroll-progress {
  position: fixed;
  z-index: 120;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
}

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: 84px;
  color: var(--color-night-text);
  background: var(--color-night-alpha-soft);
  transition: background var(--dur-base), transform var(--dur-base);
}
.site-header.scrolled { background: var(--color-night-alpha); backdrop-filter: blur(16px); }
.nav-shell {
  width: min(1600px, calc(100% - clamp(2rem, 6vw, 7rem)));
  height: 100%;
  margin: auto;
  display: grid;
  grid-template-columns: minmax(200px, 1fr) auto minmax(200px, 1fr);
  align-items: center;
  gap: var(--space-xl);
}
.brand { display: flex; align-items: center; gap: var(--space-md); color: var(--color-night-text); font-weight: 800; }
.brand img { width: 142px; height: auto; }
.brand span { padding-left: var(--space-md); border-left: 1px solid var(--color-night-muted); white-space: nowrap; }
.nav-menu { display: flex; align-items: center; gap: clamp(1.2rem, 2.4vw, 2.8rem); }
.nav-link { position: relative; color: var(--color-night-text); font-size: var(--text-sm); font-weight: 600; }
.nav-link::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -10px; height: 2px; background: var(--color-accent); transition: right var(--dur-fast); }
.nav-link.active::after { right: 0; }
.nav-link:not(.active)::after { right: 100%; opacity: 0; }
.nav-link.active, .nav-link:hover, .nav-link:focus-visible { color: var(--color-night-text); }
.nav-cta { justify-self: end; border: 1px solid var(--color-night-muted); background: var(--color-transparent); color: var(--color-night-text); padding: .7rem 1.15rem; font-size: var(--text-sm); font-weight: 700; }
.menu-toggle { display: none; border: 0; background: transparent; color: inherit; }

.hero {
  position: relative;
  min-height: 100svh;
  background: var(--color-night);
  color: var(--color-night-text);
  isolation: isolate;
  overflow: hidden;
}
.hero-photo, .hero-digital { position: absolute; inset: 0; }
.hero-photo { right: 39%; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: var(--color-night-alpha-soft); opacity: .25; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 46% center; }
.hero-digital {
  left: 55%;
  background: var(--color-night);
  clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%, 8% 68%, 3% 38%);
}
.hero-ply-canvas, .hero-scan-fallback { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-ply-canvas { z-index: 2; }
.hero-scan-fallback { z-index: 1; display: grid; place-items: center; }
.hero-scan-fallback img { width: 94%; height: 94%; object-fit: contain; filter: saturate(.85) contrast(1.12); }
.hero-title {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 53%;
  width: min(44vw, 760px);
  transform: translateY(-45%);
  text-shadow: 0 2px 22px var(--color-night);
}
.hero-title .chapter { display: block; margin-bottom: clamp(2rem, 5vh, 4rem); font-size: var(--text-xs); letter-spacing: .2em; }
.hero-title .chapter strong { color: var(--color-accent); }
.hero-title p { margin: 0 0 .35rem; font-size: clamp(1rem, 1.5vw, 1.4rem); font-weight: 700; }
.hero-title h1 { margin: 0; font-family: var(--font-display); font-size: var(--text-display); line-height: .93; letter-spacing: -.06em; }
.hero-title em { display: block; margin-top: var(--space-md); color: var(--color-accent); font-family: Georgia, serif; font-size: clamp(1.05rem, 2vw, 1.7rem); }
.capture-note { position: absolute; z-index: 2; left: clamp(2rem, 5vw, 6rem); bottom: 7rem; margin: 0; font-size: var(--text-xs); letter-spacing: .08em; }
.hero-index { position: absolute; z-index: 3; right: clamp(2rem, 4vw, 5rem); bottom: 2rem; display: flex; gap: var(--space-lg); color: var(--color-night-muted); font-size: var(--text-xs); }
.hero-index span + span { border-left: 1px solid var(--color-rule-dark); padding-left: var(--space-lg); }
.hero-scroll { position: absolute; z-index: 3; left: 50%; bottom: 2rem; display: flex; align-items: center; gap: var(--space-sm); font-size: .65rem; letter-spacing: .2em; transform: rotate(90deg); transform-origin: left center; }
.hero-scroll i { width: 42px; height: 1px; background: var(--color-accent); }

.paper-section { background-color: var(--color-paper); background-image: linear-gradient(var(--color-rule) 1px, transparent 1px), linear-gradient(90deg, var(--color-rule) 1px, transparent 1px); background-size: 9vw 9vw; }
.manifesto { min-height: 90svh; padding: clamp(7rem, 12vw, 12rem) clamp(2rem, 7vw, 8rem); display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(3rem, 8vw, 9rem); align-items: center; }
.manifesto-copy h2, .production-head h2, .next-specimen h2 { margin: 0; font-family: var(--font-display); font-size: clamp(2.6rem, 5.5vw, 5.8rem); line-height: .98; letter-spacing: -.055em; }
.manifesto-copy p { width: min(650px, 85%); margin: var(--space-2xl) 0 0; font-size: clamp(1rem, 1.4vw, 1.25rem); }
.manifesto-image { margin: 0; align-self: stretch; min-height: 520px; overflow: hidden; }
.manifesto-image img { width: 100%; height: 100%; object-fit: cover; }
.manifesto-stats { grid-column: 1 / -1; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: var(--rule-thick) solid var(--color-ink); }
.manifesto-stats div { padding: var(--space-xl) 0; display: flex; justify-content: space-between; border-bottom: 1px solid var(--color-rule-dark); }
.manifesto-stats div + div { margin-left: var(--space-2xl); }
.manifesto-stats dt { font-size: var(--text-sm); }
.manifesto-stats dd { margin: 0; font-family: var(--font-display); font-size: var(--text-2xl); }

.production { padding: clamp(7rem, 11vw, 11rem) 0 0; background: var(--color-night); color: var(--color-night-text); }
.production-head { padding: 0 clamp(2rem, 7vw, 8rem) clamp(4rem, 8vw, 8rem); display: grid; grid-template-columns: 1.4fr .6fr; gap: var(--space-3xl); align-items: end; }
.production-head p { max-width: 420px; margin: 0 0 .5rem; color: var(--color-night-muted); }
.production-strip { display: grid; grid-template-columns: repeat(4, 1fr); }
.process-frame { position: relative; min-height: 640px; overflow: hidden; border-top: 1px solid var(--color-rule-dark); border-right: 1px solid var(--color-rule-dark); }
.process-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.process-points img { object-fit: cover; object-position: center; }
.process-validated img { object-fit: contain; background: var(--color-night); }
.process-frame:hover img { transform: scale(1.035); }
.process-frame > div { position: absolute; inset: auto 0 0; padding: var(--space-xl); background: var(--color-night-alpha); }
.process-frame strong { color: var(--color-accent); font-family: var(--font-display); }
.process-frame h3 { margin: .4rem 0; font-size: var(--text-xl); }
.process-frame p { margin: 0; color: var(--color-night-muted); font-size: var(--text-sm); }

.catalog { padding: clamp(7rem, 11vw, 11rem) clamp(2rem, 7vw, 8rem); }
.catalog-head { border-bottom: var(--rule-thick) solid var(--color-ink); padding-bottom: var(--space-xl); }
.catalog-head h2 { margin: 0; font-family: var(--font-display); font-size: clamp(3.3rem, 8vw, 6rem); line-height: .9; letter-spacing: -.06em; }
.catalog-head h1 { margin: 0; font-family: var(--font-display); font-size: clamp(3.3rem, 8vw, 6rem); line-height: .9; letter-spacing: -.04em; }
.catalog-head p { margin: .7rem 0 0; }
.catalog-toolbar { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin: var(--space-xl) 0 var(--space-2xl); }
.filter-chip { padding: .7rem 1.1rem; border: 1px solid var(--color-rule-dark); border-radius: 0; background: var(--color-transparent); color: var(--color-ink); cursor: pointer; }
.filter-chip.active, .filter-chip:hover { background: var(--color-ink); color: var(--color-paper); }
.plant-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--color-rule-dark); border: 1px solid var(--color-rule-dark); }
.plant-card { min-width: 0; background: var(--color-paper); }
.plant-thumb { position: relative; aspect-ratio: 1 / 1.08; overflow: hidden; background: var(--color-night); }
.plant-thumb .asset-thumb { width: 100%; height: 100%; object-fit: contain; transition: transform var(--dur-base) var(--ease-out); }
.plant-thumb .base-thumb { display: none; }
.plant-thumb .preview-thumb { opacity: 1; transform: rotate(180deg) scale(1.45); }
.plant-card:nth-child(2) .preview-thumb { transform: rotate(180deg) scale(2.2); }
.plant-card:hover .preview-thumb, .plant-card:focus-within .preview-thumb { opacity: 1; transform: rotate(180deg) scale(1.55); }
.plant-card:nth-child(2):hover .preview-thumb, .plant-card:nth-child(2):focus-within .preview-thumb { opacity: 1; transform: rotate(180deg) scale(2.3); }
.plant-thumb .status-badge { position: absolute; top: var(--space-md); left: var(--space-md); }
.plant-card-body { padding: var(--space-lg); }
.plant-card-body h3 { margin: 0; font-size: var(--text-xl); }
.latin { margin: .25rem 0 var(--space-lg); color: var(--color-muted); font-family: Georgia, serif; font-style: italic; }
.plant-meta { margin: 0; border-top: 1px solid var(--color-rule); }
.plant-meta div { display: grid; grid-template-columns: 38% 62%; padding: .5rem 0; border-bottom: 1px solid var(--color-rule); font-size: var(--text-xs); }
.plant-meta dd { margin: 0; overflow-wrap: anywhere; }
.card-actions { display: flex; margin-top: var(--space-lg); gap: var(--space-sm); }
.button, .catalog-more-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .65rem 1rem; border: 1px solid var(--color-ink); border-radius: 0; font-weight: 700; cursor: pointer; }
.button.primary { background: var(--color-ink); color: var(--color-paper); }
.button.tertiary { background: var(--color-transparent); }
.catalog-more-wrap { margin-top: var(--space-xl); text-align: center; }
.catalog-more-button { min-width: 180px; background: var(--color-transparent); }

.observation { padding: clamp(7rem, 10vw, 10rem) clamp(2rem, 5vw, 6rem); background: var(--color-night); color: var(--color-night-text); scroll-margin-top: 84px; }
.observation-head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: var(--space-3xl); align-items: end; margin-bottom: var(--space-3xl); }
.observation-head h2 { margin: 0; font-family: var(--font-display); font-size: clamp(3.5rem, 8vw, 6rem); line-height: .84; letter-spacing: -.06em; }
.observation-head p { color: var(--color-accent); }
.viewer-search label { display: block; margin-bottom: var(--space-sm); font-size: var(--text-sm); }
.search-row { display: flex; }
.search-row input { flex: 1; min-width: 0; min-height: 48px; border: 1px solid var(--color-rule-dark); border-right: 0; background: var(--color-night-2); color: var(--color-night-text); padding: 0 var(--space-md); }
.search-button { min-width: 88px; border: 1px solid var(--color-accent); background: var(--color-accent); color: var(--color-accent-ink); font-weight: 800; }
.viewer-search { min-width: 0; width: 100%; }
.search-row { display: grid; grid-template-columns: minmax(0, 1fr) clamp(64px, 18vw, 88px); width: 100%; }
.search-row input { width: 100%; font-size: 16px; }
.search-row .search-button { width: 100%; min-width: 0; padding-inline: 8px; }
.viewer-stage, .ply-canvas { touch-action: none; overscroll-behavior: contain; }
.suggest-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .65rem; }
.suggest-tags button, .viewer-search-chip { min-height: 36px; padding: .35rem .65rem; border: 1px solid var(--color-rule-dark); background: var(--color-transparent); color: var(--color-night-muted); }
.viewer-search-results { margin-top: var(--space-sm); display: flex; flex-wrap: wrap; gap: .4rem; }
.observation-layout { min-height: 720px; display: grid; grid-template-columns: 180px minmax(0, 1fr) 330px; border: 1px solid var(--color-rule-dark); }
.specimen-rail { min-width: 0; overflow: hidden; border-right: 1px solid var(--color-rule-dark); }
.carousel-track { display: flex; flex-direction: column; gap: 0; width: 100%; animation: specimenRollVertical 28s linear infinite; will-change: transform; }
.specimen-rail:hover .carousel-track, .specimen-rail:focus-within .carousel-track { animation-play-state: paused; }
.carousel-card { width: 100%; min-width: 0; min-height: auto; padding: var(--space-sm); display: grid; grid-template-columns: 62px 1fr; gap: var(--space-sm); align-items: center; border: 0; border-bottom: 1px solid var(--color-rule-dark); background: var(--color-transparent); color: var(--color-night-text); text-align: left; cursor: pointer; }
.carousel-card.active { background: var(--color-accent); color: var(--color-accent-ink); }
.carousel-card .mini-thumb { grid-row: span 2; width: 62px; height: 72px; background: var(--color-night); }
.carousel-card img { width: 100%; height: 100%; object-fit: contain; }
.carousel-card strong { align-self: end; font-size: var(--text-sm); }
.carousel-card em { align-self: start; font-size: .7rem; font-style: normal; }
.viewer-stage { position: relative; min-width: 0; background: #000; overflow: hidden; }
.ply-canvas { width: 100%; height: 100%; display: block; }
.viewer-empty, .viewer-loader { position: absolute; inset: auto 50% 2rem auto; transform: translateX(50%); text-align: center; pointer-events: none; }
.viewer-empty { display: flex; flex-direction: column; color: var(--color-night-muted); }
.viewer-loader { display: none; }
.loader { width: 220px; height: 2px; margin-top: .4rem; background: var(--color-rule-dark); }
.loader i { display: block; height: 100%; background: var(--color-accent); }
.specimen-data { padding: var(--space-xl); border-left: 1px solid var(--color-rule-dark); }
.specimen-no { display: flex; justify-content: space-between; font-size: var(--text-xs); letter-spacing: .08em; }
.specimen-no b, .specimen-no span { color: var(--color-accent); }
.status-badge { display: inline-flex; min-height: 25px; align-items: center; padding: .15rem .5rem; background: var(--color-accent); color: var(--color-accent-ink); font-size: .68rem; font-weight: 800; }
.specimen-data > .status-badge { margin-top: var(--space-xl); }
.specimen-data h3 { margin: var(--space-md) 0 0; font-size: var(--text-2xl); line-height: 1.1; }
.specimen-data > p { margin: .4rem 0 var(--space-xl); color: var(--color-accent); font-family: Georgia, serif; font-style: italic; }
.specimen-data dl { margin: 0; }
.specimen-data dl div { display: grid; grid-template-columns: 38% 62%; padding: .55rem 0; border-top: 1px solid var(--color-rule-dark); font-size: var(--text-xs); }
.specimen-data dd { margin: 0; }
.viewer-tools { display: grid; grid-template-columns: 1fr 1fr; margin-top: var(--space-xl); gap: 1px; background: var(--color-rule-dark); }
.viewer-tools button { border: 0; background: var(--color-night-2); color: var(--color-night-text); cursor: pointer; }
.viewer-tools button:hover, .viewer-tools button[aria-pressed="true"] { background: var(--color-accent); color: var(--color-accent-ink); }
.model-file-link { display: block; margin-top: var(--space-lg); padding: .7rem; border: 1px solid var(--color-accent); color: var(--color-accent); text-align: center; }

.impact { position: relative; min-height: 100svh; color: var(--color-night-text); display: grid; grid-template-columns: 1fr 1fr; align-items: end; padding: clamp(6rem, 10vw, 10rem) clamp(2rem, 7vw, 8rem); isolation: isolate; }
.impact > img, .impact-shade { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.impact-shade { z-index: -1; background: var(--color-night-alpha-soft); }
.impact-copy h2 { margin: 0; font-family: var(--font-display); font-size: clamp(3rem, 6vw, 6rem); line-height: .93; letter-spacing: -.055em; }
.impact-copy p { max-width: 540px; }
.impact-links { display: grid; align-self: stretch; border-top: 1px solid var(--color-night-muted); }
.impact-links > div { display: grid; grid-template-columns: 32% 68%; align-items: center; padding: var(--space-lg) 0; border-bottom: 1px solid var(--color-night-muted); }
.impact-links strong { font-size: var(--text-xl); }
.impact-links span { color: var(--color-night-muted); }

.next-specimen { min-height: 72svh; padding: clamp(5rem, 9vw, 9rem) clamp(2rem, 7vw, 8rem); display: grid; grid-template-columns: 1fr 1fr; align-items: center; background: var(--color-accent); color: var(--color-accent-ink); overflow: hidden; }
.next-specimen p { margin: var(--space-xl) 0; }
.next-specimen a { display: inline-flex; min-height: 44px; align-items: center; border-bottom: 2px solid currentColor; font-weight: 800; }
.next-specimen img { width: 100%; height: 520px; object-fit: contain; mix-blend-mode: multiply; }

.site-footer { padding: var(--space-3xl) clamp(2rem, 7vw, 8rem); display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: var(--space-xl); align-items: start; background: var(--color-night); color: var(--color-night-muted); font-size: var(--text-xs); }
.site-footer img { width: 150px; }
.site-footer p { margin: 0 0 .35rem; }
.site-footer nav { display: flex; flex-direction: column; }

.collection-page main { padding-top: 84px; background: var(--color-paper); }
.collection-page .catalog { min-height: calc(100svh - 84px); }

@media (max-width: 1100px) {
  .nav-shell { grid-template-columns: 1fr auto; }
  .nav-menu { position: fixed; inset: 84px 0 auto; padding: var(--space-xl); flex-direction: column; background: var(--color-night); transform: translateY(-140%); transition: transform var(--dur-base); }
  body.menu-open .nav-menu { transform: translateY(0); }
  .menu-toggle { display: flex; width: 48px; flex-direction: column; justify-content: center; gap: 6px; }
  .menu-toggle span { display: block; width: 24px; height: 2px; background: currentColor; }
  .nav-cta { display: none; }
  .hero-photo { right: 31%; }
  .hero-digital { left: 49%; }
  .hero-title { left: 47%; width: 49vw; }
  .production-strip { grid-template-columns: 1fr 1fr; }
  .process-frame { min-height: 560px; }
  .observation-layout { grid-template-columns: 130px minmax(0, 1fr); }
  .specimen-data { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--color-rule-dark); }
  .site-footer { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .site-header { height: 68px; }
  .nav-shell { width: calc(100% - 2rem); }
  .brand img { width: 120px; }
  .brand span { display: none; }
  .nav-menu { top: 68px; }
  .hero { min-height: 900px; }
  .hero-photo { inset: 0 0 43%; }
  .hero-photo::after { opacity: .48; }
  .hero-digital { inset: 48% 0 0; clip-path: polygon(0 14%, 32% 4%, 62% 10%, 100% 0, 100% 100%, 0 100%); }
  .hero-title { top: 35%; left: 1.25rem; width: calc(100% - 2.5rem); transform: translateY(-50%); }
  .hero-title .chapter { margin-bottom: var(--space-xl); }
  .hero-title h1 { font-size: clamp(3.3rem, 18vw, 5.2rem); }
  .hero-title em { font-size: 1rem; }
  .capture-note { left: 1.25rem; bottom: 46%; }
  .hero-index { right: 1.25rem; bottom: 1rem; flex-direction: column; gap: .2rem; text-align: right; }
  .hero-index span + span { border-left: 0; padding-left: 0; }
  .hero-scroll { display: none; }
  .manifesto, .production-head, .catalog-head, .observation-head, .impact, .next-specimen { grid-template-columns: 1fr; }
  .manifesto { padding-inline: 1.25rem; }
  .manifesto-copy p { width: 100%; }
  .manifesto-image { min-height: 420px; }
  .manifesto-stats { grid-template-columns: 1fr; }
  .manifesto-stats div + div { margin-left: 0; }
  .production-head, .catalog, .observation, .impact, .next-specimen { padding-left: 1.25rem; padding-right: 1.25rem; }
  .production-strip { grid-template-columns: 1fr; }
  .process-frame { min-height: 520px; }
  .catalog-head { gap: var(--space-lg); }
  .plant-grid { display: block; border: 0; background: transparent; }
  .plant-card { margin-bottom: var(--space-md); border: 1px solid var(--color-rule-dark); }
  .plant-thumb { aspect-ratio: 1 / .9; }
  .observation-head { gap: var(--space-xl); }
  .observation-layout { display: flex; flex-direction: column; min-height: 0; }
  .specimen-rail { order: 2; border: 0; border-top: 1px solid var(--color-rule-dark); overflow: hidden; }
  .carousel-track { flex-direction: row; width: max-content; animation-name: specimenRollHorizontal; animation-duration: 24s; }
  .carousel-card { width: 155px; min-width: 155px; }
  .viewer-stage { order: 1; height: 62svh; min-height: 430px; }
  .specimen-data { order: 3; padding: var(--space-lg); }
  .impact { min-height: 900px; align-content: end; gap: var(--space-3xl); }
  .impact-links { align-self: auto; }
  .next-specimen { padding-top: 6rem; padding-bottom: 4rem; }
  .next-specimen img { height: 360px; }
  .site-footer { grid-template-columns: 1fr; padding-inline: 1.25rem; }
}

@media (max-width: 420px) {
  .hero { min-height: 820px; }
  .hero-title h1 { font-size: 3.25rem; }
  .manifesto-copy h2, .production-head h2, .next-specimen h2 { font-size: 2.55rem; }
  .catalog-head h2, .observation-head h2 { font-size: 3rem; }
  .process-frame { min-height: 460px; }
  .card-actions { flex-direction: column; }
  .viewer-tools { grid-template-columns: 1fr; }
  .impact-links > div { grid-template-columns: 1fr; gap: .25rem; }
}

@keyframes specimenRollVertical {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}

@keyframes specimenRollHorizontal {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Keep stored framing and use three, two, then one catalog columns. */
.catalog { max-width: 1440px; margin-inline: auto; }
.plant-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; background: transparent; border: 0; }
.plant-card { margin: 0; }
.plant-thumb { height: auto; min-height: 0; aspect-ratio: 1; }
.plant-thumb .preview-thumb, .plant-card:nth-child(2) .preview-thumb,
.plant-card:hover .preview-thumb, .plant-card:focus-within .preview-thumb,
.plant-card:nth-child(2):hover .preview-thumb, .plant-card:nth-child(2):focus-within .preview-thumb { transform: none; opacity: 1; object-fit: contain; }
.process-points img, .process-points:hover img { position: absolute; top: -9%; left: 0; width: 100%; height: 118%; object-fit: cover; transform: none; }
@media (max-width: 1000px) { .plant-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .plant-grid { grid-template-columns: minmax(0, 1fr); } }

.observation-head > div { min-width: 0; }
.observation-head > div:first-child { container-type: inline-size; }
.observation-head h2 { font-size: clamp(1rem, 9cqi, 6rem); letter-spacing: -.04em; line-height: .95; }
.observation-head .search-row { max-width: 100%; }
@media (max-width: 900px) { .observation-head { grid-template-columns: minmax(0, 1fr); } }

@media (max-width: 900px), (pointer: coarse) {
  .site-header, .site-header.scrolled, .site-header.is-scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--color-night); }
  .specimen-rail { overflow-x: auto; overscroll-behavior-x: contain; }
  .carousel-track { animation: none; transform: none; will-change: auto; flex-direction: row; width: max-content; }
  .carousel-card { width: 155px; min-width: 155px; }
  .carousel-card[data-repeat="true"] { display: none; }
  .viewer-stage { box-shadow: none; }
}
