@font-face {
  font-family: "TSC Caveat";
  src: url("assets/fonts/caveat-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "TSC Caveat";
  src: url("assets/fonts/caveat-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "TSC Patrick Hand";
  src: url("assets/fonts/patrick-hand-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #20201d;
  --text: #363734;
  --muted: #6a6b64;
  --canvas: #f4f1e8;
  --surface: #fffdf7;
  --soft: #f0f7f3;
  --line: #d8d3c5;
  --dot: rgba(56, 76, 68, 0.18);
  --forest: #315b4c;
  --blue: #456f9b;
  --coral: #bd6858;
  --gold: #ae862e;
  --violet: #726281;
  --marker-yellow: #f3dda0;
  --marker-blue: #cfe4f4;
  --marker-green: #d7e9dc;
  --marker-pink: #f1c7bd;
  --tape: #ead4b8;
  --shadow: 6px 8px 0 rgba(32, 32, 29, 0.12);
  --small-shadow: 4px 5px 0 rgba(32, 32, 29, 0.1);
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-hand: "TSC Patrick Hand", "Comic Sans MS", "Bradley Hand", cursive;
  --font-script: "TSC Caveat", "Comic Sans MS", "Bradley Hand", cursive;
  font-family: var(--font-hand);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 1px 1px, var(--dot) 1.1px, transparent 1.25px),
    linear-gradient(180deg, rgba(255, 253, 247, 0.98), rgba(244, 241, 232, 0.95)),
    var(--canvas);
  background-size: 18px 18px, auto;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, transparent 0 55px, rgba(189, 104, 88, 0.28) 55px 57px, transparent 57px),
    linear-gradient(180deg, rgba(255, 253, 247, 0.54), rgba(244, 241, 232, 0.18));
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  top: 86px;
  bottom: 0;
  left: 25px;
  z-index: -1;
  width: 14px;
  background:
    radial-gradient(circle, rgba(32, 32, 29, 0.26) 0 2px, transparent 2.4px) 0 12px / 14px 34px repeat-y;
  opacity: 0.75;
  pointer-events: none;
}

body,
button,
input {
  font: inherit;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  color: var(--ink);
  letter-spacing: 0;
  font-family: var(--font-script);
  font-weight: 700;
}

h1 {
  max-width: 920px;
  margin-bottom: 24px;
  font-size: 5.25rem;
  line-height: 0.88;
}

h2 {
  margin-bottom: 0;
  font-size: 3.45rem;
  line-height: 0.94;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.72rem;
  line-height: 0.98;
}

h4 {
  margin: 0 0 8px;
  font-size: 1.28rem;
  line-height: 1.05;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-140%);
  border-radius: 8px;
  padding: 10px 14px;
  color: #fff;
  background: var(--ink);
  font-weight: 850;
  text-decoration: none;
  box-shadow: var(--small-shadow);
}

.skip-link:focus-visible {
  transform: translateY(0);
}

p {
  line-height: 1.58;
}

.site-header {
  display: flex;
  position: sticky;
  top: 0;
  z-index: 20;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid rgba(216, 223, 215, 0.9);
  padding: 16px 40px;
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
  font-family: var(--font-hand);
  font-size: 1.14rem;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 8px;
  color: #fff;
  background: var(--ink);
  font-size: 0.75rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px;
}

.site-nav a {
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--muted);
  font-family: var(--font-hand);
  font-size: 1.08rem;
  font-weight: 400;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
  background: var(--soft);
}

.site-nav a.nav-cta {
  margin-left: 6px;
  border: 2px solid var(--ink);
  color: #fff;
  background: var(--ink);
  font-weight: 850;
  box-shadow: 3px 4px 0 rgba(32, 32, 29, 0.14);
}

.site-nav a.nav-cta:hover,
.site-nav a.nav-cta:focus-visible {
  color: var(--ink);
  background: var(--marker-yellow);
}

.directory-main {
  overflow: visible;
}

.hero {
  display: grid;
  grid-template-columns: minmax(500px, 0.9fr) minmax(0, 1.1fr);
  gap: 44px;
  align-items: stretch;
  min-height: 760px;
  padding: 54px 56px;
  color: rgba(255, 255, 255, 0.86);
  background:
    linear-gradient(90deg, rgba(189, 93, 74, 0.18), transparent 38%),
    var(--ink);
}

.hero-copy,
.hero-visual,
.hero-reading-panel {
  min-width: 0;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: clamp(28px, 4vw, 52px);
  background: rgba(255, 255, 255, 0.04);
}

.hero h1 {
  color: #fff;
  font-size: 4.25rem;
}

.hero .eyebrow {
  color: #b6d6cb;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.hero-meta span {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 7px 9px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.78rem;
  font-weight: 850;
}

.eyebrow,
.section-label {
  margin-bottom: 12px;
  color: var(--forest);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-intro {
  max-width: 710px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.14rem;
}

.hero-intro p {
  margin-bottom: 10px;
}

.hero-line {
  display: inline-flex;
  margin: 16px 0 0;
  border-left: 4px solid var(--coral);
  padding: 8px 0 8px 16px;
  color: #fff;
  font-size: 1.08rem;
  font-weight: 850;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 850;
  text-decoration: none;
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease, color 140ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button.primary {
  color: #fff;
  background: var(--ink);
  box-shadow: 0 12px 28px rgba(22, 26, 23, 0.16);
}

.button.secondary {
  color: var(--ink);
  background: #fff;
}

.button.secondary:hover,
.button.secondary:focus-visible {
  background: var(--soft);
}

.hero .button.primary {
  border-color: #fff;
  color: var(--ink);
  background: #fff;
}

.hero .button.secondary {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
  background: transparent;
}

.hero .button.secondary:hover,
.hero .button.secondary:focus-visible {
  color: var(--ink);
  background: #fff;
}

.hero-visual {
  display: grid;
  align-content: center;
  margin: 0;
}

.hero-visual img {
  width: 100%;
  height: min(66vw, 650px);
  min-height: 560px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
  object-fit: cover;
}

.hero-visual figcaption {
  max-width: 620px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.96rem;
  line-height: 1.55;
}

.reading-hero {
  grid-template-columns: minmax(300px, 0.58fr) minmax(620px, 1.42fr);
  gap: 32px;
  align-items: start;
  min-height: 0;
  padding-top: 44px;
  padding-bottom: 44px;
}

.reading-hero .hero-copy {
  justify-content: flex-start;
  align-self: start;
}

.reading-hero h1 {
  max-width: 720px;
  font-size: clamp(2.45rem, 3.2vw, 3.4rem);
}

.reading-hero .hero-intro {
  max-width: 660px;
}

.hero-reading-panel {
  display: grid;
  gap: 14px;
  align-content: start;
}

.hero-path-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.hero-path-grid a,
.hero-current-list a {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none;
  transition: transform 140ms ease, background 140ms ease, border-color 140ms ease;
}

.hero-path-grid a {
  display: grid;
  min-height: 154px;
  gap: 14px;
  align-content: space-between;
  padding: 18px;
}

.hero-path-grid a:hover,
.hero-path-grid a:focus-visible,
.hero-current-list a:hover,
.hero-current-list a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.1);
}

.hero-path-grid span,
.hero-current-list span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
}

.hero-path-grid strong {
  color: #fff;
  font-size: 1.1rem;
  line-height: 1.1;
}

.hero-path-grid em {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.92rem;
  font-style: normal;
  line-height: 1.42;
}

.hero-latest-card {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  padding: 24px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.hero-latest-card .card-kicker {
  margin: 0;
  color: var(--forest);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-latest-card h2 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(1.85rem, 3vw, 2.75rem);
}

.hero-latest-card a {
  color: inherit;
}

.hero-latest-card p:not(.card-kicker) {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
}

.hero-current-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.hero-current-list a {
  display: flex;
  min-height: 104px;
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
}

.hero-current-list strong {
  color: #fff;
  font-size: 0.94rem;
  line-height: 1.36;
}

.intro-section,
.start-section,
.archive-map,
.why-section,
.guides-section,
.collection-section,
.materials-section,
.featured-guide,
.follow-section,
.about-section {
  padding: 88px 56px;
}

.updates-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  border-top: 1px solid rgba(32, 32, 29, 0.18);
  border-bottom: 1px solid rgba(32, 32, 29, 0.18);
  padding: 48px 56px;
  background:
    linear-gradient(90deg, rgba(243, 221, 160, 0.48), transparent 44%),
    radial-gradient(circle at 1px 1px, rgba(49, 91, 76, 0.1) 1px, transparent 1.2px),
    #fffdf7;
  background-size: auto, 18px 18px, auto;
}

.updates-strip h2 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: 2.35rem;
}

.updates-strip p:not(.section-label) {
  max-width: 680px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.updates-strip .button {
  min-width: 210px;
  white-space: nowrap;
}

.directory-hero,
.directory-section {
  padding: 78px 56px;
}

.directory-hero {
  color: rgba(255, 255, 255, 0.82);
  background:
    linear-gradient(90deg, rgba(32, 88, 78, 0.28), transparent 46%),
    var(--ink);
}

.directory-hero h1 {
  max-width: 980px;
  color: #fff;
}

.directory-hero p:not(.eyebrow) {
  max-width: 760px;
  font-size: 1.2rem;
}

.intro-section {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 44px;
  align-items: start;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.intro-panel {
  max-width: 780px;
  color: var(--ink);
  font-size: 1.36rem;
}

.intro-panel p:last-child {
  margin-bottom: 0;
}

.intro-rules {
  display: grid;
  gap: 10px;
  border-left: 4px solid var(--blue);
  padding-left: 24px;
}

.intro-rules span,
.intro-rules strong {
  display: block;
  font-size: 1.1rem;
}

.intro-rules span {
  color: var(--muted);
}

.intro-rules strong {
  color: var(--ink);
}

.section-heading {
  max-width: 840px;
  margin-bottom: 34px;
}

.section-heading.wide {
  max-width: 940px;
}

.section-heading p:not(.section-label) {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.step-grid,
.guide-grid,
.shelf-list,
.editorial-list {
  display: grid;
  gap: 18px;
}

.step-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step-card,
.guide-card,
.editorial-list article {
  min-width: 0;
  border: 1px solid rgba(22, 26, 23, 0.12);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--small-shadow);
}

.step-card {
  display: flex;
  min-height: 360px;
  flex-direction: column;
  padding: 26px;
}

.step-card > span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 8px;
  color: #fff;
  background: var(--ink);
  font-weight: 900;
}

.step-card p,
.guide-card p,
.editorial-list p {
  color: var(--muted);
}

.text-button {
  display: inline-flex;
  width: fit-content;
  margin-top: auto;
  border-bottom: 2px solid var(--coral);
  padding-bottom: 3px;
  color: var(--ink);
  font-weight: 850;
  text-decoration: none;
}

.text-button:hover,
.text-button:focus-visible {
  color: var(--forest);
}

.archive-map {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}

.shelf-list {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.shelf-list a {
  display: grid;
  min-height: 230px;
  align-content: space-between;
  border: 1px solid rgba(22, 26, 23, 0.12);
  border-radius: 8px;
  padding: 22px;
  background: #fff;
  text-decoration: none;
  box-shadow: var(--small-shadow);
  transition: transform 140ms ease, box-shadow 140ms ease;
}

.shelf-list a:hover,
.shelf-list a:focus-visible {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.shelf-list span {
  width: fit-content;
  border-bottom: 3px solid var(--gold);
  color: var(--forest);
  font-weight: 900;
}

.shelf-list strong {
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1.05;
}

.shelf-list em {
  color: var(--muted);
  font-style: normal;
  line-height: 1.45;
}

.why-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
  gap: 56px;
  background:
    linear-gradient(90deg, rgba(32, 88, 78, 0.1), transparent 38%),
    var(--soft);
}

.why-copy {
  position: sticky;
  top: 112px;
  align-self: start;
}

.why-text {
  max-width: 860px;
  color: var(--text);
  font-size: 1.18rem;
}

.why-text p {
  margin-bottom: 18px;
}

.guides-section {
  background: #fff;
}

.guide-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.guide-card {
  display: flex;
  min-height: 290px;
  flex-direction: column;
  padding: 22px;
  transition: transform 140ms ease, box-shadow 140ms ease;
}

.guide-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.guide-card a,
.editorial-list a {
  color: inherit;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.guide-card-featured {
  border-color: rgba(32, 88, 78, 0.34);
  background:
    linear-gradient(180deg, rgba(238, 244, 241, 0.88), #fff 58%),
    #fff;
}

.guide-card span,
.editorial-list span {
  width: fit-content;
  margin-bottom: 40px;
  border: 1px solid rgba(22, 26, 23, 0.12);
  border-radius: 8px;
  padding: 6px 9px;
  color: var(--forest);
  background: var(--soft);
  font-size: 0.8rem;
  font-weight: 850;
}

.guide-card p,
.editorial-list p {
  margin-bottom: 0;
  font-size: 0.96rem;
}

.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.path-grid,
.related-grid,
.sitemap-grid,
.topic-map {
  display: grid;
  gap: 16px;
}

.path-grid,
.related-grid,
.sitemap-grid,
.topic-map {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.path-grid a,
.related-grid article,
.sitemap-grid section,
.topic-map section,
.content-list article {
  border: 1px solid rgba(22, 26, 23, 0.12);
  border-radius: 8px;
  padding: 22px;
  background: #fff;
  box-shadow: var(--small-shadow);
}

.path-grid a,
.related-grid a,
.sitemap-grid a,
.topic-map a,
.content-list a {
  text-decoration: none;
}

.path-grid a {
  display: grid;
  gap: 10px;
}

.path-grid span,
.related-grid span,
.content-list span {
  color: var(--forest);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.path-grid strong {
  color: var(--ink);
  font-size: 1.18rem;
  line-height: 1.22;
}

.path-grid em {
  color: var(--muted);
  font-style: normal;
  line-height: 1.55;
}

.content-list {
  display: grid;
  gap: 14px;
}

.content-list article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 0.26fr);
  gap: 22px;
  align-items: start;
  padding: 24px;
}

.content-list h3,
.related-grid h3,
.sitemap-grid h3,
.topic-map h3 {
  margin-top: 8px;
}

.content-list p,
.related-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.content-list ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.topic-map section,
.sitemap-grid section {
  display: grid;
  align-content: start;
  gap: 10px;
}

.topic-map a,
.sitemap-grid a {
  border-bottom: 1px solid var(--line);
  padding-bottom: 7px;
  color: var(--ink);
  font-weight: 800;
}

.topic-map a:hover,
.topic-map a:focus-visible,
.sitemap-grid a:hover,
.sitemap-grid a:focus-visible,
.content-list a:hover,
.content-list a:focus-visible,
.related-grid a:hover,
.related-grid a:focus-visible,
.path-grid a:hover,
.path-grid a:focus-visible {
  color: var(--forest);
}

.collection-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.22fr);
  gap: 44px;
  align-items: start;
}

.collection-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(246, 248, 245, 0.9)),
    var(--canvas);
}

.kits-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.split-copy {
  position: sticky;
  top: 112px;
  max-width: 560px;
  align-self: start;
}

.split-copy p {
  color: var(--muted);
}

.small-note {
  border-left: 4px solid var(--gold);
  padding-left: 14px;
  font-size: 0.95rem;
}

.editorial-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.editorial-list article {
  display: flex;
  min-height: 300px;
  flex-direction: column;
  padding: 24px;
}

.materials-section {
  background: var(--soft);
}

.materials-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.45fr);
  gap: 32px;
  align-items: start;
}

.material-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.material-list span {
  display: grid;
  min-height: 82px;
  align-items: end;
  border: 1px solid rgba(22, 26, 23, 0.12);
  border-radius: 8px;
  padding: 14px;
  color: var(--ink);
  background: #fff;
  font-weight: 850;
  box-shadow: 0 8px 18px rgba(22, 26, 23, 0.06);
}

.material-list span:nth-child(3n + 1) {
  border-top: 4px solid var(--forest);
}

.material-list span:nth-child(3n + 2) {
  border-top: 4px solid var(--blue);
}

.material-list span:nth-child(3n + 3) {
  border-top: 4px solid var(--coral);
}

.materials-note {
  border-left: 4px solid var(--ink);
  padding-left: 22px;
}

.materials-note p {
  color: var(--muted);
}

.featured-guide {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 48px;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(189, 93, 74, 0.12), transparent 42%),
    var(--canvas);
}

.featured-guide-copy {
  max-width: 720px;
}

.featured-guide-copy p:not(.section-label) {
  color: var(--muted);
  font-size: 1.08rem;
}

.guide-preview {
  display: grid;
  position: relative;
  min-height: 430px;
  place-items: center;
  border: 1px solid rgba(22, 26, 23, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(216, 223, 215, 0.7) 1px, transparent 1px),
    linear-gradient(180deg, rgba(216, 223, 215, 0.7) 1px, transparent 1px),
    #fff;
  background-size: 24px 24px;
  box-shadow: var(--shadow);
}

.preview-sheet {
  display: grid;
  width: min(72%, 360px);
  min-height: 250px;
  align-content: end;
  gap: 10px;
  border: 1px solid rgba(22, 26, 23, 0.16);
  border-radius: 8px;
  padding: 24px;
  background: #fff;
  box-shadow: var(--small-shadow);
  transform: rotate(-2deg);
}

.preview-sheet span {
  color: var(--coral);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.preview-sheet strong {
  color: var(--ink);
  font-size: 1.7rem;
  line-height: 1.05;
}

.preview-sheet p {
  margin: 0;
  color: var(--muted);
}

.preview-index {
  display: flex;
  position: absolute;
  right: 44px;
  bottom: 42px;
  gap: 8px;
}

.preview-index i {
  display: block;
  width: 36px;
  height: 54px;
  border: 1px solid rgba(22, 26, 23, 0.14);
  border-radius: 8px;
  background: var(--soft);
}

.preview-index i:nth-child(2) {
  background: rgba(55, 105, 154, 0.2);
}

.preview-index i:nth-child(3) {
  background: rgba(189, 93, 74, 0.22);
}

.preview-index i:nth-child(4) {
  background: rgba(168, 121, 35, 0.2);
}

.preview-index i:nth-child(5) {
  background: rgba(117, 98, 130, 0.2);
}

.follow-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 40px;
  align-items: center;
  background: #fff;
}

.follow-copy p:not(.section-label) {
  max-width: 680px;
  color: var(--muted);
}

.email-form {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(22, 26, 23, 0.12);
  border-radius: 8px;
  padding: 22px;
  background: var(--soft);
}

.email-form label {
  color: var(--ink);
  font-weight: 850;
}

.email-form > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.email-form input {
  min-height: 48px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--ink);
  background: #fff;
}

.email-form input:focus-visible {
  border-color: var(--blue);
  outline: 3px solid rgba(55, 105, 154, 0.18);
}

#emailStatus {
  min-height: 24px;
  margin: 0;
  color: var(--forest);
  font-size: 0.94rem;
  font-weight: 750;
}

.about-section {
  background:
    linear-gradient(90deg, var(--ink) 0 8px, transparent 8px),
    var(--soft);
}

.about-card {
  max-width: 920px;
}

.about-card p,
.about-card li {
  color: var(--muted);
  font-size: 1.08rem;
}

.about-card ul {
  display: grid;
  max-width: 520px;
  gap: 8px;
  margin: 20px 0;
  padding: 0;
  list-style: none;
}

.about-card li {
  border-left: 4px solid var(--coral);
  padding-left: 12px;
  color: var(--ink);
  font-weight: 850;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding: 30px 56px;
  color: #fff;
  background: var(--ink);
}

.site-footer p {
  margin: 0;
  font-weight: 850;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #fff;
}

.site-footer a.footer-cta {
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 8px;
  padding: 6px 10px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  font-weight: 850;
}

.site-footer a.footer-cta:hover,
.site-footer a.footer-cta:focus-visible {
  color: var(--ink);
  background: var(--marker-yellow);
}

.article-main {
  overflow: visible;
}

.article-hero {
  display: grid;
  grid-template-columns: minmax(420px, 0.86fr) minmax(0, 1.14fr);
  gap: 46px;
  align-items: center;
  padding: 56px;
  color: rgba(255, 255, 255, 0.78);
  background:
    linear-gradient(90deg, rgba(55, 105, 154, 0.2), transparent 42%),
    var(--ink);
}

.article-hero-copy {
  min-width: 0;
}

.back-link {
  display: inline-flex;
  margin-bottom: 28px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.5);
  padding-bottom: 4px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 850;
  text-decoration: none;
}

.back-link:hover,
.back-link:focus-visible {
  color: #fff;
}

.article-hero h1 {
  max-width: 820px;
  color: #fff;
}

.article-deck {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.2rem;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.article-meta span,
.article-meta time {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  padding: 8px 10px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.07);
  font-size: 0.8rem;
  font-weight: 850;
}

.article-hero-figure {
  margin: 0;
}

.article-hero-figure img,
.article-figure img {
  width: 100%;
  border: 1px solid rgba(22, 26, 23, 0.12);
  border-radius: 8px;
  background: #fff;
  object-fit: cover;
}

.article-hero-figure img {
  aspect-ratio: 3 / 2;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.article-hero-figure figcaption,
.article-figure figcaption {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
  line-height: 1.5;
}

.article-shell {
  display: grid;
  grid-template-columns: 240px minmax(0, 920px);
  gap: 54px;
  justify-content: center;
  padding: 70px 56px 96px;
}

.article-rail {
  position: sticky;
  top: 112px;
  min-width: 0;
  max-width: 100%;
  align-self: start;
}

.article-rail nav {
  display: grid;
  gap: 2px;
  border-left: 4px solid var(--forest);
  padding-left: 14px;
}

.article-rail a {
  border-radius: 8px;
  padding: 8px 10px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.article-rail a:hover,
.article-rail a:focus-visible {
  color: var(--ink);
  background: var(--soft);
}

.article-content {
  min-width: 0;
}

.article-section {
  margin-bottom: 82px;
}

.article-section > p,
.article-section li {
  color: var(--text);
  font-size: 1.06rem;
}

.article-lead p {
  color: var(--ink);
  font-size: 1.32rem;
  line-height: 1.64;
}

.article-figure {
  margin: 30px 0;
}

.article-figure img {
  height: min(64vw, 760px);
  object-fit: contain;
}

.article-figure figcaption {
  color: var(--muted);
}

.rule-panel,
.summary-grid,
.choice-guide,
.image-notes,
.diagnostic-table,
.size-guide,
.preservation-grid,
.starter-grid,
.recipe-grid,
.finish-grid,
.layout-grid,
.mistake-list,
.material-table {
  display: grid;
  gap: 16px;
}

.summary-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 24px;
}

.summary-grid article,
.path-ladder,
.chooser-list article {
  border: 1px solid rgba(22, 26, 23, 0.12);
  border-radius: 8px;
  padding: 20px;
  background: #fff;
  box-shadow: var(--small-shadow);
}

.summary-grid span,
.path-ladder span,
.chooser-list span {
  display: block;
  margin-bottom: 10px;
  color: var(--forest);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.summary-grid p,
.chooser-list p,
.path-ladder p {
  margin-bottom: 0;
}

.compact-summary {
  margin-top: 18px;
}

.path-ladder-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.path-ladder ol {
  margin: 18px 0 0;
  padding-left: 22px;
}

.path-ladder li + li {
  margin-top: 10px;
}

.path-ladder a,
.chooser-list a {
  color: var(--ink);
  font-weight: 850;
}

.chooser-list {
  display: grid;
  gap: 12px;
}

.chooser-list article {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(220px, 0.8fr) minmax(220px, 1fr);
  gap: 18px;
  align-items: start;
}

.continue-section {
  border-top: 1px solid var(--line);
  margin-bottom: 0;
  padding-top: 42px;
}

.update-cta-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  border: 2px solid rgba(32, 32, 29, 0.88);
  border-radius: 8px;
  margin-top: 34px;
  margin-bottom: 0;
  padding: 24px;
  background:
    radial-gradient(circle at 1px 1px, rgba(49, 91, 76, 0.12) 1px, transparent 1.2px),
    var(--surface);
  background-size: 18px 18px, auto;
  box-shadow: var(--small-shadow);
}

.update-cta-section h2 {
  max-width: 680px;
  margin-bottom: 0;
  font-size: 2rem;
}

.update-cta-section p:not(.section-label) {
  max-width: 640px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.update-cta-section .button {
  white-space: nowrap;
}

.final-checklist {
  margin-bottom: 70px;
}

.rule-panel {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 30px 0;
}

.rule-panel div,
.choice-guide article,
.size-guide article,
.preservation-grid article,
.recipe-grid > div,
.finish-grid section,
.layout-grid article,
.mistake-list article,
.material-table > div,
.starter-grid article,
.use-case-box,
.variation-box,
.filled-example,
.expert-note,
.practice-card,
.research-note,
.callout {
  border: 1px solid rgba(22, 26, 23, 0.12);
  border-radius: 8px;
  padding: 22px;
  background: #fff;
  box-shadow: var(--small-shadow);
}

.rule-panel span,
.choice-guide span,
.size-guide span,
.preservation-grid span,
.layout-grid span {
  display: inline-flex;
  margin-bottom: 18px;
  border-bottom: 3px solid var(--coral);
  color: var(--forest);
  font-weight: 900;
}

.image-notes {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: -10px 0 30px;
}

.article-hero-figure .image-notes {
  margin: 16px 0 0;
}

.image-notes span {
  border: 1px solid rgba(22, 26, 23, 0.1);
  border-radius: 8px;
  padding: 14px 16px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.76);
  line-height: 1.55;
}

.image-notes strong {
  color: var(--ink);
}

.choice-guide {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 30px 0;
}

.choice-guide article {
  display: flex;
  min-height: 260px;
  flex-direction: column;
}

.choice-guide p,
.size-guide p,
.preservation-grid p,
.use-case-box p {
  margin-bottom: 0;
  color: var(--muted);
}

.choice-guide a {
  width: fit-content;
  margin-top: auto;
  border-bottom: 2px solid var(--blue);
  padding-bottom: 3px;
  color: var(--ink);
  font-weight: 850;
  text-decoration: none;
}

.choice-guide a:hover,
.choice-guide a:focus-visible {
  color: var(--forest);
}

.diagnostic-table {
  margin: 34px 0 0;
  border: 1px solid rgba(22, 26, 23, 0.12);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--small-shadow);
}

.diagnostic-table > div {
  display: grid;
  grid-template-columns: minmax(180px, 0.34fr) minmax(180px, 0.28fr) minmax(0, 1fr);
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding: 18px 20px;
}

.diagnostic-table > div:last-child {
  border-bottom: 0;
}

.diagnostic-table strong {
  color: var(--ink);
}

.diagnostic-table span {
  color: var(--forest);
  font-weight: 850;
}

.diagnostic-table em {
  color: var(--muted);
  font-style: normal;
  line-height: 1.5;
}

.compact-callout {
  margin-top: 12px;
}

.compact-callout p {
  margin: 0;
  color: var(--muted);
}

.callout,
.research-note {
  background: var(--soft);
}

.mini-map {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.mini-map span {
  border-radius: 999px;
  padding: 10px 13px;
  color: #fff;
  background: var(--forest);
  font-size: 0.92rem;
  font-weight: 850;
}

.callout ol,
.detailed-steps,
.routine-list,
.sources-section ul {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding-left: 22px;
}

.collect-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 28px 0;
}

.collect-grid span,
.prompt-strip span {
  border: 1px solid rgba(22, 26, 23, 0.12);
  border-radius: 8px;
  padding: 11px 12px;
  color: var(--ink);
  background: #fff;
  font-weight: 800;
}

.material-table {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 28px 0;
}

.size-guide {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 28px 0;
}

.size-guide article {
  border-top: 4px solid var(--gold);
}

.material-table p,
.starter-grid p,
.recipe-grid p,
.finish-grid p,
.layout-grid p,
.mistake-list p,
.use-case-box p,
.variation-box p,
.filled-example p,
.expert-note p,
.practice-card p,
.research-note p {
  margin-bottom: 0;
  color: var(--muted);
}

.starter-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 28px 0;
}

.starter-grid article {
  display: grid;
  gap: 10px;
  border-top: 4px solid var(--gold);
}

.starter-grid span {
  color: var(--forest);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.starter-grid p {
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.recipe-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 28px 0;
}

.recipe-grid ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}

.detailed-steps li,
.routine-list li {
  padding-left: 4px;
}

.variation-box {
  margin-top: 24px;
  border-left: 4px solid var(--blue);
}

.use-case-box {
  margin-top: 14px;
  border-left: 4px solid var(--forest);
  background: linear-gradient(180deg, #fff, rgba(238, 244, 241, 0.72));
}

.filled-example {
  margin-top: 24px;
  border-left: 4px solid var(--coral);
  background: linear-gradient(180deg, #fff, rgba(248, 241, 232, 0.74));
}

.example-context {
  margin-top: -4px;
}

.sample-lines {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.sample-lines span {
  display: block;
  border: 1px dashed rgba(22, 26, 23, 0.18);
  border-radius: 8px;
  padding: 11px 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
}

.sample-lines strong {
  margin-right: 8px;
  color: var(--forest);
}

.expert-note {
  margin-top: 28px;
  border-left: 4px solid var(--gold);
  background: var(--soft);
}

.practice-card {
  margin-top: 24px;
  border-left: 4px solid var(--forest);
  background: #fff;
}

.preservation-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 16px 0;
}

.preservation-grid article {
  box-shadow: none;
}

.preservation-grid span {
  margin-bottom: 12px;
}

.prompt-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.formula-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 28px 0;
}

.formula-row span,
.formula-row strong {
  border-radius: 8px;
  padding: 12px 14px;
  font-weight: 900;
}

.formula-row span {
  border: 1px solid rgba(22, 26, 23, 0.12);
  color: var(--ink);
  background: #fff;
}

.formula-row strong {
  color: #fff;
  background: var(--forest);
}

.finish-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.layout-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mistake-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.troubleshoot-table,
.troubleshooting-table {
  display: grid;
  border: 1px solid rgba(22, 26, 23, 0.12);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--small-shadow);
}

.troubleshoot-table > div,
.troubleshooting-table > div {
  display: grid;
  grid-template-columns: minmax(180px, 0.42fr) minmax(0, 1fr);
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding: 18px 20px;
}

.troubleshoot-table > div:last-child,
.troubleshooting-table > div:last-child {
  border-bottom: 0;
}

.compact-table {
  margin-top: 18px;
}

.troubleshoot-table strong,
.troubleshooting-table strong {
  color: var(--ink);
}

.troubleshoot-table span,
.troubleshooting-table span {
  color: var(--muted);
  line-height: 1.55;
}

/* Bullet journal theme layer */
.site-header {
  border-bottom: 2px solid var(--ink);
  background:
    radial-gradient(circle at 1px 1px, rgba(32, 32, 29, 0.12) 1px, transparent 1.2px),
    rgba(255, 253, 247, 0.94);
  background-size: 18px 18px, auto;
  box-shadow: 0 3px 0 rgba(32, 32, 29, 0.08);
}

.brand-mark {
  border: 2px solid var(--ink);
  color: var(--ink);
  background: linear-gradient(135deg, var(--marker-yellow), #fff8dd);
  box-shadow: 3px 3px 0 var(--ink);
}

.site-nav a {
  border: 1px solid transparent;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  border-color: var(--ink);
  background: var(--marker-blue);
}

.hero,
.directory-hero,
.article-hero {
  position: relative;
  border-bottom: 2px solid var(--ink);
  color: var(--text);
  background:
    radial-gradient(circle at 1px 1px, rgba(49, 91, 76, 0.19) 1.1px, transparent 1.3px),
    linear-gradient(90deg, transparent 0 54px, rgba(189, 104, 88, 0.34) 54px 56px, transparent 56px),
    linear-gradient(180deg, #fffdf7, #f7f3e9);
  background-size: 18px 18px, auto, auto;
}

.hero::after,
.directory-hero::after,
.article-hero::after {
  content: "";
  position: absolute;
  right: 56px;
  bottom: -10px;
  width: min(260px, 24vw);
  height: 22px;
  border: 1px solid rgba(32, 32, 29, 0.12);
  background: rgba(234, 212, 184, 0.74);
  transform: rotate(-1deg);
}

.hero > *,
.directory-hero > *,
.article-hero > * {
  position: relative;
  z-index: 1;
}

.hero-copy,
.hero-path-grid a,
.hero-current-list a,
.hero-latest-card,
.step-card,
.guide-card,
.editorial-list article,
.summary-grid article,
.path-ladder,
.chooser-list article,
.rule-panel div,
.choice-guide article,
.size-guide article,
.preservation-grid article,
.recipe-grid > div,
.finish-grid section,
.layout-grid article,
.mistake-list article,
.material-table > div,
.starter-grid article,
.use-case-box,
.variation-box,
.filled-example,
.expert-note,
.practice-card,
.research-note,
.callout,
.diagnostic-table,
.troubleshoot-table,
.troubleshooting-table,
.about-card,
.email-form,
.guide-preview {
  border: 2px solid rgba(32, 32, 29, 0.88);
  border-radius: 8px;
  background:
    radial-gradient(circle at 1px 1px, rgba(49, 91, 76, 0.12) 1px, transparent 1.2px),
    var(--surface);
  background-size: 18px 18px, auto;
  box-shadow: var(--small-shadow);
}

.hero-copy {
  color: var(--text);
}

.hero h1,
.directory-hero h1,
.article-hero h1 {
  color: var(--ink);
}

.hero .eyebrow,
.section-label,
.directory-hero .eyebrow {
  color: var(--blue);
}

.hero-intro,
.directory-hero p:not(.eyebrow),
.article-deck {
  color: var(--text);
}

.hero-meta span,
.article-meta span,
.article-meta time,
.guide-card span,
.editorial-list span {
  border: 1px solid rgba(32, 32, 29, 0.2);
  color: var(--ink);
  background: var(--marker-yellow);
}

.hero-meta span:nth-child(2),
.article-meta span:nth-child(2),
.guide-card:nth-child(3n + 2) span,
.editorial-list article:nth-child(3n + 2) span {
  background: var(--marker-blue);
}

.hero .button.primary,
.button.primary {
  border: 2px solid var(--ink);
  color: #fffdf7;
  background: var(--ink);
  box-shadow: 3px 3px 0 rgba(32, 32, 29, 0.18);
}

.hero .button.secondary,
.button.secondary {
  border: 2px solid var(--ink);
  color: var(--ink);
  background: var(--surface);
}

.hero .button.secondary:hover,
.hero .button.secondary:focus-visible,
.button.secondary:hover,
.button.secondary:focus-visible {
  color: var(--ink);
  background: var(--marker-green);
}

.hero-path-grid a,
.hero-current-list a {
  position: relative;
  overflow: hidden;
  color: var(--text);
}

.hero-path-grid a::before,
.guide-card::before,
.step-card::before,
.editorial-list article::before {
  content: "";
  position: absolute;
  top: 0;
  left: 18px;
  right: 18px;
  height: 8px;
  background: var(--marker-blue);
  opacity: 0.85;
}

.hero-path-grid a:nth-child(2)::before,
.guide-card:nth-child(3n + 2)::before,
.step-card:nth-child(2)::before,
.editorial-list article:nth-child(3n + 2)::before {
  background: var(--marker-yellow);
}

.hero-path-grid a:nth-child(3)::before,
.guide-card:nth-child(3n)::before,
.step-card:nth-child(3)::before,
.editorial-list article:nth-child(3n)::before {
  background: var(--marker-pink);
}

.hero-path-grid a:nth-child(4)::before {
  background: var(--marker-green);
}

.hero-path-grid span,
.hero-current-list span {
  color: var(--coral);
}

.hero-path-grid strong,
.hero-current-list strong {
  color: var(--ink);
}

.hero-path-grid em {
  color: var(--muted);
}

.hero-latest-card {
  color: var(--ink);
  box-shadow: 7px 8px 0 rgba(32, 32, 29, 0.13);
}

.hero-latest-card .card-kicker {
  color: var(--forest);
}

.intro-section,
.guides-section,
.collection-section,
.materials-section,
.follow-section,
.about-section,
.directory-section {
  background:
    radial-gradient(circle at 1px 1px, rgba(49, 91, 76, 0.11) 1px, transparent 1.2px),
    rgba(255, 253, 247, 0.72);
  background-size: 18px 18px, auto;
}

.start-section,
.archive-map,
.why-section,
.featured-guide {
  background:
    linear-gradient(90deg, rgba(207, 228, 244, 0.34), transparent 38%),
    radial-gradient(circle at 1px 1px, rgba(49, 91, 76, 0.1) 1px, transparent 1.2px),
    #fbf8ef;
  background-size: auto, 18px 18px, auto;
}

.intro-section,
.archive-map,
.continue-section {
  border-color: rgba(32, 32, 29, 0.28);
}

.intro-rules {
  border-left-color: var(--coral);
}

.step-card,
.guide-card,
.editorial-list article,
.choice-guide article {
  position: relative;
  overflow: hidden;
}

.step-card > span {
  border: 2px solid var(--ink);
  color: var(--ink);
  background: var(--marker-yellow);
}

.shelf-list a,
.path-grid a {
  border: 2px solid rgba(32, 32, 29, 0.88);
  background:
    radial-gradient(circle at 1px 1px, rgba(49, 91, 76, 0.1) 1px, transparent 1.2px),
    var(--surface);
  background-size: 18px 18px, auto;
  box-shadow: var(--small-shadow);
}

.shelf-list a:hover,
.shelf-list a:focus-visible,
.path-grid a:hover,
.path-grid a:focus-visible,
.guide-card:hover {
  box-shadow: var(--shadow);
}

.shelf-list span,
.path-grid span,
.rule-panel span,
.choice-guide span,
.size-guide span,
.preservation-grid span,
.layout-grid span {
  border-bottom-color: var(--coral);
  color: var(--ink);
}

.small-note,
.materials-note,
.compact-callout,
.expert-note,
.practice-card,
.research-note,
.callout {
  background:
    linear-gradient(180deg, rgba(215, 233, 220, 0.48), rgba(255, 253, 247, 0.92)),
    var(--surface);
}

.article-hero {
  color: var(--text);
}

.back-link {
  border-bottom-color: var(--coral);
  color: var(--ink);
}

.back-link:hover,
.back-link:focus-visible {
  color: var(--blue);
}

.article-hero-figure img,
.article-figure img {
  border: 2px solid var(--ink);
  background: var(--surface);
  box-shadow: var(--small-shadow);
}

.article-hero-figure figcaption,
.article-figure figcaption {
  color: var(--muted);
}

.article-shell {
  background:
    radial-gradient(circle at 1px 1px, rgba(49, 91, 76, 0.1) 1px, transparent 1.2px),
    rgba(255, 253, 247, 0.42);
  background-size: 18px 18px, auto;
}

.article-rail nav {
  border-left-color: var(--coral);
}

.article-rail a:hover,
.article-rail a:focus-visible {
  background: var(--marker-blue);
}

.article-section h2 {
  display: inline-block;
  background: linear-gradient(transparent 62%, rgba(243, 221, 160, 0.72) 62%);
}

.article-section h3 {
  width: fit-content;
  background: linear-gradient(transparent 64%, rgba(207, 228, 244, 0.72) 64%);
}

.article-section > p,
.article-section li,
.article-lead p {
  color: var(--text);
}

.image-notes span,
.collect-grid span,
.prompt-strip span,
.sample-lines span {
  border: 1px dashed rgba(32, 32, 29, 0.38);
  background: rgba(255, 253, 247, 0.86);
}

.mini-map span {
  border: 1px solid var(--ink);
  color: var(--ink);
  background: var(--marker-green);
}

.formula-row strong {
  border: 2px solid var(--ink);
  color: var(--ink);
  background: var(--marker-yellow);
}

.site-footer {
  border-top: 2px solid var(--ink);
  color: #fffdf7;
  background:
    radial-gradient(circle at 1px 1px, rgba(255, 253, 247, 0.12) 1px, transparent 1.3px),
    var(--ink);
  background-size: 18px 18px, auto;
}

/* Handwritten bullet journal details */
.hero-copy,
.hero-path-grid a,
.hero-current-list a,
.hero-latest-card,
.step-card,
.guide-card,
.editorial-list article,
.shelf-list a,
.path-grid a,
.summary-grid article,
.path-ladder,
.chooser-list article {
  border-radius: 11px 8px 13px 9px;
}

.hero-copy,
.hero-latest-card,
.step-card:nth-child(2n),
.guide-card:nth-child(2n),
.editorial-list article:nth-child(2n),
.shelf-list a:nth-child(2n) {
  transform: rotate(-0.18deg);
}

.hero-path-grid a:nth-child(2n),
.hero-current-list a:nth-child(2n),
.step-card:nth-child(2n + 1),
.guide-card:nth-child(2n + 1),
.editorial-list article:nth-child(2n + 1),
.shelf-list a:nth-child(2n + 1) {
  transform: rotate(0.16deg);
}

.hero-path-grid a:hover,
.hero-path-grid a:focus-visible,
.hero-current-list a:hover,
.hero-current-list a:focus-visible,
.guide-card:hover,
.shelf-list a:hover,
.shelf-list a:focus-visible,
.path-grid a:hover,
.path-grid a:focus-visible {
  transform: translateY(-2px) rotate(0deg);
}

.hero-copy::before,
.hero-latest-card::before,
.article-hero-copy::before,
.section-heading::before {
  content: "";
  display: block;
  width: 86px;
  height: 16px;
  margin-bottom: 18px;
  border: 1px solid rgba(32, 32, 29, 0.13);
  background: rgba(234, 212, 184, 0.72);
  transform: rotate(-1.4deg);
}

.hero-path-grid a::after,
.step-card::after,
.guide-card::after,
.editorial-list article::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 16px;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(32, 32, 29, 0.68);
  border-radius: 4px 5px 3px 5px;
  opacity: 0.42;
  transform: rotate(-5deg);
}

.guide-card h3 a,
.editorial-list h3 a,
.shelf-list strong,
.content-list h3 a,
.path-ladder a,
.chooser-list a {
  text-decoration-thickness: 2px;
  text-decoration-style: wavy;
  text-underline-offset: 5px;
}

.hero-latest-card h2 {
  line-height: 1.02;
}

.hero-latest-card h2 a {
  text-decoration: none;
  background: linear-gradient(transparent 60%, rgba(243, 221, 160, 0.82) 60%);
}

.hero-latest-card h2,
.featured-guide h2,
.directory-hero h1,
.article-hero h1,
.section-heading h2 {
  text-shadow: 0.7px 0 rgba(32, 32, 29, 0.16);
}

.hero .eyebrow,
.section-label,
.card-kicker,
.hero-meta span,
.article-meta span,
.article-meta time,
.guide-card span,
.editorial-list span,
.summary-grid span,
.path-ladder span,
.chooser-list span {
  font-family: var(--font-hand);
  font-size: 1.02rem;
  text-transform: none;
}

.article-content,
.article-section > p,
.article-section li,
.article-lead p,
.intro-panel,
.why-text,
.guide-card p,
.editorial-list p,
.shelf-list em,
.hero-intro,
.directory-hero p:not(.eyebrow),
.article-deck {
  font-family: var(--font-hand);
}

.article-section > p,
.article-section li {
  font-size: 1.28rem;
}

.article-lead p {
  font-size: 1.6rem;
}

.hero-intro,
.directory-hero p:not(.eyebrow),
.article-deck,
.intro-panel,
.why-text {
  font-size: 1.34rem;
}

.guide-card p,
.editorial-list p,
.shelf-list em {
  font-size: 1.14rem;
}

.article-section ul,
.article-section ol,
.routine-list,
.detailed-steps {
  padding-left: 1.2em;
}

.article-section li::marker,
.routine-list li::marker,
.detailed-steps li::marker,
.callout li::marker,
.sources-section li::marker {
  color: var(--coral);
  font-family: var(--font-hand);
  font-size: 1.08em;
}

.article-rail a {
  font-family: var(--font-hand);
  font-size: 1.08rem;
}

.button,
.text-button {
  font-family: var(--font-hand);
  font-size: 1.12rem;
  font-weight: 400;
}

:where(a, button, input, textarea, select, [tabindex]):focus-visible {
  outline: 3px solid var(--blue) !important;
  outline-offset: 3px !important;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

.sources-section {
  border-top: 1px solid var(--line);
  padding-top: 42px;
}

.sources-section a {
  color: var(--forest);
  font-weight: 800;
}

@media (max-width: 1180px) {
  h1 {
    font-size: 3.7rem;
  }

  .hero h1 {
    font-size: 4rem;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .reading-hero {
    grid-template-columns: 1fr;
  }

  .hero-visual img {
    height: auto;
    min-height: 0;
    max-height: 620px;
  }

  .guide-grid,
  .shelf-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .material-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .article-hero {
    grid-template-columns: 1fr;
  }

  .article-shell {
    grid-template-columns: 1fr;
  }

  .article-rail {
    position: static;
  }

  .article-rail nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-left: 0;
    padding-left: 0;
  }
}

@media (max-width: 900px) {
  html {
    scroll-padding-top: 130px;
  }

  h1 {
    font-size: 3rem;
  }

  .hero h1 {
    font-size: 3.2rem;
  }

  h2 {
    font-size: 2.15rem;
  }

  .site-header {
    align-items: flex-start;
    padding: 14px 18px;
  }

  .site-nav {
    max-width: 520px;
  }

  .hero,
  .intro-section,
  .start-section,
  .archive-map,
  .why-section,
  .guides-section,
  .collection-section,
  .materials-section,
  .featured-guide,
  .follow-section,
  .about-section,
  .updates-strip,
  .directory-hero,
  .directory-section {
    padding: 64px 22px;
  }

  .hero {
    gap: 38px;
    padding-top: 44px;
  }

  .reading-hero h1 {
    font-size: 3rem;
  }

  .hero-current-list {
    grid-template-columns: 1fr;
  }

  .intro-section,
  .why-section,
  .collection-section,
  .featured-guide,
  .follow-section,
  .updates-strip,
  .update-cta-section,
  .materials-layout,
  .path-grid,
  .related-grid,
  .sitemap-grid,
  .topic-map,
  .rule-panel,
  .choice-guide,
  .image-notes,
  .size-guide,
  .preservation-grid,
  .starter-grid,
  .recipe-grid,
  .finish-grid,
  .layout-grid,
  .material-table,
  .summary-grid,
  .path-ladder-grid,
  .chooser-list article {
    grid-template-columns: 1fr;
  }

  .article-hero,
  .article-shell {
    padding-right: 22px;
    padding-left: 22px;
  }

  .article-lead p {
    font-size: 1.16rem;
  }

  .collect-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mistake-list {
    grid-template-columns: 1fr;
  }

  .troubleshoot-table > div,
  .troubleshooting-table > div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .diagnostic-table > div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .content-list article {
    grid-template-columns: 1fr;
  }

  .why-copy,
  .split-copy {
    position: static;
  }

  .step-grid,
  .guide-grid,
  .shelf-list,
  .editorial-list {
    grid-template-columns: 1fr;
  }

  .step-card,
  .guide-card,
  .editorial-list article {
    min-height: auto;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 28px 22px;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  h1 {
    font-size: 2.42rem;
  }

  .hero h1 {
    font-size: 2.46rem;
  }

  .reading-hero .hero-reading-panel {
    order: -1;
  }

  .reading-hero h1 {
    font-size: 2.35rem;
  }

  .hero-path-grid {
    grid-template-columns: 1fr;
  }

  .hero-path-grid a {
    min-height: auto;
  }

  .hero-latest-card {
    padding: 20px;
  }

  .hero-latest-card h2 {
    font-size: 1.58rem;
  }

  h2 {
    font-size: 1.82rem;
  }

  .site-header {
    position: static;
    flex-direction: column;
    gap: 12px;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .site-nav a {
    padding: 8px 9px;
    font-size: 0.88rem;
  }

  .site-nav a.nav-cta {
    margin-left: 0;
  }

  .article-rail nav {
    display: flex;
    gap: 8px;
    width: 100%;
    max-width: calc(100vw - 44px);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    padding-bottom: 8px;
  }

  .article-rail nav::-webkit-scrollbar {
    height: 6px;
  }

  .article-rail a {
    flex: 0 0 auto;
    border: 1px solid rgba(22, 26, 23, 0.12);
    background: #fff;
  }

  .hero-actions,
  .email-form > div {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .button,
  .email-form .button,
  .updates-strip .button,
  .update-cta-section .button {
    width: 100%;
  }

  .intro-panel {
    font-size: 1.12rem;
  }

  .material-list {
    grid-template-columns: 1fr;
  }

  .preview-index {
    right: 22px;
    bottom: 24px;
  }
}
