@font-face {
  font-family: 'M PLUS Rounded 1c';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/m-plus-rounded-1c-400-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'M PLUS Rounded 1c';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/m-plus-rounded-1c-500-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'M PLUS Rounded 1c';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../fonts/m-plus-rounded-1c-800-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* fieldnotes-sketchup 3.1.0 - paper stack on a kraft desk (skeleton J); 3.1.0 adds the desk sheet:
   dated feed note in the centre, hub folders with coloured divider tabs on both sides */
:root {
  --page: #E3D0B8;          /* kraft desk: hero, header */
  --page-deep: #D4C0A6;     /* kraft behind the sheets, footer */
  --on-page: #0B2042;       /* wordmark, hero h1 */
  --on-page-soft: #3C3333;  /* hero lead */
  --nav: #4F463D;
  --line: rgba(27, 42, 73, .5); /* pencil construction lines */
  --stroke: #DF3A39;        /* red pencil underline in the hero */
  --btn: #C8302F;
  --btn-hover: #A92622;
  --btn-ink: #FFFFFF;
  --paper: #E3D7C7;         /* sheets */
  --paper-2: #EBE2D6;       /* sheet peeking underneath */
  --cream: #EEE6DC;         /* photo print borders */
  --ink: #0B2042;
  --body: #4A433C;
  --muted: #5A534B;
  --red: #DF3A39;
  --red-text: #A3272A;
  --rule: rgba(11, 32, 66, .28);
  --tape: rgba(214, 196, 164, .82);
  --st-beige: #D3BFA1; --st-beige-ink: #0B2042;
  --st-navy: #2A3B55;  --st-navy-ink: #FFFFFF;
  --st-red: #C8302F;   --st-red-ink: #FFFFFF;
  --st-slate: #8D939B; --st-slate-ink: #0B2042;
  --shadow-sheet: 0 -1px 3px rgba(60, 40, 20, .1), 0 1px 2px rgba(60, 40, 20, .14), 0 18px 34px -16px rgba(60, 38, 16, .42);
  --shadow-print: 0 1px 2px rgba(40, 25, 10, .16), 0 14px 26px -12px rgba(50, 30, 10, .48);
  --gut: clamp(16px, 3.4vw, 48px);
  --font: 'M PLUS Rounded 1c', 'Arial Rounded MT Bold', 'Helvetica Neue', Arial, sans-serif;
  --mono: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .32 0 0 0 0 .24 0 0 0 0 .14 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");
  --brush: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 24' preserveAspectRatio='none'%3E%3Cpath d='M3 15C60 8 170 3 296 5c3 1 3 4 0 5C200 12 96 17 9 21c-6 1-9-5-6-6z'/%3E%3C/svg%3E");
}
/* scheme 2: blueprint - navy desk, cream type, paper sheets */
.scheme-blueprint {
  --page: #142443; --page-deep: #0E1A33; --on-page: #F1E7D8; --on-page-soft: #C9D2E3; --nav: #C9D2E3;
  --line: rgba(241, 231, 216, .42); --stroke: #E8453F;
}
/* scheme 3: redline - brick desk, cream type, navy button */
.scheme-redline {
  --page: #A72F2B; --page-deep: #8C2522; --on-page: #FBF1E4; --on-page-soft: #F3DCCF; --nav: #F3DCCF;
  --line: rgba(251, 241, 228, .45); --stroke: #0B2042; --btn: #0B2042; --btn-hover: #1B2F57;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--gh-font-body, var(--font)); font-size: 18px; line-height: 1.6; color: var(--body);
  background: var(--noise), var(--page); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--red-text); outline-offset: 3px; border-radius: 3px; }
.scheme-blueprint :focus-visible, .scheme-redline :focus-visible { outline-color: #F1E7D8; }
.sheet :focus-visible, .post-sheet :focus-visible { outline-color: var(--red-text); }
.wrap { width: min(1376px, calc(100% - 2 * var(--gut))); margin: 0 auto; }
.skip { position: absolute; left: -9999px; top: 10px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 6px; }
.skip:focus { left: 16px; }

h1, h2, h3, .brand, .btn, .sticker { font-family: var(--gh-font-heading, var(--font)); }

/* ---- header ---- */
.site-head { position: relative; z-index: 20; }
.head-inner { display: flex; align-items: center; gap: 26px; min-height: 84px; }
.brand { font-weight: 800; font-size: clamp(22px, 2.1vw, 30px); letter-spacing: -.012em; color: var(--on-page); text-decoration: none; white-space: nowrap; }
.brand-logo { display: block; height: 40px; width: auto; }
.site-nav { margin-left: auto; }
.site-nav .nav { display: flex; gap: clamp(18px, 1.9vw, 30px); list-style: none; margin: 0; padding: 0; }
.site-nav a { color: var(--nav); text-decoration: none; font-weight: 500; font-size: clamp(15px, 1.1vw, 16px); white-space: nowrap; }
.site-nav a:hover, .site-nav .nav-current a { color: var(--on-page); text-decoration: underline; text-decoration-color: var(--stroke); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.search-btn, .menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: var(--on-page); cursor: pointer; border-radius: 50%; }
.search-btn:hover { background: rgba(11, 32, 66, .08); }
.menu-btn { display: none; flex-direction: column; gap: 5px; }
.menu-btn span { display: block; width: 24px; height: 2.5px; border-radius: 2px; background: currentColor; transition: transform .2s, opacity .2s; }
.nav-open .menu-btn span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-open .menu-btn span:nth-child(2) { opacity: 0; }
.nav-open .menu-btn span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
@media (max-width: 1260px) {
  .head-inner { gap: 6px; }
  .site-nav { display: none; position: absolute; top: calc(100% - 6px); left: var(--gut); right: var(--gut); margin: 0;
    background: var(--noise), var(--paper); box-shadow: var(--shadow-sheet); padding: 14px 26px 18px; transform: rotate(-.5deg); }
  .nav-open .site-nav { display: block; }
  .site-nav .nav { flex-direction: column; gap: 0; }
  .site-nav li + li { border-top: 1px dashed var(--rule); }
  .site-nav a { display: block; padding: 13px 0; font-size: 18px; color: var(--ink); }
  .search-btn { margin-left: auto; }
  .menu-btn { display: inline-flex; }
}

/* ---- red pencil underline (motif) ---- */
.mark { position: relative; z-index: 0; white-space: nowrap; }
.mark::after, .stroke::after {
  content: ""; background: var(--red);
  -webkit-mask: var(--brush) center / 100% 100% no-repeat; mask: var(--brush) center / 100% 100% no-repeat;
}
.mark::after { position: absolute; z-index: -1; left: -.05em; right: -.12em; bottom: -.2em; height: .3em; }
.hero .mark::after { background: var(--stroke); bottom: -.17em; height: .25em; }
.stroke::after { display: block; width: min(60%, 4.6em); height: .24em; margin-top: .16em; }

/* ---- hero ---- */
.hero { position: relative; overflow-x: clip; min-height: clamp(520px, 45vw, 660px); padding: clamp(30px, 4.4vw, 64px) 0 clamp(120px, 10vw, 150px); }
/* the art runs ~50px beneath the top edge of sheet 1 (pencil under the paper, as in the mockup):
   bottom = sheet-1 overlap (.s1 margin-top) minus 50px; z-index 1 paints it over .stack but under .s1 */
.hero-art { position: absolute; z-index: 1; right: 0; bottom: calc(clamp(60px, 7vw, 110px) - 50px); width: 67%; aspect-ratio: 3 / 2; margin: 0; }
.hero-art img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 30%), linear-gradient(180deg, transparent 0, #000 16%, #000 91%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, #000 30%), linear-gradient(180deg, transparent 0, #000 16%, #000 91%, transparent 100%);
  mask-composite: intersect;
}
.pencil { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; fill: none; stroke: var(--line); stroke-width: 1.15; stroke-linecap: round; pointer-events: none; }
.pencil path { vector-effect: non-scaling-stroke; }
.hero-inner { position: relative; z-index: 2; }
.hero-copy { width: 51%; }
.hero h1 { margin: 0; color: var(--on-page); font-weight: 800; }
.h1-display { display: block; font-size: clamp(44px, 6.4vw, 92px); line-height: .95; letter-spacing: -.035em; }
.h1-lead { display: block; margin-top: clamp(30px, 2.9vw, 44px); max-width: 19em; font-size: clamp(18px, 1.65vw, 24px); font-weight: 400; line-height: 1.45; letter-spacing: 0; color: var(--on-page-soft); }
.hero-act { margin: clamp(26px, 2.6vw, 38px) 0 0; }
.btn { display: inline-block; border: 0; cursor: pointer; font-family: inherit; background: var(--btn); color: var(--btn-ink); font-weight: 500; font-size: clamp(18px, 1.5vw, 22px); line-height: 1; padding: .95em 1.85em; border-radius: 7px; text-decoration: none;
  box-shadow: 0 2px 0 rgba(0, 0, 0, .14), 0 12px 20px -10px rgba(110, 20, 16, .55); transition: background .15s, transform .15s; }
.btn:hover { background: var(--btn-hover); transform: translateY(-1px); }

/* ---- sheets ---- */
.stack { position: relative; overflow-x: clip; padding-bottom: clamp(30px, 3vw, 44px); background: var(--noise), linear-gradient(180deg, var(--page) 0, var(--page-deep) 220px); }
.sheet-wrap { position: relative; width: min(1380px, calc(100% - 2 * clamp(14px, 2.6vw, 40px))); margin: 0 auto; }
.sheet { position: relative; z-index: 1; background: var(--noise), var(--paper); box-shadow: var(--shadow-sheet); border-radius: 2px; transform: rotate(var(--rot, 0deg)); }
.under { position: absolute; z-index: 0; inset: 14px 10px -8px -16px; background: var(--paper-2); box-shadow: var(--shadow-sheet); transform: rotate(var(--rot-under, -1deg)); border-radius: 2px; }
.s1 { z-index: 2; margin-top: clamp(-110px, -7vw, -60px); --rot: 1.1deg; --rot-under: -.7deg; }
.s1 .sheet { padding: clamp(46px, 5vw, 76px) 6% clamp(54px, 5.4vw, 84px) 7%; }
.s2 { z-index: 3; margin-top: clamp(-50px, -2.8vw, -24px); --rot: -.6deg; --rot-under: .5deg; }
.s2 .under { inset: 10px -12px -10px 14px; }
.s2 .sheet { padding: clamp(42px, 4.4vw, 64px) 5% clamp(54px, 5.6vw, 84px); }
.sheet h2, .related h2 { margin: 0; color: var(--ink); font-weight: 800; line-height: 1.08; letter-spacing: -.015em; }
.sheet h2 a { text-decoration: none; }
.sheet h2 a:hover { text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: var(--red); text-underline-offset: 8px; }

/* sheet 1: featured guide with a pinned photo */
.feat { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 6%; align-items: center; }
.feat h2 { font-size: clamp(32px, 3.85vw, 56px); max-width: 11.8em; }
.feat-copy p { margin: clamp(22px, 2vw, 30px) 0 0; max-width: 30em; font-size: clamp(17px, 1.38vw, 20px); line-height: 1.62; }
.pin { position: relative; margin: 0; background: var(--cream); padding: clamp(9px, .85vw, 13px); box-shadow: var(--shadow-print); transform: rotate(2deg); }
.pin img { display: block; width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; }
.tape { position: absolute; z-index: 2; top: -17px; left: 50%; width: clamp(96px, 9vw, 130px); height: 34px; transform: translateX(-50%) rotate(-3deg);
  background: linear-gradient(180deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, 0) 60%), var(--tape); box-shadow: 0 1px 2px rgba(60, 40, 20, .12);
  clip-path: polygon(0 6%, 4% 0, 9% 7%, 14% 1%, 86% 0, 91% 6%, 96% 0, 100% 8%, 100% 94%, 95% 100%, 90% 93%, 85% 100%, 12% 100%, 7% 94%, 3% 100%, 0 92%); }

/* post page: related guides as overlapping photo prints */
.prints { list-style: none; margin: clamp(30px, 3.2vw, 46px) 0 0; padding: 0 1.5%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 3%; }
.print { position: relative; background: var(--cream); padding: clamp(10px, 1vw, 15px) clamp(10px, 1vw, 15px) clamp(18px, 1.6vw, 24px); box-shadow: var(--shadow-print); transform: rotate(var(--t, 0deg)); }
.print:nth-child(1) { --t: -2deg; margin-right: -5%; }
.print:nth-child(2) { --t: -.8deg; z-index: 1; margin-top: 18px; }
.print:nth-child(3) { --t: 1.8deg; z-index: 2; margin-left: -5%; }
.prints .print:nth-child(n+4) { display: none; }
.print-ph { display: block; }
.print-ph img { display: block; width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; }
.print h3 { margin: clamp(14px, 1.2vw, 18px) 4px 6px; font-size: clamp(17px, 1.42vw, 20.5px); line-height: 1.28; font-weight: 800; color: var(--ink); }
.print h3 a { text-decoration: none; }
.print h3 a:hover { text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.print p { margin: 0 4px; font-size: clamp(15px, 1.15vw, 17px); line-height: 1.45; color: var(--muted); }
.print .d { margin: 0 4px 6px; }

/* post tags and error page: topic stickers */
.stickers { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 18px 16px; }
.sticker { display: inline-block; padding: .78em 1.6em; border-radius: 999px; font-weight: 800; font-size: clamp(16px, 1.32vw, 19px); line-height: 1.15; text-decoration: none; white-space: nowrap;
  transform: rotate(var(--tilt, 0deg)); box-shadow: 0 1px 0 rgba(0, 0, 0, .1), 0 9px 14px -7px rgba(40, 25, 10, .45); transition: transform .15s; }
.sticker:hover { transform: rotate(0deg) translateY(-2px); }
.st-beige { background: var(--st-beige); color: var(--st-beige-ink); }
.st-navy { background: var(--st-navy); color: var(--st-navy-ink); }
.st-red { background: var(--st-red); color: var(--st-red-ink); }
.st-slate { background: var(--st-slate); color: var(--st-slate-ink); }

/* red-pencil ordinal date ("6th Oct 2026") on every dated list */
.d { display: inline-block; color: var(--red-text); font-weight: 500; font-size: 14.5px; line-height: 1.3; white-space: nowrap; transform: rotate(-2deg); }

/* sheet 2: the desk. Feed note in the centre column, four hub folders stacked on each side */
.desk { display: grid; grid-template-columns: minmax(0, 1fr) clamp(320px, 31%, 420px) minmax(0, 1fr);
  grid-template-areas: "head note right" "left note right"; column-gap: clamp(26px, 2.6vw, 44px); align-items: start; }
.desk h2 { font-size: clamp(28px, 2.6vw, 38px); }
.topics-head { grid-area: head; align-self: end; }
.folders-l { grid-area: left; }
.folders-r { grid-area: right; padding-top: clamp(26px, 3vw, 44px); }

/* the note: dot-grid paper taped down, slightly turned */
.note { --np: clamp(22px, 2.2vw, 32px); --pencil: rgba(27, 42, 73, .5); grid-area: note; position: relative; z-index: 1;
  padding: calc(var(--np) + 8px) var(--np) var(--np); margin-top: 6px;
  background: radial-gradient(rgba(11, 32, 66, .2) 1px, transparent 1.2px) 0 0 / 18px 18px, #F4EEE4; box-shadow: var(--shadow-print); transform: rotate(1deg); }
.note .tape { top: -16px; transform: translateX(-50%) rotate(2.5deg); }
.lead { margin-top: 20px; }
.lead-ph { display: block; }
.lead-ph img { display: block; width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; }
.lead h3 { font-size: clamp(21px, 1.75vw, 25px); line-height: 1.22; }
.lead-fb { margin: 8px 0 0; font-size: 16.5px; line-height: 1.5; }
.meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; margin: 14px 0 4px; font-size: 14.5px; line-height: 1.35; }
.hub { color: var(--muted); font-weight: 500; text-decoration: none; }
.hub:hover { text-decoration: underline; }
.note h3 { margin: 0; color: var(--ink); font-weight: 800; }
.note h3 a, .folder-list a { text-decoration: none; }
.note h3 a:hover, .folder-list a:hover, .folder-tab a:hover { text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.entries { list-style: none; margin: 18px 0 0; padding: 0; }
.entries li { position: relative; padding: 6px 0 14px; }
.entries h3 { font-size: clamp(17px, 1.32vw, 19px); line-height: 1.3; }
/* pencil construction lines: run past both edges of the note */
.entries li::before { content: ""; position: absolute; top: 0; left: calc(-1 * var(--np) - 22px); right: calc(-1 * var(--np) - 22px);
  height: 1px; background: var(--pencil); transform: rotate(-.3deg); }
.entries li:nth-child(even)::before { transform: rotate(.3deg); }
.older { margin: 4px 0 0; font-weight: 800; color: var(--ink); }
.older a { text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 5px; }

/* hub folders: manila body, coloured divider tab sticking up at a staggered offset */
.folder { --fold: #EBDBB9; --ft: -.5deg; position: relative; margin-top: clamp(26px, 2.4vw, 36px); transform: rotate(var(--ft)); }
.folder:nth-child(even) { --fold: #E0CA9F; --ft: .5deg; }
.folder-tab { position: relative; z-index: 0; width: fit-content; max-width: 86%; margin: 0 0 -5px 6%; padding: 8px 20px 12px;
  font-size: clamp(16px, 1.22vw, 18px); line-height: 1.2; font-weight: 800; color: var(--tab-ink); }
.folder-tab::before { content: ""; position: absolute; z-index: -1; inset: 0 -3px; background: var(--tab); border-radius: 9px 9px 0 0;
  transform: perspective(40px) rotateX(3deg); transform-origin: bottom; box-shadow: 0 -1px 3px rgba(40, 25, 10, .14); }
.folder-tab a { color: inherit; text-decoration: none; }
.tab-m .folder-tab { margin-left: auto; margin-right: auto; }
.tab-r .folder-tab { margin-left: auto; margin-right: 6%; }
.c-beige { --tab: var(--st-beige); --tab-ink: var(--st-beige-ink); }
.c-navy { --tab: var(--st-navy); --tab-ink: var(--st-navy-ink); }
.c-red { --tab: var(--st-red); --tab-ink: var(--st-red-ink); }
.c-slate { --tab: var(--st-slate); --tab-ink: var(--st-slate-ink); }
.folder-body { position: relative; z-index: 1; background: var(--noise), var(--fold); border-radius: 3px; box-shadow: var(--shadow-print);
  padding: clamp(18px, 1.6vw, 24px) clamp(18px, 1.7vw, 26px) clamp(18px, 1.6vw, 22px); }
.folder-body > p { margin: 0; font-size: 16px; line-height: 1.5; }
.folder-list, .tasks { list-style: none; margin: 10px 0 0; padding: 0; }
.folder-list li, .tasks li { margin-top: 8px; font-size: 16.5px; line-height: 1.38; color: var(--ink); }
.folder-list a { font-weight: 800; color: var(--ink); }
.folder-list .d { margin-left: 4px; font-size: 14px; }

/* tag pages: other hubs on one line, split by short red pencil strokes */
.other-topics { margin-top: clamp(34px, 4vw, 54px); color: var(--on-page); }
.other-topics h2 { margin: 0; font-size: clamp(24px, 2.2vw, 30px); font-weight: 800; line-height: 1.1; color: var(--on-page); }
.other-topics ul { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; row-gap: 10px; }
.other-topics li { display: inline-flex; align-items: center; }
.other-topics li + li::before { content: ""; flex: none; width: 22px; height: 7px; margin: 0 14px; background: var(--stroke);
  -webkit-mask: var(--brush) center / 100% 100% no-repeat; mask: var(--brush) center / 100% 100% no-repeat; transform: rotate(-8deg); }
.other-topics a { color: var(--on-page); font-size: 17px; font-weight: 500; text-decoration: none; }
.other-topics a:hover { text-decoration: underline; text-decoration-color: var(--stroke); text-decoration-thickness: 2px; text-underline-offset: 5px; }

/* ---- footer: one slim line ---- */
.site-foot { background: var(--noise), var(--page-deep); padding: 22px 0 26px; }
.foot-line { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 36px; }
.foot-legal { margin: 0; font-size: 14px; line-height: 1.5; color: var(--nav); }
.foot-nav .nav { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.foot-nav a { color: var(--on-page); font-size: 15px; font-weight: 500; text-decoration: none; }
.foot-nav a:hover { text-decoration: underline; text-decoration-color: var(--stroke); }

/* ---- article ---- */
.narrow { max-width: 900px; }
.post-head { padding: clamp(26px, 3.4vw, 48px) 0 clamp(34px, 3.6vw, 52px); color: var(--on-page); }
.crumbs ol { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 15px; color: var(--nav); }
.crumbs li + li::before { content: "/"; margin: 0 10px; opacity: .6; }
.crumbs a { color: var(--nav); }
.post-head h1, .list-head h1, .tag-panel h1, .error-sheet h1 { margin: 0; font-weight: 800; line-height: 1.06; letter-spacing: -.02em; color: var(--on-page); font-size: clamp(36px, 4.7vw, 66px); }
.post-dek { margin: 22px 0 0; font-size: clamp(19px, 1.6vw, 23px); line-height: 1.5; color: var(--on-page-soft); max-width: 36em; }
.byline { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 22px 0 0; font-size: 15px; color: var(--nav); }
.byline-author { font-weight: 500; color: var(--on-page); }
.post-feature { position: relative; z-index: 2; width: min(1100px, calc(100% - 2 * var(--gut))); margin: 0 auto -44px; background: var(--cream); padding: clamp(9px, 1vw, 14px) clamp(9px, 1vw, 14px) 10px; box-shadow: var(--shadow-print); transform: rotate(-.7deg); }
.post-feature img { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: cover; }
.post-feature figcaption, .gh-content figcaption { padding: 10px 4px 2px; font-size: 15px; line-height: 1.45; color: var(--muted); }
.post-sheet { position: relative; z-index: 1; width: min(1180px, calc(100% - 2 * var(--gut))); margin: 0 auto clamp(48px, 5vw, 76px); background: var(--noise), var(--paper); box-shadow: var(--shadow-sheet); padding: clamp(70px, 7vw, 104px) 6% clamp(44px, 5vw, 70px); }
.no-feature + .post-sheet { padding-top: clamp(40px, 5vw, 64px); }
.gh-content { max-width: 720px; margin: 0 auto; font-size: clamp(17.5px, 1.3vw, 19px); line-height: 1.72; color: var(--body); }
.gh-content > * + * { margin-top: 1.15em; }
.gh-content p, .gh-content ul, .gh-content ol { margin-bottom: 0; }
.gh-content h2 { margin: 1.9em 0 0; font-size: clamp(25px, 2.3vw, 32px); line-height: 1.18; color: var(--ink); font-weight: 800; }
.gh-content h3 { margin: 1.6em 0 0; font-size: 23px; line-height: 1.25; color: var(--ink); font-weight: 800; }
.gh-content a { color: var(--ink); text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.gh-content li + li { margin-top: .45em; }
.gh-content strong { color: var(--ink); }
.gh-content blockquote { margin-left: 0; padding-left: 22px; border-left: 4px solid var(--red); color: var(--ink); }
.gh-content kbd, .gh-content code { font-family: var(--mono); font-size: .84em; }
.gh-content kbd { display: inline-block; padding: 1px 8px; border-radius: 6px; background: var(--cream); color: var(--ink); border: 1px solid rgba(11, 32, 66, .3); box-shadow: 0 2px 0 rgba(11, 32, 66, .25); line-height: 1.5; }
.gh-content code { padding: 1px 6px; border-radius: 4px; background: rgba(11, 32, 66, .08); color: var(--ink); }
.gh-content pre { overflow-x: auto; padding: 18px 20px; background: var(--ink); color: #F1E7D8; border-radius: 6px; font-size: 15px; }
.gh-content pre code { background: none; color: inherit; padding: 0; }
.gh-content table { width: 100%; border-collapse: collapse; font-size: .92em; line-height: 1.5; display: block; overflow-x: auto; }
.gh-content th { text-align: left; padding: 12px 14px; background: var(--page-deep); color: #0B2042; font-weight: 800; }
.scheme-blueprint .gh-content th, .scheme-redline .gh-content th { background: #D4C0A6; }
.gh-content td { padding: 12px 14px; border-bottom: 1px dashed var(--rule); vertical-align: top; }
.gh-content figure { margin-left: 0; margin-right: 0; }
.gh-content .kg-image-card img { display: block; width: 100%; height: auto; background: var(--cream); padding: 10px; box-shadow: var(--shadow-print); }
.gh-content .kg-image-card:not(.kg-width-wide):not(.kg-width-full) img { transform: rotate(.8deg); }
.gh-content .kg-width-wide { position: relative; width: min(1060px, calc(100vw - 2 * var(--gut) - 32px)); left: 50%; transform: translateX(-50%); }
.gh-content .kg-width-full { position: relative; width: 100vw; left: 50%; transform: translateX(-50%); }
.gh-content .kg-width-full img { padding: 0; box-shadow: none; }
.kg-callout-card { display: flex; gap: 12px; padding: 20px 24px; background: var(--cream); border-radius: 4px; box-shadow: var(--shadow-print); transform: rotate(-.4deg); color: var(--ink); }
.kg-callout-card::before { content: ""; flex: none; width: 5px; border-radius: 3px; background: var(--red); }
.kg-callout-emoji { flex: none; }
.post-tags { max-width: 720px; margin: clamp(36px, 4vw, 54px) auto 0; }
.post-tags li:nth-child(3n+1) .sticker:not([class*="st-"]) { background: var(--st-navy); color: var(--st-navy-ink); --tilt: -1.5deg; }
.post-tags li:nth-child(3n+2) .sticker:not([class*="st-"]) { background: var(--st-beige); color: var(--st-beige-ink); --tilt: 1deg; }
.post-tags li:nth-child(3n) .sticker:not([class*="st-"]) { background: var(--st-slate); color: var(--st-slate-ink); --tilt: -.5deg; }
.bio { max-width: 720px; margin: 38px auto 0; padding-top: 28px; border-top: 1px dashed var(--rule); display: flex; gap: 20px; align-items: flex-start; }
.bio p { margin: 0; font-size: 16.5px; line-height: 1.55; }
.bio-name { font-weight: 800; font-size: 19px !important; color: var(--ink); margin-bottom: 4px !important; }
.bio-name a { text-decoration: none; }
.bio-img { border-radius: 50%; flex: none; }
.bio-mark { flex: none; width: 60px; height: 60px; border-radius: 50%; background: var(--st-navy); position: relative; overflow: hidden; }
.bio-mark::after { content: ""; position: absolute; left: 10px; right: 8px; top: 27px; height: 9px; background: var(--red); -webkit-mask: var(--brush) center / 100% 100% no-repeat; mask: var(--brush) center / 100% 100% no-repeat; transform: rotate(-14deg); }
.related { padding: 0 0 clamp(60px, 6vw, 96px); }
.related h2 { font-size: clamp(28px, 3vw, 44px); }
.related .prints { margin-top: 38px; }

/* ---- tag, index, author ---- */
.tag-cover { margin: 0; height: clamp(220px, 30vw, 440px); position: relative; }
.tag-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tag-panel { position: relative; z-index: 2; margin-top: clamp(-120px, -8vw, -60px); max-width: 760px; background: var(--noise), var(--paper); box-shadow: var(--shadow-sheet); padding: clamp(26px, 3vw, 40px) clamp(22px, 3vw, 44px) clamp(28px, 3vw, 42px); transform: rotate(-.8deg); }
.tag-panel .crumbs ol { color: var(--muted); } .tag-panel .crumbs a { color: var(--muted); }
.tag-panel h1 { color: var(--ink); }
.tag-panel p { margin: 18px 0 0; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; }
.list-head { padding: clamp(28px, 3.6vw, 52px) 0 clamp(26px, 3vw, 40px); color: var(--on-page); }
.list-head p { margin: 16px 0 0; font-size: 20px; color: var(--on-page-soft); max-width: 36em; }
.author-meta { font-size: 16px !important; }
.avatar { border-radius: 50%; display: block; margin-bottom: 16px; }
.text-link { color: var(--on-page); text-decoration-color: var(--stroke); }
.list-body { padding: clamp(36px, 4vw, 58px) 0 clamp(60px, 6vw, 90px); }
.list-sheet { background: var(--noise), var(--paper); box-shadow: var(--shadow-sheet); padding: 6px clamp(18px, 3vw, 44px); transform: rotate(.25deg); }
.rows { list-style: none; margin: 0; padding: 0; }
.row { display: grid; grid-template-columns: minmax(150px, 250px) minmax(0, 1fr); gap: clamp(18px, 2.4vw, 32px); align-items: center; padding: clamp(22px, 2.4vw, 32px) 0; }
.row + .row { border-top: 1px dashed var(--rule); }
.row.no-image { grid-template-columns: 1fr; }
.row-ph { display: block; background: var(--cream); padding: 8px; box-shadow: var(--shadow-print); transform: rotate(-1.4deg); }
.row:nth-child(even) .row-ph { transform: rotate(1.1deg); }
.row-ph img { display: block; width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; }
.row-tag { font-size: 15px; font-weight: 500; color: var(--red-text); text-decoration: none; }
.row-tag:hover { text-decoration: underline; }
.row h2 { margin: 4px 0 8px; font-size: clamp(21px, 1.9vw, 27px); line-height: 1.24; font-weight: 800; color: var(--ink); }
.row h2 a { text-decoration: none; }
.row h2 a:hover { text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.row-excerpt { margin: 0; font-size: 17px; line-height: 1.55; }
.row-meta { margin: 8px 0 0; font-size: 14.5px; color: var(--muted); }
.pagination { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 40px; color: var(--on-page); font-size: 16px; }
.pagination a { background: var(--st-navy); color: #fff; padding: 12px 22px; border-radius: 999px; text-decoration: none; font-weight: 500; }

/* ---- error ---- */
.error-page { padding: clamp(30px, 4vw, 60px) 0 clamp(60px, 6vw, 96px); }
.error-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6%; align-items: center; }
.error-pin { transform: rotate(-2deg); }
.error-pin img { aspect-ratio: 16 / 9; }
.error-sheet { background: var(--noise), var(--paper); box-shadow: var(--shadow-sheet); padding: clamp(28px, 3.4vw, 50px); transform: rotate(.8deg); }
.error-sheet h1 { color: var(--ink); font-size: clamp(72px, 9vw, 140px); line-height: 1; }
.error-sheet p { margin: 22px 0 0; font-size: 19px; }
.error-sheet .stickers { margin-top: 30px; }

/* ---- mid widths ---- */
@media (max-width: 1100px) {
  .print:nth-child(1) { margin-right: -3%; } .print:nth-child(3) { margin-left: -3%; }
  .desk { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "note note" "head head" "left right"; }
  .note { justify-self: center; width: min(620px, 100%); margin-bottom: clamp(34px, 5vw, 50px); transform: rotate(.7deg); }
  .folders-r { padding-top: 34px; }
  /* the desk sheet gets very tall once the note stacks above the folders: a flatter tilt keeps its corners inside the page */
  .s2 { --rot: -.2deg; --rot-under: .15deg; }
  .s2 .under { inset: 10px -6px -10px 8px; }
}
/* ---- phones and small tablets ---- */
@media (max-width: 760px) {
  body { font-size: 17px; }
  .head-inner { min-height: 68px; }
  .hero { display: flex; flex-direction: column; min-height: 0; padding: 18px 0 70px; }
  .hero-inner { order: 1; }
  .hero-copy { width: auto; }
  .h1-display { font-size: clamp(40px, 11.6vw, 56px); }
  .hero-art { order: 2; position: relative; top: 0; bottom: auto; z-index: 0; width: 100%; margin-top: 18px; }
  .pencil { display: none; }
  .hero-art img { -webkit-mask-image: none; mask-image: none; }
  .hero-art::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, var(--page) 0, transparent 16%, transparent 84%, var(--page) 100%); }
  .sheet-wrap { width: calc(100% - 28px); }
  .s1 { margin-top: -54px; --rot: .6deg; --rot-under: -.8deg; }
  .s2 { --rot: -.12deg; --rot-under: .1deg; }
  .under { inset: 10px 4px -6px -6px; }
  .s2 .under { inset: 8px -4px -8px 5px; }
  .s1 .sheet, .s2 .sheet { padding: 34px 22px 38px; }
  .s2 .sheet { padding-left: 18px; padding-right: 18px; }
  .desk { grid-template-columns: minmax(0, 1fr); grid-template-areas: "note" "head" "left" "right"; }
  .note { --np: 20px; transform: rotate(.5deg); margin-bottom: 30px; }
  .entries li::before { left: calc(-1 * var(--np) - 10px); right: calc(-1 * var(--np) - 10px); }
  .folders-r { padding-top: 0; }
  .folder:nth-child(n) { --ft: -.35deg; } .folder:nth-child(even) { --ft: .35deg; }
  .feat { grid-template-columns: 1fr; gap: 34px; }
  .pin { transform: rotate(1deg); margin: 0 6px; }
  .prints { grid-template-columns: 1fr; gap: 30px; padding: 0 6px; }
  .print:nth-child(n) { margin: 0; }
  .print:nth-child(1) { --t: -1deg; } .print:nth-child(2) { --t: .7deg; } .print:nth-child(3) { --t: -.6deg; }
  .stickers { gap: 14px 12px; }
  .sticker { font-size: 16px; padding: .72em 1.25em; transform: rotate(calc(var(--tilt) * .3)); }
  .foot-line { flex-direction: column; align-items: flex-start; }
  .post-feature { transform: rotate(-.5deg); margin-bottom: -30px; width: calc(100% - 28px); }
  .post-sheet { width: calc(100% - 20px); padding: 56px 18px 40px; }
  .gh-content .kg-width-wide { width: calc(100vw - 40px); }
  .row { grid-template-columns: 1fr; gap: 16px; }
  .row-ph { max-width: 420px; }
  .tag-panel { transform: rotate(-.4deg); }
  .error-grid { grid-template-columns: 1fr; gap: 40px; }
  .error-sheet { transform: rotate(.4deg); }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* Published topic availability: labels stay visible without dead links. */
a[data-empty-topic] { cursor: default; text-decoration: none; }

.meta > a.hub { display: inline-flex; align-items: center; min-height: 24px; padding-block: 3px; margin-top: 4px; }

/* Let related-topic headings wrap at narrow widths. */
.related h2 .mark { white-space: normal; }

/* hide-empty: topics without a published guide are not rendered (06.11.2026).
   Folder tabs keep their stagger by position, not by the fixed tab-l/m/r class: the left column counts from its last
   folder so its bottom tab still sits left of the right column's first one when the columns stack on phones.
   With the full set this gives the same l m r l | r m l r as before. If sheet 1 is absent, sheet 2 takes its hero overlap. */
.folders-l > .folder:nth-last-child(3n+1) .folder-tab, .folders-r > .folder:nth-child(3n) .folder-tab { margin-left: 6%; margin-right: 0; }
.folders-l > .folder:nth-last-child(3n) .folder-tab, .folders-r > .folder:nth-child(3n+2) .folder-tab { margin-left: auto; margin-right: auto; }
.folders-l > .folder:nth-last-child(3n+2) .folder-tab, .folders-r > .folder:nth-child(3n+1) .folder-tab { margin-left: auto; margin-right: 6%; }
.stack > .s2:first-child { margin-top: clamp(-110px, -7vw, -60px); }
@media (max-width: 760px) { .stack > .s2:first-child { margin-top: -54px; } }
