/* Seven Shop 7 | paper planner stylesheet v1.0.0 */
:root {
  --cream: #f7f1e5;
  --paper: #fffcf5;
  --ink: #2b2a28;
  --ink-soft: #55524c;
  --terra: #c0583a;
  --terra-ink: #a8462b;
  --terra-pale: #f6e0d6;
  --sage: #7d9471;
  --sage-ink: #4d6343;
  --sage-pale: #e3e9dc;
  --mustard: #7a5c14;
  --mustard-pale: #f1e6c8;
  --line: #e2d8c4;
  --wrap: 1120px;
  --radius: 6px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --hand: "Caveat", "Segoe Print", "Bradley Hand", cursive;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100.0%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background-color: var(--cream);
  background-image: radial-gradient(rgba(43, 42, 40, .17) 1px, transparent 1.4px);
  background-size: 22px 22px;
  overflow-x: hidden;
}
img { max-width: 100.0%; height: auto; display: block; }
a { color: var(--terra-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--sage-ink); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(1.65rem, 3vw, 2.35rem); font-weight: 600; }
h3 { font-size: clamp(1.2rem, 2vw, 1.4rem); font-weight: 600; }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.3em; margin: 0 0 1.2em; }
li { margin-bottom: .35em; }
strong { font-weight: 600; }

.wrap { width: min(100.0% - 40px, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 4px; }
.skip:focus { top: 12px; color: #fff; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ring binding strip */
.binding {
  height: 16px;
  background-color: var(--sage-ink);
  background-image: radial-gradient(circle, var(--cream) 3.2px, rgba(0,0,0,.35) 3.8px, transparent 4.4px);
  background-size: 30px 16px;
  background-position: 6px 0;
}

/* header: logo centred, nav split either side */
.site-header { border-bottom: 3px double var(--line); background: rgba(247, 241, 229, .92); }
.head-row { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; padding: 14px 0; }
.brand { grid-column: 2; grid-row: 1; position: relative; z-index: 1; display: inline-flex; align-items: center; justify-self: center; }
.brand img { width: 208px; height: auto; }
.nav ul { list-style: none; display: flex; flex-wrap: nowrap; gap: 4px; margin: 0; padding: 0; }
.nav li { margin: 0; }
.nav a { display: block; padding: 7px 12px; border-radius: 6px 6px 0 0; color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; white-space: nowrap; box-shadow: inset 0 -2px 0 transparent; }
.nav a:hover { background: var(--sage-pale); }
.nav a[aria-current="page"] { background: var(--terra-pale); color: var(--terra-ink); box-shadow: inset 0 -3px 0 var(--terra); }
.menu-toggle { display: none; grid-column: 3; grid-row: 1; justify-self: end; align-items: center; gap: 8px; font: 600 .95rem var(--sans); color: var(--ink); background: var(--paper); border: 1.5px solid var(--ink); border-radius: 4px; padding: 8px 12px; cursor: pointer; }
.menu-toggle .bars, .menu-toggle .bars::before, .menu-toggle .bars::after { display: block; width: 18px; height: 2px; background: var(--ink); position: relative; content: ""; }
.menu-toggle .bars::before { position: absolute; top: -6px; }
.menu-toggle .bars::after { position: absolute; top: 6px; }

@media (min-width: 1120px) {
  .nav { grid-column: 1 / -1; grid-row: 1; display: grid; grid-template-columns: minmax(0, 1fr) 208px minmax(0, 1fr); column-gap: 32px; align-items: center; }
  .nav-left { grid-column: 1; justify-content: flex-end; }
  .nav-right { grid-column: 3; justify-content: flex-start; }
}
@media (max-width: 1119.98px) {
  .js .menu-toggle { display: inline-flex; }
  .nav { grid-column: 1 / -1; grid-row: 2; margin-top: 12px; border-top: 1px dashed var(--line); padding-top: 6px; }
  .js .nav { display: none; }
  .js .nav.open { display: block; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a { border-radius: 4px; padding: 11px 10px; text-align: center; }
}

section[id], [id].anchor { scroll-margin-top: 20px; }

/* hero: centred copy above a fan of taped polaroids */
.hero { text-align: center; padding: 56px 0 34px; }
.hero h1 { font-size: clamp(2.15rem, 5vw, 3.75rem); line-height: 1.06; margin: 0 auto 18px; max-width: 19ch; }
.hero h1 em { font-style: italic; color: var(--terra-ink); font-weight: 600; }
.lede { font-size: 1.16rem; color: var(--ink-soft); max-width: 58ch; }
.hero .lede, .page-head .lede { margin-inline: auto; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 22px; }
.margin-note { font: 600 1.4rem/1.25 var(--hand); color: var(--terra-ink); transform: rotate(-2deg); display: block; margin: 18px 0 0; }
.margin-note.sage { color: var(--sage-ink); }

.polaroids { display: flex; justify-content: center; align-items: flex-start; gap: clamp(14px, 3vw, 40px); margin: 40px auto 0; padding: 18px 8px 24px; }
.polaroid { position: relative; flex: 0 1 300px; min-width: 0; margin: 0; background: var(--paper); padding: 12px 12px 8px; border: 1px solid var(--line); box-shadow: 0 1px 0 var(--line), 0 22px 40px -26px rgba(43,42,40,.55); transform: translateY(var(--lift, 0)) rotate(var(--tilt, 0deg)); }
.polaroid::before { content: ""; position: absolute; top: -13px; left: 50%; width: 92px; height: 26px; margin-left: -46px; background: var(--tape, rgba(125, 148, 113, .62)); transform: rotate(var(--tape-tilt, -4deg)); }
.polaroid:nth-child(1) { --tilt: -5deg; --lift: 20px; --tape: rgba(192, 88, 58, .5); --tape-tilt: 5deg; }
.polaroid:nth-child(2) { --tilt: 1.5deg; z-index: 1; }
.polaroid:nth-child(3) { --tilt: 4.5deg; --lift: 26px; --tape: rgba(122, 92, 20, .4); --tape-tilt: -6deg; }
.polaroid img { width: 100.0%; aspect-ratio: 1 / 1; object-fit: cover; }
.polaroid figcaption { font: 600 1.25rem/1.2 var(--hand); color: var(--ink-soft); padding: 10px 2px 2px; text-align: center; }

.hero-sub { padding-bottom: 20px; }
.hero-sub h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); max-width: 22ch; }
.hero-sub .polaroids { margin-top: 26px; }
.hero-sub .polaroid { flex-basis: 600px; --tilt: -1.2deg; }
.hero-sub .polaroid img { aspect-ratio: 16 / 9; }

@media (max-width: 640px) {
  .polaroids { gap: 0; padding-inline: 4px; }
  .polaroid { flex: 0 0 35%; margin-inline: -1%; padding: 6px 6px 4px; }
  .polaroid::before { width: 54px; height: 18px; margin-left: -27px; top: -9px; }
  .polaroid figcaption { font-size: 1rem; padding-top: 6px; }
  .hero-sub .polaroid { flex: 0 1 100.0%; margin-inline: 0; padding: 8px 8px 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .polaroid, .polaroid::before, .page-head::after, .nl-sheet::after, .nl-side::before, .nl-copy .margin-note { transform: none; }
}

/* buttons: stitched label */
.btn { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: .8rem 1.3rem; border-radius: 4px; background: var(--terra-ink); color: #fff; font: 600 .98rem/1.2 var(--sans); text-decoration: none; border: 0; cursor: pointer; }
.btn::after { content: ""; position: absolute; inset: 4px; border: 1px dashed rgba(255,255,255,.65); border-radius: 2px; pointer-events: none; }
.btn:hover { background: #8f3a22; color: #fff; }
.btn.ghost { background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn.ghost::after { border-color: rgba(43,42,40,.4); }
.btn.ghost:hover { background: var(--sage-pale); }
.btn.sage { background: var(--sage-ink); }
.btn.sage:hover { background: #3c4f34; }

/* sections */
.block { padding: 60px 0; border-top: 1px dashed #cfc2a8; }
.sec-title { margin: 0 0 22px; }
.sec-title::after { content: ""; display: block; width: 56px; height: 3px; margin-top: 12px; border-radius: 2px; background: var(--terra); }
.prose { max-width: 72ch; }
.prose h3 { margin-top: 1.6em; }
.with-notes { display: grid; grid-template-columns: minmax(0, 1fr) 230px; gap: 40px; align-items: start; }
.with-notes aside { position: sticky; top: 80px; }
.note-card { background: var(--mustard-pale); padding: 16px 16px 12px; border-radius: 2px; transform: rotate(1.5deg); box-shadow: 0 12px 20px -16px rgba(43,42,40,.6); }
.note-card p { font: 600 1.3rem/1.25 var(--hand); color: var(--ink); margin: 0 0 .5em; }
.note-card p:last-child { margin: 0; }

.rule-box { background: var(--paper); border: 1px solid var(--line); border-left: 6px solid var(--sage); border-radius: var(--radius); padding: 18px 22px 8px; margin: 22px 0; }
.rule-box.terra { border-left-color: var(--terra); }
.rule-box h3 { font-size: 1.12rem; margin-bottom: .4em; }

/* index cards grid */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 20px; margin: 24px 0; padding: 0; list-style: none; }
.card { position: relative; background: var(--paper); border: 1px solid var(--line); border-top: 6px solid var(--c, var(--terra)); border-radius: 4px; padding: 20px 20px 14px; box-shadow: 0 14px 26px -22px rgba(43,42,40,.6); margin: 0; }
.card:nth-child(3n+2) { --c: var(--sage); }
.card:nth-child(3n+3) { --c: var(--mustard); }
.card h3 { font-size: 1.15rem; }
.card p { font-size: .98rem; margin-bottom: .6em; }

/* the twelve piece key */
.pieces { list-style: none; padding: 0; margin: 20px 0 8px; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px 14px; counter-reset: none; }
.pieces li { margin: 0; }
.piece { display: flex; align-items: center; gap: 10px; width: 100.0%; text-align: left; font: 500 .95rem/1.3 var(--sans); color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 4px; padding: 8px 10px; }
button.piece { cursor: pointer; }
button.piece:hover { border-color: var(--ink); }
button.piece[aria-pressed="true"] { background: var(--terra-pale); border-color: var(--terra-ink); }
.piece small { margin-left: auto; font: 500 .78rem var(--sans); color: var(--ink-soft); white-space: nowrap; }
.num { flex: 0 0 auto; display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--ink); font: 700 .74rem/1 var(--sans); background: var(--paper); }
.swatch { flex: 0 0 auto; width: 14px; height: 14px; border-radius: 2px; border: 1px solid rgba(0,0,0,.25); }
.board-hint { font-size: .92rem; color: var(--ink-soft); }

/* the week board (signature) */
.week-board { margin-top: 26px; }
.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; list-style: none; padding: 0; margin: 0; }
.day { margin: 0; display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 16px 26px -24px rgba(43,42,40,.7); }
.day-head { padding: 12px 12px 10px; border-bottom: 3px solid var(--occ, var(--sage)); background-image: linear-gradient(var(--occ-pale, var(--sage-pale)), var(--occ-pale, var(--sage-pale))); background-size: 100.0% 6px; background-repeat: no-repeat; }
.day-name { font: 700 1.35rem/1.1 var(--serif); display: block; margin-top: 4px; }
.day-name abbr { text-decoration: none; }
.occ { display: inline-block; font: 600 .68rem/1 var(--sans); text-transform: uppercase; letter-spacing: .1em; padding: 4px 7px 3px; border-radius: 3px; color: #fff; background: var(--occ, var(--sage-ink)); margin-top: 6px; }
.day[data-occ="work"] { --occ: var(--sage-ink); --occ-pale: var(--sage-pale); }
.day[data-occ="errands"] { --occ: var(--mustard); --occ-pale: var(--mustard-pale); }
.day[data-occ="evening"] { --occ: var(--terra-ink); --occ-pale: var(--terra-pale); }
.day[data-occ="rest"] { --occ: var(--ink); --occ-pale: #e7e2d7; }
.day-plan { font-size: .82rem; color: var(--ink-soft); line-height: 1.4; margin: 8px 0 0; }
.outfit { list-style: none; margin: 0; padding: 10px 8px; display: grid; gap: 4px; }
.outfit li { display: flex; align-items: center; gap: 7px; margin: 0; padding: 3px 4px; font-size: .84rem; line-height: 1.25; border-radius: 4px; }
.outfit .num { width: 22px; height: 22px; font-size: .7rem; }
.day-note { margin: auto 0 0; padding: 8px 12px 12px; font: 600 1.12rem/1.2 var(--hand); color: var(--terra-ink); border-top: 1px dashed var(--line); }
.week.is-filtering .day { opacity: .45; }
.week.is-filtering .day.has-piece { opacity: 1; box-shadow: 0 0 0 2px var(--terra-ink), 0 16px 26px -20px rgba(43,42,40,.7); }
.outfit li.is-hit { background: var(--terra-pale); }
.outfit li.is-hit .num { background: var(--terra-ink); border-color: var(--terra-ink); color: #fff; }
.week-scroll:focus-visible { outline-offset: 6px; }
.week-status { min-height: 1.6em; font-size: .92rem; color: var(--ink-soft); margin: 12px 0 0; }

@media (max-width: 1100px) {
  .week-scroll { overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 16px; margin: 0 -2px; overscroll-behavior-x: contain; }
  .week { display: flex; gap: 12px; }
  .day { flex: 0 0 min(76%, 250px); scroll-snap-align: start; }
}

/* printable checklist */
.checklist { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 26px 28px 18px; margin: 26px 0; position: relative; background-image: linear-gradient(90deg, transparent 46px, rgba(192,88,58,.35) 46px, rgba(192,88,58,.35) 47.5px, transparent 47.5px); max-width: 760px; }
.checklist-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 16px; padding-left: 36px; margin-bottom: 8px; }
.checklist-head h3 { margin: 0; font-size: 1.4rem; }
.checklist-head .margin-note { margin: 0; font-size: 1.25rem; }
.checklist ol { list-style: none; padding: 0; margin: 0 0 12px; }
.checklist li { margin: 0; border-bottom: 1px solid #ece4d3; }
.checklist label { display: flex; gap: 14px; align-items: flex-start; padding: 10px 0 10px 2px; cursor: pointer; }
.checklist input { appearance: none; -webkit-appearance: none; flex: 0 0 auto; width: 22px; height: 22px; margin: 2px 0 0; border: 2px solid var(--ink); border-radius: 3px; background: #fff; display: grid; place-content: center; cursor: pointer; }
.checklist input::before { content: ""; width: 11px; height: 6px; border: solid #fff; border-width: 0 0 3px 3px; transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.checklist input:checked { background: var(--sage-ink); border-color: var(--sage-ink); }
.checklist input:checked::before { opacity: 1; }
.checklist input:checked + span { text-decoration: line-through; text-decoration-color: var(--terra); color: var(--ink-soft); }
.checklist .when { display: block; font-size: .8rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.checklist-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; padding-left: 36px; }

/* steps */
.steps { list-style: none; padding: 0; margin: 20px 0; }
.steps > li { position: relative; padding: 0 0 14px 36px; margin: 0; }
.steps > li::before { content: ""; position: absolute; left: 0; top: 7px; width: 18px; height: 18px; border-radius: 50%; border: 3px solid var(--terra); background: var(--paper); }
.steps > li::after { content: ""; position: absolute; left: 8px; top: 30px; bottom: 4px; border-left: 2px dotted #cbb99a; }
.steps > li:last-child::after { display: none; }
.steps h3 { font-size: 1.15rem; margin: 0 0 .3em; }

/* tables */
.table-wrap { overflow-x: auto; margin: 22px 0; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); }
table { width: 100.0%; border-collapse: collapse; font-size: .95rem; }
caption { text-align: left; padding: 12px 14px; font: 600 1.05rem var(--serif); }
th, td { text-align: left; vertical-align: top; padding: 10px 14px; border-top: 1px solid var(--line); }
thead th { background: var(--sage-pale); font-weight: 600; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; }
tbody th { font-weight: 600; }

/* care symbols */
.symbols { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; list-style: none; padding: 0; margin: 20px 0; }
.symbols li { margin: 0; display: flex; gap: 12px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 10px 12px; font-size: .92rem; line-height: 1.35; }
.symbols svg { flex: 0 0 auto; width: 48px; height: 48px; }

/* laundry week strip */
.strip { list-style: none; padding: 0; margin: 22px 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.strip li { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 10px; font-size: .88rem; line-height: 1.35; border-top: 4px solid var(--c, #d8ccb4); }
.strip li.load { --c: var(--sage-ink); }
.strip li.load.hot { --c: var(--terra-ink); }
.strip b { display: block; font: 700 1.1rem var(--serif); }
@media (max-width: 860px) { .strip { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); } }

/* timeline */
.timeline { list-style: none; margin: 24px 0; padding: 0 0 0 24px; border-left: 3px solid var(--sage); }
.timeline > li { position: relative; margin: 0 0 26px; padding-left: 16px; }
.timeline > li::before { content: ""; position: absolute; left: -33px; top: 6px; width: 15px; height: 15px; border-radius: 50%; background: var(--paper); border: 3px solid var(--terra); }

/* FAQ */
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; margin: 0 0 10px; }
.faq summary { cursor: pointer; padding: 14px 18px; font: 600 1.08rem/1.35 var(--serif); list-style: none; display: flex; gap: 12px; align-items: baseline; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "+"; font: 700 1.2rem/1 var(--sans); color: var(--terra-ink); width: 14px; flex: 0 0 auto; }
.faq details[open] summary::before { content: "\2212"; }
.faq details > div { padding: 0 18px 6px 44px; }

/* next tabs (related pages) */
.next { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; list-style: none; padding: 0; margin: 24px 0 0; }
.next li { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; position: relative; }
.next img { aspect-ratio: 16 / 10; object-fit: cover; width: 100.0%; }
.next .next-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.next h3 { font-size: 1.2rem; }
.next h3 a { color: var(--ink); text-decoration: none; }
.next h3 a::after { content: ""; position: absolute; inset: 0; }
.next h3 a:focus-visible { outline: none; }
.next li:focus-within { outline: 3px solid var(--sage-ink); outline-offset: 3px; }
.next p { font-size: .96rem; color: var(--ink-soft); margin-bottom: 0; }

/* figures in prose */
.inline-fig { margin: 28px 0; }
.inline-fig img { border-radius: 4px; width: 100.0%; aspect-ratio: 3 / 2; object-fit: cover; }
.inline-fig figcaption { font-size: .88rem; color: var(--ink-soft); margin-top: 8px; }

/* simple pages */
.page-head { padding: 52px 0 30px; text-align: center; }
.page-head h1 { font-size: clamp(2rem, 4vw, 3rem); max-width: 22ch; margin-inline: auto; }
.page-head::after { content: ""; display: block; width: 92px; height: 22px; margin: 16px auto 0; background: rgba(125, 148, 113, .55); transform: rotate(-3deg); }
.contact-card { background: var(--paper); border: 1px solid var(--line); border-top: 6px solid var(--terra); border-radius: 6px; padding: 24px 26px; max-width: 620px; margin: 10px 0 30px; }
.contact-card .mail { font: 600 clamp(1.15rem, 3vw, 1.5rem) var(--serif); word-break: break-word; }

/* newsletter: a punched, ruled planner sheet taped to the page */
.newsletter { padding: 64px 0 6px; border-top: 1px dashed #cfc2a8; }
.nl-sheet {
  --m: 70px;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 24px 48px;
  align-items: center;
  max-width: 1000px;
  margin-inline: auto;
  padding: 44px 44px 40px calc(var(--m) + 30px);
  background-color: var(--paper);
  background-image:
    linear-gradient(90deg, transparent var(--m), rgba(192, 88, 58, .5) var(--m), rgba(192, 88, 58, .5) calc(var(--m) + 2px), transparent calc(var(--m) + 2px)),
    repeating-linear-gradient(transparent 0 31px, rgba(77, 99, 67, .13) 31px 32px);
  background-position: 0 0, 0 18px;
  border: 1px solid var(--line);
  border-radius: 4px 10px 10px 4px;
  box-shadow: 0 1px 0 var(--line), 0 28px 44px -32px rgba(43, 42, 40, .65);
}
.nl-sheet::before {
  content: "";
  position: absolute;
  left: 22px; top: 24px; bottom: 24px;
  width: 20px;
  background-image: radial-gradient(circle at 10px 10px, var(--cream) 0 6.5px, rgba(43, 42, 40, .32) 7px 8.4px, transparent 9px);
  background-size: 20px 48px;
  background-repeat: no-repeat space;
}
.nl-sheet::after { content: ""; position: absolute; top: -13px; right: 64px; width: 118px; height: 26px; background: rgba(192, 88, 58, .5); transform: rotate(4deg); }
.nl-copy h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); margin-bottom: .4em; max-width: 14ch; }
.nl-copy h2 em { font-style: italic; color: var(--terra-ink); }
.nl-copy p { color: var(--ink-soft); margin-bottom: .6em; max-width: 44ch; }
.nl-copy .margin-note { margin: 4px 0 0; font-size: 1.35rem; }
.nl-side { position: relative; background: var(--mustard-pale); padding: 24px 22px 20px; border-radius: 2px; box-shadow: 0 14px 22px -18px rgba(43, 42, 40, .6); }
.nl-side::before { content: ""; position: absolute; top: -11px; left: 22px; width: 70px; height: 22px; background: rgba(125, 148, 113, .62); transform: rotate(-5deg); }
.nl-form { margin: 0; }
.nl-label { display: block; font: 600 .95rem/1.3 var(--sans); margin: 0 0 8px; }
.nl-row { display: flex; flex-wrap: wrap; gap: 10px; }
.nl-input { flex: 1 1 200px; min-width: 0; font: 500 1rem/1.3 var(--sans); color: var(--ink); background: #fff; border: 1.5px solid var(--ink); border-bottom-width: 3px; border-radius: 4px; padding: .72rem .85rem; }
.nl-input::placeholder { color: #6f6a60; opacity: 1; }
.nl-input:focus-visible { outline: 3px solid var(--sage-ink); outline-offset: 2px; }
.nl-input[aria-invalid="true"] { border-color: var(--terra-ink); background: #fff6f1; }
.nl-row .btn { flex: 0 0 auto; justify-content: center; }
.nl-err { position: relative; margin: 10px 0 0; padding-left: 26px; font: 600 .92rem/1.4 var(--sans); color: var(--terra-ink); }
.nl-err::before { content: "!"; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 50%; background: var(--terra-ink); color: #fff; font: 700 .72rem/18px var(--sans); text-align: center; }
.nl-fine { margin: 14px 0 0; font-size: .85rem; line-height: 1.5; color: #4a4741; }
.nl-fine a { color: var(--terra-ink); }
.nl-done { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 6px 14px; align-items: start; }
.nl-done[hidden] { display: none; }
.nl-done:focus { outline: none; }
.nl-done:focus-visible { outline: 3px solid var(--sage-ink); outline-offset: 6px; }
.nl-done p { grid-column: 2; margin: 0; font-size: 1rem; line-height: 1.55; }
.nl-done .nl-again { font-size: .88rem; color: #4a4741; }
.nl-tick { grid-row: 1 / span 2; width: 24px; height: 24px; margin-top: 2px; border-radius: 3px; background: var(--sage-ink); display: grid; place-content: center; }
.nl-tick::before { content: ""; width: 11px; height: 6px; border: solid #fff; border-width: 0 0 3px 3px; transform: rotate(-45deg) translate(1px, -1px); }
@media (prefers-reduced-motion: no-preference) {
  .nl-done:not([hidden]) { animation: nl-in .35s ease-out; }
  @keyframes nl-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
}

.newsletter.compact { padding-top: 52px; }
.newsletter.compact .nl-sheet { max-width: 900px; padding: 34px 34px 30px calc(var(--m) + 26px); gap: 20px 36px; }
.newsletter.compact .nl-copy h2 { font-size: clamp(1.55rem, 2.8vw, 2.05rem); }

@media (max-width: 860px) {
  .nl-sheet, .newsletter.compact .nl-sheet { grid-template-columns: minmax(0, 1fr); }
  .nl-copy h2 { max-width: 20ch; }
}
@media (max-width: 560px) {
  .newsletter, .newsletter.compact { padding-top: 44px; }
  .nl-sheet, .newsletter.compact .nl-sheet { --m: 44px; padding: 32px 16px 18px calc(var(--m) + 14px); }
  .nl-sheet::before { left: 11px; width: 18px; background-image: radial-gradient(circle at 9px 10px, var(--cream) 0 5.5px, rgba(43, 42, 40, .32) 6px 7.4px, transparent 8px); background-size: 18px 44px; }
  .nl-sheet::after { right: 28px; width: 86px; height: 22px; top: -11px; }
  .nl-side { margin-left: -6px; padding: 18px 14px 16px; }
  .nl-row .btn { flex: 1 1 100.0%; }
}

/* footer: planner back page */
.site-footer { margin-top: 60px; background: var(--ink); color: #eee6d6; font-size: .95rem; }
.site-footer .binding { background-color: var(--terra-ink); }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; padding: 48px 0 30px; }
.site-footer h2 { font: 600 1.1rem var(--serif); color: #fff; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0 0 6px; }
.site-footer a { color: #f4dccf; }
.site-footer a:hover { color: #fff; }
.foot-brand img { width: 190px; background: var(--cream); padding: 8px 10px; border-radius: 4px; margin-bottom: 14px; }
.foot-notes { background-image: repeating-linear-gradient(transparent 0 31px, rgba(238,230,214,.2) 31px 32px); padding-top: 4px; }
.foot-notes p { font: 600 1.25rem/32px var(--hand); color: #f1e6c8; margin: 0; }
.foot-bottom { border-top: 1px solid rgba(238,230,214,.2); padding: 18px 0 26px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .88rem; color: #d9cfbd; }

@media (max-width: 900px) {
  .hero { padding-top: 36px; }
  .with-notes { grid-template-columns: 1fr; gap: 10px; }
  .with-notes aside { position: static; max-width: 420px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  body { font-size: 1rem; }
  .brand img { width: 172px; }
  .block { padding: 44px 0; }
  .checklist { padding: 20px 16px 14px; background-image: none; }
  .checklist-head, .checklist-actions { padding-left: 0; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* print: clean page; checklist-only mode when started from the print button */
@media print {
  @page { margin: 16mm; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .binding, .site-header, .site-footer, .skip, .no-print, .polaroids, .next, .hero-actions, .newsletter { display: none !important; }
  a { color: #000; text-decoration: none; }
  .block { padding: 18px 0; border-top: 1px solid #999; }
  .week-scroll { overflow: visible; }
  .week { display: grid !important; grid-template-columns: repeat(7, 1fr); }
  .day { opacity: 1 !important; box-shadow: none; break-inside: avoid; }
  .checklist { box-shadow: none; border: 1px solid #000; background-image: none; break-inside: avoid; }
  .checklist input { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .print-checklist body * { visibility: hidden; }
  .print-checklist #checklist, .print-checklist #checklist * { visibility: visible; }
  .print-checklist #checklist { position: absolute; left: 0; top: 0; width: 100.0%; max-width: none; margin: 0; }
}
