:root {
  --ink: #14213D;
  --ink-soft: #3C4A6B;
  --paper: #EDEFEA;
  --paper-2: #FFFFFF;
  --brass: #C98A2E;
  --clay: #B4533C;
  --sage: #5C7A6E;
  --line: #D8D3C4;

  --display: 'Fraunces', serif;
  --body: 'Inter', sans-serif;
  --mono: 'JetBrains Mono', monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.08; margin: 0; }
p { margin: 0; line-height: 1.6; }
ul { margin: 0; padding: 0; }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 0.9rem;
  font-weight: 600;
}
.eyebrow.center { text-align: center; }
h2.center { text-align: center; margin: 0 auto 3.5rem; max-width: 32rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  border-radius: 4px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: #0E182C; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: rgba(20,33,61,0.06); }
.btn-block { width: 100%; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

/* ── Nav ───────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(237,239,234,0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1180px; margin: 0 auto;
  padding: 1rem 2rem;
  display: flex; align-items: center; justify-content: space-between;
}
.wordmark {
  font-family: var(--display); font-weight: 700; font-size: 1.3rem;
  text-decoration: none; color: var(--ink);
}
.wordmark-dot { color: var(--clay); }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a:not(.nav-cta) { text-decoration: none; font-size: 0.92rem; font-weight: 500; color: var(--ink-soft); }
.nav-links a:not(.nav-cta):hover { color: var(--ink); }
.nav-cta {
  text-decoration: none; background: var(--ink); color: var(--paper);
  padding: 0.55rem 1.1rem; border-radius: 4px; font-size: 0.88rem; font-weight: 600;
}

/* ── Hero ──────────────────────────────────────── */
.hero { padding: 5rem 2rem 6rem; }
.hero-inner {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: center;
}
.hero-copy h1 {
  font-size: clamp(2.4rem, 4.4vw, 3.6rem);
  letter-spacing: -0.01em;
  margin-bottom: 1.4rem;
}
.hero-sub { font-size: 1.08rem; color: var(--ink-soft); max-width: 36rem; margin-bottom: 2.2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-tags {
  display: flex; justify-content: center; gap: 1.4rem;
  padding-top: 1rem;
}
.tag {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  width: 9.5rem;
  padding: 1.6rem 0.9rem 1rem;
  position: relative;
  box-shadow: 0 10px 24px -8px rgba(20,33,61,0.18);
  text-align: center;
  transform-origin: top center;
  animation: sway 6s ease-in-out infinite;
}
.tag-1 { animation-delay: 0s; margin-top: 0.5rem; }
.tag-2 { animation-delay: -2s; margin-top: -1rem; }
.tag-3 { animation-delay: -4s; margin-top: 1.4rem; }
@keyframes sway {
  0%, 100% { transform: rotate(-2.5deg); }
  50% { transform: rotate(2.5deg); }
}
.tag-hole {
  width: 0.5rem; height: 0.5rem; border-radius: 50%;
  background: var(--paper); border: 1.5px solid var(--line);
  margin: 0 auto 0.9rem;
}
.tag-hole::before {
  content: ''; display: block; width: 1px; height: 1.6rem;
  background: var(--brass); margin: -1.9rem auto 0;
}
.tag-icon {
  width: 2.6rem; height: 2.6rem; margin: 0 auto 0.8rem;
  color: var(--ink-soft);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.tag-icon svg { width: 1.4rem; height: 1.4rem; }
.tag-eyebrow { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.08em; color: var(--brass); font-weight: 600; margin-bottom: 0.5rem; }
.tag-title { font-family: var(--display); font-size: 0.98rem; font-weight: 600; margin-bottom: 0.35rem; }
.tag-meta { font-size: 0.74rem; color: var(--ink-soft); }

/* ── Trust strip ──────────────────────────────── */
.strip { background: var(--ink); color: var(--paper); padding: 2.2rem 2rem; }
.strip-inner {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
}
.strip-item { font-size: 0.88rem; color: #C7CCDB; }
.strip-mark { display: block; font-family: var(--display); font-size: 1.05rem; font-weight: 600; color: #fff; margin-bottom: 0.3rem; }

/* ── Problem ──────────────────────────────────── */
.problem { padding: 6rem 2rem; }
.problem-inner {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 0.8fr; gap: 4rem; align-items: center;
}
.problem-copy h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 1.3rem; }
.problem-copy p { color: var(--ink-soft); margin-bottom: 1rem; max-width: 34rem; }
.problem-copy p:last-child { margin-bottom: 0; }
.crate-svg { color: var(--ink-soft); width: 100%; max-width: 320px; margin: 0 auto; }
.crate-label { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.1em; fill: var(--clay); }

/* ── How it works ─────────────────────────────── */
.how { padding: 6rem 2rem; background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.how-inner { max-width: 1180px; margin: 0 auto; }
.how-inner h2.center { color: var(--ink); }
.how-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.how-step { padding-top: 1.2rem; border-top: 2px solid var(--brass); }
.how-num { font-family: var(--mono); color: var(--brass); font-size: 0.85rem; font-weight: 600; margin-bottom: 0.6rem; }
.how-step h3 { font-size: 1.3rem; margin-bottom: 0.7rem; }
.how-step p { color: var(--ink-soft); font-size: 0.96rem; }

/* ── Features ─────────────────────────────────── */
.features { padding: 6rem 2rem; }
.features-inner { max-width: 1180px; margin: 0 auto; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.feature-card {
  background: var(--paper-2); border: 1px solid var(--line); border-radius: 10px;
  padding: 2rem 1.7rem;
}
.feature-tag-eyebrow { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.1em; color: var(--brass); font-weight: 600; margin-bottom: 0.9rem; }
.feature-card h3 { font-size: 1.25rem; margin-bottom: 0.8rem; }
.feature-card > p { color: var(--ink-soft); font-size: 0.94rem; margin-bottom: 1.2rem; }
.feature-list { list-style: none; }
.feature-list li {
  font-size: 0.88rem; color: var(--ink-soft); padding-left: 1.1rem; position: relative; margin-bottom: 0.5rem;
}
.feature-list li::before {
  content: ''; position: absolute; left: 0; top: 0.5rem; width: 6px; height: 6px;
  background: var(--brass); border-radius: 50%;
}
.feature-card--dark { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.feature-card--dark h3 { color: var(--paper); }
.feature-card--dark > p { color: #B9C0D4; }
.feature-card--dark .feature-list li { color: #C7CCDB; }
.feature-card--dark .feature-list li::before { background: var(--brass); }
.feature-card--dark .feature-tag-eyebrow { color: var(--brass); }

/* ── Branding ─────────────────────────────────── */
.branding { padding: 6rem 2rem; background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.branding-inner {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.branding-copy h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 1.1rem; }
.branding-copy > p { color: var(--ink-soft); max-width: 30rem; margin-bottom: 2rem; }
.branding-controls { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.swatch-label { display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.82rem; font-weight: 600; color: var(--ink-soft); }
.swatch-label input[type="color"] {
  width: 3rem; height: 2.4rem; border: 1px solid var(--line); border-radius: 6px; padding: 2px; background: var(--paper-2); cursor: pointer;
}
.swatch-label input[type="text"] {
  font-family: var(--body); font-size: 0.92rem; padding: 0.5rem 0.7rem;
  border: 1px solid var(--line); border-radius: 6px; width: 11rem;
}

.branding-preview-wrap { display: flex; justify-content: center; }
.branding-preview {
  width: 100%; max-width: 380px;
  background: var(--paper);
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 24px 50px -16px rgba(20,33,61,0.3);
  border: 1px solid var(--line);
}
.preview-header {
  background: var(--ink, #14213D);
  padding: 1.1rem 1.3rem;
  display: flex; align-items: center; gap: 0.9rem;
  transition: background 0.2s ease;
}
.preview-crest {
  width: 2.6rem; height: 2.6rem; border-radius: 7px;
  background: rgba(255,255,255,0.18);
  color: #fff; font-family: var(--display); font-weight: 700; font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
}
.preview-school { color: #fff; font-family: var(--display); font-weight: 600; font-size: 1.02rem; }
.preview-sub { color: rgba(255,255,255,0.75); font-size: 0.74rem; }
.preview-items { padding: 1.1rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: 0.7rem; }
.preview-item {
  background: var(--paper-2); border: 1px solid var(--line); border-left: 4px solid var(--brass, #C98A2E);
  border-radius: 6px; padding: 0.7rem 0.9rem; transition: border-color 0.2s ease;
}
.preview-item-title { font-weight: 600; font-size: 0.92rem; }
.preview-item-meta { font-size: 0.74rem; color: var(--ink-soft); margin-top: 0.15rem; }

/* ── Demo form ────────────────────────────────── */
.demo { padding: 6rem 2rem; }
.demo-inner {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 4rem;
}
.demo-copy h2 { font-size: clamp(1.8rem, 3vw, 2.3rem); margin-bottom: 1.1rem; }
.demo-copy p { color: var(--ink-soft); max-width: 26rem; }

.demo-form { background: var(--paper-2); border: 1px solid var(--line); border-radius: 12px; padding: 2.2rem; }
.form-row { margin-bottom: 1.2rem; display: flex; flex-direction: column; gap: 0.45rem; }
.form-row--split { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-row--split > div { display: flex; flex-direction: column; gap: 0.45rem; }
.demo-form label { font-size: 0.84rem; font-weight: 600; color: var(--ink-soft); }
.req { color: var(--clay); margin-left: 0.2rem; }
.demo-form input, .demo-form select, .demo-form textarea {
  font-family: var(--body); font-size: 0.95rem;
  padding: 0.7rem 0.85rem; border: 1px solid var(--line); border-radius: 6px;
  background: var(--paper); color: var(--ink);
}
.demo-form input:focus, .demo-form select:focus, .demo-form textarea:focus {
  outline: 2px solid var(--brass); outline-offset: 1px; border-color: var(--brass);
}
.demo-form textarea { resize: vertical; font-family: var(--body); }
.form-status { margin-top: 0.9rem; font-size: 0.88rem; min-height: 1.2em; }
.form-status.ok { color: var(--sage); font-weight: 600; }
.form-status.err { color: var(--clay); font-weight: 600; }

/* ── Footer ───────────────────────────────────── */
.footer { background: var(--ink); color: #B9C0D4; padding: 3rem 2rem 2.5rem; }
.footer-inner { max-width: 1180px; margin: 0 auto; text-align: center; }
.wordmark--footer { color: #fff; font-size: 1.15rem; }
.footer-tagline { margin: 0.6rem 0 1.4rem; font-size: 0.92rem; }
.footer-meta { font-size: 0.78rem; color: #7E88A3; }

/* ── Responsive ───────────────────────────────── */
@media (max-width: 900px) {
  .nav-links { gap: 1.1rem; }
  .nav-links a:not(.nav-cta) { display: none; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-tags { padding-top: 2.5rem; }
  .strip-inner { grid-template-columns: 1fr; gap: 1.4rem; }
  .problem-inner { grid-template-columns: 1fr; }
  .problem-visual { order: -1; }
  .how-steps { grid-template-columns: 1fr; gap: 2rem; }
  .feature-grid { grid-template-columns: 1fr; }
  .branding-inner { grid-template-columns: 1fr; }
  .demo-inner { grid-template-columns: 1fr; }
  .form-row--split { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .hero-tags { flex-direction: column; align-items: center; }
  .tag { width: 12rem; }
}
/* ── Hero note ────────────────────────────────── */
.hero-note {
  margin-top: 1.6rem;
  font-size: 0.86rem;
  color: var(--ink-soft);
  max-width: 32rem;
}
.hero-note em { color: var(--clay); font-style: italic; }

/* ── Stash ("every school has the same crate") ── */
.stash { padding: 5.5rem 2rem; background: var(--paper-2); border-top: 1px solid var(--line); }
.stash-inner { max-width: 1180px; margin: 0 auto; }
.stash-inner h2.center { margin-bottom: 0.9rem; }
.stash-sub {
  text-align: center; color: var(--ink-soft); font-size: 0.98rem;
  max-width: 32rem; margin: 0 auto 2.8rem;
}
.stash-grid {
  list-style: none;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.7rem;
  max-width: 58rem; margin: 0 auto;
}
.stash-chip {
  display: inline-flex; align-items: center; gap: 0.55rem;
  background: var(--paper);
  border: 1px dashed var(--line);
  border-radius: 999px;
  padding: 0.55rem 1rem 0.55rem 0.7rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
  transition: transform 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.stash-chip:hover {
  transform: rotate(-1.2deg) translateY(-2px);
  border-color: var(--brass);
  border-style: solid;
  color: var(--ink);
}
.stash-chip:nth-child(even):hover { transform: rotate(1.2deg) translateY(-2px); }
.stash-count {
  font-family: var(--mono); font-size: 0.72rem; font-weight: 600;
  color: var(--clay);
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.2rem 0.45rem;
}
.stash-foot {
  text-align: center; margin: 2.8rem auto 0; max-width: 36rem;
  font-family: var(--display); font-size: 1.05rem; color: var(--ink);
}

/* ── How it works: playful asides ─────────────── */
.how-aside {
  margin-top: 0.8rem;
  font-family: var(--mono);
  font-size: 0.74rem;
  line-height: 1.5;
  color: var(--clay);
}

/* ── Numbers band ─────────────────────────────── */
.numbers { background: var(--ink); color: var(--paper); padding: 3.4rem 2rem; }
.numbers-inner {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
}
.number-item { border-left: 2px solid rgba(201,138,46,0.5); padding-left: 1.2rem; }
.number-figure {
  font-family: var(--display); font-weight: 700; font-size: 2.3rem;
  line-height: 1; color: var(--brass); margin-bottom: 0.5rem;
}
.number-label { font-size: 0.95rem; font-weight: 600; color: #fff; margin-bottom: 0.25rem; }
.number-note { font-size: 0.8rem; color: #9FA8C0; }

/* ── Branding note ────────────────────────────── */
.branding-note {
  margin-top: 1.6rem;
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--ink-soft);
}

/* ── FAQ ──────────────────────────────────────── */
.faq { padding: 6rem 2rem; }
.faq-inner { max-width: 780px; margin: 0 auto; }
.faq-list { display: flex; flex-direction: column; gap: 0.7rem; }
.faq-item {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 1.4rem;
  transition: border-color 0.15s ease;
}
.faq-item[open] { border-color: var(--brass); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 2rem 1.15rem 0;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 600;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-family: var(--mono); font-size: 1.2rem; font-weight: 600;
  color: var(--brass);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item summary:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; border-radius: 4px; }
.faq-body { padding: 0 0 1.3rem; }
.faq-body p { color: var(--ink-soft); font-size: 0.94rem; }
.faq-body em { color: var(--ink); font-style: italic; }

/* ── Demo aside ───────────────────────────────── */
.demo-aside {
  margin-top: 1.2rem;
  font-family: var(--mono);
  font-size: 0.76rem;
  line-height: 1.6;
  color: var(--clay);
  max-width: 24rem;
}

/* ── Responsive: new sections ─────────────────── */
@media (max-width: 900px) {
  .numbers-inner { grid-template-columns: repeat(2, 1fr); gap: 1.8rem; }
}
@media (max-width: 520px) {
  .numbers-inner { grid-template-columns: 1fr; }
  .stash-grid { justify-content: flex-start; }
  .stash-chip { font-size: 0.82rem; }
}

/* ── Sketch / Stock Cupboard ──────────────────── */
.sketch { padding: 6rem 2rem; }
.sketch-inner {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 4rem; align-items: center;
}
.sketch-copy h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 1.2rem; }
.sketch-copy > p { color: var(--ink-soft); max-width: 34rem; }

.sketch-options { display: flex; flex-direction: column; gap: 1.1rem; margin-top: 2rem; }
.sketch-option {
  border-left: 2px solid var(--brass);
  padding-left: 1.2rem;
}
.sketch-option-name {
  font-family: var(--display); font-size: 1.15rem; font-weight: 600;
  margin-bottom: 0.4rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.sketch-option p { color: var(--ink-soft); font-size: 0.94rem; max-width: 32rem; }
.sketch-option em { font-style: italic; color: var(--ink); }
.sketch-badge {
  font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.1em; font-weight: 600;
  color: var(--paper); background: var(--clay);
  border-radius: 999px; padding: 0.2rem 0.45rem;
  position: relative; top: -1px;
}
.sketch-note {
  margin-top: 1.8rem;
  font-family: var(--mono); font-size: 0.74rem; line-height: 1.6;
  color: var(--clay);
}

.sketch-demo-wrap { display: flex; justify-content: center; }
.sketch-demo {
  width: 100%; max-width: 380px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 24px 50px -18px rgba(20,33,61,0.28);
}
.sketch-demo-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.3rem;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.sketch-demo-title { font-family: var(--display); font-weight: 600; font-size: 1rem; }
.sketch-demo-step { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.1em; color: var(--ink-soft); }
.sketch-demo-body { padding: 1.2rem 1.3rem 1.4rem; }

.sketch-field-label { font-size: 0.78rem; font-weight: 600; color: var(--ink-soft); margin-bottom: 0.45rem; }
.sketch-field {
  border: 1px solid var(--line); border-radius: 6px;
  background: var(--paper);
  padding: 0.65rem 0.8rem;
  font-size: 0.86rem; color: var(--ink);
  line-height: 1.45;
}
.sketch-caret {
  display: inline-block; width: 1px; height: 0.95em;
  background: var(--clay); margin-left: 2px;
  vertical-align: text-bottom;
  animation: blink 1.1s step-end infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

.sketch-btn {
  margin-top: 0.7rem;
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  background: var(--ink); color: var(--paper);
  border-radius: 6px; padding: 0.65rem 1rem;
  font-size: 0.88rem; font-weight: 600;
}
.sketch-btn svg { width: 1rem; height: 1rem; color: var(--brass); }

.sketch-or {
  display: flex; align-items: center; gap: 0.8rem;
  margin: 1.4rem 0 1.1rem;
  font-family: var(--mono); font-size: 0.65rem; letter-spacing: 0.08em;
  color: var(--ink-soft);
}
.sketch-or::before, .sketch-or::after {
  content: ''; flex: 1; height: 1px; background: var(--line);
}
.cupboard-label {
  font-family: var(--display); font-weight: 600; font-size: 0.92rem;
  text-align: center; margin-bottom: 0.8rem;
}
.cupboard-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.5rem; }
.cupboard-item {
  border: 1px solid var(--line); border-radius: 8px;
  background: var(--paper);
  padding: 0.7rem 0.3rem 0.5rem;
  display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
  color: var(--ink-soft);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.cupboard-item:hover { border-color: var(--brass); transform: translateY(-2px); }
.cupboard-item svg { width: 1.5rem; height: 1.5rem; }
.cupboard-item span { font-size: 0.62rem; letter-spacing: 0.02em; }

@media (max-width: 900px) {
  .sketch-inner { grid-template-columns: 1fr; gap: 3rem; }
}


.cupboard-label { margin-bottom: 0.25rem; }
.cupboard-sub {
  font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.05em;
  text-align: center; color: var(--ink-soft); margin-bottom: 0.8rem;
}
.cupboard-item span { text-align: center; line-height: 1.3; }

.faq-body p + p { margin-top: 0.7rem; }

/* ── Wordmark: "Lost Properly" is longer than the old mark ──── */
@media (max-width: 430px) {
  .wordmark { font-size: 1.05rem; }
  .nav-inner { padding: 1rem 1.1rem; }
  .nav-cta { padding: 0.5rem 0.85rem; font-size: 0.82rem; }
}

/* ── Wordmark lockup: the name never appears without the category ── */
.wordmark-lockup { text-decoration: none; display: inline-flex; flex-direction: column; line-height: 1; }
.wordmark-sub {
  font-family: var(--mono);
  font-size: 0.55rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 0.28rem;
}
@media (max-width: 430px) { .wordmark-sub { display: none; } }


/* ── Cycling item in the headline ─────────────────────────────── */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.swap {
  display: inline-block;
  position: relative;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.16em;
  margin-bottom: -0.16em;
  /* Snug to the current word, but a definite width so the
     inline-block does not collapse. JS swaps this for an explicit
     px width during a swap so the change can be animated. */
  width: max-content;
  /* Waits for the outgoing word to clear (0.42s) before resizing,
     or it clips that word on its way out; done by 0.72s, before
     the incoming word arrives at 0.75s */
  transition: width 0.3s cubic-bezier(0.22, 0.61, 0.36, 1) 0.42s;
}
.swap-word { display: inline-block; white-space: nowrap; }
.swap { white-space: nowrap; }
.swap-word--in { animation: swapIn 0.45s cubic-bezier(0.22, 0.61, 0.36, 1) 0.75s both; }
/* Declared after --in: an outgoing word briefly carries both classes,
   and this must win or it never actually leaves. */
.swap-word--out {
  position: absolute; left: 0; top: 0;
  animation: swapOut 0.42s cubic-bezier(0.55, 0.06, 0.68, 0.19) forwards;
}
@keyframes swapOut {
  from { transform: translateY(0);      opacity: 1; }
  to   { transform: translateY(-130%);  opacity: 0; }
}
@keyframes swapIn {
  from { transform: translateY(115%);   opacity: 0; }
  to   { transform: translateY(0);      opacity: 1; }
}

/* "its way home." always begins its own line, so only the first line
   reflows as the item changes width */
.h1-line2 { display: block; }

/* ── Problem section: a pile of blank tags ────────────────────── */
.problem-pull {
  font-family: var(--display);
  font-size: 1.22rem;
  line-height: 1.4;
  color: var(--ink) !important;
  border-left: 2px solid var(--clay);
  padding-left: 1.1rem;
  margin: 1.6rem 0 !important;
}
.problem-pull em { font-style: italic; color: var(--clay); }

.pile {
  position: relative;
  height: 21rem;
  max-width: 29rem;
  margin: 0 auto;
}
.pile-tag {
  position: absolute;
  top: 50%; left: 50%;
  width: 10rem;
  padding: 1.6rem 1rem 1.2rem;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 12px 28px -12px rgba(20, 33, 61, 0.28);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.pile-tag--1 { transform: translate(-50%, -50%) rotate(-9deg) translate(-4.6rem, 1.3rem); }
.pile-tag--2 { transform: translate(-50%, -50%) rotate(2deg) translate(0.1rem, -1.5rem); z-index: 2; }
.pile-tag--3 { transform: translate(-50%, -50%) rotate(11deg) translate(4.7rem, 1.5rem); }

.pile-hole {
  width: 0.5rem; height: 0.5rem; border-radius: 50%;
  background: var(--paper); border: 1.5px solid var(--line);
  margin-bottom: 0.4rem;
}
/* Blank bars where a name and description should be */
.bar {
  display: block;
  height: 0.5rem;
  width: 78%;
  border-radius: 3px;
  background: var(--line);
  opacity: 0.75;
}
.bar--title { height: 0.7rem; width: 92%; background: var(--ink-soft); opacity: 0.22; }
.bar--short { width: 52%; }

.pile-stamp {
  margin-top: 0.55rem;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clay);
  border: 1px dashed var(--clay);
  border-radius: 3px;
  padding: 0.22rem 0.45rem;
  transform: rotate(-4deg);
  opacity: 0.85;
}

@media (max-width: 900px) {
  .pile { height: 17rem; }
  .pile-tag { width: 8.5rem; }
}
