@import "tailwindcss";

:root {
  --ivory: #f4f0e6;
  --paper: #fbf8f1;
  --sand: #e8dfcf;
  --forest: #203c2e;
  --forest-dark: #14281f;
  --ink: #17231c;
  --blue: #1237e8;
  --blue-dark: #0c2fc7;
  --line: #d8cdbb;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Manrope, Inter, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
:where(a, button, summary, input, select):focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }

.site-header {
  height: 118px;
  padding: 0 clamp(24px, 4.5vw, 72px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 10;
}
.brand img { width: clamp(205px, 18vw, 260px); }
.desktop-nav { display: flex; align-items: center; gap: clamp(22px, 2.4vw, 42px); font-size: 15px; }
.desktop-nav a { padding: 12px 0 9px; border-bottom: 2px solid transparent; transition: border-color .18s ease, color .18s ease; }
.desktop-nav a:hover, .desktop-nav a:focus-visible, .desktop-nav .active { border-color: var(--forest); }
.desktop-nav .language { color: var(--blue); font-weight: 700; }
.mobile-menu { display: none; position: relative; }
.mobile-menu summary { cursor: pointer; font-weight: 700; list-style: none; }
.mobile-menu nav { position: absolute; right: 0; top: 36px; width: 230px; padding: 18px; display: grid; gap: 12px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 18px 45px #14281f1f; }

.hero { min-height: 662px; display: grid; grid-template-columns: minmax(0, 45.5%) minmax(0, 54.5%); background: var(--ivory); }
.hero-copy { padding: 92px clamp(36px, 5vw, 78px) 76px; display: flex; flex-direction: column; justify-content: center; }
.eyebrow { margin: 0 0 26px; color: var(--forest); font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
h1, h2 { font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif; font-weight: 500; }
h1 { margin: 0; max-width: 650px; color: var(--forest); font-size: clamp(52px, 5.1vw, 76px); line-height: .98; letter-spacing: -.045em; }
.hero-intro { max-width: 610px; margin: 32px 0 0; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.65; }
.hero-actions { margin-top: 36px; display: flex; gap: 16px; flex-wrap: wrap; }
.button { min-height: 54px; padding: 0 24px; display: inline-flex; align-items: center; justify-content: center; gap: 28px; border: 1px solid transparent; font-weight: 700; transition: transform .18s ease, color .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--blue); }
.button-primary:hover { background: var(--blue-dark); }
.button-secondary { color: var(--forest); border-color: var(--forest); }
.button-secondary:hover { color: var(--ivory); background: var(--forest); }
.hero-image { margin: 0; min-height: 662px; position: relative; overflow: hidden; background: #89937d; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(.9) contrast(1.04); transition: transform .8s ease; }
.hero-image:hover img { transform: scale(1.015); }
.hero-image figcaption { position: absolute; right: 22px; bottom: 20px; padding: 8px 12px; color: #fff; background: #14281fc9; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }

.trust-strip { min-height: 120px; padding: 0 clamp(26px, 5vw, 80px); display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); background: var(--paper); }
.trust-strip > div { padding: 26px clamp(18px, 3vw, 48px); display: flex; flex-direction: column; justify-content: center; gap: 7px; border-right: 1px solid var(--line); }
.trust-strip > div:last-child { border-right: 0; }
.trust-strip strong { color: var(--forest); font: 500 27px/1.05 "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif; }
.trust-strip small { color: #556159; font-size: 12px; line-height: 1.45; }

.intro-section { max-width: 1320px; margin: 0 auto; padding: 120px 48px 64px; display: grid; grid-template-columns: 1.3fr .7fr; gap: 90px; align-items: end; }
.intro-section h2 { max-width: 780px; margin: 0; color: var(--forest); font-size: clamp(42px, 4vw, 64px); line-height: 1.02; letter-spacing: -.035em; }
.intro-section > p { margin: 0 0 5px; color: #4e5c53; font-size: 17px; line-height: 1.8; }

.catalog-doors { max-width: 1440px; margin: 0 auto; padding: 0 48px 120px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.catalog-door { min-height: 570px; position: relative; overflow: hidden; color: #fff; background: var(--forest); }
.catalog-door::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #102019e6 0%, #1020191a 70%); }
.catalog-door img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s ease; }
.catalog-door:hover img { transform: scale(1.025); }
.catalog-door > div { position: absolute; z-index: 1; left: 42px; right: 42px; bottom: 38px; }
.catalog-door p { margin: 0 0 8px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; }
.catalog-door h2 { margin: 0 0 20px; font-size: clamp(42px, 4vw, 58px); }
.catalog-door span { display: inline-flex; gap: 22px; align-items: center; font-weight: 700; }

.contact-band { padding: 86px clamp(30px, 6vw, 100px); display: flex; justify-content: space-between; gap: 70px; align-items: end; color: var(--ivory); background: var(--forest); }
.contact-band .eyebrow { color: #b8c9bb; }
.contact-band h2 { max-width: 760px; margin: 0; font-size: clamp(40px, 4vw, 64px); line-height: 1.05; }
.contact-actions { display: grid; gap: 20px; min-width: 310px; }
.button-light { color: var(--forest); background: var(--ivory); }
.button-outline-light { color: var(--ivory); background: transparent; border-color: #aebfb2; }
.button-outline-light:hover { color: var(--forest); background: var(--ivory); }
.text-link { font-size: 14px; text-decoration: underline; text-underline-offset: 5px; }

.site-footer { padding: 40px clamp(26px, 5vw, 80px); display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 30px; color: #5a665d; font-size: 12px; border-top: 1px solid var(--line); }
.site-footer img { width: 170px; }

.catalog-hero { min-height: 440px; padding: 88px clamp(28px, 7vw, 112px) 70px; display: flex; flex-direction: column; justify-content: flex-end; color: var(--ivory); background-size: cover; background-position: center; position: relative; isolation: isolate; }
.catalog-hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #132a20ed 0%, #132a20c7 48%, #132a2040 100%); }
.plants-hero { background-image: url('/images/hero-quality.jpg'); }
.specimens-hero { background-image: url('/images/hero-specimens.jpg'); background-position: center 45%; }
.catalog-hero .eyebrow { margin-bottom: 18px; color: #cad8c8; }
.catalog-hero h1 { max-width: 850px; color: var(--ivory); font-size: clamp(58px, 6vw, 86px); }
.catalog-hero > p:not(.eyebrow) { max-width: 750px; margin: 26px 0 0; font-size: 18px; line-height: 1.65; }
.catalog-stats { margin-top: 38px; display: flex; gap: 42px; flex-wrap: wrap; }
.catalog-stats span { display: flex; align-items: baseline; gap: 9px; color: #dce5da; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.catalog-stats strong { color: #fff; font: 500 26px Georgia, serif; }

.catalog-app { max-width: 1450px; margin: 0 auto; padding: 64px 48px 120px; }
.catalog-filter-panel { margin: -16px 0 30px; padding: 10px 0; position: sticky; z-index: 12; top: 90px; background: #eee9dff5; border-bottom: 1px solid #d3ccbf; box-shadow: 0 10px 24px #17382b0b; backdrop-filter: blur(10px); }
.catalog-filter-panel .search-field > span,
.catalog-filter-panel .specimen-filters label > span { width: 1px; height: 1px; padding: 0; position: absolute; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.catalog-filter-panel .search-field,
.catalog-filter-panel .specimen-filters label { gap: 0; }
.catalog-filter-panel input,
.catalog-filter-panel select { min-height: 42px; }
.plant-catalog-app .catalog-filter-panel { margin: -16px 0 30px; padding: 10px 0; position: sticky; top: 90px; display: grid; grid-template-columns: minmax(330px, 410px) minmax(0, 1fr); align-items: center; gap: 18px; }
.plant-catalog-app .catalog-toolbar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; }
.plant-catalog-app .filter-chips { margin: 0; padding-bottom: 1px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; }
.plant-catalog-app .filter-chips button { min-height: 40px; padding: 8px 13px; flex: 0 0 auto; }
.specimen-filter-panel { overflow-x: auto; scrollbar-width: thin; }
.specimen-filter-panel .specimen-filters { min-width: 720px; grid-template-columns: minmax(240px, 1.55fr) minmax(155px, .75fr) minmax(175px, .75fr) auto; }
.catalog-toolbar { display: flex; justify-content: space-between; align-items: end; gap: 30px; }
.catalog-toolbar > p, .results-heading p { margin: 0; color: #667067; font-size: 14px; }
.catalog-toolbar > p strong, .results-heading strong { color: var(--forest); font-size: 22px; }
.search-field { display: grid; gap: 9px; width: min(100%, 520px); }
.search-field > span, .specimen-filters label > span { color: #526058; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
input, select { width: 100%; min-height: 52px; padding: 0 16px; color: var(--ink); background: #fff; border: 1px solid #cfc6b6; border-radius: 0; font: inherit; outline: 0; }
input:focus, select:focus { border-color: var(--blue); box-shadow: 0 0 0 2px #1237e81a; }
.filter-chips { margin: 22px 0 18px; display: flex; gap: 9px; flex-wrap: wrap; }
.filter-chips button { min-height: 44px; padding: 10px 15px; color: var(--forest); background: transparent; border: 1px solid #bdc4ba; cursor: pointer; font: 700 12px/1.2 inherit; }
.filter-chips button:hover, .filter-chips button.selected { color: #fff; background: var(--forest); border-color: var(--forest); }
.clear-filters { min-height: 40px; padding: 0 4px; color: #17372a; background: transparent; border: 0; border-bottom: 1px solid currentColor; cursor: pointer; font: 800 12px/1.2 inherit; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.product-card { min-width: 0; background: #fff; border: 1px solid #ded7ca; }
.product-photo { width: 100%; height: auto; aspect-ratio: 3 / 4; padding: 8px; position: relative; overflow: hidden; background: radial-gradient(circle at 50% 42%, #f8f5ed 0, #e1e3d8 100%); }
.plant-gallery { touch-action: pan-y; outline: none; }
.plant-gallery:focus-visible { box-shadow: inset 0 0 0 3px var(--blue); }
.catalog-image-frame { width: 100%; height: 100%; position: relative; overflow: hidden; }
.catalog-image-frame.landscape::after { content: ""; position: absolute; z-index: 1; inset: 0; background: #17382b12; pointer-events: none; }
.catalog-image-main { width: 100%; height: 100%; position: relative; z-index: 2; object-fit: contain; object-position: center; transform: scale(.985); transition: transform .4s ease, opacity .2s ease; }
.catalog-image-backdrop { width: 116%; height: 116%; position: absolute; z-index: 0; inset: -8%; object-fit: cover; filter: blur(18px) saturate(.58) brightness(.78); opacity: .48; transform: scale(1.04); pointer-events: none; }
.product-card:hover .catalog-image-main,
.specimen-card:hover .catalog-image-main { transform: scale(1); }
.product-category { position: absolute; left: 16px; top: 16px; z-index: 3; padding: 8px 10px; color: #fff; background: #163529e8; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.gallery-arrow { width: 42px; height: 42px; padding: 0 0 4px; position: absolute; top: 50%; z-index: 3; display: grid; place-items: center; color: #fff; background: #163529dc; border: 1px solid #ffffff80; border-radius: 50%; cursor: pointer; font: 400 32px/1 Georgia, serif; transform: translateY(-50%); transition: background .18s ease, transform .18s ease; }
.gallery-arrow:hover, .gallery-arrow:focus-visible { background: var(--blue); transform: translateY(-50%) scale(1.06); outline: none; }
.gallery-previous { left: 17px; }
.gallery-next { right: 17px; }
.gallery-dots { max-width: calc(100% - 116px); min-height: 34px; padding: 3px 7px; position: absolute; left: 50%; bottom: 15px; z-index: 3; display: flex; align-items: center; justify-content: center; gap: 0; background: #16261ed9; border-radius: 20px; transform: translateX(-50%); }
.gallery-dots button { width: 28px; height: 28px; padding: 0; position: relative; flex: 0 0 auto; background: transparent; border: 0; border-radius: 50%; cursor: pointer; }
.gallery-dots button::after { content: ""; width: 7px; height: 7px; position: absolute; inset: 50% auto auto 50%; background: #ffffff80; border-radius: 50%; transform: translate(-50%, -50%); }
.gallery-dots button.selected::after { background: #fff; transform: translate(-50%, -50%) scale(1.35); }
.gallery-count { min-width: 43px; padding: 6px 8px; position: absolute; right: 16px; bottom: 15px; z-index: 3; color: #fff; background: #16261ed9; border-radius: 16px; text-align: center; font-size: 10px; font-weight: 800; }
.product-body { padding: 25px; }
.product-body h2, .specimen-body h2 { margin: 0; color: var(--forest); font-size: 27px; font-style: italic; line-height: 1.08; }
.product-body > p { margin: 12px 0 22px; color: #657168; font-size: 13px; }
.product-body details { border-top: 1px solid #ded7ca; }
.product-body summary { padding-top: 18px; display: flex; justify-content: space-between; align-items: center; color: var(--forest); cursor: pointer; font-size: 13px; font-weight: 800; list-style: none; }
.product-body summary::-webkit-details-marker { display: none; }
.variant-list { max-height: 260px; margin-top: 16px; overflow-y: auto; border-top: 1px solid #eee8dc; }
.variant-list > div { padding: 11px 0; display: grid; grid-template-columns: 95px 1fr; gap: 10px; border-bottom: 1px solid #eee8dc; font-size: 12px; }
.variant-list span { color: #657168; }
.variant-list strong { color: var(--forest); font-weight: 600; }
.load-more { min-width: 230px; min-height: 54px; margin: 48px auto 0; padding: 0 26px; display: block; color: #fff; background: var(--blue); border: 0; cursor: pointer; font-weight: 800; }
.load-more:hover { background: var(--blue-dark); }
.empty-state { margin: 40px 0; padding: 70px 30px; text-align: center; background: var(--ivory); }
.empty-state h2 { margin: 0; color: var(--forest); font-size: 38px; }
.empty-state p { color: #647067; }

.specimen-filters { display: grid; grid-template-columns: 1.55fr repeat(2, minmax(150px, .75fr)) auto; gap: 14px; align-items: end; }
.specimen-filters label { display: grid; gap: 9px; }
.private-catalog-notice { margin: 0 0 30px; padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; color: #fff; background: var(--blue); font-size: 12px; }
.private-catalog-notice > div { display: flex; align-items: center; gap: 12px 24px; }
.private-catalog-notice strong { text-transform: uppercase; letter-spacing: .1em; }
.private-catalog-notice a { flex: 0 0 auto; font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.private-price { margin-top: 17px; padding-top: 15px; display: flex; align-items: baseline; justify-content: space-between; gap: 18px; border-top: 1px solid #ded7ca; }
.private-price span { color: #69766e; font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.private-price strong { color: var(--blue); font-size: 16px; }
.results-heading { margin: 30px 0 34px; display: flex; justify-content: space-between; align-items: baseline; color: #6b756d; font-size: 12px; }
.specimen-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.specimen-card { min-width: 0; background: #fff; border: 1px solid #ded7ca; }
.specimen-photo { width: 100%; height: auto; aspect-ratio: 3 / 4; padding: 8px; position: relative; overflow: hidden; background: radial-gradient(circle at 50% 42%, #f8f5ed 0, #e1e3d8 100%); }
.status, .reference { position: absolute; top: 15px; padding: 8px 10px; color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.status { left: 15px; }
.status.available { background: #285c3eec; }
.status.reserved { background: #6d5432ec; }
.reference { right: 15px; z-index: 3; background: #151f1ae8; }
.specimen-body { padding: 24px; }
.specimen-body > p { margin: 0 0 10px; color: #647067; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.specimen-body dl { margin: 23px 0 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid #ded7ca; border-bottom: 1px solid #ded7ca; }
.specimen-body dl > div { padding: 13px 0; }
.specimen-body dl > div + div { padding-left: 17px; border-left: 1px solid #ded7ca; }
.specimen-body dt { color: #748078; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.specimen-body dd { margin: 4px 0 0; color: var(--forest); font-size: 13px; font-weight: 700; }
.specimen-body > a { display: flex; justify-content: space-between; color: var(--blue); font-size: 13px; font-weight: 800; }
.catalog-contact { padding: 90px clamp(28px, 7vw, 112px); display: grid; grid-template-columns: 1fr auto; gap: 60px; align-items: end; color: var(--ivory); background: var(--forest); }
.catalog-contact .eyebrow { grid-column: 1 / -1; margin: 0 0 -34px; color: #bbcbbc; }
.catalog-contact h2 { max-width: 850px; margin: 0; font-size: clamp(42px, 4vw, 64px); line-height: 1.05; }

.admin-page { min-height: 100vh; padding: 32px; background: #e9e4d9; }
.admin-panel { max-width: 1540px; margin: 0 auto; color: #183027; }
.admin-panel h1,
.admin-panel h2,
.admin-panel p { margin: 0; }
.admin-heading { padding: 34px clamp(26px, 4vw, 52px); display: flex; align-items: end; justify-content: space-between; gap: 32px; color: var(--ivory); background: var(--forest); }
.admin-heading .eyebrow { margin-bottom: 12px; color: #bfcebf; }
.admin-heading h1 { color: #fff; font-size: clamp(46px, 4.5vw, 66px); }
.admin-heading p:last-child { margin-top: 13px; color: #cdd8ce; font-size: 11px; }
.admin-heading-actions { display: flex; align-items: center; gap: 24px; }
.admin-heading-actions a { min-height: 44px; display: flex; align-items: center; border-bottom: 1px solid #abbcab; font-size: 13px; font-weight: 800; }
.admin-message { min-height: 48px; padding: 15px 22px; color: #fff; background: var(--blue); font-size: 13px; font-weight: 700; }
.admin-message.busy { background: #6c5737; }
.admin-stats { margin-top: 18px; display: grid; grid-template-columns: repeat(4, 1fr); background: #faf8f2; border: 1px solid #d2cabc; }
.admin-stats article { min-height: 132px; padding: 24px 27px; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid #d2cabc; }
.admin-stats article:last-child { border-right: 0; }
.admin-stats span { color: #657168; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.admin-stats strong { margin-top: 8px; color: var(--forest); font: 500 38px/1 Georgia, serif; }
.admin-stats small { margin-top: 7px; color: #6c766f; font-size: 11px; }
.admin-tabs { margin-top: 18px; display: flex; gap: 1px; background: #bfc4ba; border: 1px solid #bfc4ba; }
.admin-tabs button { min-height: 56px; padding: 0 30px; flex: 1; color: #506057; background: #f5f1e8; border: 0; cursor: pointer; font: 800 12px/1 Arial, sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.admin-tabs button.active { color: #fff; background: #17382b; }
.admin-workspace { padding: 36px; background: #faf8f2; border: 1px solid #d2cabc; border-top: 0; }
.admin-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 42px; }
.admin-section-heading .eyebrow { margin-bottom: 11px; color: #547062; }
.admin-section-heading h2 { color: var(--forest); font-size: clamp(38px, 4vw, 54px); }
.admin-section-heading > div:first-child > p:last-child { max-width: 660px; margin-top: 12px; color: #647067; font-size: 13px; line-height: 1.6; }
.admin-upload-grid { width: min(100%, 600px); display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.admin-upload-card { min-width: 240px; min-height: 118px; padding: 19px 21px; position: relative; display: flex; flex-direction: column; justify-content: center; cursor: pointer; background: #eee9df; border: 1px solid #cfc6b8; }
.admin-upload-card:hover { border-color: var(--forest); }
.admin-upload-card > span { color: #657168; font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.admin-upload-card > strong { margin-top: 8px; color: var(--blue); font-size: 13px; }
.admin-upload-card > small { margin-top: 7px; color: #717a74; font-size: 10px; }
.admin-upload-card input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.admin-list-filters { width: 100%; margin-top: 32px; display: grid; gap: 9px; }
.admin-plant-filters { grid-template-columns: 1.5fr .8fr .7fr; }
.admin-specimen-filters { grid-template-columns: repeat(7, minmax(120px, 1fr)); }
.admin-list-filters input,
.admin-list-filters select { min-height: 46px; font-size: 12px; }
.admin-results-line { margin: 25px 0 11px; display: flex; align-items: baseline; gap: 7px; color: #6b756d; font-size: 11px; }
.admin-results-line strong { color: var(--forest); font: 500 23px/1 Georgia, serif; }
.admin-table-scroll { overflow-x: auto; border-top: 1px solid #cfc7ba; }
.admin-row { min-height: 66px; padding: 8px 12px; display: grid; gap: 16px; align-items: center; border-bottom: 1px solid #ddd6c9; font-size: 11px; }
.admin-plant-row { min-width: 850px; grid-template-columns: 62px minmax(230px, 1.4fr) minmax(160px, .8fr) 80px 100px; }
.admin-specimen-row { min-width: 1290px; grid-template-columns: 62px 92px minmax(220px, 1.2fr) 145px minmax(180px, .9fr) 106px 105px 86px; }
.admin-row-head { min-height: 42px; color: #6a746d; font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.admin-row > strong { color: var(--blue); }
.admin-thumbnail { width: 50px; height: 50px; object-fit: cover; background: #e1e3da; border: 1px solid #d3ccbf; }
.admin-no-photo { width: 50px; height: 50px; display: grid; place-items: center; color: #7d837e; background: #e7e3da; border: 1px solid #d3ccbf; text-align: center; font-size: 8px; font-weight: 800; text-transform: uppercase; }
.admin-badge { width: fit-content; padding: 7px 9px; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.admin-badge.success { color: #fff; background: #285c3e; }
.admin-badge.warning { color: #fff; background: #806138; }
.admin-badge.neutral { color: #425148; background: #e3e5df; }
.switch { display: flex; align-items: center; gap: 7px; cursor: pointer; font-weight: 800; }
.switch input { width: 18px; min-height: 18px; accent-color: var(--forest); box-shadow: none; }
.admin-note { margin-top: 12px !important; color: #6b756d; font-size: 11px; }
.admin-pagination { margin-top: 24px; display: flex; align-items: center; justify-content: center; gap: 18px; }
.admin-pagination button { min-height: 42px; padding: 0 17px; color: #fff; background: var(--forest); border: 0; cursor: pointer; font-weight: 800; }
.admin-pagination button:disabled { color: #8a918c; background: #dfe1dc; cursor: not-allowed; }
.admin-pagination span { color: #667067; font-size: 11px; font-weight: 700; }
.admin-modal-backdrop { position: fixed; z-index: 100; inset: 0; padding: 24px; display: grid; place-items: center; background: #0d1d16b8; backdrop-filter: blur(5px); }
.admin-modal { width: min(100%, 650px); max-height: calc(100vh - 48px); padding: 38px; overflow-y: auto; background: #faf8f2; border: 1px solid #bfc6bd; box-shadow: 0 28px 80px #0f1e1766; }
.admin-modal-wide { width: min(100%, 790px); }
.admin-modal .eyebrow { margin-bottom: 12px; color: #587063; }
.admin-modal h2 { color: var(--forest); font-size: 43px; }
.admin-modal-file { margin-top: 8px !important; color: #68736b; font-size: 12px; }
.admin-preview-stats { margin-top: 26px; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid #d2cabc; }
.admin-preview-stats > div { padding: 20px; display: grid; gap: 5px; border-right: 1px solid #d2cabc; }
.admin-preview-stats > div:last-child { border-right: 0; }
.admin-preview-stats strong { color: var(--forest); font: 500 30px/1 Georgia, serif; }
.admin-preview-stats span { color: #6b756d; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.admin-preview-note { margin-top: 13px !important; color: #647067; font-size: 11px; }
.admin-change-list { margin-top: 20px; display: grid; gap: 8px; }
.admin-change-group { padding: 12px 14px; border-left: 3px solid #76827a; background: #f0ede5; }
.admin-change-group.added { border-color: #285c3e; }
.admin-change-group.removed { border-color: #9a4b3e; background: #f1e7e2; }
.admin-change-group.modified { border-color: #806138; background: #efe8da; }
.admin-change-group strong { color: var(--forest); font-size: 10px; text-transform: uppercase; letter-spacing: .06em; }
.admin-change-group p { margin-top: 6px !important; color: #667067; font-size: 11px; line-height: 1.5; }
.admin-no-changes { padding: 14px; color: #52645a; background: #e5ebe4; font-size: 12px; }
.admin-modal-warning { margin-top: 24px !important; padding: 16px; color: #5f5b4e; background: #eee7d7; font-size: 12px; line-height: 1.55; }
.admin-modal-actions { margin-top: 25px; display: flex; justify-content: flex-end; gap: 10px; }
.admin-modal-actions button { min-height: 48px; padding: 0 20px; cursor: pointer; font-weight: 800; }
.admin-modal-actions .secondary { color: var(--forest); background: transparent; border: 1px solid var(--forest); }
.admin-modal-actions .primary { color: #fff; background: var(--blue); border: 1px solid var(--blue); }
.admin-history { margin-top: 48px; padding-top: 30px; border-top: 1px solid #cfc7ba; }
.admin-history-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.admin-history-heading .eyebrow { margin-bottom: 8px; color: #657168; }
.admin-history-heading h3 { color: var(--forest); font: 500 29px/1.1 Georgia, serif; }
.admin-history-heading > span { color: #717a74; font-size: 10px; }
.admin-history-empty { margin-top: 18px !important; padding: 18px; color: #667067; background: #eee9df; font-size: 12px; line-height: 1.55; }
.admin-history-list { margin-top: 18px; border-top: 1px solid #d2cabc; }
.admin-history-row { min-height: 88px; padding: 14px 12px; display: grid; grid-template-columns: minmax(260px, 1.5fr) minmax(230px, .8fr) 150px; gap: 20px; align-items: center; border-bottom: 1px solid #ddd6c9; }
.admin-history-row > div:first-child { display: grid; justify-items: start; gap: 5px; }
.admin-history-row > div:first-child > strong { color: var(--forest); font-size: 12px; }
.admin-history-row small { color: #788078; font-size: 9px; }
.admin-history-action { padding: 5px 7px; color: #fff; background: #64736a; font-size: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.admin-history-action.restore { background: var(--blue); }
.admin-history-action.baseline { color: #4d5c53; background: #dfe2db; }
.admin-history-summary { display: flex; flex-wrap: wrap; gap: 7px; color: #5f6b64; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.admin-history-summary span { padding: 6px 7px; background: #eee9df; }
.admin-history-row > button { min-height: 42px; padding: 0 12px; color: #fff; background: var(--forest); border: 0; cursor: pointer; font-size: 10px; font-weight: 800; }
.admin-history-row > button:disabled { color: #7e867f; background: #e1e2dd; cursor: default; }

@media (max-width: 1050px) {
  .product-grid, .specimen-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .specimen-filters { grid-template-columns: 1fr 1fr; }
  .specimen-filters .clear-filters { justify-self: start; }
  .admin-stats { grid-template-columns: 1fr 1fr; }
  .admin-stats article:nth-child(2) { border-right: 0; }
  .admin-stats article:nth-child(-n + 2) { border-bottom: 1px solid #d2cabc; }
  .admin-section-heading { align-items: stretch; flex-direction: column; }
  .admin-upload-grid { width: 100%; }
  .admin-specimen-filters { grid-template-columns: repeat(3, 1fr); }
  .admin-history-row { grid-template-columns: 1fr auto; }
  .admin-history-summary { grid-column: 1; grid-row: 2; }
  .admin-history-row > button { grid-column: 2; grid-row: 1 / 3; }
}

@media (max-width: 1020px) {
  .desktop-nav { display: none; }
  .mobile-menu { display: block; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { min-height: 610px; }
  .hero-image { min-height: 520px; }
  .intro-section { grid-template-columns: 1fr; gap: 34px; }
}

@media (max-width: 720px) {
  .site-header { height: 88px; }
  .brand img { width: 188px; }
  .hero-copy { min-height: auto; padding: 74px 24px 62px; }
  h1 { font-size: 50px; }
  .hero-image { min-height: 430px; }
  .hero-actions { display: grid; }
  .button { width: 100%; justify-content: center; }
  .trust-strip { grid-template-columns: 1fr; padding: 0 24px; }
  .trust-strip > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-strip > div:last-child { border-bottom: 0; }
  .intro-section { padding: 80px 24px 46px; }
  .catalog-doors { grid-template-columns: 1fr; padding: 0 16px 78px; }
  .catalog-door { min-height: 470px; }
  .catalog-door > div { left: 24px; right: 24px; bottom: 26px; }
  .contact-band { align-items: stretch; flex-direction: column; padding: 70px 24px; }
  .contact-actions { min-width: 0; }
  .site-footer { grid-template-columns: 1fr; }
  .catalog-hero { min-height: 520px; padding: 70px 24px 55px; }
  .catalog-hero h1 { font-size: 58px; }
  .catalog-app { padding: 48px 16px 80px; }
  .catalog-filter-panel { margin: -12px -16px 24px; padding: 8px 16px; top: 78px; }
  .plant-catalog-app .catalog-filter-panel { margin: -12px -16px 24px; padding: 8px 16px; position: sticky; top: 78px; grid-template-columns: 1fr; gap: 7px; }
  .plant-catalog-app .filter-chips { margin-right: -16px; padding: 0 48px 2px 0; }
  .catalog-toolbar, .results-heading { align-items: flex-start; flex-direction: column; }
  .filter-chips { margin-right: -16px; margin-bottom: 14px; padding: 0 48px 8px 0; overflow-x: auto; flex-wrap: nowrap; scroll-snap-type: x proximity; scrollbar-width: thin; }
  .filter-chips button { flex: 0 0 auto; }
  .product-grid, .specimen-grid { grid-template-columns: 1fr; }
  .product-photo, .specimen-photo { height: auto; aspect-ratio: 3 / 4; }
  .specimen-filters { grid-template-columns: 1fr; }
  .private-catalog-notice, .private-catalog-notice > div { align-items: flex-start; flex-direction: column; }
  .catalog-contact { grid-template-columns: 1fr; padding: 70px 24px; }
  .catalog-contact .eyebrow { grid-column: auto; margin: 0 0 -25px; }
  .admin-page { padding: 0; }
  .admin-heading { align-items: flex-start; flex-direction: column; padding: 30px 22px; }
  .admin-heading-actions { width: 100%; align-items: flex-start; flex-direction: column; gap: 4px; }
  .admin-heading h1 { font-size: 44px; }
  .admin-stats { margin-top: 0; }
  .admin-stats article { min-height: 112px; padding: 20px; }
  .admin-tabs { margin-top: 0; }
  .admin-tabs button { padding: 0 12px; font-size: 10px; }
  .admin-workspace { padding: 28px 16px 36px; }
  .admin-section-heading h2 { font-size: 40px; }
  .admin-upload-grid { grid-template-columns: 1fr; }
  .admin-upload-card { min-width: 0; }
  .admin-plant-filters,
  .admin-specimen-filters { grid-template-columns: 1fr; }
  .admin-modal { padding: 28px 22px; }
  .admin-modal h2 { font-size: 38px; }
  .admin-preview-stats { grid-template-columns: 1fr 1fr; }
  .admin-preview-stats > div { padding: 15px 12px; border-bottom: 1px solid #d2cabc; }
  .admin-preview-stats > div:nth-child(2) { border-right: 0; }
  .admin-preview-stats > div:nth-last-child(-n + 2) { border-bottom: 0; }
  .admin-modal-actions { flex-direction: column-reverse; }
  .admin-modal-actions button { width: 100%; }
  .admin-history-heading { align-items: flex-start; flex-direction: column; }
  .admin-history-row { padding: 18px 4px; grid-template-columns: 1fr; }
  .admin-history-summary,
  .admin-history-row > button { grid-column: 1; grid-row: auto; }
  .admin-history-row > button { width: 100%; }
}

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