:root{--paper:#F4EFE6;--fold:#E9E2D4;--ink:#1B1B1B;--red:#9B0016;--red-dark:#5B010B;--crimson:#D7263D;--muted:#5d5750;
--serif:'DM Serif Display',Georgia,serif;--sans:'DM Sans',system-ui,sans-serif;--w:min(100% - 2.5rem, 46rem)}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important;animation:none!important}}
body{color:var(--ink);font:400 1.0625rem/1.65 var(--sans);
  background-image:radial-gradient(rgba(27,27,27,.035) 1px,transparent 1.2px);background-size:5px 5px}
img{display:block;max-width:100%;height:auto}
a{color:var(--red)}
:focus-visible{outline:3px solid var(--crimson);outline-offset:3px}
.skip{position:absolute;left:-999px}.skip:focus{left:1rem;top:1rem;z-index:20;background:var(--ink);color:var(--paper);padding:.5rem 1rem}
h1,h2,h3{font-family:var(--serif);font-weight:400;line-height:1.05}
h2{font-size:clamp(2.1rem,7vw,3.2rem);margin-bottom:1rem}
h2 i,h1 em{color:var(--red)}
p+p{margin-top:.9rem}

/* top bar */
.bar{position:sticky;top:0;z-index:10;display:flex;justify-content:space-between;align-items:center;padding:.6rem 1.25rem;
  background:rgba(244,239,230,.92);backdrop-filter:blur(8px);border-bottom:1px solid rgba(27,27,27,.08)}
.brand{display:flex;align-items:center;gap:.55rem;text-decoration:none;color:var(--ink)}
.brand i{font-family:var(--serif);font-size:1.25rem;font-style:italic}.brand small{font-size:.8rem;color:var(--muted)}

/* buttons */
.btn,.dl{display:inline-flex;align-items:center;justify-content:center;gap:.4rem;min-height:3rem;padding:.75rem 1.4rem;border:0;
  background:var(--red);color:var(--paper);font:600 1rem var(--sans);text-decoration:none;cursor:pointer;
  clip-path:polygon(0 0,calc(100% - 12px) 0,100% 12px,100% 100%,0 100%)}
.btn:hover,.dl:hover{background:var(--red-dark)}
.btn.ghost{background:transparent;color:var(--ink);box-shadow:inset 0 0 0 1.5px var(--ink);clip-path:none}
.btn.ghost:hover{background:var(--ink);color:var(--paper)}
.btn.light{background:var(--paper);color:var(--red)}
.dl.small{min-height:2.4rem;padding:.4rem .9rem;font-size:.9rem}

/* hero */
.hero{display:grid;gap:1.5rem;padding:2rem 1.25rem 0;max-width:72rem;margin:auto}
.hero-kick{color:var(--red);font-family:var(--serif);font-style:italic;font-size:1.15rem}
h1{font-size:clamp(3.6rem,17vw,7.5rem);letter-spacing:-.02em;margin:.4rem 0 1rem}
.hero-sub{font-size:1.15rem;max-width:30rem}
.hero-cta{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:1.5rem}
.hero-meta{margin-top:1rem;font-size:.85rem;color:var(--muted)}
.hero-img img{width:100%;aspect-ratio:4/4.2;object-fit:cover;object-position:50% 85%}
@media (min-width:56rem){.hero{grid-template-columns:1.05fr 1fr;align-items:end;padding-top:4rem}.hero-text{padding-bottom:4rem}
  .hero-img img{aspect-ratio:3/4;object-position:50% 70%}}

/* the crease: a paper fold between sections */
.story,.method,.crease,.sheet,.week,.end{position:relative;padding:4.5rem 0}
.story::before,.method::before,.crease::before,.sheet::before,.week::before,.end::before{content:"";position:absolute;left:0;right:0;top:0;height:22px;
  background:linear-gradient(to bottom,rgba(27,27,27,.10),rgba(255,255,255,.55) 2px,rgba(27,27,27,0) 22px)}

.story{display:grid;gap:2rem;width:var(--w);margin:auto}
.story img{width:70%;max-width:20rem;aspect-ratio:1;object-fit:cover;object-position:50% 40%;border-radius:50%;justify-self:center}
@media (min-width:56rem){.story{width:min(100% - 2.5rem,62rem);grid-template-columns:18rem 1fr;align-items:center}.story img{width:100%}}

.method{width:var(--w);margin:auto}
.parts{list-style:none;display:grid;gap:.9rem;margin:1.5rem 0 2.5rem;counter-reset:p}
.parts li{counter-increment:p;padding:1rem 1.1rem 1rem 3.4rem;background:var(--fold);position:relative}
.parts li::before{content:counter(p);position:absolute;left:1.1rem;top:.7rem;font:400 1.7rem var(--serif);color:var(--red)}
.parts b{display:block;font-family:var(--serif);font-weight:400;font-size:1.3rem}
.order{font-family:var(--serif);font-size:1.3rem}
.chain{list-style:none;display:flex;flex-wrap:wrap;gap:.5rem;margin:1rem 0}
.chain li{background:var(--ink);color:var(--paper);padding:.45rem .8rem;font-family:var(--serif);font-size:1.05rem}
.chain li span{font:700 .75rem var(--sans);color:var(--crimson);margin-right:.45rem}
.chain li+li::before{content:"←";color:var(--red);margin-right:.5rem;font-family:var(--sans)}
.note{color:var(--muted);font-size:.95rem}

/* crease sections */
.crease{display:grid;gap:2rem;width:var(--w);margin:auto}
.crease-img img{width:100%;aspect-ratio:4/3.4;object-fit:cover;object-position:50% 30%}
.count{font-family:var(--serif);font-style:italic;color:var(--red);font-size:1.2rem}
.crease h2{margin:.2rem 0 1rem}
.why{font-size:1.1rem}
.crease h3{font-size:1.45rem;margin-bottom:.8rem}
.ask{margin-top:2.2rem;background:var(--ink);color:var(--paper);padding:1.4rem 1.25rem}
.ask h3{color:var(--paper)}
.msg+.msg{margin-top:1.1rem;padding-top:1.1rem;border-top:1px solid rgba(244,239,230,.15)}
.msg-h{display:flex;justify-content:space-between;align-items:center;gap:1rem;font-size:.85rem;color:#cfc6b6}
.msg p{margin-top:.5rem;font-size:.98rem;line-height:1.6}
.copy{background:transparent;color:var(--paper);border:1px solid rgba(244,239,230,.5);font:600 .85rem var(--sans);padding:.45rem .9rem;cursor:pointer;min-height:2.3rem}
.copy:hover,.copy.done{background:var(--crimson);border-color:var(--crimson)}
.write{margin-top:2.2rem}
.fields{display:grid;gap:1rem;grid-template-columns:1fr 1fr}
.field{grid-column:1/-1;display:grid;gap:.2rem;font-size:.9rem;color:var(--muted)}
.field.half,.field.short{grid-column:auto}
.field input{font:400 1.1rem var(--serif);color:var(--ink);background:transparent;border:0;border-bottom:1.5px solid rgba(27,27,27,.45);padding:.4rem 0;width:100%}
.field input:focus{outline:0;border-bottom-color:var(--red)}
.saved{font-size:.8rem;color:var(--muted);margin-top:.6rem}
.vs{display:grid;gap:.8rem;margin-top:2.2rem}
.vs>div{padding:1.1rem 1.2rem}
.good{background:var(--fold)}.good h3{color:var(--red)}
.bad{border:1.5px dashed rgba(27,27,27,.35)}.bad h3{color:var(--muted)}.bad p{text-decoration:line-through;color:var(--muted)}
@media (min-width:40rem){.vs{grid-template-columns:1fr 1fr}}
.test{margin-top:2.2rem;border:0;border-top:2px solid var(--ink);padding-top:1rem}
.test legend{font-family:var(--serif);font-size:1.45rem;padding-right:.6rem}
.test>p{font-family:var(--serif);font-size:1.2rem;margin:.3rem 0 1rem}
.yn{display:flex;flex-wrap:wrap;gap:.6rem}
.yn button{font:600 .95rem var(--sans);padding:.65rem 1.1rem;min-height:2.8rem;background:transparent;border:1.5px solid var(--ink);cursor:pointer;color:var(--ink)}
.yn button[aria-pressed=true]{background:var(--ink);color:var(--paper)}
.result{margin-top:.7rem;font-family:var(--serif);font-style:italic;color:var(--red);min-height:1.6em}
@media (min-width:56rem){.crease{width:min(100% - 2.5rem,68rem);grid-template-columns:22rem 1fr;align-items:start}
  .crease-img{position:sticky;top:5rem}.crease-img img{aspect-ratio:4/5}}

/* the unfolded sheet: the one place with a red frame */
.sheet{width:var(--w);margin:auto}
.grid{display:grid;gap:0;margin-top:1.5rem;border:2px solid var(--red);background:var(--paper)}
.cell{padding:1rem 1.2rem;border-bottom:1px solid rgba(155,0,22,.25)}
.cell h3{font-size:1.3rem;margin-bottom:.4rem}.cell h3 b{font:700 .8rem var(--sans);color:var(--red);margin-right:.35rem;vertical-align:middle}
.cell dl{display:grid;grid-template-columns:auto 1fr;gap:.25rem .8rem;font-size:.95rem}
.cell dt{color:var(--muted)}.cell dd{font-family:var(--serif);font-size:1.05rem}.cell dd.empty{color:rgba(27,27,27,.3)}
@media (min-width:40rem){.grid{grid-template-columns:1fr 1fr}.cell:nth-child(odd){border-right:1px solid rgba(155,0,22,.25)}}
.sheet-actions{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:1.4rem}

.week{width:var(--w);margin:auto}
.week ol{list-style:none;margin-top:1rem}
.week li{border-bottom:1px solid rgba(27,27,27,.12)}
.week label{display:grid;grid-template-columns:1.6rem 4.2rem 1fr;gap:.6rem;align-items:baseline;padding:1rem 0;cursor:pointer}
.week input{width:1.2rem;height:1.2rem;accent-color:var(--red)}
.week b{font:400 1.25rem var(--serif);color:var(--red)}
.week input:checked~span{text-decoration:line-through;color:var(--muted)}

.offer{background:radial-gradient(circle at 50% 30%,var(--red),var(--red-dark));color:var(--paper);padding:4.5rem 1.25rem;text-align:center}
.offer h2 i{color:var(--paper)}.offer p{max-width:34rem;margin:0 auto 1.6rem}

.end{display:grid;gap:2rem;width:var(--w);margin:auto}
.end img{width:100%;max-width:26rem;justify-self:center}
.end h2{font-size:clamp(2rem,6vw,2.8rem)}
@media (min-width:56rem){.end{width:min(100% - 2.5rem,62rem);grid-template-columns:1fr 1fr;align-items:center}}

footer{padding:2.5rem 1.25rem 7rem;text-align:center;font-size:.9rem;border-top:1px solid rgba(27,27,27,.1)}
footer p:first-child{display:flex;justify-content:center;align-items:center;gap:.4rem}footer i{font-family:var(--serif)}
.disc{max-width:40rem;margin:.8rem auto 0;font-size:.78rem;color:var(--muted)}

/* download dock (mobile): slides up after the hero */
.dock{position:fixed;left:0;right:0;bottom:0;z-index:9;display:flex;justify-content:space-between;align-items:center;gap:1rem;
  padding:.7rem 1.25rem calc(.7rem + env(safe-area-inset-bottom));background:var(--ink);color:var(--paper);font-size:.95rem;
  transform:translateY(110%);transition:transform .35s ease}
.dock.show{transform:none}
@media (min-width:56rem){.dock{display:none}}

@media print{body{background:#fff}.bar,.hero,.story,.method,.crease,.week,.offer,.end,footer,.dock,.sheet-actions{display:none!important}
  .sheet{width:100%;padding:0}.sheet::before{display:none}}
