/* GrowMesh - the store and site. Colors come from the logo (magenta, cyan, gray) plus leaf green and sand. */
:root {
  --ink: #17231d; --ink-2: #44514a; --muted: #6f7a73; --line: #e3e0d6; --line-2: #d4d0c3;
  --sand: #f7f4ec; --sand-2: #efeadc; --white: #fff;
  --leaf: #2f7a46; --leaf-2: #246139; --leaf-soft: #e6f1e8;
  --magenta: #e2187c; --cyan: #17a9cf; --gray: #6d6e71;
  --radius: 14px; --radius-sm: 9px; --wrap: 1240px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --shadow: 0 1px 2px rgba(23, 35, 29, .06), 0 8px 24px rgba(23, 35, 29, .06);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font: 16px/1.6 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--leaf-2); }
a:hover { color: var(--leaf); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(36px, 5.4vw, 64px); }
h2 { font-size: clamp(28px, 3.4vw, 42px); }
h3 { font-size: 21px; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 99; background: #fff; padding: 8px 12px; }
.eyebrow { font: 600 12.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--leaf); margin: 0 0 14px; }
.lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); max-width: 38em; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; padding: 13px 24px;
  font: 600 15px/1 var(--sans); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--leaf); color: #fff; }
.btn-primary:hover { background: var(--leaf-2); color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--sand); color: var(--ink); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* header */
.top-note { background: var(--ink); color: #dfe8e2; font-size: 13.5px; text-align: center; padding: 8px 16px; }
.top-note a { color: #fff; }
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 22px; height: 74px; }
.brand img { height: 34px; width: auto; }
.nav { display: flex; gap: 22px; margin-left: 10px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--magenta); }
.head-acts { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.icon-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; text-decoration: none; }
.icon-btn:hover { border-color: var(--ink); }
.icon-btn svg { width: 20px; height: 20px; }
.cart-count { position: absolute; top: -4px; right: -4px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--magenta);
  color: #fff; font: 700 11px/19px var(--sans); text-align: center; }
.menu-btn { display: none; }
@media (max-width: 960px) {
  .nav { display: none; position: absolute; top: 74px; left: 0; right: 0; flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 20px 16px; margin: 0; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .menu-btn { display: inline-flex; }
}

/* hero */
.hero { background: var(--sand); overflow: hidden; }
.hero .wrap { display: grid; gap: 30px; align-items: center; padding-top: 56px; padding-bottom: 56px; }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: 1.05fr 1fr; padding-top: 70px; padding-bottom: 70px; } }
.hero h1 span { color: var(--leaf); }
.hero-acts { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--ink-2); font-size: 14.5px; list-style: none; padding: 0; margin: 0; }
.hero-facts li::before { content: "✓"; color: var(--leaf); font-weight: 700; margin-right: 7px; }
.hero-art { position: relative; }
.hero-art img { border-radius: 22px; background: #fff; box-shadow: var(--shadow); width: 100%; max-height: 560px; object-fit: cover; }
.hero-art .tag { position: absolute; left: -10px; bottom: 26px; background: #fff; border-radius: 12px; padding: 12px 16px; box-shadow: var(--shadow); font-size: 14px; }
.hero-art .tag b { display: block; font-family: var(--serif); font-size: 22px; color: var(--magenta); }

/* sections */
.section { padding: clamp(56px, 7vw, 96px) 0; }
.section.sand { background: var(--sand); }
.section.ink { background: var(--ink); color: #e9efeb; }
.section.ink h2, .section.ink h3 { color: #fff; }
.section-head { max-width: 760px; margin-bottom: 36px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* scale ladder */
.scales { display: grid; gap: 20px; }
@media (min-width: 860px) { .scales { grid-template-columns: repeat(3, 1fr); } }
.scale { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; text-decoration: none; color: inherit;
  transition: box-shadow .2s, transform .2s; }
.scale:hover { box-shadow: var(--shadow); transform: translateY(-2px); color: inherit; }
.scale .pic { aspect-ratio: 4 / 3; background: var(--sand-2); overflow: hidden; }
.scale .pic img { width: 100%; height: 100%; object-fit: cover; }
.scale .body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.scale .step { font: 700 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--magenta); margin-bottom: 10px; }
.scale p { color: var(--ink-2); flex: 1; }
.scale .go { font-weight: 600; color: var(--leaf-2); }
.scale-bar { display: flex; align-items: center; gap: 10px; margin: 0 0 30px; color: var(--muted); font-size: 14px; }
.scale-bar .line { flex: 1; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--cyan), var(--leaf), var(--magenta)); }

/* steps */
.steps { display: grid; gap: 22px; counter-reset: s; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { list-style: none; background: #fff; border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); }
.steps li::before { counter-increment: s; content: counter(s); display: inline-flex; width: 38px; height: 38px; border-radius: 50%; align-items: center; justify-content: center;
  background: var(--leaf-soft); color: var(--leaf-2); font: 700 17px/1 var(--sans); margin-bottom: 14px; }
.steps p { color: var(--ink-2); margin: 0; }
ol.steps { padding: 0; margin: 0; }

/* proof */
.proof { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 760px) { .proof { grid-template-columns: repeat(4, 1fr); } }
.proof div { background: #fff; padding: 26px 22px; }
.proof b { display: block; font-family: var(--serif); font-size: 30px; line-height: 1.1; color: var(--ink); margin-bottom: 6px; }
.proof span { color: var(--muted); font-size: 14.5px; }

/* products */
.grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.card { display: flex; flex-direction: column; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); overflow: hidden; transition: box-shadow .2s; }
.card:hover { box-shadow: var(--shadow); }
.card .pic { display: block; background: var(--sand); }
.card .pic img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; padding: 10px; }
.card .pic.none { display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; color: var(--muted); font-size: 13px; }
.card .body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card h3 { font: 600 16px/1.35 var(--sans); margin: 0; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card .row { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price { font-weight: 700; font-size: 17px; }
.price s { color: var(--muted); font-weight: 400; font-size: 14px; margin-left: 6px; }
.badge { display: inline-block; font: 600 11.5px/1 var(--sans); padding: 5px 9px; border-radius: 999px; background: var(--leaf-soft); color: var(--leaf-2); }
.badge.mag { background: #fde6f1; color: #a90f5a; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.chip { border: 1px solid var(--line-2); background: #fff; border-radius: 999px; padding: 8px 15px; font: 500 14px/1 var(--sans); cursor: pointer; color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

/* mosaic */
.mosaic { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 860px) { .mosaic { grid-template-columns: repeat(4, 1fr); } }
.mosaic img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); }

/* split feature */
.split { display: grid; gap: 34px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split.flip > :first-child { order: 2; } }
.split img { border-radius: 20px; width: 100%; object-fit: cover; }
.ticks { list-style: none; padding: 0; margin: 0 0 24px; }
.ticks li { padding-left: 28px; position: relative; margin-bottom: 10px; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 14px; border-radius: 50%; background: var(--leaf-soft); border: 4px solid var(--leaf); }
.section.ink .ticks li { color: #cfdcd4; }

/* product page */
.pd { display: grid; gap: 40px; padding: 40px 0 70px; }
@media (min-width: 900px) { .pd { grid-template-columns: 1.1fr 1fr; } }
.gallery .main { background: var(--sand); border-radius: 18px; overflow: hidden; }
.gallery .main img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; padding: 16px; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.thumbs button { flex: none; width: 74px; height: 74px; border-radius: 10px; border: 2px solid transparent; background: var(--sand); padding: 4px; cursor: pointer; }
.thumbs button[aria-pressed="true"] { border-color: var(--leaf); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pd h1 { font-size: clamp(30px, 3.6vw, 44px); }
.pd .price { font-size: 26px; margin: 4px 0 20px; display: block; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 20px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 999px; }
.qty button { width: 40px; height: 44px; border: 0; background: none; font-size: 18px; cursor: pointer; }
.qty input { width: 44px; text-align: center; border: 0; font: 600 16px var(--sans); -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.buy-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 26px; }
.desc { color: var(--ink-2); border-top: 1px solid var(--line); padding-top: 20px; }
.desc ul { padding-left: 20px; }
.crumbs { font-size: 14px; color: var(--muted); padding-top: 22px; }
.crumbs a { color: var(--muted); }

/* cart drawer */
.drawer-bg { position: fixed; inset: 0; background: rgba(23,35,29,.4); z-index: 60; opacity: 0; pointer-events: none; transition: opacity .2s; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: #fff; z-index: 61; transform: translateX(100%); transition: transform .25s;
  display: flex; flex-direction: column; box-shadow: -10px 0 30px rgba(0,0,0,.08); }
.cart-open .drawer-bg { opacity: 1; pointer-events: auto; }
.cart-open .drawer { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 22px; margin: 0; }
.drawer-body { flex: 1; overflow-y: auto; padding: 10px 20px; }
.line-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: center; }
.line-item img { width: 64px; height: 64px; object-fit: contain; background: var(--sand); border-radius: 8px; }
.line-item .nm { font-weight: 600; font-size: 14.5px; line-height: 1.3; }
.line-item .op { color: var(--muted); font-size: 13px; }
.line-item .rm { background: none; border: 0; color: var(--muted); font-size: 13px; cursor: pointer; padding: 0; text-decoration: underline; }
.line-item .q { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; }
.line-item .q button { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line-2); background: #fff; cursor: pointer; }
.drawer-foot { border-top: 1px solid var(--line); padding: 18px 20px 22px; }
.drawer-foot .sum { display: flex; justify-content: space-between; font-weight: 700; font-size: 18px; margin-bottom: 6px; }
.drawer-foot .note { color: var(--muted); font-size: 13px; margin-bottom: 14px; }
.empty { color: var(--muted); padding: 30px 0; text-align: center; }

/* forms */
.form { display: grid; gap: 14px; max-width: 640px; }
.form .two { display: grid; gap: 14px; }
@media (min-width: 640px) { .form .two { grid-template-columns: 1fr 1fr; } }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
.form input, .form select, .form textarea { font: 400 15px var(--sans); padding: 12px 13px; border-radius: var(--radius-sm); border: 1px solid var(--line-2); background: #fff; color: var(--ink); }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--leaf); outline-offset: 1px; border-color: var(--leaf); }
.form .opt { color: var(--muted); font-weight: 400; }

/* page head */
.page-head { background: var(--sand); padding: 54px 0 44px; }
.page-head .lede { margin: 0; }

/* footer */
.site-footer { background: var(--ink); color: #b9c7bf; padding: 56px 0 30px; font-size: 14.5px; }
.site-footer a { color: #e9efeb; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.foot-grid { display: grid; gap: 30px; }
@media (min-width: 860px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.foot-grid h4 { color: #fff; font: 600 13px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; margin: 0 0 14px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot-logo { background: #fff; display: inline-block; padding: 8px 12px; border-radius: 10px; margin-bottom: 14px; }
.foot-logo img { height: 26px; width: auto; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 20px; color: #93a49a; font-size: 13.5px; }
.powered a { color: #fff; font-weight: 600; }
.form-msg { min-height: 20px; color: var(--leaf-2); margin: 0; font-size: 14.5px; }
.pd > * { min-width: 0; }
.code-row { display: flex; gap: 8px; margin: 4px 0 6px; }
.code-row input { flex: 1; min-width: 0; font: 500 14px var(--sans); padding: 9px 12px; border-radius: 999px; border: 1px solid var(--line-2); text-transform: uppercase; }
