/* feldspire - The Workbench
   Surface: pale lime paper on a drifting gradient wash.
   Ink stays graphite-green, one grass accent, one zest highlight.
   Panels float on frosted glass; rules are kept only where they carry meaning. */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600&family=IBM+Plex+Sans:wght@400;500;600&display=swap');

:root {
  --paper: #f4faea;
  --paper-raised: rgba(255, 255, 255, 0.66);
  --paper-solid: #fbfdf5;
  --paper-deep: #e6f0d4;
  --ink: #131a0e;
  --ink-soft: #3d4a33;
  --muted: #66735a;
  --hairline: #c3d3ad;
  --hairline-soft: #d9e5c7;
  --dye: #2f7a12;
  --dye-deep: #1f5a08;
  --zest: #a3e635;
  --zest-soft: #d9f99d;
  --mint: #6ee7b7;
  --dye-wash: #eaf7d6;

  --grad-accent: linear-gradient(112deg, var(--dye-deep) 0%, var(--dye) 45%, #6ba81f 100%);
  --grad-zest: linear-gradient(112deg, var(--zest) 0%, var(--mint) 100%);
  --glass-line: 1px solid rgba(47, 122, 18, 0.16);
  --lift: 0 1px 2px rgba(24, 46, 10, 0.05), 0 14px 34px -20px rgba(24, 46, 10, 0.32);
  --lift-hi: 0 2px 4px rgba(24, 46, 10, 0.06), 0 26px 54px -22px rgba(24, 46, 10, 0.4);

  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --pad: clamp(18px, 5.5vw, 92px);
  --stack-s: clamp(28px, 5vw, 48px);
  --stack-m: clamp(48px, 8vw, 92px);
  --stack-l: clamp(72px, 12vw, 152px);

  --r-s: 10px;
  --r-m: 18px;
  --r-l: 26px;

  --t-micro: 11px;
  --t-small: clamp(13px, 0.4vw + 12px, 14px);
  --t-body: clamp(16px, 0.45vw + 15px, 18px);
  --t-lead: clamp(19px, 1.1vw + 16px, 27px);
  --t-h2: clamp(27px, 3vw + 16px, 52px);
  --t-h3: clamp(21px, 1.3vw + 17px, 29px);
  --t-credit: clamp(28px, 4.6vw + 12px, 74px);
  --t-hero: clamp(38px, 8.2vw + 6px, 128px);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  position: relative;
  background: linear-gradient(178deg, #f0f9df 0%, #f6fbee 38%, #eef7e0 72%, #f4faea 100%);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--t-body);
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
}

/* the wash: three slow lime/mint blooms behind everything, fixed to the viewport */
body::before {
  content: "";
  position: fixed;
  inset: -18vh -12vw;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(58vw 46vw at 8% -6%, rgba(163, 230, 53, 0.5), transparent 62%),
    radial-gradient(48vw 40vw at 96% 6%, rgba(110, 231, 183, 0.38), transparent 60%),
    radial-gradient(52vw 52vw at 76% 92%, rgba(190, 242, 100, 0.42), transparent 66%),
    radial-gradient(40vw 34vw at 24% 62%, rgba(217, 249, 157, 0.45), transparent 64%);
  animation: drift 34s ease-in-out infinite alternate;
}
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-2.5%, 2%, 0) scale(1.08); }
}

/* paper tooth: a whisper of grain so the gradient never bands */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.16'/%3E%3C/svg%3E");
}

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

::selection { background: var(--zest); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--dye);
  outline-offset: 3px;
  border-radius: 3px;
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 60;
  background: var(--ink); color: var(--zest-soft);
  padding: 10px 16px; font-family: var(--mono); font-size: var(--t-small);
  border-radius: var(--r-s);
}
.skip:focus { left: 8px; top: 8px; }

/* scroll progress, drawn by bench.js */
.progress {
  position: fixed; inset: 0 auto auto 0; z-index: 60;
  height: 3px; width: 100%;
  transform: scaleX(0); transform-origin: 0 50%;
  background: var(--grad-zest);
  pointer-events: none;
}

/* --- pegboard: the workbench surface --------------------------------- */
/* the dots live on their own layer so the fade never touches the content */
.pegboard { position: relative; }
.pegboard::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(47, 122, 18, 0.18) 1px, transparent 1.3px);
  background-size: 22px 22px;
  background-position: 0 6px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 46%, transparent 92%);
  mask-image: linear-gradient(180deg, #000 0%, #000 46%, transparent 92%);
}

/* --- shared type ------------------------------------------------------ */
.eyebrow {
  font-family: var(--mono);
  font-size: var(--t-micro);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dye-deep);
  margin: 0 0 14px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 13px 5px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.6);
  border: var(--glass-line);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--grad-zest); flex: none;
  box-shadow: 0 0 0 3px rgba(163, 230, 53, 0.28);
}
.eyebrow b { color: var(--dye); font-weight: 600; }

h1, h2, h3 { font-family: var(--mono); font-weight: 500; letter-spacing: -0.035em; line-height: 1.08; margin: 0; }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); letter-spacing: -0.025em; }

p { margin: 0 0 1em; }
.measure { max-width: 64ch; }
.measure-tight { max-width: 52ch; }
.lead { font-size: var(--t-lead); line-height: 1.42; letter-spacing: -0.015em; color: var(--ink-soft); }
.small { font-size: var(--t-small); color: var(--muted); line-height: 1.55; }
.mono { font-family: var(--mono); }

/* tool tag - a label hung on the pegboard */
.tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: var(--t-micro);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  border: 1px solid rgba(19, 26, 14, 0.22);
  border-radius: 100px;
  padding: 4px 12px 3px;
  background: rgba(255, 255, 255, 0.66);
  white-space: nowrap;
}
.tag--dye { border-color: rgba(47, 122, 18, 0.45); color: var(--dye-deep); background: var(--dye-wash); }
.tag--open { border-style: dashed; border-color: var(--hairline); color: var(--muted); background: transparent; }

/* text link, underline that grows from the left on hover */
.tlink {
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
  background-image: linear-gradient(var(--hairline), var(--hairline)), var(--grad-accent);
  background-size: 100% 1px, 0% 2px;
  background-position: 0 100%, 0 100%;
  background-repeat: no-repeat;
  transition: background-size .32s cubic-bezier(.4, 0, .2, 1), color .2s;
}
.tlink:hover { color: var(--dye-deep); background-size: 100% 1px, 100% 2px; }

/* the fill sweeps in from the left instead of a flat colour swap */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: var(--t-small); letter-spacing: 0.02em;
  text-decoration: none;
  border: 1px solid var(--ink);
  color: var(--zest-soft);
  padding: 13px 20px;
  border-radius: 100px;
  background-color: var(--ink);
  background-image: var(--grad-accent);
  background-repeat: no-repeat;
  background-size: 0% 100%;
  background-position: 0 0;
  transition: background-size .36s cubic-bezier(.4, 0, .2, 1), transform .2s cubic-bezier(.4, 0, .2, 1), box-shadow .2s, color .2s, border-color .2s;
}
.btn:hover { background-size: 100% 100%; transform: translateY(-2px); box-shadow: var(--lift); color: #fff; border-color: var(--dye-deep); }
.btn:active { transform: translateY(0); }
.btn--ghost { background-color: rgba(255, 255, 255, 0.5); color: var(--ink); border-color: rgba(19, 26, 14, 0.3); }
.btn--ghost:hover { color: #fff; }

/* --- header ----------------------------------------------------------- */
.masthead {
  position: sticky; top: 0; z-index: 40;
  background: rgba(246, 251, 236, 0.78);
  -webkit-backdrop-filter: blur(14px) saturate(1.35);
  backdrop-filter: blur(14px) saturate(1.35);
  border-bottom: 1px solid rgba(47, 122, 18, 0.18);
  padding-inline: var(--pad);
}
.masthead__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 62px; }
.wordmark { display: flex; align-items: baseline; gap: 9px; text-decoration: none; font-family: var(--mono); }
.wordmark__name {
  font-size: 17px; font-weight: 600; letter-spacing: -0.05em;
  background: var(--grad-accent);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.wordmark__kind { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }

.nav { display: none; }
.nav a {
  position: relative;
  font-family: var(--mono); font-size: var(--t-small); text-decoration: none;
  padding: 6px 2px;
  transition: color .2s;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--grad-accent); border-radius: 2px;
  transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .28s cubic-bezier(.4, 0, .2, 1);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--dye-deep); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }

.burger {
  border: 1px solid rgba(19, 26, 14, 0.3); background: rgba(255, 255, 255, 0.5); color: var(--ink);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 9px 13px; cursor: pointer; border-radius: 100px;
  transition: background .2s, color .2s;
}
.burger:hover { background: var(--ink); color: var(--zest-soft); }
.drawer { display: none; border-top: 1px solid var(--hairline-soft); padding: 8px 0 20px; }
.drawer.is-open { display: block; }
.drawer a {
  display: block; font-family: var(--mono); font-size: 17px; text-decoration: none;
  padding: 11px 0; border-bottom: 1px solid var(--hairline-soft);
}
@media (min-width: 900px) {
  .nav { display: flex; gap: clamp(14px, 1.8vw, 30px); align-items: center; }
  .burger, .drawer { display: none !important; }
}

/* --- sections --------------------------------------------------------- */
section { padding-inline: var(--pad); }
/* the old hard rules become a hairline that fades out at both ends */
.rule-top { position: relative; }
.rule-top::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(47, 122, 18, 0.4) 18%, rgba(47, 122, 18, 0.4) 82%, transparent);
}
.rule-hair { border-top: 1px solid var(--hairline-soft); }

/* HERO: the credits screen. One name, and a great deal of nothing. */
.hero { padding-block: clamp(46px, 9vw, 108px) clamp(40px, 7vw, 86px); }
.hero__slug {
  font-family: var(--mono); font-size: var(--t-micro); letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--muted);
  display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: clamp(30px, 6vw, 70px);
}
.hero h1 {
  font-size: var(--t-hero);
  letter-spacing: -0.055em;
  line-height: 0.93;
  max-width: 15ch;
  margin-bottom: clamp(22px, 3.5vw, 40px);
}
.hero h1 em {
  font-style: normal;
  background: var(--grad-accent);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__body { display: grid; gap: clamp(24px, 4vw, 54px); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 26px; }
/* the shelf: four store screenshots hung in a row, fanned like prints on a rail */
.shelf { margin-top: clamp(34px, 5.5vw, 66px); }
.shelf__label {
  font-family: var(--mono); font-size: var(--t-micro); letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 18px;
}
.shelf__row {
  list-style: none; margin: 0; padding: 4px 0 6px;
  display: flex; gap: clamp(10px, 1.4vw, 18px);
  overflow-x: auto; scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.shelf__item { flex: 0 0 auto; scroll-snap-align: start; }
.shelf__item a {
  display: block; text-decoration: none;
  width: clamp(132px, 15vw, 190px);
  transform: rotate(var(--tilt, 0deg));
  transition: transform .38s cubic-bezier(.34, 1.4, .5, 1);
}
.shelf__item:nth-child(1) a { --tilt: -2.4deg; }
.shelf__item:nth-child(2) a { --tilt: 1.6deg; }
.shelf__item:nth-child(3) a { --tilt: -1.2deg; }
.shelf__item:nth-child(4) a { --tilt: 2.2deg; }
.shelf__item a:hover, .shelf__item a:focus-visible { transform: rotate(0deg) translateY(-8px) scale(1.03); }
.shelf__item img {
  width: 100%; height: auto; aspect-ratio: 3 / 4;
  object-fit: cover; object-position: 50% 22%;
  border-radius: var(--r-m);
  background: var(--paper-deep);
  box-shadow: 0 14px 30px -20px rgba(24, 46, 10, 0.6), 0 0 0 1px rgba(47, 122, 18, 0.16);
  transition: box-shadow .38s;
}
.shelf__item a:hover img { box-shadow: 0 24px 44px -22px rgba(24, 46, 10, 0.62), 0 0 0 1px rgba(47, 122, 18, 0.3); }
.shelf__meta {
  display: flex; align-items: baseline; gap: 7px;
  font-family: var(--mono); font-size: var(--t-micro); letter-spacing: 0.02em;
  color: var(--ink-soft); margin-top: 10px; line-height: 1.35;
}
.shelf__meta b {
  flex: none; font-weight: 600; font-size: 13px; color: var(--dye-deep);
  background: var(--zest-soft); border-radius: 100px; padding: 2px 8px 1px;
}
.shelf__note { margin: 14px 0 0; font-size: var(--t-micro); font-family: var(--mono); color: var(--muted); }
@media (min-width: 720px) {
  .shelf__row { overflow: visible; }
  .shelf__item { flex: 1 1 0; }
  .shelf__item a { width: 100%; max-width: 210px; }
}

.hero__trust {
  margin-top: clamp(30px, 5vw, 56px); padding: 16px 18px;
  border-left: 3px solid transparent;
  border-image: var(--grad-zest) 1;
  background: rgba(255, 255, 255, 0.5);
  font-family: var(--mono); font-size: var(--t-small); color: var(--ink-soft);
  max-width: 74ch;
}
@media (min-width: 940px) {
  .hero__body { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.75fr); align-items: start; }
}

/* the sample credits panel in the hero - a glass card, gently tilted */
.creditscreen {
  position: relative;
  border: var(--glass-line);
  border-radius: var(--r-l);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.82), rgba(240, 250, 224, 0.6));
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: var(--lift);
  padding: clamp(24px, 4vw, 42px) clamp(20px, 3.5vw, 38px) clamp(30px, 5vw, 52px);
  transform: rotate(-0.7deg);
  transition: transform .4s cubic-bezier(.4, 0, .2, 1), box-shadow .4s;
}
.creditscreen:hover { transform: rotate(0deg) translateY(-4px); box-shadow: var(--lift-hi); }
/* a zest wafer peeking out behind the card */
.creditscreen::before {
  content: ""; position: absolute; inset: 14px -10px -12px 18px; z-index: -1;
  border-radius: var(--r-l);
  background: var(--grad-zest);
  opacity: 0.34;
}
.creditscreen__head {
  font-family: var(--mono); font-size: var(--t-micro); letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--muted);
  padding-bottom: 12px; border-bottom: 1px solid var(--hairline-soft); margin-bottom: clamp(26px, 5vw, 48px);
}
.creditrow { margin-bottom: clamp(20px, 3.6vw, 34px); }
.creditrow__role {
  font-family: var(--mono); font-size: var(--t-micro); letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--dye); margin-bottom: 5px;
}
.creditrow__name {
  font-family: var(--mono); font-size: clamp(19px, 2vw + 12px, 32px);
  letter-spacing: -0.03em; line-height: 1.15;
}
.creditscreen__foot {
  font-family: var(--mono); font-size: var(--t-micro); color: var(--muted);
  border-top: 1px dashed var(--hairline); padding-top: 12px; margin-top: clamp(24px, 4vw, 44px);
}

/* BENCH KEEPER: editor legend, offset two-column, narrow measure */
.keeper { padding-block: var(--stack-m); }
.keeper__grid { display: grid; gap: clamp(22px, 4vw, 46px); }
.keeper__id {
  position: relative;
  padding: 4px 0 4px 20px;
  font-family: var(--mono); font-size: var(--t-small); line-height: 1.7;
}
.keeper__id::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  border-radius: 3px; background: var(--grad-accent);
}
.keeper__id dt { color: var(--muted); font-size: var(--t-micro); letter-spacing: 0.14em; text-transform: uppercase; }
.keeper__id dd { margin: 0 0 14px; }
.keeper__id dd:last-child { margin-bottom: 0; }
@media (min-width: 860px) {
  .keeper__grid { grid-template-columns: minmax(0, 0.32fr) minmax(0, 0.68fr); gap: clamp(40px, 6vw, 96px); }
}

/* COUNTING: method, dense numbered list */
.counting { padding-block: var(--stack-m); }
.sources { list-style: none; margin: clamp(26px, 4vw, 44px) 0 0; padding: 0; display: grid; gap: 8px; }
.sources li {
  display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 14px;
  padding: 16px 18px;
  border-radius: var(--r-m);
  border: 1px solid transparent;
  font-size: var(--t-small); line-height: 1.6;
  transition: background .24s, border-color .24s, transform .24s;
}
.sources li:hover { background: rgba(255, 255, 255, 0.62); border-color: rgba(47, 122, 18, 0.18); transform: translateX(4px); }
.sources b {
  font-family: var(--mono); font-weight: 600; font-size: var(--t-micro); letter-spacing: 0.06em;
  color: var(--dye-deep); background: var(--zest-soft);
  border-radius: 100px; padding: 4px 0; text-align: center;
  align-self: start; height: fit-content;
}
.sources strong { font-weight: 600; }
.limit {
  margin-top: clamp(26px, 4vw, 42px);
  border: 1px dashed rgba(47, 122, 18, 0.35);
  border-radius: var(--r-m);
  padding: clamp(18px, 3vw, 26px);
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.7), rgba(217, 249, 157, 0.34));
}
.limit p:last-child { margin-bottom: 0; }

/* BUILDS: each build is a floating panel, arranged differently on purpose */
.builds { padding-block: var(--stack-m) 0; }
.build {
  position: relative;
  padding: clamp(26px, 4vw, 44px) clamp(20px, 3vw, 40px);
  margin-bottom: clamp(22px, 3.5vw, 36px);
  border-radius: var(--r-l);
  border: var(--glass-line);
  background: linear-gradient(158deg, rgba(255, 255, 255, 0.74), rgba(244, 251, 232, 0.52));
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: var(--lift);
  transition: box-shadow .35s, transform .35s cubic-bezier(.4, 0, .2, 1);
}
.build:hover { box-shadow: var(--lift-hi); transform: translateY(-3px); }
/* a lime edge lights up along the top of the panel on hover */
.build::after {
  content: ""; position: absolute; left: clamp(20px, 3vw, 40px); right: clamp(20px, 3vw, 40px); top: 0; height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--grad-zest);
  transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .45s cubic-bezier(.4, 0, .2, 1);
}
.build:hover::after { transform: scaleX(1); }
.build__no {
  display: inline-block;
  font-family: var(--mono); font-size: var(--t-micro); letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--dye-deep);
  background: var(--zest-soft);
  border-radius: 100px; padding: 5px 12px 4px;
  margin-bottom: 16px;
}
.build__title { margin-bottom: 6px; }
.build__studio { font-family: var(--mono); font-size: var(--t-small); color: var(--muted); margin-bottom: 20px; }
.build__hook { font-size: var(--t-lead); line-height: 1.4; letter-spacing: -0.015em; max-width: 40ch; margin-bottom: clamp(24px, 4vw, 38px); }

/* the hands answer - loudest element of the card */
.hands { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; margin-bottom: 10px; }
.hands__n {
  font-family: var(--mono); font-size: var(--t-credit); font-weight: 600;
  letter-spacing: -0.06em; line-height: 0.85;
  background: var(--grad-accent);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hands__to {
  font-size: 0.34em; letter-spacing: 0.02em; color: var(--muted);
  padding: 0 0.22em; vertical-align: 0.42em;
  -webkit-text-fill-color: var(--muted);
}
.hands__unit { font-family: var(--mono); font-size: var(--t-small); color: var(--muted); line-height: 1.4; }
.hands__proof { font-size: var(--t-small); line-height: 1.6; max-width: 48ch; margin-bottom: clamp(24px, 4vw, 36px); color: var(--ink-soft); }
.hands__proof b { font-weight: 600; color: var(--ink); }

.build__layout { display: grid; gap: clamp(26px, 4vw, 48px); }
@media (min-width: 900px) {
  .build__layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
  .build--flip .build__shot { order: -1; }
  .build--wide .build__layout { grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr); }
}
/* store screenshots are 405px wide portrait: never upscale them into a soft slab */
.build__shot figure { margin: 0; max-width: 405px; }
.build__shot img {
  border-radius: var(--r-m);
  width: 100%; height: auto;
  background: var(--paper-deep);
  box-shadow: 0 18px 40px -24px rgba(24, 46, 10, 0.55), 0 0 0 1px rgba(47, 122, 18, 0.14);
  transition: transform .4s cubic-bezier(.4, 0, .2, 1), box-shadow .4s;
}
.build__shot img:hover { transform: translateY(-5px) rotate(0.6deg); box-shadow: 0 30px 56px -26px rgba(24, 46, 10, 0.6), 0 0 0 1px rgba(47, 122, 18, 0.22); }
.build__shot figcaption { font-family: var(--mono); font-size: var(--t-micro); color: var(--muted); margin-top: 11px; line-height: 1.5; }
.build__shot--narrow { max-width: 300px; }

/* per-build credits block: the one-screen proof */
.credits {
  border-radius: var(--r-m);
  background: linear-gradient(150deg, rgba(217, 249, 157, 0.42), rgba(110, 231, 183, 0.18));
  border: 1px solid rgba(47, 122, 18, 0.16);
  padding: clamp(18px, 2.6vw, 26px) clamp(18px, 2.6vw, 26px);
  margin-bottom: clamp(22px, 3.5vw, 34px);
}
.credits__label { font-family: var(--mono); font-size: var(--t-micro); letter-spacing: 0.16em; text-transform: uppercase; color: var(--dye-deep); margin-bottom: 14px; }
.credits__list { list-style: none; margin: 0; padding: 0; }
.credits__list li { font-family: var(--mono); font-size: clamp(17px, 1.4vw + 12px, 24px); letter-spacing: -0.03em; line-height: 1.3; }
.credits__list span { display: block; font-size: var(--t-micro); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.credits__list li + li { margin-top: 14px; }

.spec { width: 100%; border-collapse: collapse; font-size: var(--t-small); margin-bottom: clamp(22px, 3.5vw, 32px); }
.spec th, .spec td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--hairline-soft); vertical-align: top; }
.spec tr { transition: background .2s; }
.spec tbody tr:hover { background: rgba(217, 249, 157, 0.32); }
.spec th { font-family: var(--mono); font-weight: 400; font-size: var(--t-micro); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); width: 42%; padding-right: 14px; }
.spec td { font-family: var(--mono); }

.caveat {
  position: relative;
  border-radius: var(--r-s);
  background: rgba(255, 255, 255, 0.5);
  padding: 14px 16px 14px 18px;
  font-size: var(--t-small); line-height: 1.62; margin-bottom: clamp(22px, 3vw, 30px);
  max-width: 58ch;
}
.caveat::before {
  content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px;
  border-radius: 3px; background: var(--ink);
}
.caveat__label { font-family: var(--mono); font-weight: 600; font-size: var(--t-micro); letter-spacing: 0.12em; text-transform: uppercase; display: block; margin-bottom: 5px; color: var(--dye-deep); }

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

/* CREDITS BOARD: dataviz */
.board { padding-block: var(--stack-m); }
.board__scroll { overflow-x: auto; margin-top: clamp(28px, 4vw, 46px); }
.board__inner { min-width: 620px; }
.board__row {
  display: grid; grid-template-columns: 200px 118px minmax(0, 1fr) 96px;
  gap: 14px; align-items: center;
  padding: 15px 12px; border-radius: var(--r-s);
  border-top: 1px solid var(--hairline-soft);
  transition: background .2s;
}
.board__row:not(.board__row--head):hover { background: rgba(255, 255, 255, 0.62); }
.board__row--head {
  border-top: none; border-bottom: 1px solid rgba(47, 122, 18, 0.3); padding: 10px 12px;
  background: rgba(217, 249, 157, 0.3);
}
.board__row--head span { font-family: var(--mono); font-size: var(--t-micro); letter-spacing: 0.13em; text-transform: uppercase; color: var(--dye-deep); }
.board__game { font-family: var(--mono); font-size: var(--t-small); letter-spacing: -0.02em; }
.pips { display: flex; gap: 5px; align-items: center; }
.pip { width: 13px; height: 13px; border-radius: 3px; background: var(--grad-accent); }
.pip--maybe { background: transparent; border: 1px dashed var(--dye); }
.pips em { font-style: normal; font-family: var(--mono); font-size: var(--t-micro); color: var(--muted); margin-left: 5px; }
.bar { display: flex; align-items: center; gap: 10px; }
.bar__fill {
  height: 11px; border-radius: 100px;
  background: var(--grad-accent);
  transform-origin: 0 50%;
  transition: transform 1s cubic-bezier(.2, .7, .2, 1);
}
.bar__gap { height: 11px; flex: 1; border: 1px dashed var(--hairline); border-radius: 100px; }
.bar em { font-style: normal; font-family: var(--mono); font-size: var(--t-micro); color: var(--muted); white-space: nowrap; }
.board__apps { font-family: var(--mono); font-size: var(--t-small); text-align: right; }
.board__note { margin-top: 20px; }

/* BENCH PICK: single wide statement, no image, tighter measure */
.pick {
  position: relative;
  padding-block: var(--stack-m);
  overflow: hidden;
}
.pick::before {
  content: ""; position: absolute; inset: 0 calc(var(--pad) * -1); z-index: -1;
  background:
    radial-gradient(60% 120% at 12% 0%, rgba(163, 230, 53, 0.42), transparent 60%),
    radial-gradient(50% 100% at 88% 100%, rgba(110, 231, 183, 0.36), transparent 62%),
    rgba(255, 255, 255, 0.45);
  border-block: 1px solid rgba(47, 122, 18, 0.2);
}
.pick__name {
  font-family: var(--mono); font-size: clamp(30px, 5vw + 10px, 78px);
  letter-spacing: -0.055em; line-height: 0.95; margin: 14px 0 clamp(20px, 3vw, 32px);
  background: linear-gradient(100deg, var(--ink) 0%, var(--dye-deep) 62%, var(--dye) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* SHAVINGS: uneven note cards, masonry-ish flow */
.shavings { padding-block: var(--stack-m); }
.shavings__flow { display: grid; gap: clamp(18px, 2.6vw, 28px); margin-top: clamp(26px, 4vw, 44px); }
.shaving {
  position: relative;
  padding: 22px 20px;
  border-radius: var(--r-m);
  background: rgba(255, 255, 255, 0.56);
  border: var(--glass-line);
  transition: transform .3s cubic-bezier(.4, 0, .2, 1), box-shadow .3s;
}
.shaving::before {
  content: ""; position: absolute; left: 20px; right: 20px; top: 0; height: 3px;
  border-radius: 0 0 3px 3px; background: var(--grad-zest);
}
.shaving:hover { transform: translateY(-4px); box-shadow: var(--lift); }
.shaving h3 { font-size: var(--t-h3); margin-bottom: 10px; }
.shaving p { font-size: var(--t-small); line-height: 1.65; margin-bottom: 0; }
@media (min-width: 780px) {
  .shavings__flow { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
  .shaving:nth-child(2) { margin-top: 34px; }
  .shaving:nth-child(3) { margin-top: 14px; }
}

/* WHAT PAYS */
.pays { padding-block: var(--stack-m); }
.pays__grid { display: grid; gap: clamp(20px, 3vw, 34px); margin-top: clamp(24px, 3.5vw, 40px); }
.pays__item { position: relative; border-top: 1px solid var(--hairline); padding-top: 16px; }
.pays__item::before {
  content: ""; position: absolute; left: 0; top: -1px; width: 42px; height: 2px;
  background: var(--grad-accent);
}
.pays__item h3 { font-size: 17px; margin-bottom: 8px; letter-spacing: -0.02em; }
.pays__item p { font-size: var(--t-small); line-height: 1.62; margin-bottom: 0; color: var(--ink-soft); }
@media (min-width: 820px) { .pays__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* SIGNAL: subscribe. The one dark room in the building. */
.signal {
  position: relative;
  padding-block: var(--stack-m);
  color: #eef7e0;
  background:
    radial-gradient(70% 110% at 88% 4%, rgba(163, 230, 53, 0.22), transparent 58%),
    radial-gradient(60% 90% at 4% 96%, rgba(110, 231, 183, 0.16), transparent 60%),
    linear-gradient(160deg, #18240f 0%, #0f1809 100%);
  border-radius: var(--r-l);
  margin-inline: var(--pad);
  padding-inline: clamp(20px, 4vw, 56px);
}
.signal h2 { color: #f4faea; }
.signal .eyebrow { color: var(--zest); background: rgba(163, 230, 53, 0.1); border-color: rgba(163, 230, 53, 0.28); }
.signal .eyebrow b { color: var(--zest); }
.signal__grid { display: grid; gap: clamp(26px, 4vw, 56px); }
@media (min-width: 900px) { .signal__grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); } }
.signal p { color: #c2d1b0; }

.field { display: block; margin-bottom: 18px; }
.field span { display: block; font-family: var(--mono); font-size: var(--t-micro); letter-spacing: 0.14em; text-transform: uppercase; color: #b7c9a4; margin-bottom: 7px; }
.field input[type="text"], .field input[type="email"], .field textarea {
  width: 100%; font-family: var(--mono); font-size: 16px;
  background: rgba(255, 255, 255, 0.05); color: #f4faea;
  border: 1px solid #3c4a31; border-radius: var(--r-s); padding: 12px 13px;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus {
  border-color: var(--zest); outline: none;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(163, 230, 53, 0.18);
}
.consent { display: flex; gap: 11px; align-items: flex-start; font-size: var(--t-small); line-height: 1.55; color: #c2d1b0; margin-bottom: 20px; }
.consent input { margin-top: 4px; width: 17px; height: 17px; flex: none; accent-color: var(--zest); }
.consent a { color: #f4faea; }
.signal .btn { background-color: var(--zest); background-image: var(--grad-zest); color: #14200b; border-color: var(--zest); }
.signal .btn:hover { color: #14200b; border-color: var(--mint); }
.msg { display: none; margin-top: 16px; border: 1px solid var(--zest); border-radius: var(--r-s); padding: 13px 15px; font-family: var(--mono); font-size: var(--t-small); color: var(--zest-soft); }
.msg.is-on { display: block; }
.err { display: none; margin-top: 10px; font-family: var(--mono); font-size: var(--t-small); color: #ffb3ab; }
.err.is-on { display: block; }

/* light form variant, used on the contact page */
.form-light .field span { color: var(--muted); }
.form-light .field input[type="text"],
.form-light .field input[type="email"],
.form-light .field textarea {
  color: var(--ink); border-color: var(--hairline); background: rgba(255, 255, 255, 0.66);
}
.form-light .field textarea { min-height: 150px; resize: vertical; line-height: 1.55; }
.form-light .field input:focus, .form-light .field textarea:focus {
  border-color: var(--dye); background: #fff;
  box-shadow: 0 0 0 3px rgba(47, 122, 18, 0.14);
}
.form-light .consent { color: var(--ink-soft); }
.form-light .consent a { color: var(--ink); }
.form-light .err { color: #a11208; }
.form-light .msg { border-color: var(--dye); color: var(--dye-deep); background: var(--dye-wash); }

/* FAQ */
.faq { padding-block: var(--stack-m); }
.faq__list { margin-top: clamp(24px, 3.5vw, 40px); display: grid; gap: 8px; }
.faq details {
  border-radius: var(--r-m);
  border: 1px solid rgba(47, 122, 18, 0.16);
  background: rgba(255, 255, 255, 0.5);
  padding-inline: clamp(14px, 2vw, 22px);
  transition: background .24s, border-color .24s;
}
.faq details[open] { background: rgba(255, 255, 255, 0.75); border-color: rgba(47, 122, 18, 0.32); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 0;
  font-family: var(--mono); font-size: clamp(16px, 0.7vw + 14px, 20px); letter-spacing: -0.02em;
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--zest-soft); color: var(--dye-deep);
  display: grid; place-items: center;
  font-size: 17px; line-height: 1;
  transition: transform .28s cubic-bezier(.4, 0, .2, 1), background .24s;
}
.faq details[open] summary::after { content: "\2212"; background: var(--zest); transform: rotate(180deg); }
.faq details[open] summary { color: var(--dye-deep); }
.faq__a { padding: 0 0 20px; max-width: 68ch; font-size: var(--t-small); line-height: 1.68; }
.faq__a p:last-child { margin-bottom: 0; }

/* --- article pages ---------------------------------------------------- */
.page { padding-block: clamp(40px, 6vw, 84px) var(--stack-m); }
.page h1 { font-size: clamp(30px, 5vw + 10px, 68px); letter-spacing: -0.05em; line-height: 0.98; max-width: 18ch; margin-bottom: clamp(18px, 2.6vw, 28px); }
.page h2 { font-size: clamp(21px, 1.5vw + 16px, 31px); margin: clamp(34px, 5vw, 56px) 0 14px; }
.page h3 { font-size: clamp(17px, 0.7vw + 15px, 21px); margin: 26px 0 10px; }
.prose { max-width: 66ch; }
.prose ul { padding-left: 20px; margin: 0 0 1em; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--dye); }
.prose dt { font-family: var(--mono); font-size: var(--t-small); font-weight: 500; margin-top: 16px; }
.prose dd { margin: 4px 0 0; font-size: var(--t-small); color: var(--ink-soft); }

/* 404 */
.lost { padding-block: clamp(60px, 12vw, 150px); text-align: left; }
.lost h1 {
  font-size: clamp(40px, 9vw, 120px); letter-spacing: -0.06em; line-height: 0.92; margin-bottom: 20px;
  background: linear-gradient(100deg, var(--ink), var(--dye));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lost__links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* --- footer ----------------------------------------------------------- */
.foot {
  position: relative;
  padding: var(--stack-s) var(--pad) 34px;
  margin-top: var(--stack-m);
  background: linear-gradient(180deg, rgba(217, 249, 157, 0.28), rgba(255, 255, 255, 0.4));
  border-top: 1px solid rgba(47, 122, 18, 0.22);
}
.foot__grid { display: grid; gap: clamp(24px, 3.5vw, 44px); }
@media (min-width: 880px) { .foot__grid { grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 0.7fr)); } }
.foot h2 { font-size: 17px; letter-spacing: -0.02em; margin-bottom: 12px; }
.foot__links { list-style: none; margin: 0; padding: 0; font-family: var(--mono); font-size: var(--t-small); }
.foot__links li { margin-bottom: 9px; }
.foot__links a { text-decoration: none; border-bottom: 1px solid transparent; transition: color .18s, border-color .18s; }
.foot__links a:hover { border-color: var(--dye); color: var(--dye-deep); }
.foot__blurb { font-size: var(--t-small); line-height: 1.62; color: var(--ink-soft); max-width: 46ch; }
.disclaimer {
  margin-top: var(--stack-s); padding-top: 16px; border-top: 1px solid var(--hairline-soft);
  font-size: 12px; line-height: 1.6; color: var(--muted); max-width: 92ch;
}
.copyline { margin-top: 14px; font-family: var(--mono); font-size: var(--t-micro); color: var(--muted); }

/* --- reveal on scroll (only when JS is running) ----------------------- */
.js .reveal { opacity: 0; transform: translateY(18px); }
.js .reveal.is-in { opacity: 1; transform: none; transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-in:nth-child(2) { transition-delay: .07s; }
.js .reveal.is-in:nth-child(3) { transition-delay: .14s; }
.js .reveal.is-in:nth-child(4) { transition-delay: .21s; }
.js .bar__fill { transform: scaleX(0); }
.js .bar__fill.is-in { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; }
  .js .bar__fill { transform: scaleX(1); }
}
