/* =========================================================================
   Veor7 — "Botanical Calm" design system
   Bone canvas · deep ink · one sage/forest accent · Fraunces + Inter
   Mobile-first, accessible, no layout shift.
   ========================================================================= */

:root {
  /* Palette */
  --canvas: #f7f5f0;      /* bone white */
  --surface: #ffffff;     /* cards */
  --surface-2: #efece4;   /* subtle panels */
  --ink: #1c2b24;         /* primary text */
  --ink-soft: #4a5a52;    /* secondary text */
  --ink-mute: #7c8a82;    /* tertiary / notes */
  --accent: #2f5d50;      /* sage / forest */
  --accent-dark: #234439; /* hover */
  --accent-tint: #e6ede9; /* accent wash */
  --line: #e3ded3;        /* hairlines */
  --badge-bg: #2f5d50;
  --badge-ink: #f7f5f0;

  /* Type */
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Shape & depth */
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(28, 43, 36, 0.04), 0 8px 24px rgba(28, 43, 36, 0.06);
  --shadow-hover: 0 2px 4px rgba(28, 43, 36, 0.06), 0 16px 40px rgba(28, 43, 36, 0.10);

  /* Layout */
  --wrap: 1140px;
  --gap: clamp(1rem, 3vw, 2rem);
}

/* --- Reset-ish ---------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { font-family: var(--font-head); font-weight: 500; line-height: 1.15; margin: 0; }
p { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 2.5rem);
}

/* --- Accessibility ------------------------------------------------------ */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 100;
  background: var(--accent);
  color: #fff;
  padding: 0.7rem 1.1rem;
  border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

:where(a, button, input, [tabindex]):focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 6px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

/* --- Header ------------------------------------------------------------- */
.site-header {
  background: var(--canvas);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: saturate(1.2) blur(6px);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--ink);
}
.brand__mark {
  display: inline-grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  background: var(--accent);
  color: var(--canvas);
  border-radius: 50%;
  font-size: 0.95rem;
}
.brand__name {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
}
.site-header__tag {
  color: var(--ink-mute);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}
@media (max-width: 540px) { .site-header__tag { display: none; } }

/* --- Hero --------------------------------------------------------------- */
.hero { padding-block: clamp(2rem, 5vw, 3.5rem) clamp(1.25rem, 3vw, 2rem); }
.hero__inner {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: center;
}
@media (min-width: 920px) {
  .hero__inner { grid-template-columns: 1.05fr minmax(330px, 400px); }
}
.hero__content { max-width: 640px; }
.hero__eyebrow {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.hero__title {
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  letter-spacing: -0.02em;
  margin-bottom: 1.1rem;
}
.hero__lede {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: var(--ink-soft);
  max-width: 60ch;
}
.hero__trust {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.3rem;
}
.hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 500;
}
.hero__trust svg { width: 1.05rem; height: 1.05rem; color: var(--accent); flex: none; }

.hero__meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1rem;
  color: var(--ink-mute);
  font-size: 0.85rem;
}
.hero__meta-item { display: inline-flex; align-items: center; }

/* --- Featured product (hero) -------------------------------------------- */
.feature {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
}
.feature__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--surface-2);
}
.feature__img { width: 100%; height: 100%; object-fit: contain; padding: 1.25rem; }
.feature__img--placeholder { display: grid; place-items: center; }
.feature__badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background: var(--accent);
  color: var(--canvas);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
}
.feature__body { display: flex; flex-direction: column; gap: 0.5rem; padding: 1.1rem 1.25rem 1.3rem; }
.feature__title { font-size: 1.2rem; font-weight: 600; letter-spacing: -0.01em; }
.feature__price {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 600;
  display: flex;
  flex-direction: column;
}
.feature__price-note {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--ink-mute);
  margin-top: 0.1rem;
}
.feature__cta {
  margin-top: 0.3rem;
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.4rem;
  background: var(--accent);
  color: var(--canvas);
  text-decoration: none;
  font-weight: 600;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  transition: background 0.15s ease;
}
.feature__cta:hover { background: var(--accent-dark); }
.feature__cta span { font-weight: 400; font-size: 0.8rem; opacity: 0.85; }

/* --- Section titles ----------------------------------------------------- */
.section-title {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  letter-spacing: -0.015em;
  margin-bottom: 0.5rem;
}

/* --- Catalogue head + inline disclosure --------------------------------- */
.catalogue { padding-block: clamp(0.5rem, 2vw, 1.25rem) clamp(3rem, 7vw, 5rem); }
.catalogue__head { margin-bottom: 1.4rem; }
.disclosure-inline {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-top: 0.85rem;
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.45;
  background: var(--accent-tint);
  border: 1px solid var(--line);
  padding: 0.6rem 0.9rem 0.6rem 0.6rem;
  border-radius: 14px;
  max-width: 62ch;
}
.disclosure-inline__tag {
  flex: none;
  margin-top: 0.05rem;
  background: var(--accent);
  color: var(--canvas);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
}

/* --- Controls: chips + search ------------------------------------------- */
.controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.4rem;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.chip {
  font: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip--active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--canvas);
}
.search { flex: 1 1 240px; max-width: 340px; }
.search__label {
  display: block;
  font-size: 0.78rem;
  color: var(--ink-mute);
  margin-bottom: 0.3rem;
  font-weight: 500;
}
.search__input {
  width: 100%;
  font: inherit;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
}
.search__input::placeholder { color: var(--ink-mute); }

.results-count {
  color: var(--ink-mute);
  font-size: 0.85rem;
  margin-bottom: 1.2rem;
}

/* --- Product grid ------------------------------------------------------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: var(--gap);
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.card[hidden] { display: none; }

.card__media {
  position: relative;
  aspect-ratio: 1 / 1;      /* fixed ratio => no layout shift */
  background: var(--surface-2);
}
.card__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1rem;
}
.card__img--placeholder {
  display: grid;
  place-items: center;
}
.card__badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  background: var(--badge-bg);
  color: var(--badge-ink);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
}

.card__body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.1rem 1.2rem 1.3rem;
  flex: 1;
}
.card__title {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.card__price {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  flex-direction: column;
}
.card__price-note {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--ink-mute);
  margin-top: 0.1rem;
}
.card__blurb {
  color: var(--ink-soft);
  font-size: 0.92rem;
  flex: 1;
}
.card__cta {
  margin-top: 0.4rem;
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.4rem;
  background: var(--accent);
  color: var(--canvas);
  text-decoration: none;
  font-weight: 600;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  transition: background 0.15s ease;
}
.card__cta:hover { background: var(--accent-dark); }
.card__cta-sub { font-weight: 400; font-size: 0.8rem; opacity: 0.85; }

.empty-state {
  text-align: center;
  color: var(--ink-soft);
  padding: 3rem 1rem;
  background: var(--surface);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}

/* --- How it works (slim process strip) ---------------------------------- */
.how {
  list-style: none;
  margin: clamp(0.25rem, 1.5vw, 0.75rem) 0 clamp(1.25rem, 3vw, 2rem);
  padding: clamp(1.1rem, 2.5vw, 1.6rem) clamp(1.1rem, 2.5vw, 2rem);
  display: grid;
  gap: 1rem 0;
  grid-template-columns: 1fr;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.how__step {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  position: relative;
}
.how__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: var(--accent-tint);
  color: var(--accent);
}
.how__icon svg { width: 1.3rem; height: 1.3rem; }
.how__body { display: flex; flex-direction: column; gap: 0.1rem; }
.how__label {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.how__desc { color: var(--ink-soft); font-size: 0.88rem; line-height: 1.4; }

@media (min-width: 760px) {
  .how {
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    gap: 0;
  }
  /* connector line + arrow between steps */
  .how__step + .how__step { padding-left: clamp(1rem, 3vw, 2.2rem); }
  .how__step + .how__step::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: clamp(0.6rem, 2.4vw, 1.6rem);
    height: 1px;
    background: var(--line);
    transform: translateY(-50%);
  }
}

/* --- Utilities ---------------------------------------------------------- */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* --- Footer ------------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: #d7ddd8;
  padding-block: clamp(2.5rem, 6vw, 4rem);
  margin-top: 2rem;
}
.site-footer a { color: #b9d3c8; }
.site-footer__grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  .site-footer__grid { grid-template-columns: 1fr 2fr; gap: 3rem; }
}
.brand--footer .brand__name { color: var(--canvas); }
.brand--footer { color: var(--canvas); }
.site-footer__note { margin-top: 0.8rem; color: #a8b3ad; font-size: 0.92rem; max-width: 30ch; }
.site-footer__heading { font-size: 1.1rem; color: var(--canvas); margin-bottom: 0.6rem; }
.site-footer__disclosure p { color: #b6c0ba; font-size: 0.9rem; max-width: 70ch; }
.site-footer__contact { margin-top: 0.8rem !important; }
.site-footer__legal {
  margin-top: 2.2rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #8f9a93;
  font-size: 0.82rem;
}
