/* slopwright.slopped.site: the Slopwright's pages. Brand tokens and type as on slopped.site (slopped-brand). */
@font-face { font-family: "Archivo Black"; src: url(/fonts/archivo-black-latin.woff2) format("woff2"); font-weight: 400 1000; font-display: swap; }
@font-face { font-family: "Archivo Black Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"), local("Helvetica Bold"), local("Helvetica-Bold"), local("Roboto Bold"), local("Roboto-Bold"), local("Noto Sans Bold"), local("NotoSans-Bold"); size-adjust: 112%; }
:root {
  color-scheme: light;
  --paper: #f4f1e8;
  --ink: #171815;
  --acid: #e3ff59;
  --muted: #76766d;
  --line: #d4d2c9;
  --panel: #ebe7dc;
  --head: "Archivo Black", "Arial Black", "Archivo Black Fallback", Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { overflow-x: clip; }
body { min-width: 320px; margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; line-height: 1.55; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid #728600; outline-offset: 4px; }
h1, h2 { margin: 0; font-family: var(--head); font-weight: 1000; letter-spacing: -1.5px; line-height: 1.02; font-synthesis: none; }
.wrap { max-width: 1180px; margin: auto; padding: 0 5%; }

header { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 92px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { display: block; width: 150px; height: auto; }
.brand span { padding: 4px 10px; border-radius: 999px; background: var(--ink); color: var(--acid); font-size: 11px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; }
nav { display: flex; align-items: center; gap: 18px; font-size: 14px; }
nav a { text-decoration: none; }
nav a:hover, nav a[aria-current] { text-decoration: underline; text-underline-offset: 5px; }
nav a[aria-current] { font-weight: 700; }
.home-link { color: var(--muted); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
.lede { max-width: 620px; margin: 18px 0; font-size: 21px; line-height: 1.4; letter-spacing: -.3px; }
.pill { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--ink); border-radius: 999px; font-size: 14px; font-weight: 700; text-decoration: none; }
.pill.dark { background: var(--ink); color: var(--paper); }
.small { color: var(--muted); font-size: 13px; }

/* bio */
.hero { display: grid; grid-template-columns: 1fr 1.15fr; gap: 54px; align-items: center; padding: 56px 0 48px; }
.hero h1 { font-size: clamp(54px, 8vw, 112px); }
.hero p { max-width: 520px; }
.jump { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; font-weight: 700; font-size: 14px; }
.portrait { position: relative; margin: 0; }
.portrait img { display: block; width: 100%; height: auto; border-radius: 12px; box-shadow: 0 18px 40px #17181530; }
.portrait figcaption { position: absolute; right: -10px; bottom: -14px; padding: 10px 14px; background: var(--acid); font-size: 12px; font-weight: 800; transform: rotate(-3deg); box-shadow: 0 5px 0 #00000020; }
.split { display: grid; grid-template-columns: 260px 1fr; gap: 40px; padding: 48px 0; border-top: 1px solid var(--line); scroll-margin-top: 16px; }
.split > h2 { font-size: 32px; }
.prose { max-width: 680px; font-size: 17px; }
.prose p { margin: 0 0 14px; }
.prose a, .lede a, footer a { text-decoration: underline; text-underline-offset: 3px; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 0; max-width: 700px; margin: 0; }
.facts dt, .facts dd { margin: 0; padding: 11px 0; border-bottom: 1px solid var(--line); }
.facts dt { padding-right: 30px; font-size: 11px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; }
.rules { display: grid; gap: 12px; max-width: 700px; margin: 0; padding: 0; list-style: none; counter-reset: r; }
.rules li { position: relative; padding: 14px 16px 14px 58px; border-radius: 10px; background: #fbf9f3; border: 1px solid var(--line); counter-increment: r; }
.rules li::before { content: counter(r); position: absolute; left: 14px; top: 12px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--acid); border: 1px solid var(--ink); font: 900 13px var(--head); }
.more { padding: 48px 0 30px; border-top: 1px solid var(--line); }
.more h2 { margin-bottom: 18px; font-size: 32px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.card { position: relative; display: grid; gap: 6px; padding: 20px 20px 22px; border: 1px solid var(--line); border-radius: 12px; background: #fbf9f3; text-decoration: none; transition: transform .2s, border-color .2s; }
.card:hover { transform: translateY(-3px); border-color: var(--ink); }
.card small { color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; }
.card b { font: 900 22px/1.1 var(--head); letter-spacing: -.5px; }
.card span { color: var(--muted); font-size: 14px; }
.card i { position: absolute; right: 18px; top: 16px; font-style: normal; font-weight: 900; }

/* history */
.page-head { padding: 52px 0 30px; }
.page-head h1 { font-size: clamp(44px, 6.6vw, 86px); }
.timeline { position: relative; display: grid; gap: 8px; margin: 0 0 30px; padding: 0; list-style: none; }
.timeline::before { content: ""; position: absolute; top: 24px; bottom: 24px; left: 23px; border-left: 2px dashed var(--line); }
.chapter { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 22px; padding: 18px 0; scroll-margin-top: 16px; }
.chapter .dot { z-index: 1; display: grid; place-items: center; width: 48px; height: 48px; border: 2px solid var(--ink); border-radius: 50%; background: var(--acid); font: 900 17px var(--head); }
.chapter.legend .dot { background: var(--paper); border-style: dashed; }
.chapter small { color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; }
.chapter h2 { margin: 4px 0 8px; font-size: clamp(26px, 3vw, 36px); }
.chapter p { max-width: 680px; margin: 0; font-size: 17px; }
.chapter.legend p { font-style: italic; color: var(--muted); }
.thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.thumbs img { display: block; width: 104px; height: 138px; object-fit: cover; border-radius: 7px; transition: transform .2s; }
.thumbs a:hover img { transform: rotate(-3deg) translateY(-3px); }
.go { display: inline-block; margin-top: 10px; font-weight: 700; font-size: 14px; }

/* workshop */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 18px; padding-bottom: 30px; }
.piece { display: grid; gap: 4px; text-decoration: none; }
.piece img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 9px; transition: transform .2s; }
.piece:hover img { transform: translateY(-4px); }
.piece b { margin-top: 6px; font-size: 15px; }
.piece span { color: var(--muted); font-size: 13px; }

/* teaching */
.pathway { display: grid; grid-template-columns: 280px 1fr; gap: 54px; align-items: start; padding: 48px 0; border-top: 1px solid var(--line); }
.pathway-side { position: sticky; top: 24px; }
.pathway-side img { display: block; width: 140px; height: 140px; margin-bottom: 14px; transform: rotate(-6deg); }
.pathway-side small { color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; }
.pathway-side h2 { margin: 6px 0 10px; font-size: 36px; }
.pathway-side p { margin: 0 0 8px; }
.sayings { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.sayings a { display: grid; grid-template-columns: 54px 1fr; gap: 4px 16px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; background: #fbf9f3; text-decoration: none; transition: border-color .2s; }
.sayings a:hover { border-color: var(--ink); }
.sayings .n { grid-row: span 2; font: 900 30px/1 var(--head); letter-spacing: -1px; }
.sayings q { font-size: 18px; line-height: 1.4; quotes: "“" "”"; }
.sayings q.nq { quotes: none; } /* the line already opens with a quotation */
.sayings small { color: var(--muted); font-size: 12px; font-weight: 700; }

footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 30px; padding: 26px 0 38px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
footer img { width: 120px; height: auto; }
footer p { max-width: 640px; margin: 0; text-align: right; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 36px; padding-top: 34px; }
  .split, .pathway { grid-template-columns: 1fr; gap: 18px; }
  .pathway-side { position: static; }
}
@media (max-width: 760px) {
  header { height: 74px; }
  .brand img { width: 112px; }
  .brand span { display: none; }
  nav { gap: 12px; font-size: 13px; }
  .home-link { display: none; }
  .lede { font-size: 18px; }
  .facts { grid-template-columns: 1fr; }
  .facts dt { padding-bottom: 0; border-bottom: 0; }
  .portrait figcaption { right: 8px; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 12px; }
  footer { flex-direction: column; align-items: flex-start; }
  footer p { text-align: left; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
