@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500&family=Libre+Baskerville:wght@400;700&display=swap');

:root {
  --green: #0d321c;
  --green-soft: #173f28;
  --putty: #c8bba0;
  --paper: #f5f2ea;
  --white: #fffdf8;
  --ink: #193024;
  --line: rgba(13,50,28,.18);
  --max: 1380px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--green);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.45;
}
a { color: inherit; }
img { max-width: 100%; display: block; }

.site-header {
  height: 92px;
  padding: 0 max(28px, calc((100vw - var(--max))/2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: rgba(245,242,234,.95);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
}
.brand {
  font-family: "Libre Baskerville", Georgia, serif;
  font-weight: 700;
  font-size: 31px;
  text-decoration: none;
  letter-spacing: -.03em;
}
.nav { display: flex; gap: 28px; font-size: 13px; }
.nav a { text-decoration: none; }
.nav a:hover { opacity: .62; }

.hero {
  min-height: 700px;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.hero-copy {
  padding: 110px 8vw 90px 7vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.eyebrow {
  text-transform: lowercase;
  letter-spacing: .11em;
  font-size: 11px;
  margin: 0 0 24px;
}
h1, h2, .story-line, .hero-panel strong {
  font-family: "Libre Baskerville", Georgia, serif;
  letter-spacing: -.045em;
  font-weight: 700;
}
h1 {
  font-size: clamp(64px, 8vw, 128px);
  line-height: .88;
  margin: 0 0 38px;
}
.lede {
  max-width: 560px;
  font-size: 19px;
  line-height: 1.5;
  margin: 0 0 36px;
}
.text-link { width: fit-content; font-size: 14px; text-underline-offset: 5px; }
.hero-panel {
  background: var(--putty);
  display: grid;
  place-items: center;
  min-height: 700px;
}
.hero-panel-inner {
  width: min(72%, 430px);
  aspect-ratio: 1/1.18;
  border: 1px solid rgba(13,50,28,.35);
  padding: 38px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hero-panel strong {
  font-size: clamp(44px, 5vw, 72px);
  line-height: .92;
}
.small { font-size: 11px; letter-spacing: .12em; text-transform: lowercase; }

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 110px 7vw;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  align-items: end;
  margin-bottom: 58px;
}
h2 {
  font-size: clamp(42px, 5vw, 72px);
  line-height: .98;
  margin: 0;
}
.section-note {
  max-width: 380px;
  font-size: 13px;
  margin: 0;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 52px 22px;
}
.product-card { cursor: pointer; }
.product-image {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: #dfd9cb;
  margin-bottom: 16px;
  position: relative;
}
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.product-card:hover .product-image img { transform: scale(1.018); }
.photo-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 25% 25%, rgba(255,255,255,.45), transparent 25%),
    linear-gradient(145deg, #b4ab93, #e4dfd2);
  color: rgba(13,50,28,.72);
  text-align: center;
  padding: 30px;
  font-family: "Libre Baskerville", Georgia, serif;
}
.photo-placeholder small { font-family: "DM Sans", Arial, sans-serif; display: block; margin-top: 12px; font-size: 11px; }
.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: baseline;
}
.product-name { font-family: "Libre Baskerville", Georgia, serif; font-size: 20px; margin: 0 0 5px; }
.product-sub { font-size: 12px; opacity: .76; margin: 0; }
.product-price { font-size: 13px; white-space: nowrap; }
.sold { opacity: .55; }
.sold .product-image::after {
  content: "sold out";
  position: absolute;
  inset: auto 18px 18px auto;
  padding: 8px 11px;
  font-size: 11px;
  background: var(--paper);
}

.story-band {
  background: var(--green);
  color: var(--paper);
  padding: 105px 7vw 120px;
  text-align: center;
}
.story-line {
  font-size: clamp(44px, 6vw, 88px);
  margin: 0;
  line-height: 1;
}
.split-section {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 10vw;
}
.prose { max-width: 620px; font-size: 17px; }
.prose p:first-child { margin-top: 4px; }
.cream { background: var(--white); }
.steps { border-top: 1px solid var(--line); }
.step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 22px;
  padding: 23px 0;
  border-bottom: 1px solid var(--line);
}
.step span { font-size: 11px; letter-spacing: .1em; }
.step p { margin: 0; }

.newsletter { text-align: center; padding-top: 130px; padding-bottom: 140px; }
.newsletter h2 { margin-bottom: 24px; }
.newsletter > p:not(.eyebrow) { margin: 0 auto 34px; max-width: 460px; }
.button {
  display: inline-block;
  background: var(--green);
  color: var(--paper);
  padding: 14px 22px 15px;
  text-decoration: none;
  font-size: 13px;
}
.button:hover { background: var(--green-soft); }

.site-footer {
  background: var(--putty);
  padding: 72px max(28px, calc((100vw - var(--max))/2));
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: end;
  gap: 30px;
}
.footer-brand { font-size: 42px; }
.site-footer p { margin: 0; }
.fineprint { text-align: right; font-size: 11px; }

.product-dialog {
  width: min(980px, calc(100vw - 32px));
  padding: 0;
  border: 0;
  background: var(--paper);
  color: var(--green);
}
.product-dialog::backdrop { background: rgba(8,24,14,.72); }
.dialog-close {
  position: absolute;
  top: 14px;
  right: 18px;
  border: 0;
  background: rgba(245,242,234,.9);
  width: 38px; height: 38px;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}
.dialog-grid { display: grid; grid-template-columns: 1fr 1fr; }
.dialog-image { min-height: 580px; background: #ddd6c6; }
.dialog-image img { width: 100%; height: 100%; min-height: 580px; object-fit: cover; }
.dialog-info { padding: 70px 58px; display: flex; flex-direction: column; justify-content: center; }
.dialog-info h3 { font-family: "Libre Baskerville", Georgia, serif; font-size: 44px; line-height: .98; margin: 0 0 12px; }
.dialog-info .price { font-size: 15px; margin-bottom: 32px; }
.dialog-info .description { font-size: 15px; margin-bottom: 28px; }
.detail-list { border-top: 1px solid var(--line); margin: 0 0 32px; }
.detail-row { display: grid; grid-template-columns: 120px 1fr; border-bottom: 1px solid var(--line); padding: 11px 0; font-size: 12px; }
.enquire { width: 100%; text-align: center; border: 0; cursor: pointer; font-family: inherit; }
.status { font-size: 11px; letter-spacing: .08em; text-transform: lowercase; margin-bottom: 12px; }

@media (max-width: 900px) {
  .nav { gap: 14px; }
  .nav a:nth-child(2), .nav a:nth-child(3) { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { min-height: 620px; padding: 90px 28px 70px; }
  .hero-panel { min-height: 480px; }
  .section { padding: 82px 28px; }
  .section-heading, .split-section { display: block; }
  .section-note { margin-top: 26px; }
  .split-section .prose, .split-section .steps { margin-top: 42px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer { grid-template-columns: 1fr; padding: 60px 28px; }
  .fineprint { text-align: left; }
  .dialog-grid { grid-template-columns: 1fr; }
  .dialog-image, .dialog-image img { min-height: 420px; }
  .dialog-info { padding: 46px 28px; }
}
@media (max-width: 560px) {
  .site-header { height: 74px; padding: 0 18px; }
  .brand { font-size: 26px; }
  .nav { font-size: 12px; }
  .hero-copy { min-height: 560px; padding-left: 20px; padding-right: 20px; }
  h1 { font-size: 64px; }
  .product-grid { grid-template-columns: 1fr; gap: 45px; }
  .section { padding-left: 20px; padding-right: 20px; }
  .story-band { padding-left: 20px; padding-right: 20px; }
}


/* Up to 3 images per plant */
.image-gallery { position: relative; width: 100%; height: 100%; overflow: hidden; }
.image-gallery .gallery-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; pointer-events: none; transition: opacity .22s ease, transform .45s ease; }
.image-gallery .gallery-image.active { opacity: 1; pointer-events: auto; }
.product-card:hover .image-gallery .gallery-image.active { transform: scale(1.018); }
.gallery-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(245,242,234,.9); color: var(--ink); font: 24px/30px Georgia, serif; cursor: pointer; display: grid; place-items: center; padding: 0; }
.gallery-prev { left: 12px; }
.gallery-next { right: 12px; }
.gallery-dots { position: absolute; z-index: 3; left: 50%; bottom: 12px; transform: translateX(-50%); display: flex; gap: 6px; }
.gallery-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(245,242,234,.55); box-shadow: 0 0 0 1px rgba(13,50,28,.18); }
.gallery-dot.active { background: var(--paper); }
.dialog-image .image-gallery { min-height: 580px; }
.dialog-image .image-gallery .gallery-image { min-height: 580px; }
@media (max-width: 900px) {
  .dialog-image .image-gallery, .dialog-image .image-gallery .gallery-image { min-height: 420px; }
}
