@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=DM+Serif+Display:ital@0;1&display=swap");

:root {
  --ink: #173c2b;
  --ink-soft: #496354;
  --forest: #173c2b;
  --leaf: #6f8c42;
  --lime: #dfea9c;
  --cream: #f5f1e7;
  --paper: #fcfaf4;
  --line: rgba(23, 60, 43, 0.16);
  --serif: "DM Serif Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --container: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
body.modal-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input { color: inherit; font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; top: 1rem; left: 1rem; padding: .7rem 1rem; color: white; background: var(--forest); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: relative; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { width: min(calc(100% - 48px), var(--container)); min-height: 104px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { width: 190px; flex: 0 0 auto; }
.main-nav { display: flex; align-items: center; gap: clamp(1.4rem, 3vw, 2.8rem); }
.main-nav a { position: relative; font-size: .88rem; font-weight: 600; text-decoration: none; }
.main-nav a:not(.nav-cta)::after { position: absolute; bottom: -.35rem; left: 0; width: 100%; height: 1px; background: currentColor; content: ""; transform: scaleX(0); transform-origin: right; transition: transform 180ms ease; }
.main-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { padding: .8rem 1.35rem; color: white; background: var(--forest); border-radius: 100px; transition: background 180ms ease, transform 180ms ease; }
.nav-cta:hover { background: var(--leaf); transform: translateY(-2px); }
.menu-toggle { display: none; width: 42px; padding: 7px; background: none; border: 0; cursor: pointer; }
.menu-toggle > span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: var(--forest); }

.hero { height: 420px; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(400px, 1fr); background: var(--cream); }
.hero-art { position: relative; min-height: 0; overflow: hidden; background:  #BAD0B7; }
.hero-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.hero-index { position: absolute; z-index: 2; top: 2.2rem; left: 2.4rem; width: 52px; height: 52px; display: grid; place-items: center; color: var(--forest); background: var(--lime); border-radius: 50%; font-size: .78rem; font-weight: 600; }
.hero-content { min-height: 0; padding: 2rem clamp(2rem, 4vw, 4rem); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.eyebrow { margin: 0 0 1.2rem; color: var(--leaf); font-size: .71rem; font-weight: 600; letter-spacing: .16em; line-height: 1.4; text-transform: uppercase; }
.hero h1, .section-heading h2, .about-content h2, .contact-section h2, .modal-figure h2 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: .98; }
.hero h1 { max-width: 660px; font-size: clamp(2.5rem, 3vw, 3.5rem); letter-spacing: -.04em; }
.hero h1 em { color: var(--leaf); font-weight: 400; }
.hero-copy { max-width: 560px; margin: .9rem 0 0; color: var(--ink-soft); font-size: clamp(.9rem, 1.1vw, 1rem); line-height: 1.6; }
.hero-actions { margin-top: 1rem; display: flex; align-items: center; flex-wrap: wrap; gap: 1.8rem; }
.button { min-height: 52px; padding: .9rem 1.55rem; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 100px; font-size: .83rem; font-weight: 600; text-decoration: none; transition: transform 180ms ease, background 180ms ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--forest); }
.button-primary:hover { background: var(--leaf); }
.text-link { font-size: .84rem; font-weight: 600; text-underline-offset: 5px; }
.hero-note { margin-top: 1rem; padding-top: 0; display: flex; align-items: center; gap: 1rem; }
.hero-note strong { padding-right: 1rem; font-family: var(--serif); font-size: 2rem; font-weight: 400; line-height: 1; border-right: 1px solid var(--line); }
.hero-note span { color: var(--ink-soft); font-size: .72rem; line-height: 1.5; }

.marketplace-banner { width: min(calc(100% - 48px), 480px); margin: 1.5rem auto 0; padding: .5rem 1.25rem; display: flex; align-items: center; gap: 1rem; color: var(--forest); background: #e8eee3; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 4px 12px rgba(23, 60, 43, .06); text-decoration: none; transition: background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease; }
.marketplace-banner:hover { background: #dde7d6; box-shadow: 0 6px 16px rgba(23, 60, 43, .1); transform: translateY(-2px); }
.marketplace-banner:focus-visible { outline: 3px solid var(--forest); outline-offset: 4px; }
.marketplace-banner img { width: 64px; height: 64px; flex: 0 0 auto; object-fit: contain; }
.marketplace-banner strong { flex: 1; font-size: .95rem; font-weight: 600; line-height: 1.4; }
.marketplace-banner-arrow { width: 32px; height: 32px; flex: 0 0 auto; display: grid; place-items: center; color: var(--forest); background: rgba(23, 60, 43, .08); border-radius: 50%; font-size: 1.1rem; }

.instagram-feature { width: min(100%, 400px); min-width: 0; margin: 0; justify-self: center; }
.instagram-embed { overflow: hidden; background: white; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 4px 12px rgba(23, 60, 43, .06); }
.instagram-embed .instagram-media { width: 100% !important; min-width: 0 !important; max-width: 100% !important; margin: 0 !important; border: 0 !important; box-shadow: none !important; }
.instagram-embed blockquote { min-height: 400px; padding: 1.5rem; display: grid; place-items: center; text-align: center; }
.instagram-feature a { color: var(--ink-soft); font-size: .82rem; line-height: 1.5; text-underline-offset: 4px; }
.instagram-feature a:hover { color: var(--forest); }
.instagram-feature a:focus-visible { outline: 3px solid var(--forest); outline-offset: 4px; }
.instagram-feature figcaption { margin-top: .75rem; text-align: center; }

.catalog-section { width: min(calc(100% - 48px), var(--container)); margin: auto; padding: clamp(3rem, 5vw, 4.5rem) 0 clamp(5.5rem, 10vw, 9rem); scroll-margin-top: 24px; }
.section-heading { display: grid; grid-template-columns: 1.4fr .6fr; align-items: end; gap: 3rem; }
.section-heading h2, .about-content h2 { max-width: 720px; font-size: clamp(3rem, 5.2vw, 5.4rem); letter-spacing: -.03em; }
.section-heading > p { max-width: 420px; margin: 0; color: var(--ink-soft); font-size: .95rem; line-height: 1.7; }
.catalog-tools { margin-top: 4.5rem; padding: 1.25rem 0; display: flex; align-items: center; justify-content: space-between; gap: 2rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.search-field { min-width: 270px; display: flex; align-items: center; gap: .8rem; }
.search-field svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.search-field input { width: 100%; padding: .5rem 0; background: transparent; border: 0; outline: 0; font-size: .82rem; }
.search-field input::placeholder { color: #78887e; }
.filter-list { display: flex; gap: .45rem; }
.filter-button { padding: .62rem .9rem; background: transparent; border: 1px solid transparent; border-radius: 100px; font-size: .73rem; font-weight: 600; cursor: pointer; }
.filter-button:hover, .filter-button.is-active { border-color: var(--forest); }
.filter-button.is-active { color: white; background: var(--forest); }
.catalog-status { padding: 1.35rem 0 2rem; display: flex; align-items: center; gap: 1rem; color: var(--ink-soft); font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; }
.status-line { width: 32px; height: 1px; background: var(--line); }
.catalog-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: start; gap: 3.2rem 1.25rem; }
.plant-card { min-width: 0; height: 100%; }
.plant-open { width: 100%; height: 100%; padding: 0; display: flex; flex-direction: column; text-align: left; background: transparent; border: 0; cursor: pointer; transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease; }
.plant-open:hover, .plant-open:focus-visible { background: var(--cream); box-shadow: 0 14px 32px rgba(23, 60, 43, .18), 0 0 0 1px var(--line); transform: translateY(-5px); }
.plant-image { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: #dcdac9; }
.plant-image::after { position: absolute; inset: 0; border: 1px solid rgba(255, 255, 255, .3); content: ""; pointer-events: none; }
.plant-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms cubic-bezier(.2,.6,.3,1); }
.plant-open:hover .plant-image img, .plant-open:focus-visible .plant-image img { transform: scale(1.045); }
.plant-zoom { position: absolute; z-index: 2; right: .75rem; bottom: .75rem; width: 38px; height: 38px; display: grid; place-items: center; color: var(--forest); background: var(--lime); border-radius: 50%; font-size: 1.1rem; opacity: 0; transform: translateY(8px); transition: opacity 180ms ease, transform 180ms ease; }
.plant-open:hover .plant-zoom, .plant-open:focus-visible .plant-zoom { opacity: 1; transform: translateY(0); }
.plant-info { width: 100%; padding: 1rem .75rem .9rem; text-align: center; transition: background-color 180ms ease; }
.plant-label { display: block; margin: 0; color: var(--ink-soft); font-size: .95rem; font-weight: 600; line-height: 1.5; letter-spacing: .07em; text-transform: uppercase; transition: color 180ms ease, transform 180ms ease; }
.plant-open:hover .plant-info, .plant-open:focus-visible .plant-info { background: var(--lime); }
.plant-open:hover .plant-label, .plant-open:focus-visible .plant-label { color: var(--forest); transform: translateY(-1px); }
.empty-state { padding: 5rem 1rem; text-align: center; border-bottom: 1px solid var(--line); }
.empty-state p { font-family: var(--serif); font-size: 2rem; }
.empty-state button { padding: 0; background: none; border: 0; text-decoration: underline; cursor: pointer; }

.about-section { padding: clamp(3rem, 5vw, 5rem) max(24px, calc((100vw - var(--container)) / 2)); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(380px, .9fr); align-items: center; gap: clamp(2.5rem, 6vw, 6rem); background: var(--cream); scroll-margin-top: 24px; }
.about-image { position: relative; min-height: 0; aspect-ratio: 1043 / 641; overflow: hidden; background: var(--paper); border: 10px solid var(--paper); box-shadow: 0 24px 60px rgba(23, 60, 43, .16); }
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.about-image::after { position: absolute; inset: 0; border: 1px solid rgba(255, 255, 255, .45); content: ""; pointer-events: none; }
.image-label { position: absolute; z-index: 2; left: 1.25rem; bottom: 1.25rem; padding: .8rem 1.1rem; background: var(--lime); border-radius: 100px; font-size: .68rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.about-content { padding: clamp(2rem, 4vw, 4rem) 0; display: flex; flex-direction: column; justify-content: center; }
.about-content h2 { font-size: clamp(2.8rem, 4vw, 4.8rem); }
.about-lead { margin: 2rem 0 1rem; color: var(--ink); font-size: 1.2rem; line-height: 1.65; }
.about-content > p:not(.eyebrow):not(.about-lead) { max-width: 650px; margin: 0; color: var(--ink-soft); font-size: .92rem; line-height: 1.8; }
.about-facts { margin: 2.5rem 0 0; padding-top: 2rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; border-top: 1px solid var(--line); }
.about-facts div { display: flex; flex-direction: column; }
.about-facts dt { font-family: var(--serif); font-size: 2.2rem; line-height: 1; }
.about-facts dd { margin: .5rem 0 0; color: var(--ink-soft); font-size: .67rem; text-transform: uppercase; }

.contact-section { padding: clamp(4rem, 8vw, 7rem) max(24px, calc((100vw - var(--container)) / 2)); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px); align-items: center; gap: clamp(2rem, 5vw, 5rem); color: white; background: var(--forest); scroll-margin-top: 24px; }
.contact-content { min-width: 0; display: grid; gap: 1.75rem; }
.contact-section .instagram-feature figcaption a { color: var(--lime); }
.contact-section .instagram-feature figcaption a:hover { color: white; }
.contact-section .instagram-feature figcaption a:focus-visible { outline-color: var(--lime); }
.contact-section .eyebrow { color: var(--lime); }
.contact-section h2 { font-size: clamp(3rem, 5vw, 5rem); }
.contact-section p:not(.eyebrow) { margin: 1rem 0 0; color: rgba(255, 255, 255, .7); }
.contact-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.5rem; }
.button-light { color: var(--forest); background: var(--lime); }
.button-light:hover { background: white; }
.contact-phone { font-size: .85rem; font-weight: 600; text-underline-offset: 5px; }
.marketplace-card { width: min(100%, 480px); padding: .5rem 1rem; display: grid; grid-template-columns: 64px minmax(0, 1fr) 32px; align-items: center; gap: 1rem; color: var(--forest); background: #e8eee3; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 4px 12px rgba(4, 20, 13, .12); text-decoration: none; transition: background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease; }
.marketplace-card:hover { background: #dde7d6; box-shadow: 0 6px 16px rgba(4, 20, 13, .18); transform: translateY(-2px); }
.marketplace-card:focus-visible { outline: 3px solid var(--lime); outline-offset: 4px; }
.marketplace-card img { width: 64px; height: 64px; object-fit: contain; }
.marketplace-copy { display: flex; flex-direction: column; gap: .25rem; }
.marketplace-kicker { color: var(--ink-soft); font-size: .6rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.marketplace-copy strong { color: var(--forest); font-size: .95rem; font-weight: 600; line-height: 1.4; }
.marketplace-arrow { width: 32px; height: 32px; display: grid; place-items: center; color: var(--forest); background: rgba(23, 60, 43, .08); border-radius: 50%; font-size: 1.1rem; transition: transform 180ms ease; }
.marketplace-card:hover .marketplace-arrow { transform: translate(1px, -1px); }

.site-footer { position: relative; padding: 4rem max(24px, calc((100vw - var(--container)) / 2)) 2rem; display: grid; grid-template-columns: 1.2fr 1fr 1fr; align-items: start; gap: 2rem; background: var(--paper); }
.footer-brand { width: 180px; }
.site-footer > p { margin: .3rem 0; color: var(--ink-soft); font-family: var(--serif); font-size: 1.25rem; }
.footer-links { display: flex; flex-direction: column; align-items: flex-end; gap: .65rem; }
.footer-links a { font-size: .76rem; font-weight: 600; text-underline-offset: 4px; }
.site-footer small { grid-column: 1 / -1; padding-top: 2rem; color: var(--ink-soft); font-size: .63rem; border-top: 1px solid var(--line); }

.plant-modal { width: min(980px, calc(100% - 32px)); max-height: min(820px, calc(100vh - 32px)); padding: 0; color: var(--ink); background: var(--paper); border: 0; overflow: visible; }
.plant-modal::backdrop { background: rgba(8, 30, 20, .85); backdrop-filter: blur(5px); }
.modal-figure { min-height: 620px; margin: 0; display: grid; grid-template-columns: 1.2fr .8fr; }
.modal-image-wrap { min-height: 620px; background: #dddccc; overflow: hidden; }
.modal-image-wrap img { width: 100%; height: 100%; max-height: calc(100vh - 32px); object-fit: cover; }
.modal-figure figcaption { padding: 3.5rem; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.modal-figure h2 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
.modal-figure figcaption > p:not(.eyebrow) { margin: 1.5rem 0 2rem; color: var(--ink-soft); font-size: .86rem; line-height: 1.7; }
.modal-close { position: absolute; z-index: 5; top: 1rem; right: 1rem; width: 40px; height: 40px; padding: 0; display: grid; place-items: center; color: var(--forest); background: var(--lime); border: 0; border-radius: 50%; font-size: 1.5rem; cursor: pointer; }
.modal-nav { position: absolute; z-index: 5; top: 50%; width: 44px; height: 44px; display: grid; place-items: center; color: var(--forest); background: var(--lime); border: 0; border-radius: 50%; cursor: pointer; }
.modal-prev { left: -64px; }
.modal-next { right: -64px; }
.noscript-message { position: fixed; z-index: 100; right: 1rem; bottom: 1rem; padding: 1rem; color: white; background: #8e331c; }

@media (max-width: 1050px) {
  .catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .modal-prev { left: 1rem; }
  .modal-next { right: 1rem; }
}

@media (max-width: 820px) {
  .header-inner { min-height: 86px; }
  .brand { width: 158px; }
  .menu-toggle { display: block; }
  .main-nav { position: absolute; top: 100%; right: 0; left: 0; padding: 1.5rem 24px 2rem; display: none; align-items: stretch; flex-direction: column; gap: 1.25rem; background: var(--paper); border-bottom: 1px solid var(--line); }
  .main-nav.is-open { display: flex; }
  .nav-cta { text-align: center; }
  .hero { height: auto; min-height: 0; grid-template-columns: 1fr; }
  .hero-art { height: 300px; min-height: 0; }
  .hero-content { min-height: 0; padding: 3rem 24px; }
  .section-heading { grid-template-columns: 1fr; }
  .catalog-tools { align-items: stretch; flex-direction: column; }
  .filter-list { max-width: 100%; padding-bottom: 4px; overflow-x: auto; }
  .filter-button { flex: 0 0 auto; }
  .about-section { padding: 3rem 24px 5rem; grid-template-columns: 1fr; gap: 2.5rem; }
  .about-image { width: 100%; min-height: 0; aspect-ratio: 1043 / 641; }
  .about-content { padding: 0; }
  .contact-section { grid-template-columns: 1fr; align-items: start; }
  .modal-figure { min-height: 0; grid-template-columns: 1fr .85fr; }
  .modal-image-wrap { min-height: 520px; }
  .modal-figure figcaption { padding: 2rem; }
}

@media (max-width: 620px) {
  .header-inner, .catalog-section { width: min(calc(100% - 32px), var(--container)); }
  .hero-art { height: 240px; min-height: 0; }
  .hero-content { min-height: 0; padding: 2.5rem 24px; }
  .hero h1 { font-size: clamp(2.5rem, 11vw, 3.5rem); }
  .marketplace-banner { width: min(calc(100% - 32px), 480px); padding: .625rem .875rem; gap: .625rem; }
  .marketplace-banner img { width: 56px; height: 56px; }
  .marketplace-banner strong { font-size: .875rem; }
  .marketplace-banner-arrow { width: 28px; height: 28px; }
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem .75rem; }
  .plant-label { font-size: .75rem; letter-spacing: .04em; }
  .plant-zoom { opacity: 1; transform: none; }
  .about-content { padding: 0; }
  .about-facts { gap: .5rem; }
  .about-facts dt { font-size: 1.75rem; }
  .marketplace-card { padding: .625rem .875rem; grid-template-columns: 56px minmax(0, 1fr) 28px; gap: .625rem; }
  .marketplace-card img { width: 56px; height: 56px; }
  .marketplace-copy strong { font-size: .875rem; }
  .marketplace-arrow { width: 28px; height: 28px; }
  .site-footer { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .footer-links { align-items: center; }
  .modal-figure { max-height: calc(100vh - 24px); display: block; overflow-y: auto; }
  .modal-image-wrap { min-height: 0; height: 56vh; }
  .modal-image-wrap img { max-height: none; }
  .modal-figure figcaption { min-height: 330px; }
  .modal-nav { top: calc(28vh - 22px); }
}

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