/* Manage Little Things Well — shared styles */
@font-face {
  font-family: 'MLTW Hand';
  src: url(/assets/fonts/MLTWHand-Regular.woff) format('woff');
  font-display: swap;
}

:root {
  --ink: #111111;
  --paper: #ffffff;
  --body: #4a4844;
  --muted: #5c5a55;
  --rule: #e3e1dc;
  --fill: #f2f1ee;
  --fill-2: #e9e7e2;
  --border: #c9c6bf;
  --border-2: #b9b6af;
  --border-3: #8a8580;
  --hand: 'MLTW Hand', 'Barlow Condensed', sans-serif;
  --label: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --serif: 'Spectral', Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); }
a:hover { color: var(--body); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--border-3);
  outline-offset: 3px;
}
p { margin: 0; }
h1, h2, h3 { margin: 0; }
[hidden] { display: none !important; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--paper); padding: 10px 16px;
  font-family: var(--label); text-transform: uppercase; letter-spacing: .12em;
}
.skip:focus { left: 8px; top: 8px; z-index: 100; color: var(--paper); }

.wrap { max-width: 1160px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.wrap-md { max-width: 1040px; }
.wrap-sm { max-width: 760px; }
.stack { display: flex; flex-direction: column; }
.dark { background: var(--ink); color: var(--paper); }
.dark a:not(.btn) { color: var(--paper); }
.tint { background: var(--fill); }

/* ---------- Type ---------- */
.eyebrow {
  font-family: var(--label); font-size: 16px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--muted);
}
.dark .eyebrow { color: var(--border); }
.hand { font-family: var(--hand); font-weight: 400; text-transform: uppercase; }
.h1 {
  font-family: var(--hand); font-weight: 400; font-size: 76px; line-height: 1.05;
  letter-spacing: .04em; text-transform: uppercase; text-wrap: balance;
}
.h2 {
  font-family: var(--hand); font-weight: 400; font-size: 44px; line-height: 1.15;
  letter-spacing: .06em; text-transform: uppercase; text-wrap: balance;
}
.label-h {
  font-family: var(--label); font-weight: 600; font-size: 26px;
  letter-spacing: .1em; text-transform: uppercase; line-height: 1.25;
}
.lede { font-size: 21px; line-height: 1.5; color: var(--fill-2); max-width: 46ch; }
.ref {
  font-family: var(--label); font-size: 16px; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
}
.dark .ref { color: var(--border); }
.note { font-size: 15px; color: var(--body); }
.dark .note { color: var(--border); }
.signoff { font-family: var(--hand); font-size: 30px; letter-spacing: .06em; }

/* ---------- Header / nav ---------- */
.site-header { border-bottom: 1px solid var(--rule); background: var(--paper); }
.nav {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px 16px; padding-top: 14px; padding-bottom: 14px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); min-height: 44px; }
.brand svg { flex: none; }
.brand span {
  font-family: var(--hand); font-size: 20px; letter-spacing: .14em; text-transform: uppercase; line-height: 1.2;
}
.nav-links {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px;
  font-family: var(--label); font-size: 16px; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
}
.nav-links a { text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.nav-links a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.nav-links .nav-cta {
  background: var(--ink); color: var(--paper); padding: 10px 18px;
}
.nav-links .nav-cta:hover { background: #2b2a28; color: var(--paper); }

/* Mobile nav toggle (only on Home where there are many links) */
.menu-btn { display: none; }
@media (max-width: 760px) {
  .nav-links.collapsible { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 4px; }
  .nav-links.collapsible.open { display: flex; }
  .nav-links.collapsible a { border-top: 1px solid var(--rule); padding: 6px 0; }
  .nav-links.collapsible .nav-cta { justify-content: center; margin-top: 10px; border-top: 0; }
  .menu-btn {
    flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 44px; min-width: 44px; padding: 0 10px; background: var(--paper); color: var(--ink);
    border: 1.5px solid var(--ink); cursor: pointer;
    font-family: var(--label); font-size: 16px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 26px; border: 0; cursor: pointer; text-decoration: none; text-align: center;
  font-family: var(--label); font-size: 18px; font-weight: 600; line-height: 1.2;
  letter-spacing: .12em; text-transform: uppercase;
  background: var(--ink); color: var(--paper);
}
.btn:hover { background: #2b2a28; color: var(--paper); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: var(--fill-2); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--paper); border: 1.5px solid var(--paper); }
.btn-ghost:hover { background: rgba(255,255,255,.1); color: var(--paper); }
.btn-outline { background: var(--paper); color: var(--ink); border: 1.5px solid var(--ink); font-size: 17px; }
.btn-outline:hover { background: var(--fill); color: var(--ink); }
.btn-block { display: flex; width: 100%; }
.btn-lg { min-height: 52px; font-size: 19px; padding: 14px 30px; }

.pill {
  min-height: 44px; min-width: 44px; padding: 0 14px; cursor: pointer;
  font-family: var(--label); font-size: 16px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  background: var(--paper); color: var(--ink); border: 1.5px solid var(--border-2);
}
.pill[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label, .field-label {
  font-family: var(--label); font-size: 15px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
}
.field .opt { font-weight: 500; color: var(--muted); letter-spacing: .08em; }
.input, .select, .textarea {
  width: 100%; min-height: 48px; padding: 0 14px;
  border: 1.5px solid var(--ink); border-radius: 0; background: var(--paper); color: var(--ink);
  font-family: var(--serif); font-size: 18px;
}
.select { padding: 0 12px; -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23111' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.textarea { padding: 12px 14px; resize: vertical; min-height: 0; }
.dark .input { border-color: var(--paper); }
.check { display: flex; align-items: flex-start; gap: 12px; }
.check input { width: 22px; height: 22px; margin: 3px 0 0; accent-color: var(--ink); flex: none; }
.check label { display: flex; flex-direction: column; gap: 2px; cursor: pointer; }
.form-msg { font-size: 16px; }
.form-msg.error { color: #8b1a1a; font-weight: 600; }
.dark .form-msg.error { color: #ffb4b4; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.ts { min-height: 0; }
.ts:not(:empty) { margin-top: 2px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px 20px; }

.thanks {
  border: 2px solid var(--ink); padding: 28px; display: flex; flex-direction: column; gap: 10px;
}
.thanks .t-title { font-family: var(--hand); font-size: 34px; letter-spacing: .06em; text-transform: uppercase; line-height: 1.2; }

/* ---------- Home ---------- */
.hero-inner { padding-top: 88px; padding-bottom: 96px; display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.hero-copy { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.hero-copy .lede { font-size: 22px; max-width: 34ch; }
.hero-art { flex: 1 1 280px; display: flex; justify-content: center; }
.hero-art svg { width: 320px; height: 320px; max-width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }

.verse-band .wrap { padding-top: 64px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 10px; }
.verse { max-width: 40ch; font-size: 30px; line-height: 1.4; font-style: italic; }

.section { padding-top: 88px; padding-bottom: 88px; }
.section-head { display: flex; flex-direction: column; gap: 10px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; }
.step { display: flex; flex-direction: column; gap: 10px; border-top: 2px solid var(--ink); padding-top: 18px; }
.step-num { font-family: var(--hand); font-size: 30px; line-height: 1; }
.step h3 { font-family: var(--label); font-size: 24px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; line-height: 1.25; }

.journal-grid { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.journal-media { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.cover-btn { max-width: 440px; margin: 0 auto; padding: 0; border: 0; background: var(--ink); cursor: zoom-in; display: block; width: 100%; }
.cover-btn img { width: 100%; aspect-ratio: 1386 / 1970; }
.journal-copy { flex: 999 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.specs { margin: 0; display: grid; grid-template-columns: minmax(0, 11rem) minmax(0, 1fr); border-top: 1px solid var(--ink); }
.specs dt, .specs dd { padding: 12px 0; border-bottom: 1px solid var(--rule); }
.specs dt { font-family: var(--label); font-size: 16px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding-right: 16px; }
.specs dd { margin: 0; }

.inside { border-top: 1px solid var(--rule); padding-top: 56px; margin-top: 56px; display: flex; flex-direction: column; gap: 20px; }
.inside-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; }
.strip {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 1fr); gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; -webkit-overflow-scrolling: touch;
}
.strip button {
  padding: 0; border: 1px solid var(--rule); background: var(--paper); cursor: zoom-in; text-align: left;
  scroll-snap-align: start; display: flex; flex-direction: column; color: var(--ink);
}
.strip button:hover { border-color: var(--border-3); }
.strip img { width: 100%; aspect-ratio: 1040 / 1477; object-fit: cover; }
.strip .cap {
  padding: 8px 10px 10px; border-top: 1px solid var(--rule);
  font-family: var(--label); font-size: 14px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; line-height: 1.3;
}
.strip .cap small { display: block; color: var(--muted); font-weight: 500; letter-spacing: .08em; }

.story .wrap { padding-top: 88px; padding-bottom: 88px; display: flex; flex-direction: column; gap: 20px; }
.story p.body { font-size: 21px; }

.order-inner { padding-top: 88px; padding-bottom: 88px; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.order-copy { flex: 999 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.order-copy .h2 { font-size: 52px; }
.order-copy p.body { max-width: 46ch; color: var(--fill-2); }
.order-box { flex: 1 1 360px; min-width: 0; background: var(--paper); color: var(--ink); padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.order-box a:not(.btn) { color: var(--ink); }
.order-box .title { font-family: var(--label); font-size: 22px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; line-height: 1.3; }
.order-box .big { font-size: 28px; font-weight: 600; line-height: 1.25; }
.order-box .meta { color: var(--body); }
.order-box form { display: flex; flex-direction: column; gap: 14px; }
.order-box .input { border-color: var(--ink); }

.signup-inner { padding-top: 64px; padding-bottom: 64px; display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-end; justify-content: space-between; }
.signup-copy { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.signup-copy h2 { font-family: var(--label); font-size: 28px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; line-height: 1.25; }
.signup-form { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.signup-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.signup-row .field { flex: 1 1 240px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--rule); }
.footer-inner {
  padding-top: 40px; padding-bottom: 56px; display: flex; flex-wrap: wrap; gap: 20px 32px;
  justify-content: space-between; align-items: flex-start; font-size: 15px; color: var(--body);
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 20px; font-family: var(--label); font-size: 15px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.footer-links a { color: var(--body); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.footer-links a:hover { color: var(--ink); text-decoration: underline; }
.niv { max-width: 60ch; font-size: 13px; color: var(--body); flex-basis: 100%; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero .wrap { padding-top: 64px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 16px; }
.page-hero .h1 { font-size: 60px; }

/* ---------- /next ---------- */
.next-main { padding-top: 56px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 40px; }
.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.choice {
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px; text-align: left;
  padding: 24px; min-height: 160px; cursor: pointer; font-family: inherit; font-size: 18px; line-height: 1.6;
  color: var(--ink); background: var(--paper); border: 1.5px solid var(--border-2);
  margin: 1.5px; /* keeps size steady when the border thickens */
}
.choice[aria-pressed="true"] { border: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); margin: 0; }
.choice .c-name { font-family: var(--label); font-size: 22px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.choice .c-big { font-size: 26px; font-weight: 600; line-height: 1.3; }
.choice .c-desc { font-size: 17px; color: var(--body); }
.details { display: flex; flex-direction: column; gap: 20px; border-top: 1px solid var(--ink); padding-top: 28px; }
.summary {
  display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between;
  background: var(--fill); padding: 24px 28px;
}
.summary .s-main { font-size: 20px; font-weight: 600; }
.summary .s-label { font-family: var(--label); font-size: 15px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--body); }
.date-wrap { max-width: 360px; }

/* ---------- Community ---------- */
.cm-grid { padding-top: 48px; padding-bottom: 72px; display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.cm-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.cm-aside { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.box { border: 2px solid var(--ink); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.box-thin { border: 1.5px solid var(--ink); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.box-tint { background: var(--fill); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.aside-h { font-family: var(--label); font-size: 22px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; line-height: 1.25; }
.cm-aside p, .cm-aside li { font-size: 17px; }
.cm-aside ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.share-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 28px; }
.share-item { border-top: 1px solid var(--ink); padding: 16px 0 18px; display: flex; flex-direction: column; gap: 6px; }
.tag {
  align-self: flex-start; display: inline-flex; align-items: center; padding: 2px 10px;
  font-family: var(--label); font-size: 14px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  border: 1.5px solid var(--ink);
}
.tag-dark { background: var(--ink); color: var(--paper); }
.join-box { background: var(--ink); color: var(--paper); padding: 32px 28px; display: flex; flex-direction: column; gap: 16px; }
.join-box .h2 { font-size: 40px; }
.join-box p { color: var(--fill-2); }
.code {
  font-family: var(--label); font-weight: 600; font-size: 22px; letter-spacing: .18em;
  background: var(--paper); color: var(--ink); padding: 2px 10px; white-space: nowrap;
}
.scripture { font-style: italic; }

/* ---------- Feedback ---------- */
.fb-main { padding-top: 48px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 36px; }
.part-row {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--rule); padding: 10px 0;
}
.part-row > span { flex: 1 1 220px; min-width: 0; }
.part-row .opts { display: flex; gap: 6px; }
.part-row .pill { min-width: 72px; }
.scale { display: flex; flex-wrap: wrap; gap: 6px; }
.scale-ends { display: flex; justify-content: space-between; font-size: 15px; color: var(--body); }
.suggest .hand-h { font-family: var(--hand); font-weight: 400; font-size: 30px; letter-spacing: .06em; text-transform: uppercase; line-height: 1.2; }

/* ---------- Prose (privacy) ---------- */
.prose { padding-top: 48px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 18px; }
.prose h2 { font-family: var(--label); font-size: 24px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-top: 16px; line-height: 1.25; }
.prose ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 50; background: rgba(17,17,17,.94);
  display: flex; align-items: center; justify-content: center; padding: 56px 12px 72px;
}
.lightbox img { max-height: 100%; max-width: 100%; width: auto; object-fit: contain; background: var(--paper); box-shadow: 0 10px 40px rgba(0,0,0,.5); }
.lightbox figure { margin: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; max-width: 100%; }
.lightbox figcaption { color: var(--paper); font-family: var(--label); font-size: 15px; letter-spacing: .12em; text-transform: uppercase; text-align: center; }
.lb-btn {
  position: absolute; min-width: 48px; min-height: 48px; padding: 0 14px; border: 1.5px solid var(--paper);
  background: var(--ink); color: var(--paper); cursor: pointer;
  font-family: var(--label); font-size: 16px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
}
.lb-close { top: 8px; right: 8px; }
.lb-prev { bottom: 12px; left: 12px; }
.lb-next { bottom: 12px; right: 12px; }
@media (min-width: 761px) {
  .lb-prev { bottom: auto; top: 50%; transform: translateY(-50%); }
  .lb-next { bottom: auto; top: 50%; transform: translateY(-50%); }
  .lightbox { padding: 56px 88px; }
}
body.lb-open { overflow: hidden; }

/* ---------- 404 ---------- */
.nf .wrap { padding-top: 96px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 20px; }

/* ---------- Phone ---------- */
@media (max-width: 760px) {
  body { font-size: 17px; }
  .wrap { padding-left: 16px; padding-right: 16px; }
  .brand span { font-size: 14px; letter-spacing: .08em; white-space: nowrap; }
  .brand { gap: 10px; }
  .nav-links:not(.collapsible) { gap: 4px 18px; }
  .brand svg { width: 34px; height: 34px; }
  .h1 { font-size: 46px; }
  .page-hero .h1 { font-size: 42px; }
  .h2 { font-size: 34px; }
  .order-copy .h2 { font-size: 38px; }
  .join-box .h2 { font-size: 32px; }
  .hero-inner { padding-top: 48px; padding-bottom: 56px; gap: 32px; }
  .hero-copy .lede, .lede { font-size: 19px; }
  .hero-art svg { width: 200px; height: 200px; }
  .btn-row .btn { width: 100%; }
  .verse { font-size: 24px; }
  .verse-band .wrap { padding-top: 48px; padding-bottom: 48px; }
  .section, .story .wrap, .order-inner { padding-top: 56px; padding-bottom: 56px; }
  .journal-grid, .order-inner { gap: 36px; }
  .inside { margin-top: 40px; padding-top: 40px; }
  .cover-btn { max-width: 260px; }
  .specs { grid-template-columns: 1fr; }
  .specs dt { border-bottom: 0; padding-bottom: 0; }
  .specs dd { padding-top: 2px; }
  .story p.body { font-size: 19px; }
  .order-box { padding: 24px 20px; }
  .page-hero .wrap { padding-top: 44px; padding-bottom: 40px; }
  .summary { padding: 20px; }
  .summary .btn { width: 100%; }
  .choice { min-height: 0; }
  .signup-row .btn { width: 100%; }
  .part-row .opts { width: 100%; }
  .part-row .pill { flex: 1; }
  .scale .pill { flex: 1 0 calc(16.66% - 6px); padding: 0; }
  .label-h { font-size: 22px; }
  .verse-small { font-size: 21px !important; }
}
