/* "See it in your garden": prototype styles, in The Garden Guys' look (cream, ink, gold; the logo's heavy italic). */
@import url('https://fonts.googleapis.com/css2?family=Archivo:ital,wdth,wght@0,62..125,400..900;1,62..125,400..900&display=swap');
@font-face { font-family: 'Garden Guys Display'; src: url('/sites/garden-guys/fonts/archivo-italic-latin.woff2') format('woff2'); font-weight: 900; font-style: normal; font-stretch: 64%; font-display: swap; }
@font-face { font-family: 'Garden Guys Display'; src: url('/sites/garden-guys/fonts/archivo-italic-latin.woff2') format('woff2'); font-weight: 900; font-style: italic; font-stretch: 64%; font-display: swap; }

:root {
  --bg: #fefaf1; --surface: #f6eedc; --ink: #13171a; --muted: #5f5a50; --accent: #e6a93e; --good: #2f7d4f; --bad: #c2462f;
  --r: 16px;
  --display: 'Garden Guys Display', 'Archivo', system-ui, sans-serif;
  --text: 'Archivo', system-ui, sans-serif;
  --gut: 20px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--ink); font-family: var(--text); font-size: 17px; line-height: 1.45; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
[hidden] { display: none !important; }

.dots {
  background-image: radial-gradient(circle, color-mix(in srgb, var(--ink) 12%, transparent) 1.4px, transparent 1.6px);
  background-size: 22px 22px;
}

/* type */
.kicker { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.h {
  font-family: var(--display); font-weight: 900; font-style: italic; font-stretch: 64%;
  font-size: clamp(2.5rem, 1.6rem + 3.2vw, 4.4rem); line-height: 0.88; letter-spacing: -0.01em; text-transform: uppercase;
  text-wrap: balance;
}
.h em { font-style: inherit; color: var(--accent); -webkit-text-stroke: 0.035em var(--ink); paint-order: stroke fill; }
.lede { font-size: 1.08rem; line-height: 1.4; font-weight: 500; max-width: 34ch; }
.fine { font-size: 0.82rem; color: var(--muted); line-height: 1.4; }

/* buttons: the site's gold pill with the hard shadow */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 3.6rem; padding: 0.85rem 1.6rem;
  border: 3px solid var(--ink); border-radius: 99px; background: var(--accent); color: var(--ink);
  box-shadow: 0 6px 0 var(--ink);
  font-family: var(--display); font-weight: 900; font-style: italic; font-stretch: 70%; font-size: 1.45rem; line-height: 1;
  text-decoration: none; transition: transform 0.12s, box-shadow 0.12s; user-select: none;
}
.btn:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--ink); }
.btn.wide { width: 100%; }
.btn.ghost { background: var(--bg); }
.btn.sm { min-height: 3rem; font-size: 1.15rem; padding: 0.6rem 1.1rem; box-shadow: 0 4px 0 var(--ink); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.link { font-weight: 700; text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 2px; padding: 0.6rem 0.2rem; }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  display: inline-flex; align-items: center; gap: 0.35em;
  padding: 0.55rem 1rem; border: 2.5px solid var(--ink); border-radius: 99px; background: var(--bg);
  font-weight: 700; font-size: 0.95rem; line-height: 1;
}
.chip[aria-pressed='true'] { background: var(--accent); box-shadow: 0 3px 0 var(--ink); }
.chip .spin { width: 0.9em; height: 0.9em; border: 2.5px solid var(--ink); border-right-color: transparent; border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(1turn); } }

/* the numbered stone, as in the site's steps */
.stone {
  display: inline-grid; place-items: center; flex: none;
  width: 2.2rem; height: 1.85rem; border: 3px solid var(--ink); border-radius: 6px; background: var(--accent);
  transform: skewX(-14deg); box-shadow: 0 3px 0 var(--ink);
  font-family: var(--display); font-weight: 900; font-style: italic; font-stretch: 70%; font-size: 1.05rem;
}
.stone span { transform: skewX(14deg); }

/* a framed picture */
.frame { position: relative; overflow: hidden; border: 3px solid var(--ink); border-radius: var(--r); background: var(--surface); }
.frame > img { width: 100%; height: 100%; object-fit: cover; }
.caption {
  position: absolute; left: 12px; right: 12px; bottom: 12px;
  padding: 0.7rem 0.9rem; border-radius: 10px; background: var(--ink); color: var(--bg);
  font-weight: 600; font-size: 0.98rem; line-height: 1.3;
}

/* before / after */
.ba { position: relative; aspect-ratio: 9 / 16; max-height: 78svh; margin-inline: auto; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba .after { clip-path: inset(0 0 0 var(--x, 50%)); }
.ba .line { position: absolute; top: 0; bottom: 0; left: var(--x, 50%); width: 0; border-left: 3px solid var(--bg); box-shadow: 0 0 0 1.5px var(--ink); }
.ba .knob {
  position: absolute; top: 50%; left: 0; width: 3.1rem; height: 3.1rem; transform: translate(-50%, -50%);
  display: grid; place-items: center; border: 3px solid var(--ink); border-radius: 50%; background: var(--bg);
  font-size: 1.3rem; font-weight: 800; box-shadow: 0 3px 0 var(--ink); touch-action: none;
}
.ba .tag {
  position: absolute; top: 12px; padding: 0.35rem 0.7rem; border-radius: 99px; background: var(--ink); color: var(--bg);
  font-weight: 700; font-size: 0.78rem; letter-spacing: 0.05em; text-transform: uppercase;
}
.ba .tag.l { left: 12px; } .ba .tag.r { right: 12px; background: var(--accent); color: var(--ink); border: 2px solid var(--ink); }
.ba .drag {
  position: absolute; left: var(--x, 50%); top: calc(50% + 2.4rem); transform: translateX(-50%);
  padding: 0.35rem 0.75rem; border-radius: 99px; background: var(--accent); border: 2px solid var(--ink);
  font-weight: 800; font-size: 0.85rem; white-space: nowrap; transition: opacity 0.3s;
}

/* ---- prototype controls (not part of the design) -------------------------------------------------------------- */
.proto { position: fixed; top: max(8px, env(safe-area-inset-top)); right: 8px; z-index: 100; font-family: system-ui, sans-serif; font-size: 13px; }
.proto-pill { padding: 6px 10px; border-radius: 99px; background: #2b2bd9; color: #fff; font-weight: 700; box-shadow: 0 2px 8px rgb(0 0 0 / 0.25); }
.proto-panel { position: absolute; right: 0; top: 36px; width: min(300px, calc(100vw - 16px)); padding: 12px; border-radius: 12px; background: #fff; color: #111; box-shadow: 0 8px 30px rgb(0 0 0 / 0.3); display: grid; gap: 10px; }
.proto-panel p { font-size: 12px; color: #555; line-height: 1.35; }
.proto-row { display: grid; gap: 4px; }
.proto-row b { font-size: 12px; }
.proto-seg { display: flex; border: 1.5px solid #2b2bd9; border-radius: 8px; overflow: hidden; }
.proto-seg button { flex: 1; padding: 7px 4px; font-size: 12.5px; color: #2b2bd9; }
.proto-seg button[aria-pressed='true'] { background: #2b2bd9; color: #fff; }
.proto-panel a, .proto-panel .proto-act { padding: 7px 10px; border-radius: 8px; background: #eef; color: #2b2bd9; font-weight: 600; text-decoration: none; text-align: center; }
.proto-note { position: absolute; left: 12px; bottom: 12px; right: 12px; z-index: 3; padding: 6px 10px; border-radius: 8px; background: #2b2bd9; color: #fff; font: 600 12px/1.3 system-ui, sans-serif; }
