/* ----- Skip link ----- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 10px 16px;
  color: var(--paper);
  background: var(--charcoal);
  font-weight: 800;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
}

:root {
  --cream: #f4eadc;
  --paper: #fbfcf7;
  --sage-light: #edf2e4;
  --sage-deep: #dce5cb;
  --clay-light: #f6eee8;
  --tan: #b99b7a;
  --red: #b9422c;
  --red-deep: #9a3724;
  --charcoal: #1f1d1a;
  --olive: #6f7b45;
  --olive-deep: #5b6638;
  --warm-brown: #4a3a2a;
  --lavender: #8b72a8;
  --ink-soft: #50483f;
  --line: rgba(31, 29, 26, 0.16);
  --shadow: 0 18px 45px rgba(31, 29, 26, 0.16);
  --shadow-soft: 0 8px 24px rgba(31, 29, 26, 0.10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--charcoal);
  background: var(--paper);
  font-family: "Open Sans", Arial, sans-serif;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

picture {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--olive);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ------- Header ------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px clamp(18px, 4vw, 54px);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 12px rgba(31, 29, 26, 0.06);
  /* Safe-area padding for iOS notch + iPhone home-indicator devices */
  padding-top: max(10px, env(safe-area-inset-top, 10px));
  padding-left: max(clamp(18px, 4vw, 54px), env(safe-area-inset-left, 18px));
  padding-right: max(clamp(18px, 4vw, 54px), env(safe-area-inset-right, 18px));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: block;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 3px 8px rgba(31, 29, 26, 0.18);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-family: "Bree Serif", Georgia, serif;
  font-size: 22px;
  letter-spacing: 0.04em;
  color: var(--charcoal);
}

.brand-text small {
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 2px;
}

@media (max-width: 680px) {
  .brand-mark {
    width: 44px;
    height: 44px;
  }
  .brand-text strong {
    font-size: 18px;
  }
  .brand-text small {
    font-size: 10px;
    letter-spacing: 0.14em;
  }
}

h1,
h2,
h3 {
  font-family: "Bree Serif", Georgia, serif;
  line-height: 1.08;
  letter-spacing: 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(10px, 2vw, 24px);
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 700;
}

.nav a {
  padding: 8px 0;
  position: relative;
  transition: color 160ms ease;
}

.nav a:not(.nav-button)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 200ms ease;
}

.nav a:not(.nav-button):hover {
  color: var(--charcoal);
}

.nav a:not(.nav-button):hover::after {
  transform: scaleX(1);
}

.nav-button {
  padding: 9px 16px !important;
  color: var(--paper);
  background: var(--charcoal);
  border-radius: 999px;
  transition: background 160ms ease;
}

.nav-button:hover {
  background: var(--red);
}

.nav-button::after {
  display: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 36px;
  height: 28px;
  padding: 4px 0;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: transform 200ms ease, opacity 200ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ------- Hero ------- */
.hero {
  position: relative;
  min-height: calc(78vh - 73px);
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: clamp(34px, 5vw, 76px) clamp(20px, 6vw, 84px);
  isolation: isolate;
}

.hero picture,
.hero > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
}

.hero picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(31, 29, 26, 0.78), rgba(31, 29, 26, 0.42) 50%, rgba(31, 29, 26, 0.08)),
    linear-gradient(0deg, rgba(31, 29, 26, 0.34), rgba(31, 29, 26, 0));
}

.hero-content {
  width: min(720px, 100%);
  color: var(--paper);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffd8a8;
}

h1 {
  margin: 0;
  font-size: clamp(40px, 6.3vw, 72px);
  text-wrap: balance;
}

.hero-content > p:not(.eyebrow) {
  max-width: 620px;
  margin: 22px 0 0;
  font-size: clamp(17px, 2vw, 22px);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

/* ------- Buttons ------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 22px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  text-align: center;
  cursor: pointer;
  transition: transform 120ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:active {
  transform: translateY(0);
}

.button.primary {
  color: var(--paper);
  background: var(--red);
  border-color: var(--red);
}

.button.primary:hover {
  background: var(--red-deep);
  border-color: var(--red-deep);
}

.button.primary:disabled {
  opacity: 0.7;
  cursor: progress;
  transform: none;
}

.button.secondary {
  color: var(--paper);
  border-color: rgba(255, 250, 241, 0.85);
}

.button.secondary:hover {
  background: rgba(255, 250, 241, 0.12);
}

.button.secondary.dark {
  color: var(--charcoal);
  border-color: var(--charcoal);
}

.button.secondary.dark:hover {
  background: var(--charcoal);
  color: var(--paper);
}

/* ------- Sections (shared) ------- */
.section-band,
.collection,
.features,
.gallery,
.about,
.contact {
  padding: clamp(54px, 8vw, 96px) clamp(20px, 6vw, 84px);
}

.section-band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(280px, 1fr);
  gap: clamp(28px, 6vw, 70px);
  align-items: start;
  background: var(--sage-light);
  border-block: 1px solid var(--line);
  overflow: hidden;
}

/* Botanical accents */
.section-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("assets/backgrounds/allover-botanical-texture.svg");
  background-size: 360px;
  background-repeat: repeat;
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
}

.section-band > * {
  position: relative;
  z-index: 1;
}

.intro::after,
.use-section::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 280px;
  height: 280px;
  background-image: url("assets/backgrounds/corner-wildflowers.svg");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}

.section-copy h2,
.section-heading h2,
.features h2,
.feature-copy h2,
.use-section h2,
.about h2,
.contact h2 {
  margin: 0;
  font-size: clamp(30px, 4.5vw, 56px);
  text-wrap: balance;
}

.intro > p,
.features .section-heading p,
.market-card p,
.about p,
.contact p,
.feature-copy p,
.section-heading p,
.section-copy p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 17px;
}

.section-copy p {
  margin-top: 12px;
}

.specs .spec-note {
  grid-column: 1 / -1;
  margin: 14px 0 0;
  font-size: 13px;
  font-style: italic;
  color: var(--ink-soft);
  opacity: 0.8;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.section-heading h2 {
  margin-bottom: 14px;
}

/* ------- Collection ------- */
.collection {
  position: relative;
  overflow: hidden;
}

.collection::before {
  content: "";
  position: absolute;
  right: -50px;
  top: 30px;
  width: 280px;
  height: 280px;
  background-image: url("assets/backgrounds/corner-wildflowers.svg");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.35;
  transform: scaleX(-1);
  pointer-events: none;
}

.collection > * {
  position: relative;
}

/* ------- Product scroller ------- */
.product-scroller {
  position: relative;
}

.product-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 1fr);
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scroll-padding-inline: 4px;
  padding: 6px 4px;
  margin-inline: -4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.product-track::-webkit-scrollbar {
  display: none;
}

.product-track > .product-card {
  scroll-snap-align: start;
}

/* When there are few cards on a wide screen, fill the row evenly */
@media (min-width: 981px) {
  .product-track {
    grid-auto-columns: minmax(0, 1fr);
  }
  .product-track:has(> .product-card:nth-child(5)) {
    grid-auto-columns: minmax(260px, 1fr);
  }
}

/* Scroll buttons */
.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: transform 150ms ease, box-shadow 150ms ease, opacity 150ms ease;
  z-index: 2;
}

.scroll-btn:hover {
  box-shadow: var(--shadow);
  transform: translateY(-50%) scale(1.04);
}

.scroll-btn:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.scroll-btn[disabled] {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

.scroll-btn-prev { left: -22px; }
.scroll-btn-next { right: -22px; }

/* On narrow viewports keep the buttons inside the section so they don't get clipped */
@media (max-width: 720px) {
  .scroll-btn {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(2px);
  }
  .scroll-btn-prev { left: 4px; }
  .scroll-btn-next { right: 4px; }
}

.product-card {
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow-soft);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.product-card picture {
  display: block;
  overflow: hidden;
}

.product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 400ms ease;
}

.product-card:hover img {
  transform: scale(1.04);
}

.product-card div {
  padding: 20px;
}

.product-card h3 {
  margin: 0 0 8px;
  font-size: 23px;
}

.product-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

/* ------- Features ------- */
.features {
  position: relative;
  background: var(--paper);
  overflow: hidden;
}

.features::before {
  content: "";
  position: absolute;
  left: -60px;
  top: -40px;
  width: 320px;
  height: 320px;
  background-image: url("assets/backgrounds/lavender-stems-soft.svg");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.55;
  pointer-events: none;
}

.features > * {
  position: relative;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.feature-grid article {
  position: relative;
  z-index: 1;
  padding: 24px;
  background: var(--sage-light);
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.feature-grid article:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  color: var(--red);
  background: var(--paper);
  border-radius: 12px;
  border: 1px solid var(--line);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-grid h3 {
  margin: 0 0 10px;
  font-size: 24px;
}

.feature-grid p {
  margin: 0;
  color: var(--ink-soft);
}

/* ------- Spec list ------- */
.spec-list {
  display: grid;
  gap: 12px;
}

.spec-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow-soft);
}

.spec-list strong {
  font-family: "Bree Serif", Georgia, serif;
  font-size: 24px;
}

.spec-list span {
  color: var(--ink-soft);
  font-weight: 700;
  text-align: right;
}

/* ------- Feature split (custom orders) ------- */
.feature-split {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: stretch;
  padding: clamp(54px, 8vw, 96px) clamp(20px, 6vw, 84px);
  background: var(--warm-brown);
  color: var(--paper);
  overflow: hidden;
}

.feature-split::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("assets/backgrounds/leafy-vine-repeat.svg");
  background-size: 220px;
  background-repeat: repeat;
  opacity: 0.08;
  pointer-events: none;
}

.feature-split > * {
  position: relative;
}

.feature-image picture,
.feature-image img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.feature-image picture {
  overflow: hidden;
}

.feature-copy {
  align-self: center;
}

.feature-copy .eyebrow {
  color: #f0c79a;
}

.feature-copy p {
  color: rgba(255, 250, 241, 0.82);
  margin: 18px 0 24px;
}

/* ------- Inquiry form ------- */
.inquiry-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.inquiry-form label {
  display: grid;
  gap: 7px;
  color: rgba(255, 250, 241, 0.88);
  font-size: 13px;
  font-weight: 800;
}

.label-text {
  display: inline-block;
}

.req {
  margin-left: 2px;
  color: #f0c79a;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 250, 241, 0.28);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--paper);
  background: rgba(255, 250, 241, 0.08);
  font: inherit;
  transition: border-color 160ms ease, background 160ms ease;
}

.inquiry-form select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(255, 250, 241, 0.7) 50%),
    linear-gradient(135deg, rgba(255, 250, 241, 0.7) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 12px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
}

.inquiry-form select option {
  color: var(--charcoal);
  background: var(--paper);
}

.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus {
  outline: none;
  border-color: rgba(255, 250, 241, 0.6);
  background-color: rgba(255, 250, 241, 0.14);
}

.inquiry-form input::placeholder,
.inquiry-form textarea::placeholder {
  color: rgba(255, 250, 241, 0.5);
}

.inquiry-form textarea {
  resize: vertical;
}

.form-meta {
  grid-column: 1 / -1;
  margin: 4px 0 0;
  color: rgba(255, 250, 241, 0.6) !important;
  font-size: 13px !important;
}

.full {
  grid-column: 1 / -1;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  padding: 14px 18px;
  margin-bottom: 16px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
}

.form-status.is-ok {
  color: #224515;
  background: #d9eccb;
  border: 1px solid #aacb88;
}

.form-status.is-error {
  color: #5d1a10;
  background: #f6d6cf;
  border: 1px solid #c97964;
}

/* ------- Use section ------- */
.use-section {
  grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 1fr);
  align-items: center;
}

.use-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.use-list span {
  padding: 10px 16px;
  color: var(--charcoal);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 800;
  box-shadow: var(--shadow-soft);
}

/* ------- Gallery ------- */
.gallery {
  position: relative;
  overflow: hidden;
}

.gallery::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 80px;
  background-image: url("assets/backgrounds/meadow-border-bottom.svg");
  background-size: cover;
  background-position: bottom center;
  background-repeat: no-repeat;
  opacity: 0.4;
  pointer-events: none;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.8fr;
  grid-template-rows: repeat(2, minmax(220px, 1fr));
  gap: 18px;
}

.gallery figure {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  margin: 0;
  border-radius: 10px;
  background: var(--cream);
}

.gallery figure.large {
  grid-row: span 2;
}

.gallery picture,
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery img {
  transition: transform 500ms ease;
}

.gallery figure:hover img {
  transform: scale(1.04);
}

.gallery figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 8px 14px;
  color: var(--paper);
  background: rgba(31, 29, 26, 0.78);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

/* ------- Markets ------- */
.market-card {
  position: relative;
  padding: clamp(22px, 4vw, 34px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.market-card::before {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 200px;
  height: 200px;
  background-image: url("assets/backgrounds/lavender-stems-soft.svg");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.35;
  pointer-events: none;
}

.market-card > * {
  position: relative;
}

.market-list {
  display: grid;
  gap: 10px;
  margin: 18px 0;
  padding: 0;
  list-style: none;
}

.market-list li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 16px;
  background: var(--sage-light);
  border-radius: 8px;
}

.market-list strong {
  font-family: "Bree Serif", Georgia, serif;
  font-size: 16px;
}

.market-list span {
  color: var(--ink-soft);
  font-weight: 700;
}

.market-card .button {
  margin-top: 8px;
}

/* ------- About ------- */
.about {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 70px);
  align-items: center;
  overflow: hidden;
}

.about::before {
  content: "";
  position: absolute;
  left: -40px;
  bottom: -40px;
  width: 260px;
  height: 260px;
  background-image: url("assets/backgrounds/lavender-stems-soft.svg");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.45;
  pointer-events: none;
}

.about > * {
  position: relative;
}

.about-copy p + p {
  margin-top: 16px;
}

.about picture,
.about img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.about picture {
  overflow: hidden;
}

/* ------- Contact ------- */
.contact {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(320px, 1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
  color: var(--paper);
  background: var(--olive);
  overflow: hidden;
}

.contact-intro {
  align-self: center;
}

.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("assets/backgrounds/botanical-sprigs-wide.svg");
  background-size: 420px;
  background-repeat: repeat;
  opacity: 0.10;
  pointer-events: none;
}

.contact > * {
  position: relative;
}

.contact .eyebrow {
  color: #f0d0ac;
}

.contact p {
  max-width: 620px;
  color: rgba(255, 250, 241, 0.86);
}

.contact-panel {
  display: grid;
  gap: 14px;
  padding: 26px;
  background: rgba(31, 29, 26, 0.22);
  border: 1px solid rgba(255, 250, 241, 0.22);
  border-radius: 12px;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: rgba(255, 250, 241, 0.88);
  font-size: 13px;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 250, 241, 0.32);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--paper);
  background: rgba(255, 250, 241, 0.10);
  font: inherit;
  transition: border-color 160ms ease, background 160ms ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(255, 250, 241, 0.7);
  background: rgba(255, 250, 241, 0.16);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 250, 241, 0.55);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form .button.primary {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--olive-deep);
}

.contact-form .button.primary:hover {
  background: var(--cream);
  border-color: var(--cream);
}

/* ------- Footer ------- */
.footer {
  position: relative;
  color: var(--paper);
  background: var(--charcoal);
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 70px;
  background-image: url("assets/backgrounds/meadow-border-bottom.svg");
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  transform: scaleY(-1);
  opacity: 0.32;
  pointer-events: none;
}

.footer-inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 60px clamp(20px, 6vw, 84px) 24px;
}

.footer strong {
  font-family: "Bree Serif", Georgia, serif;
  font-size: 18px;
  letter-spacing: 0.06em;
}

.footer-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255, 250, 241, 0.6);
  font-size: 13px;
}

.footer-credit a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(255, 250, 241, 0.35);
}

.footer-credit a:hover {
  color: rgba(255, 250, 241, 0.9);
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: rgba(255, 250, 241, 0.7);
  border: 1px solid rgba(255, 250, 241, 0.25);
  border-radius: 50%;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.social-link:hover,
.social-link:focus-visible {
  color: var(--charcoal);
  background: var(--paper);
  border-color: var(--paper);
}

/* ------- Responsive ------- */
@media (max-width: 980px) {
  .nav-toggle {
    display: flex;
  }

  .site-header {
    align-items: center;
    flex-direction: row;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px clamp(18px, 4vw, 54px) 22px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-110%);
    transition: transform 240ms ease;
    font-size: 16px;
    z-index: -1;
  }

  .nav.is-open {
    transform: translateY(0);
  }

  .nav a {
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
  }

  .nav a:last-child {
    border-bottom: 0;
  }

  .nav-button {
    align-self: flex-start;
    margin-top: 8px;
  }

  .hero {
    min-height: 78vh;
  }

  .feature-grid,
  .section-band,
  .feature-split,
  .about,
  .contact {
    grid-template-columns: 1fr;
  }

  .product-track {
    grid-auto-columns: minmax(240px, 42%);
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-image picture,
  .feature-image img {
    min-height: 360px;
  }
}

@media (max-width: 680px) {
  /* Tighter header padding on small phones so the brand + hamburger have more room */
  .site-header {
    gap: 12px;
    padding-left: max(14px, env(safe-area-inset-left, 14px));
    padding-right: max(14px, env(safe-area-inset-right, 14px));
  }

  /* Hide the small "Handmade Planters" tagline on very narrow screens to free up space */
  .brand-text small {
    display: none;
  }

  .brand-text strong {
    font-size: 17px;
    letter-spacing: 0.03em;
  }

  /* Slightly larger tap target for the hamburger */
  .nav-toggle {
    width: 40px;
    height: 32px;
  }

  /* Mobile hero: stack layout — image fully visible up top, solid text block below */
  .hero {
    display: block;
    min-height: 0;
    padding: 0;
    background: var(--cream);
    isolation: auto;
  }

  .hero picture {
    position: relative;
    inset: auto;
    display: block;
    width: 100%;
    height: 48vh;
    min-height: 280px;
    max-height: 440px;
    z-index: auto;
  }

  .hero picture img {
    position: static;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 45%;
  }

  .hero-shade {
    display: none;
  }

  .hero-content {
    width: 100%;
    color: var(--charcoal);
    padding: 30px 22px 36px;
  }

  .hero .eyebrow {
    color: var(--red);
  }

  .hero h1 {
    font-size: clamp(30px, 8vw, 40px);
  }

  .hero-content > p:not(.eyebrow) {
    margin-top: 14px;
    color: var(--ink-soft);
    font-size: 16px;
    text-shadow: none;
  }

  .hero-actions {
    margin-top: 22px;
  }

  /* Swap the secondary button styling on the cream block */
  .hero .button.secondary {
    color: var(--charcoal);
    border-color: var(--charcoal);
  }

  .hero .button.secondary:hover {
    background: var(--charcoal);
    color: var(--paper);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .feature-grid,
  .gallery-grid,
  .inquiry-form {
    grid-template-columns: 1fr;
  }

  .product-track {
    grid-auto-columns: 78%;
    gap: 14px;
    padding-inline: 2px;
    padding-bottom: 14px;
    /* Let the next card peek to signal swipability */
    scroll-padding-inline: 2px;
  }

  .spec-list div {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .spec-list span {
    text-align: left;
  }

  .gallery-grid {
    grid-template-rows: none;
  }

  .gallery figure.large {
    grid-row: auto;
  }

  .section-band,
  .collection,
  .features,
  .gallery,
  .about,
  .contact,
  .feature-split,
  .testimonials,
  .process,
  .how-it-works {
    padding-inline: 18px;
    padding-block: clamp(40px, 9vw, 56px);
  }

  /* Hide most decorative botanicals on mobile — keep the section-band texture only */
  .decor,
  .intro::after,
  .use-section::after,
  .collection::before,
  .features::before,
  .about::before,
  .process::before,
  .gallery::after,
  .feature-split::before,
  .footer::before,
  .market-card::before {
    display: none !important;
  }

  /* Soften the remaining section-band texture so it doesn't compete with content */
  .section-band::before {
    opacity: 0.12;
  }

  /* Tighter spacing in product/feature cards */
  .product-card div {
    padding: 16px;
  }

  .feature-grid article {
    padding: 18px;
  }

  .testi {
    padding: 48px 22px 22px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ---------- Decorative line-drawing accents ---------- */
.decor {
  position: absolute;
  z-index: 0 !important;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.55;
}

/* Use-section (Gifts, showers & garden tables) */
.use-section .decor-vine-left {
  top: -20px;
  left: -40px;
  width: 240px;
  height: 380px;
  background-image: url("assets/backgrounds/leafy-vine-repeat.svg");
  opacity: 0.5;
}

.use-section .decor-wild-tr {
  top: -30px;
  right: -50px;
  width: 280px;
  height: 280px;
  background-image: url("assets/backgrounds/corner-wildflowers.svg");
  transform: scaleX(-1);
  opacity: 0.55;
}

.use-section .decor-sprigs-bottom {
  left: 0;
  right: 0;
  bottom: -10px;
  height: 140px;
  background-image: url("assets/backgrounds/botanical-sprigs-wide.svg");
  background-size: cover;
  background-position: bottom center;
  opacity: 0.45;
}

/* Markets section */
.markets .decor-wild-tl {
  top: -30px;
  left: -50px;
  width: 280px;
  height: 280px;
  background-image: url("assets/backgrounds/corner-wildflowers.svg");
  opacity: 0.5;
}

.markets .decor-vine-right {
  top: 40px;
  right: -30px;
  width: 220px;
  height: 360px;
  background-image: url("assets/backgrounds/leafy-vine-repeat.svg");
  transform: scaleX(-1);
  opacity: 0.5;
}

.markets .decor-sprigs-top {
  left: 0;
  right: 0;
  top: 0;
  height: 130px;
  background-image: url("assets/backgrounds/botanical-sprigs-wide.svg");
  background-size: cover;
  background-position: top center;
  transform: scaleY(-1);
  opacity: 0.4;
}

@media (max-width: 680px) {
  .decor-vine-left,
  .decor-vine-right,
  .decor-wild-tr,
  .decor-wild-tl {
    width: 160px;
    height: 220px;
  }
  .decor-sprigs-top,
  .decor-sprigs-bottom {
    height: 80px;
  }
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Pricing in product cards ---------- */
.product-card .price {
  margin: 10px 0 0;
  color: var(--red);
  font-weight: 800;
  font-size: 15px;
}

/* ---------- Spec list pricing ---------- */
.spec-list div {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 18px;
  align-items: center;
}

.size-desc {
  color: var(--ink-soft);
  font-weight: 600;
  text-align: left;
}

.size-price {
  color: var(--red);
  font-family: "Bree Serif", Georgia, serif;
  font-size: 20px;
  text-align: right;
}

@media (max-width: 680px) {
  .spec-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .size-price {
    text-align: left;
  }
}

/* ---------- How it works ---------- */
.how-it-works {
  grid-template-columns: 1fr;
  background: var(--clay-light);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding: 28px 24px 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
}

.step-num {
  position: absolute;
  top: -18px;
  left: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--paper);
  background: var(--red);
  font-family: "Bree Serif", Georgia, serif;
  font-size: 18px;
  box-shadow: var(--shadow-soft);
}

.steps h3 {
  margin: 8px 0 6px;
  font-size: 22px;
}

.steps p {
  margin: 0;
  color: var(--ink-soft);
}

@media (max-width: 980px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

/* ---------- Testimonials ---------- */
.testimonials {
  padding: clamp(54px, 8vw, 96px) clamp(20px, 6vw, 84px);
  background: var(--paper);
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.testi {
  position: relative;
  margin: 0;
  padding: 56px 26px 24px;
  background: var(--sage-light);
  border-radius: 12px;
  border: 1px solid var(--line);
}

.testi::before {
  content: "\201C";
  position: absolute;
  top: 14px;
  left: 22px;
  color: var(--red);
  font-family: "Bree Serif", Georgia, serif;
  font-size: 72px;
  line-height: 1;
}

.testi blockquote {
  margin: 0 0 14px;
  font-size: 17px;
  color: var(--charcoal);
  font-style: italic;
}

.testi figcaption {
  color: var(--ink-soft);
  font-weight: 700;
  font-size: 14px;
}

@media (max-width: 980px) {
  .testi-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Process gallery ---------- */
.process {
  padding: clamp(54px, 8vw, 96px) clamp(20px, 6vw, 84px);
  background: var(--paper);
  position: relative;
  overflow: hidden;
}

.process::before {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 280px;
  height: 280px;
  background-image: url("assets/backgrounds/lavender-stems-soft.svg");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.4;
  transform: scaleX(-1);
  pointer-events: none;
}

.process > * {
  position: relative;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.process figure {
  margin: 0;
  overflow: hidden;
  background: var(--cream);
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.process picture,
.process img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.process img {
  transition: transform 400ms ease;
  cursor: zoom-in;
}

.process figure:hover img {
  transform: scale(1.04);
}

.process figcaption {
  display: grid;
  gap: 4px;
  padding: 16px 18px 20px;
  background: var(--paper);
}

.process figcaption strong {
  font-family: "Bree Serif", Georgia, serif;
  font-size: 20px;
}

.process figcaption span {
  color: var(--ink-soft);
  font-size: 14px;
}

@media (max-width: 980px) {
  .process-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Markets list rows ---------- */
.market-heading {
  margin: 18px 0 10px;
  font-family: "Bree Serif", Georgia, serif;
  font-size: 18px;
}

.market-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 16px;
  align-items: center;
}

.market-row-left {
  display: grid;
  gap: 2px;
}

.market-row-right {
  display: grid;
  gap: 2px;
  text-align: right;
}

.market-row-right .market-date {
  font-family: "Bree Serif", Georgia, serif;
  color: var(--red);
  font-size: 15px;
}

.market-row-right .market-time {
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
}

.market-link {
  grid-column: 1 / -1;
  color: var(--olive);
  font-weight: 800;
  font-size: 13px;
  text-decoration: underline;
}

.market-empty {
  display: block !important;
  padding: 16px 18px;
  color: var(--ink-soft);
  font-style: italic;
}

.market-past {
  margin: 6px 0 10px;
}

.market-past summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--ink-soft);
  padding: 8px 0;
}

.market-past summary::marker {
  color: var(--red);
}

/* ---------- About meta ---------- */
.about-meta {
  margin-top: 18px !important;
  color: var(--tan) !important;
  font-size: 14px !important;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ---------- Form meta light variant ---------- */
.form-meta.light {
  color: rgba(255, 250, 241, 0.65) !important;
}

/* ---------- Order page ---------- */
.page-hero {
  padding: clamp(40px, 6vw, 80px) clamp(20px, 6vw, 84px) clamp(28px, 4vw, 40px);
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}

.page-hero-inner {
  max-width: 720px;
}

.page-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(36px, 5vw, 56px);
}

.page-hero p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 17px;
  max-width: 620px;
}

.order-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.9fr);
  gap: clamp(28px, 5vw, 56px);
  padding: clamp(40px, 6vw, 70px) clamp(20px, 6vw, 84px) clamp(60px, 8vw, 90px);
}

/* Light variant of the inquiry form (form lives on a light page, not a dark feature-split) */
.inquiry-form.light label {
  color: var(--ink-soft);
  font-size: 13px;
}

.inquiry-form.light input,
.inquiry-form.light select,
.inquiry-form.light textarea {
  color: var(--charcoal);
  background-color: var(--paper);
  border: 1px solid var(--line);
}

.inquiry-form.light select {
  background-image:
    linear-gradient(45deg, transparent 50%, var(--ink-soft) 50%),
    linear-gradient(135deg, var(--ink-soft) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 12px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
}

.inquiry-form.light select option {
  color: var(--charcoal);
  background: var(--paper);
}

.inquiry-form.light input:focus,
.inquiry-form.light select:focus,
.inquiry-form.light textarea:focus {
  border-color: var(--olive);
  background-color: var(--paper);
}

.inquiry-form.light input::placeholder,
.inquiry-form.light textarea::placeholder {
  color: rgba(80, 72, 63, 0.5);
}

.inquiry-form.light .req {
  color: var(--red);
}

.inquiry-form.light .form-meta {
  color: var(--ink-soft) !important;
}

.order-aside {
  display: grid;
  gap: 18px;
  align-content: start;
}

.aside-card {
  padding: 22px 24px;
  background: var(--sage-light);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.aside-card h2 {
  margin: 0 0 12px;
  font-size: 20px;
}

.aside-steps {
  margin: 0;
  padding: 0 0 0 18px;
  display: grid;
  gap: 10px;
  color: var(--ink-soft);
  font-size: 15px;
}

.aside-steps strong {
  color: var(--charcoal);
}

.aside-sizes {
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.aside-sizes li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.aside-sizes li:last-child { border-bottom: 0; }

.aside-sizes strong {
  font-family: "Bree Serif", Georgia, serif;
  font-size: 17px;
}

.aside-sizes span {
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
  text-align: right;
}

.aside-note {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  font-style: italic;
}

.aside-quote {
  margin: 0;
  padding: 22px 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  border-radius: 12px;
}

.aside-quote blockquote {
  margin: 0 0 10px;
  color: var(--charcoal);
  font-style: italic;
  font-size: 15px;
}

.aside-quote figcaption {
  color: var(--ink-soft);
  font-weight: 700;
  font-size: 13px;
}

@media (max-width: 980px) {
  .order-layout {
    grid-template-columns: 1fr;
  }
}

/* ---------- Inline CTA bands ---------- */
.cta-band {
  padding: clamp(36px, 5vw, 56px) clamp(20px, 6vw, 84px);
  text-align: center;
  background: var(--cream);
  border-block: 1px solid var(--line);
}

.cta-band.dark {
  background: var(--olive);
  color: var(--paper);
  border-color: transparent;
}

.cta-band p {
  margin: 0 0 18px;
  font-family: "Bree Serif", Georgia, serif;
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.25;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.cta-band.dark p {
  color: var(--paper);
}

.cta-band .button {
  margin: 18px auto 0;
}

.cta-band.dark .button.primary {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--olive-deep);
}

.cta-band.dark .button.primary:hover {
  background: var(--cream);
  border-color: var(--cream);
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(31, 29, 26, 0.94);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 8px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  background: rgba(255, 250, 241, 0.12);
  border: 1px solid rgba(255, 250, 241, 0.32);
  border-radius: 50%;
  color: var(--paper);
  font-size: 28px;
  cursor: pointer;
  transition: background 160ms ease;
}

.lightbox-close:hover {
  background: rgba(255, 250, 241, 0.24);
}

.gallery img,
.process img {
  cursor: zoom-in;
}

/* ---------- Footer expanded ---------- */
.footer-inner {
  flex-direction: row;
}

.footer-inner > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-meta {
  text-align: right;
}

@media (max-width: 680px) {
  .footer-meta {
    text-align: left;
  }
}


/* ===========================================================================
   Editable content — font-size presets (set per field in the admin) and
   optional category row titles in the Featured Collection.
   =========================================================================== */
.rt-small   { font-size: 0.85em; }
.rt-large   { font-size: 1.25em; }
.rt-heading { font-size: 1.6em; line-height: 1.15; }

.category-title {
  font-family: "Bree Serif", Georgia, serif;
  font-size: clamp(20px, 2.4vw, 26px);
  margin: 8px 0 16px;
  color: var(--charcoal);
}
.category-title + .product-scroller { margin-top: 0; }
.collection .product-scroller + .category-title { margin-top: 36px; }
