:root {
  --ink: #10251b;
  --deep: #123829;
  --green: #2f6a4c;
  --leaf: #6f9c75;
  --gold: #d5b46b;
  --cream: #f5f1e8;
  --white: #fff;
  --muted: #657069;
  --line: rgba(16, 37, 27, .14);
  --shadow: 0 22px 70px rgba(10, 36, 25, .14);
  --radius: 28px;
  --wrap: min(1420px, calc(100% - 48px));
}

* { box-sizing: border-box; }
[hidden] { display: none!important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #f2f0e9;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.locked { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { color: inherit; }
.wrap { width: var(--wrap); margin-inline: auto; }
.skip-link { position: fixed; z-index: 1000; top: 8px; left: 8px; padding: 10px 16px; background: #fff; transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.site-header { position: sticky; z-index: 100; top: 0; background: rgba(255,255,255,.92); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); }
.topline { background: var(--deep); color: #fff; font-size: .78rem; letter-spacing: .03em; }
.topline .wrap { display: flex; align-items: center; justify-content: space-between; padding: 7px 0; }
.topline a { color: #f1d79d; font-weight: 800; }
.navrow { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 14px; line-height: 1; }
.brand img { width: 78px; height: 60px; object-fit: contain; border-radius: 10px; background: #fff; }
.brand b { display: block; font: 800 1.08rem/1 Georgia, serif; letter-spacing: .16em; }
.brand small { display: block; margin-top: 7px; color: var(--green); font-size: .6rem; font-weight: 800; letter-spacing: .17em; }
.main-nav { display: flex; align-items: center; gap: 5px; padding: 5px; border: 1px solid rgba(16,37,27,.09); border-radius: 999px; background: rgba(245,241,232,.7); }
.main-nav > a, .selection-trigger { min-height: 42px; display: inline-flex; align-items: center; border: 0; border-radius: 999px; padding: 9px 14px; background: transparent; font-size: .88rem; font-weight: 750; cursor: pointer; white-space: nowrap; }
.main-nav > a:hover { background: #fff; color: var(--green); }
.selection-trigger { gap: 8px; background: var(--deep); color: #fff; }
.selection-trigger span { min-width: 24px; padding: 2px 7px; border-radius: 999px; background: var(--gold); color: var(--ink); text-align: center; }

.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-orb { position: absolute; pointer-events: none; border-radius: 50%; filter: blur(1px); }
.hero-orb-one { width: 30rem; height: 30rem; top: -18rem; right: -9rem; background: rgba(213,180,107,.34); }
.hero-orb-two { width: 15rem; height: 15rem; left: 45%; bottom: -12rem; background: rgba(47,106,76,.16); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: end; gap: 70px; padding-block: 78px 68px; }
.eyebrow { margin: 0 0 16px; color: var(--green); font-size: .72rem; font-weight: 850; letter-spacing: .2em; text-transform: uppercase; }
.hero h1 { max-width: 900px; margin: 0; font: 700 clamp(3.4rem, 7vw, 7.4rem)/.91 Georgia, serif; letter-spacing: -.055em; }
.hero h1 span { color: var(--gold); }
.hero-lead { max-width: 760px; margin: 28px 0 0; color: #527064; font-size: clamp(1.03rem, 1.7vw, 1.24rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 999px; padding: 13px 22px; font-weight: 850; cursor: pointer; transition: transform .24s ease, box-shadow .24s ease, background .24s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(10,36,25,.14); }
.button-primary { background: var(--deep); color: #fff; }
.button-primary:hover { background: #214c39; }
.button-outline { border-color: rgba(16,37,27,.2); background: rgba(255,255,255,.5); color: var(--ink); }
.button-outline:hover { background: #fff; }
.button-gold { background: var(--gold); color: var(--ink); }
.button-dark-outline { border-color: rgba(255,255,255,.45); color: #fff; }
.hero-stats { min-width: 270px; display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding-left: 32px; border-left: 1px solid var(--line); }
.hero-stats div { padding-right: 24px; }
.hero-stats strong, .hero-stats span { display: block; }
.hero-stats strong { font: 700 2.5rem Georgia, serif; }
.hero-stats span { margin-top: 4px; color: var(--muted); font-size: .66rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.hero-stats p { grid-column: 1/-1; margin: 24px 0 0; color: var(--muted); font-size: .74rem; line-height: 1.45; }

.catalogue-section { padding: 46px 0 100px; }
.collection-tabs { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 10px; margin-bottom: 16px; }
.collection-tab { min-height: 82px; display: flex; align-items: end; justify-content: space-between; gap: 12px; border: 1px solid var(--line); border-radius: 22px; padding: 17px 18px; background: rgba(255,255,255,.58); color: var(--ink); cursor: pointer; text-align: left; transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.collection-tab:hover { transform: translateY(-2px); border-color: rgba(47,106,76,.38); background: #fff; }
.collection-tab.active { border-color: var(--deep); background: var(--deep); color: #fff; box-shadow: 0 14px 35px rgba(18,56,41,.18); }
.collection-tab b { font-size: .86rem; line-height: 1.2; }
.collection-tab span { min-width: 30px; border-radius: 999px; padding: 3px 8px; background: rgba(16,37,27,.08); font-size: .7rem; font-weight: 850; text-align: center; }
.collection-tab.active span { background: var(--gold); color: var(--ink); }
.filter-panel { display: grid; grid-template-columns: minmax(280px,1fr) 230px 220px 210px; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 28px; background: rgba(255,255,255,.7); box-shadow: 0 25px 70px rgba(20,53,42,.06); }
.filter-panel label { display: grid; gap: 6px; }
.filter-panel label > span { padding-left: 6px; color: var(--muted); font-size: .64rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.filter-panel input, .filter-panel select { width: 100%; height: 50px; border: 1px solid var(--line); border-radius: 16px; padding: 0 15px; background: #f7f6f1; color: var(--ink); outline: none; }
.filter-panel input:focus, .filter-panel select:focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(47,106,76,.1); }
.catalogue-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin: 48px 0 24px; }
.catalogue-heading .eyebrow { margin-bottom: 5px; }
.catalogue-heading h2 { margin: 0; font: 700 clamp(2rem,4vw,3.1rem)/1 Georgia, serif; letter-spacing: -.035em; }
.text-button { border: 0; border-bottom: 1px solid var(--green); padding: 4px 0; background: transparent; color: var(--green); font-weight: 800; cursor: pointer; }
.plant-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; }
.plant-card { overflow: hidden; border: 1px solid var(--line); border-radius: 30px; background: #f8f7f2; box-shadow: 0 16px 45px rgba(20,53,42,.045); transition: transform .3s ease, box-shadow .3s ease; }
.plant-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.plant-media { position: relative; width: 100%; display: block; aspect-ratio: 4/4.25; overflow: hidden; border: 0; padding: 0; background: #e8ebdf; color: inherit; cursor: pointer; }
.plant-media img { width: 100%; height: 100%; padding: 28px; object-fit: contain; transition: transform .6s ease; }
.plant-card:hover .plant-media img { transform: scale(1.045); }
.plant-index { position: absolute; z-index: 2; top: 19px; left: 20px; color: #527064; font: 800 .62rem ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .18em; }
.plant-badge { position: absolute; z-index: 2; top: 14px; right: 14px; max-width: 60%; overflow: hidden; border-radius: 999px; padding: 6px 10px; background: rgba(255,255,255,.86); color: var(--ink); font-size: .7rem; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; backdrop-filter: blur(8px); }
.plant-image-error { width: 100%; height: 100%; display: grid; place-items: center; color: var(--leaf); font: 700 4rem Georgia, serif; }
.plant-body { padding: 22px; }
.plant-body h3 { min-height: 54px; margin: 0; font: 700 1.43rem/1.08 Georgia, serif; }
.plant-meta { min-height: 20px; margin: 10px 0 0; color: var(--muted); font-size: .76rem; }
.plant-family { margin: 4px 0 0; color: #849088; font-size: .68rem; }
.plant-actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 20px; }
.add-button, .detail-button { height: 45px; border: 1px solid var(--deep); border-radius: 999px; background: var(--deep); color: #fff; font-weight: 850; cursor: pointer; }
.add-button.selected { border-color: var(--gold); background: var(--gold); color: var(--ink); }
.detail-button { width: 45px; border-color: var(--line); background: transparent; color: var(--ink); font-size: 1.1rem; }
.empty-state { min-height: 330px; place-items: center; padding: 40px; border: 1px dashed rgba(16,37,27,.23); border-radius: 30px; background: rgba(255,255,255,.45); text-align: center; }
.empty-state:not([hidden]) { display: grid; }
.empty-state span { color: var(--leaf); font-size: 3rem; }
.empty-state h3 { margin: 10px 0 0; font: 700 2rem Georgia, serif; }
.empty-state p { margin: 8px 0 0; color: var(--muted); }
.load-more-wrap { margin-top: 34px; text-align: center; }

.editorial-section { padding: 100px 0; background: #fff; }
.soft-section { background: var(--cream); }
.editorial-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 78px; }
.editorial-section h2, .cta-box h2 { margin: 0 0 22px; font: 700 clamp(2.35rem,4.6vw,4.5rem)/.98 Georgia, serif; letter-spacing: -.045em; }
.editorial-section p:not(.eyebrow) { max-width: 720px; color: var(--muted); font-size: 1.06rem; }
.orchid-section { color: #fff; background: linear-gradient(135deg, #10251b, #1f553c); }
.orchid-section .eyebrow { color: var(--gold); }
.orchid-section p:not(.eyebrow) { color: rgba(255,255,255,.72); }
.orchid-section .button-primary { margin-top: 18px; background: var(--gold); color: var(--ink); }
.orchid-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
.orchid-list span { min-height: 88px; display: flex; align-items: end; border: 1px solid rgba(255,255,255,.16); border-radius: 24px; padding: 20px; background: rgba(255,255,255,.06); font: 700 1.35rem Georgia, serif; }
.steps { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; margin: 0; padding: 0; list-style: none; }
.steps li { min-height: 145px; border: 1px solid var(--line); border-radius: 24px; padding: 24px; background: #fff; }
.steps b, .steps span { display: block; }
.steps b { color: var(--gold); font: 700 1.8rem Georgia, serif; }
.steps span { margin-top: 12px; font-weight: 750; }
.faq { margin-top: 60px; }
.faq details { border-top: 1px solid var(--line); padding: 20px 0; }
.faq summary { font-weight: 850; cursor: pointer; }
.faq details p { max-width: 900px; margin-bottom: 0; }

.cta-section { padding: 80px 0; background: #fff; }
.cta-box { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.35fr .65fr; align-items: center; gap: 45px; border-radius: 40px; padding: 58px; background: var(--deep); color: #fff; }
.cta-box .eyebrow { color: var(--gold); }
.cta-box h2 { margin: 0; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; }
.site-footer { padding: 74px 0 26px; background: #0b2118; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr 1fr; gap: 56px; }
.footer-logo { width: 105px; height: 80px; object-fit: contain; border-radius: 10px; background: #fff; }
.site-footer h2 { color: var(--gold); font: 700 1.15rem Georgia, serif; }
.site-footer a { display: block; margin: 8px 0; color: rgba(255,255,255,.82); }
.site-footer p, .site-footer small { color: rgba(255,255,255,.6); }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 50px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.55); font-size: .78rem; }
.footer-bottom a { display: inline; margin: 0; }

.modal[hidden] { display: none; }
.modal { position: fixed; z-index: 300; inset: 0; display: grid; place-items: center; padding: 20px; }
.modal-backdrop, .drawer-backdrop { position: absolute; inset: 0; background: rgba(7,24,17,.62); backdrop-filter: blur(6px); }
.modal-panel { position: relative; width: min(760px,100%); max-height: calc(100vh - 40px); overflow: auto; border-radius: 30px; background: var(--cream); box-shadow: 0 30px 100px rgba(0,0,0,.35); }
.close-button { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: rgba(255,255,255,.88); color: var(--ink); font-size: 1.5rem; cursor: pointer; }
.modal-panel > .close-button { position: absolute; z-index: 3; top: 14px; right: 14px; }
.modal-image { aspect-ratio: 16/9; background: #e8ebdf; }
.modal-image img { width: 100%; height: 100%; padding: 26px; object-fit: contain; }
.modal-body { padding: 30px; }
.modal-body h2 { margin: 0; font: 700 2.25rem/1 Georgia, serif; }
.modal-formats { display: grid; gap: 9px; margin-top: 22px; }
.modal-format { display: flex; justify-content: space-between; gap: 20px; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; background: rgba(255,255,255,.7); }
.modal-format span { color: var(--muted); font-size: .78rem; }
.modal-body .button { width: 100%; margin-top: 24px; }

.selection-drawer { position: fixed; z-index: 310; inset: 0; visibility: hidden; opacity: 0; transition: opacity .25s ease, visibility .25s ease; }
.selection-drawer.open { visibility: visible; opacity: 1; }
.drawer-panel { position: absolute; top: 0; right: 0; width: min(520px,100%); height: 100%; display: grid; grid-template-rows: auto 1fr auto; background: var(--cream); transform: translateX(100%); transition: transform .35s ease; }
.selection-drawer.open .drawer-panel { transform: none; }
.drawer-panel > header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 28px; border-bottom: 1px solid var(--line); }
.drawer-panel h2 { margin: 0; font: 700 2.2rem Georgia, serif; }
.drawer-panel .eyebrow { margin-bottom: 4px; }
.selection-list { overflow: auto; padding: 22px 28px; }
.selection-empty { padding: 70px 20px; color: var(--muted); text-align: center; }
.selection-item { display: grid; grid-template-columns: 62px 1fr auto; align-items: center; gap: 12px; margin-bottom: 10px; border: 1px solid var(--line); border-radius: 18px; padding: 9px; background: rgba(255,255,255,.72); }
.selection-item img { width: 62px; height: 62px; border-radius: 12px; padding: 4px; background: #e8ebdf; object-fit: contain; }
.selection-item h3 { overflow: hidden; margin: 0; font: 700 1.04rem Georgia, serif; text-overflow: ellipsis; white-space: nowrap; }
.selection-item p { margin: 3px 0 0; color: var(--muted); font-size: .72rem; }
.quantity { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--cream); }
.quantity button { width: 30px; height: 30px; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.quantity span { min-width: 24px; text-align: center; font-size: .8rem; font-weight: 800; }
.selection-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; padding: 20px 28px 26px; border-top: 1px solid var(--line); background: #fff; }
.selection-actions small { grid-column: 1/-1; color: var(--muted); text-align: center; }
.floating-selection { position: fixed; z-index: 120; right: 22px; bottom: 22px; min-height: 52px; border: 0; border-radius: 999px; padding: 13px 22px; background: var(--gold); color: var(--ink); box-shadow: 0 18px 45px rgba(10,36,25,.28); font-weight: 900; cursor: pointer; }
.noscript { margin: 0; padding: 15px; background: #fff3cd; text-align: center; }

@media (max-width: 1150px) {
  .collection-tabs { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .plant-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .filter-panel { grid-template-columns: 1fr 1fr; }
  .main-nav > a:nth-child(3), .main-nav > a:nth-child(4) { display: none; }
}

@media (max-width: 820px) {
  :root { --wrap: min(100% - 30px, 1420px); }
  .topline span { display: none; }
  .topline .wrap { justify-content: center; }
  .navrow { min-height: 74px; }
  .brand img { width: 68px; height: 54px; }
  .brand span { display: none; }
  .main-nav > a { display: none!important; }
  .selection-trigger { min-height: 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; padding-block: 58px 48px; }
  .hero h1 { font-size: clamp(3.35rem,15vw,5rem); }
  .hero-stats { min-width: 0; padding: 25px 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .filter-panel { grid-template-columns: 1fr; }
  .collection-tabs { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .plant-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .editorial-grid, .cta-box, .footer-grid { grid-template-columns: 1fr; }
  .editorial-grid { gap: 45px; }
  .cta-box { padding: 38px 28px; }
  .footer-bottom { display: block; }
  .footer-bottom span { display: block; margin-top: 8px; }
}

@media (max-width: 560px) {
  .catalogue-section { padding-top: 25px; }
  .collection-tab { min-height: 70px; padding: 14px; }
  .plant-grid { grid-template-columns: 1fr; }
  .plant-media { aspect-ratio: 4/3.9; }
  .catalogue-heading { align-items: start; flex-direction: column; margin-top: 36px; }
  .orchid-list, .steps { grid-template-columns: 1fr; }
  .editorial-section, .cta-section { padding-block: 72px; }
  .selection-actions { grid-template-columns: 1fr; }
  .selection-actions small { grid-column: auto; }
  .floating-selection { right: 50%; bottom: 14px; transform: translateX(50%); white-space: nowrap; }
}

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