/* Hallmark · v2.0.0 · genre playful · theme: custom (Garden Tags) · Floor: 0 FAIL on applicable rules */
/* Garden Tags — warm editorial. One bed of stakes, planted in soil; the index lives below the surface. */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 800; font-display: swap; src: url(fonts/fraunces-normal-800.woff2) format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 500; font-display: swap; src: url(fonts/fraunces-italic-500.woff2) format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/atkinson-hyperlegible-normal-400.woff2) format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible"; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/atkinson-hyperlegible-normal-700.woff2) format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(fonts/jetbrains-mono-normal-400.woff2) format("woff2"); }

:root {
  --shadow-soft: oklch(0.3 0.05 55 / 0.28); --shadow-card: oklch(0.3 0.05 55 / 0.25); --line-on-soil: oklch(1 0 0 / 0.14);
  --clay: oklch(0.945 0.024 66);
  --clay-2: oklch(0.905 0.032 62);
  --paper: oklch(0.985 0.008 78);
  --ink: oklch(0.23 0.03 55);
  --ink-2: oklch(0.42 0.03 55);
  --ink-3: oklch(0.5 0.03 55);
  --line: oklch(0.23 0.03 55 / 0.1);
  --soil: oklch(0.265 0.04 50);
  --soil-2: oklch(0.32 0.045 50);
  --on-soil: oklch(0.955 0.015 75);
  --on-soil-2: oklch(0.8 0.025 70);
  --leaf: oklch(0.46 0.12 145);
  --leaf-soft: oklch(0.9 0.05 140);
  --sprout: oklch(0.82 0.17 135);
  --stick: oklch(0.99 0.004 90);
  --art: oklch(0.21 0.012 60);

  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --body: "Atkinson Hyperlegible", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;

  --out: cubic-bezier(0.16, 1, 0.3, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --gut: clamp(18px, 4.4vw, 64px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0; background: var(--clay); color: var(--ink);
  font: 400 clamp(1rem, 0.5vw + 0.88rem, 1.15rem)/1.55 var(--body); letter-spacing: -0.005em;
  overflow-x: clip; -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--leaf); outline-offset: 3px; border-radius: 4px; }
.dl-sec :focus-visible { outline-color: var(--sprout); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 8px; text-decoration: none; transition: top 0.2s var(--out); }
.skip:focus { top: 12px; }

h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; text-wrap: balance; }
h2 { font-size: clamp(2.5rem, 6.4vw, 6rem); line-height: 0.93; letter-spacing: -0.035em; }
em { font-style: italic; font-weight: 500; }
.eyebrow, .mono { font: 600 clamp(0.9rem, 0.4vw + 0.8rem, 1rem)/1.35 var(--mono); letter-spacing: 0.01em; text-transform: none; }
.eyebrow { color: var(--ink-2); display: flex; align-items: center; gap: 0.7em; }
.eyebrow::before { content: ""; width: 2.2em; height: 2px; background: currentColor; opacity: 0.5; }
.dl-sec .eyebrow { color: var(--on-soil-2); }

/* ── sticks (vector outlines; fills come from the page, so dark mode of sticks is a one-line change) ── */
.sk { width: calc(var(--w) * var(--k)); height: calc(var(--h) * var(--k)); overflow: visible; }
.sk-w { fill: var(--stick); stroke: var(--shadow-soft); stroke-width: 0.3; stroke-linejoin: round; }
.sk-b { fill: var(--art); }

/* ── nav ── */
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px var(--gut); position: relative; z-index: 5; }
.mark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 800 1.25rem/1 var(--display); letter-spacing: -0.03em; }
.mark svg { width: 26px; height: 26px; }
.nav ul { display: flex; gap: clamp(14px, 2.4vw, 34px); list-style: none; margin: 0; padding: 0; }
.nav ul a { text-decoration: none; padding: 6px 2px; background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size 0.35s var(--out); }
.nav ul a:hover, .nav ul a:focus-visible { background-size: 100% 2px; }
@media (max-width: 760px) { .nav ul li:nth-child(-n+2) { display: none; } }

/* ── hero ── */
.hero { position: relative; padding-top: 4px; }
.hero-top { display: grid; gap: 22px clamp(24px, 5vw, 80px); padding: clamp(8px, 2vw, 28px) var(--gut) 0; grid-template-columns: minmax(0, 1fr); align-items: end; }
@media (min-width: 900px) { .hero-top { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); } }
h1 { font-size: clamp(4.4rem, 15.5vw, 15rem); line-height: 0.82; letter-spacing: -0.045em; margin-left: -0.04em; }
h1 em { color: var(--leaf); letter-spacing: -0.03em; display: inline-block; }
.hero-copy { display: grid; gap: 20px; max-width: 34rem; padding-bottom: 0.4em; }
.lede { font-size: clamp(1.1rem, 0.9vw + 0.9rem, 1.4rem); line-height: 1.42; color: var(--ink-2); text-wrap: pretty; }
.lede b { color: var(--ink); font-weight: 700; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; }
.btn { display: inline-flex; align-items: center; gap: 0.6em; padding: 0.85em 1.35em; border-radius: 999px; text-decoration: none; font-weight: 700; border: 2px solid var(--ink); transition: transform 0.35s var(--spring), background 0.25s, color 0.25s; }
.btn:hover { transform: translateY(-2px) rotate(-1deg); }
.btn.fill { background: var(--ink); color: var(--paper); }
.btn.fill:hover { background: var(--leaf); border-color: var(--leaf); }
.btn.ghost:hover { background: var(--ink); color: var(--paper); }
.btn svg { width: 1em; height: 1em; }
.stats { display: flex; flex-wrap: wrap; gap: 6px 22px; list-style: none; margin: 0; padding: 14px 0 0; border-top: 1px solid var(--line); }
.stats li { display: flex; align-items: baseline; gap: 7px; color: var(--ink-2); }
.stats b { font: 700 1.55rem/1 var(--body); color: var(--ink); letter-spacing: -0.02em; text-transform: none; font-variant-numeric: tabular-nums; }

.bed-wrap { position: relative; margin-top: clamp(20px, 3vw, 44px); --k: min(2.6px, calc((100vw - 2 * var(--gut)) / 455)); }
.bed { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: calc(var(--k) * 12) calc(var(--k) * 12); max-width: calc(var(--k) * 455); padding: 0; margin: 0 auto calc(var(--k) * 14); position: relative; z-index: 1; list-style: none; }
.row { display: contents; list-style: none; margin: 0; padding: 0; }
.stk { position: relative; flex: none; width: calc(var(--h) * var(--k)); height: calc(var(--w) * var(--k)); transform-origin: 50% 50%; transform: rotate(var(--lean, 0deg)); will-change: transform; }
.stk .grow { position: absolute; left: 50%; top: 50%; width: calc(var(--w) * var(--k)); margin: calc(var(--h) * var(--k) / -2) 0 0 calc(var(--w) * var(--k) / -2); }
[id^="t-"] { scroll-margin-top: clamp(84px, 14vh, 130px); }
.stk::after { content: ""; position: absolute; left: 50%; bottom: calc(var(--k) * -12); width: calc(var(--h) * var(--k) * 1.3); height: calc(var(--k) * 9); translate: -50% 0; border-radius: 50%; background: var(--soil); z-index: 2; pointer-events: none; }
.stk a { display: block; border-radius: 6px; }
.stk .grow { display: block; animation: plant 2.1s cubic-bezier(0.5, 0, 0.8, 0.5) both, sway 7s ease-in-out infinite; animation-delay: calc(0.2s + var(--i) * 100ms), calc(2.6s + var(--i) * 140ms); }
.stk svg { filter: drop-shadow(0 calc(var(--k) * 3) calc(var(--k) * 3) var(--shadow-soft)); transition: transform 0.4s var(--spring); }
.stk a:hover svg, .stk a:focus-visible svg { transform: translateY(calc(var(--k) * -7)) scale(1.05); }
@keyframes plant { from { transform: translateY(calc(var(--k) * -160)) rotate(90deg); opacity: 0; } 30% { opacity: 1; transform: translateY(calc(var(--k) * -18)) rotate(90deg); } 66% { transform: translateY(calc(var(--k) * 18)) rotate(90deg); } 84% { transform: translateY(calc(var(--k) * 10)) rotate(90deg); } 100% { transform: translateY(calc(var(--k) * 12)) rotate(90deg); } }
@keyframes sway { 0%, 100% { rotate: -0.5deg; } 50% { rotate: 0.5deg; } }
@media (max-width: 720px) { .bed-wrap { --k: min(2.6px, calc((100vw - 2 * var(--gut)) / 150)); } .bed { max-width: calc(var(--k) * 150); } }

.ground { position: relative; z-index: 2; color: var(--on-soil); }
.ground-edge { display: block; width: 100%; height: clamp(26px, 4vw, 54px); margin-bottom: -1px; color: var(--soil); }
.ground-body { background: var(--soil); padding: 0 var(--gut) clamp(34px, 6vw, 80px); }
.ground-note { display: flex; justify-content: space-between; align-items: center; gap: 16px; color: var(--on-soil-2); border-top: 1px dashed var(--line-on-soil); padding-top: 16px; }
.ground-note a { text-decoration: none; display: inline-flex; gap: 0.6em; align-items: center; }
.ground-note a:hover { color: var(--sprout); }
.arrow-down { animation: bob 2.4s var(--out) infinite; }
@keyframes bob { 50% { transform: translateY(4px); } }

.sec-head { display: grid; gap: 18px; margin-bottom: clamp(32px, 5vw, 72px); max-width: 60rem; }
.sec-head p:not(.eyebrow) { font-size: clamp(1.05rem, 0.8vw + 0.9rem, 1.35rem); color: var(--on-soil-2); max-width: 40rem; text-wrap: pretty; }
@media (max-width: 520px) { .ground-note span { display: none; } .ground-note { justify-content: flex-end; } }

/* ── catalogue: one grid per set ── */
.cat-sec { padding: clamp(56px, 8vw, 120px) var(--gut) clamp(40px, 6vw, 90px); }
.cat-sec.alt { background: var(--clay-2); }
.cat-head { display: grid; gap: 14px; margin-bottom: clamp(26px, 4vw, 52px); }
.cat-head p:not(.eyebrow) { color: var(--ink-2); max-width: 36rem; text-wrap: pretty; }
.cat-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(12px, 1.8vw, 24px); grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.card { --k: 2px; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 18px 14px 16px; display: grid; justify-items: center; gap: 4px; text-align: center; scroll-margin-top: 24px; }
.card:target { outline: 3px solid var(--leaf); outline-offset: 3px; }
.card .art { display: grid; place-items: center; min-height: calc(var(--k) * 48); }
.card .sk { filter: drop-shadow(0 3px 4px var(--shadow-card)); }
.card .cn { color: var(--ink-2); margin-top: 8px; }
.card h3 { font-size: clamp(1.15rem, 1vw + 0.8rem, 1.5rem); line-height: 1.05; letter-spacing: -0.02em; }

/* ── pricing ── */
.price-sec { padding: clamp(56px, 8vw, 120px) var(--gut) clamp(56px, 8vw, 120px); }
.cat-head p.draft { display: inline-block; justify-self: start; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 999px; }
.price-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(14px, 2vw, 28px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.pc { background: var(--paper); border: 1px solid var(--line); border-radius: 28px; padding: clamp(22px, 2.6vw, 36px); display: grid; gap: 12px; align-content: start; }
.pc.best { background: var(--soil); color: var(--on-soil); border-color: var(--soil); }
.pc h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); letter-spacing: -0.03em; line-height: 1; }
.amt { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; }
.amt b { font: 800 clamp(2.8rem, 5vw, 4.4rem)/1 var(--display); letter-spacing: -0.04em; }
.amt span { color: var(--ink-2); }
.pc.best .amt span, .pc.best .ship { color: var(--on-soil-2); }
.ship { color: var(--leaf); }

/* ── render, full bleed ── */
.render { margin: 0; position: relative; background: var(--clay-2); padding: clamp(24px, 3vw, 40px) var(--gut) clamp(20px, 2.4vw, 32px); }
.render img { display: block; width: 100%; height: auto; object-fit: contain; transform: none; }

.render figcaption { display: inline-block; margin-top: 18px; background: var(--paper); padding: 8px 14px; border-radius: 999px; color: var(--ink-2); }

/* ── shop ── */
.dl-sec { background: var(--soil); color: var(--on-soil); padding: clamp(64px, 9vw, 130px) var(--gut) clamp(28px, 3.5vw, 48px); }

footer { background: var(--soil); color: var(--on-soil-2); padding: 0 var(--gut) 32px; }
footer .in { border-top: 1px solid var(--line-on-soil); padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
footer a { color: var(--on-soil); }
footer a:hover { color: var(--sprout); }

/* reveal (only when JS is present, so the page is complete without it) */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--out), transform 0.8s var(--out); transition-delay: calc(var(--d, 0) * 70ms); }
.js .rv.in { opacity: 1; transform: none; }

/* 404 */
.nf { min-height: 100svh; display: grid; align-content: center; justify-items: start; gap: 22px; padding: var(--gut); }
.nf h1 { font-size: clamp(3.4rem, 12vw, 10rem); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .js .rv { opacity: 1; transform: none; }
  .render img { transform: none; }
}

html { overflow-x: clip; }

/* hover and keyboard states for the cards, price boxes and text links */
.card, .pc { transition: transform 0.35s var(--out), box-shadow 0.35s var(--out), border-color 0.35s var(--out); }
.card:hover, .card:focus-within, .pc:hover, .pc:focus-within { transform: translateY(-4px); box-shadow: 0 16px 28px -20px oklch(0.2 0.05 50 / 0.5); border-color: var(--leaf); }
main a:not(.btn):hover { text-decoration: underline; text-underline-offset: 3px; }

/* hero price link: the shortest route from the top to the prices */
.stats .from a { display: inline-flex; align-items: baseline; gap: 7px; color: var(--ink-2); text-decoration: none; position: relative; z-index: 3; }
.stats .from b { color: var(--leaf); }
.stats .from svg { width: 0.9em; height: 0.9em; align-self: center; transition: transform 0.3s var(--out); }
.stats .from a:hover { color: var(--ink); }
.stats .from a:hover svg, .stats .from a:focus-visible svg { transform: translateX(3px); }

/* how ordering works, in the shop section */
.steps { margin: 0; padding: 0 0 0 1.4em; display: grid; gap: 10px; max-width: 40rem; color: var(--on-soil-2); font-size: clamp(1rem, 0.5vw + 0.9rem, 1.15rem); }
.steps li::marker { color: var(--sprout); font: 600 0.95em var(--mono); }

/* small text links get a 44px tall hit area without changing how they look */
.mark, .nav ul a, .ground-note a, footer a, .stats .from a { position: relative; }
.mark::after, .nav ul a::after, .ground-note a::after, footer a::after, .stats .from a::after { content: ""; position: absolute; left: -6px; right: -6px; top: 50%; height: max(100%, 44px); translate: 0 -50%; }
