/* Clean look: the same layout, type and ink, with the texture taken out. Flat ground instead of the
   speckle, hairline edges instead of drop shadows, no paper grain, nothing tilted or lifting on hover.
   Loaded last on public pages (after evening.css); remove the link to bring the paper look back. */

:root {
  --ground: #f2f1ee;
  --sheet: #fcfbfa;
  --hair: rgba(43, 39, 36, 0.09);
}
html[data-theme="evening"] { --hair: rgba(255, 255, 255, 0.08); }

/* The shared paper tokens, flattened for both themes: a hairline wherever there was a shadow */
:root, html[data-theme="evening"] {
  --shadow: 0 0 0 1px var(--hair);
  --tape-shadow: 0 0 0 1px var(--hair);
  --paper-edge: 0 0 0 0 transparent;
  --paper-grain: none;
  --paper-sheen: none;
}

/* Flat ground, no speckle */
body, html[data-theme="evening"] body { background-image: none; }
html:not([data-theme="evening"]) body { background-color: var(--ground); }

/* Nav: one hairline under it instead of a shadow */
.nav, .nav.scrolled { box-shadow: 0 1px 0 var(--hair); }

/* Nothing tilts */
.review { --tilt: 0deg; }
.hd-card, .mk-guide > .mk-stop, .mk-guide > .mk-stop:nth-child(n) { rotate: none; }
.rw-tape, .rw-card .rw-tape, .rw-modal-body .rw-tape { rotate: none; }

/* Hairlines instead of the remaining fixed shadows */
.hd-card, .mk-course-card, .mk-guide > .mk-stop, .season-pick:hover, .season-pick[aria-pressed="true"],
.book-stub, .cut, .review:hover, .review:focus-visible, .rw-card:hover, .mk-guide .tape:hover,
.plan:not(.plan-featured):hover, .plan-lite:not(.plan-featured):hover, .faq details:hover,
.hero-photo img, .photo img, .article-cover img, .prose blockquote, .hero-frame, .chip-card {
  box-shadow: 0 0 0 1px var(--hair);
}
.card.plan-dark, .rw-feature, .btn-pear:hover, .book-float { box-shadow: none; }
.review:focus-visible { box-shadow: 0 0 0 2px var(--ink); }

/* Calm hovers: things darken a touch instead of floating up */
.btn:hover, .post:hover, .hd-card:hover, .book-reads a:hover, .mk-guide .tape:hover,
.review:hover, .review:focus-visible, .steps li:hover, .plan:hover, .plan-lite:hover { transform: none; }
.hd-card:hover { rotate: none; }

/* ---------- Cleaner still (after Avie Muah): near-white page, square corners, sections parted by
   hairlines instead of boxes, quieter labels, the hero photo edge to edge ---------- */
:root { --ground: #fdfcfb; --sheet: #fdfcfb; --r-sheet: 0px; --r-inner: 0px; --r-tape: 0px; }
html[data-theme="evening"] { --ground: #1b1917; --sheet: #1b1917; }
html:not([data-theme="evening"]) body { background-color: var(--ground); }
html[data-theme="evening"] body { background-color: var(--ground); }

/* Square corners on boxes, photos and the cards over photos */
.card, .sheet, .tape, .review, .faq-lines, .hd-card, .mk-course-card, .mk-courses-photo, .post-cover,
.posts-page .post, .posts-3 .post, .photo, .photo img, .hero-frame, .article-cover img, .prose img, .cut, .rw-card,
.mk-hero .mk-blur-photo, .book-stub, .season-card, .svc-groups .group { border-radius: 0; }

/* Homepage: no boxes. Each section sits on the page with a hairline above it and room around it */
main.atelier { gap: 0; padding-top: 0; }
main.atelier > section { padding-block: clamp(36px, 6vw, 88px); }
main.atelier > section + section { border-top: 1px solid var(--hair); }
main.atelier .sheet, main.atelier > section.mk-guide, main.atelier > section.mk-reviews {
  background-color: transparent; background-image: none; box-shadow: none;
}
main.atelier .mk-pair { gap: clamp(28px, 5vw, 72px); }
main.atelier .mk-text, main.atelier .mk-about, main.atelier .mk-journal, main.atelier .mk-courses-text { padding-inline: 0; }
main.atelier .mk-guide, main.atelier .mk-reviews { padding-inline: 0; }

/* The hero runs edge to edge, straight under the menu */
main.atelier > .mk-hero.hero-d { margin-inline: calc(-1 * clamp(14px, 2.4vw, 36px)); padding-block: 0 !important; border-top: 0; }
main.atelier > .mk-hero.hero-d + section { border-top: 0; }

/* Quieter labels */
.eyebrow, .hd-kick { font-size: 11px; letter-spacing: 0.16em; color: var(--n500); }

/* Menu and footer: the same paper as the page */
.nav, .nav.scrolled { background: color-mix(in srgb, var(--sheet) 94%, transparent); }
.mk-footer { background-color: transparent; background-image: none; box-shadow: 0 -1px 0 var(--hair); }
