/* Direction A · Linocut
   Taken from Awo Falokun's book covers: black block-print ink on white paper,
   with flat fields of the covers' colors (Ebora red, Egun marigold, Oriki blue, Iwa-Pele ochre).
   Sections meet along a carved saw-tooth edge; framed things sit like printed blocks. */
.theme-linocut {
  --ink: #16130F;
  --ink-soft: #4A443C;
  --paper: #FFFDF8;
  --red: #C8161D;
  --marigold: #EE9C23;
  --blue: #3B7FCC;
  --ochre: #D2B10A;
  --green: #124937;
  --line: #DCD3C2;
  --cream: #FFF6E2;
  --sage: #FFF6E2;
  --sage-deep: var(--ink);
  --tan: var(--marigold);
  --tan-deep: var(--red);
  --indigo: var(--red);
  --white: var(--paper);
  --serif: "DM Serif Display", "Times New Roman", serif;
  --sans: "Source Sans 3", system-ui, sans-serif;
  --radius: 0px;
  --tooth: 18px;
}
body.theme-linocut { background: var(--paper); }
.theme-linocut h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); line-height: 1.02; letter-spacing: -0.015em; }
.theme-linocut h2, .theme-linocut .h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); line-height: 1.08; }
.theme-linocut a { text-decoration-color: var(--red); text-decoration-thickness: 2px; }

/* Carved edge: a saw-tooth top edge cut into a colored field. The teeth overlap the bottom
   of the section above, so the gaps between them show that section's own color. */
.theme-linocut .cut { position: relative; }
.theme-linocut .readings-band, .theme-linocut .patreon-band, .theme-linocut .feature, .theme-linocut .site-footer, .theme-linocut .disclaimer-band, .theme-linocut .strip {
  position: relative; margin-top: 0;
}
.theme-linocut .readings-band::before, .theme-linocut .patreon-band::before, .theme-linocut .feature::before, .theme-linocut .site-footer::before, .theme-linocut .disclaimer-band::before, .theme-linocut .strip::before {
  content: ""; position: absolute; left: 0; right: 0; top: calc(var(--tooth) * -1 + 1px); height: var(--tooth); background: inherit;
  -webkit-mask: conic-gradient(from 135deg at 50% 0, #000 90deg, transparent 0) 50% 0 / calc(var(--tooth) * 2) 100% repeat-x;
          mask: conic-gradient(from 135deg at 50% 0, #000 90deg, transparent 0) 50% 0 / calc(var(--tooth) * 2) 100% repeat-x;
}
.theme-linocut .strip { background: var(--ink); padding-top: 10px; gap: 10px; }

/* Header: logo on paper, heavy ink rule */
.theme-linocut .site-header { background: var(--paper); border-bottom: 4px solid var(--ink); }
.theme-linocut .header-inner { min-height: 80px; }
.theme-linocut .brand-mark { height: 54px; }
.theme-linocut .brand-text { display: grid; line-height: 1; }
.theme-linocut .brand-name { font-size: 1.55rem; color: var(--ink); }
.theme-linocut .brand-sub { font-family: "Josefin Sans", sans-serif; font-weight: 600; font-size: .8rem; letter-spacing: .3em; text-transform: uppercase; color: var(--green); margin-top: 4px; }
.theme-linocut .nav { font-weight: 600; }
.theme-linocut .nav a:hover, .theme-linocut .nav a[aria-current] { text-decoration-color: var(--red); text-decoration-thickness: 3px; }
.theme-linocut .nav-account { border-left: 2px solid var(--ink); }
.theme-linocut .nav .nav-cta { border-radius: 0; border-width: 2px; box-shadow: 3px 3px 0 var(--ink); background: var(--marigold); }
.theme-linocut .nav .nav-cta:hover { background: var(--ink); color: var(--paper); }
.theme-linocut .menu-btn { border-radius: 0; box-shadow: 3px 3px 0 var(--ink); }

/* Buttons are printed blocks */
.theme-linocut .btn { border-radius: 0; border: 2px solid var(--ink); background: var(--ink); color: var(--paper); box-shadow: 4px 4px 0 var(--red); padding: 14px 26px; font-weight: 700; }
.theme-linocut .btn:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--red); background: var(--ink); }
.theme-linocut .btn-quiet { background: var(--paper); color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.theme-linocut .btn-quiet:hover { background: var(--paper); box-shadow: 2px 2px 0 var(--ink); }
.theme-linocut .btn-light { background: var(--paper); color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.theme-linocut .btn-light:hover { background: var(--paper); }
@media (prefers-reduced-motion: reduce) { .theme-linocut .btn:hover { transform: none; } }

/* Hero */
.theme-linocut .hero { padding: 56px 0 72px; }
.theme-linocut .hero-grid { grid-template-columns: 6fr 5fr; }
.theme-linocut .hero-text { text-align: left; }
.theme-linocut .hero-text .lede { margin: 0 0 1.8em; color: var(--ink-soft); }
.theme-linocut .hero-text .actions { justify-content: flex-start; }
.theme-linocut .greeting { font-family: "DM Serif Display", serif; color: var(--red); font-size: 1.6rem; }
.theme-linocut .hero-photo img { border: 3px solid var(--ink); border-radius: 0; box-shadow: 14px 14px 0 var(--marigold), 14px 14px 0 3px var(--ink); }

/* Color fields, one per book */
.theme-linocut .section { padding: 84px 0; }
.theme-linocut .teachers img.rounded { border: 3px solid var(--ink); border-radius: 0; box-shadow: -14px 14px 0 var(--blue), -14px 14px 0 3px var(--ink); }
.theme-linocut .readings-band { background: var(--marigold); }
.theme-linocut .readings-band .plain-list li { border-bottom: 2px solid var(--ink); font-weight: 600; }
.theme-linocut .patreon-band { background: var(--blue); color: var(--paper); }
.theme-linocut .patreon-band h2 { color: var(--paper); }
.theme-linocut .patreon-band .btn { background: var(--paper); color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.theme-linocut .poster { border: 3px solid var(--ink); border-radius: 0; box-shadow: 10px 10px 0 var(--ink); }
.theme-linocut .feature { background: var(--red); padding: 80px 0 88px; }
.theme-linocut .feature h2 { color: var(--paper); }
.theme-linocut .feature-sub { color: var(--paper); font-family: "DM Serif Display", serif; opacity: .9; }
.theme-linocut .feature-poster { border: 3px solid var(--ink); border-radius: 0; box-shadow: 12px 12px 0 var(--ink); }

/* Inner pages */
.theme-linocut .page-head { background: var(--paper); border-bottom: 3px solid var(--ink); }
.theme-linocut .eyebrow { font-family: "DM Serif Display", serif; color: var(--red); font-style: normal; font-size: 1.25rem; }
.theme-linocut .facts > div { border-left: 3px solid var(--ink); padding-left: 12px; }
.theme-linocut .facts dd { font-size: 1.6rem; }
.theme-linocut .readings-head .poster { box-shadow: 12px 12px 0 var(--marigold), 12px 12px 0 3px var(--ink); }
.theme-linocut .book-card { background: var(--ochre); border: 3px solid var(--ink); border-radius: 0; box-shadow: 8px 8px 0 var(--ink); }
.theme-linocut .book-card .facts-stacked > div { border-left-color: var(--ink); }
.theme-linocut .disclaimer-band { background: var(--ink); color: var(--paper); }
.theme-linocut .disclaimer-band p { color: #D9D3C7; }
.theme-linocut .disclaimer-band h2 { color: var(--paper); }
.theme-linocut .book-cover img { border: 3px solid var(--ink); border-radius: 0; box-shadow: 8px 8px 0 var(--ink); }
.theme-linocut .book-cover:hover img { transform: translate(-2px, -2px); box-shadow: 10px 10px 0 var(--ink); }
.theme-linocut .course-row, .theme-linocut .nl-row { border: 2px solid var(--ink); border-radius: 0; box-shadow: 5px 5px 0 var(--ink); }
.theme-linocut .course-row:hover, .theme-linocut .nl-row:hover { background: var(--cream); }
.theme-linocut .course-row:nth-child(4n+1):hover { background: #FBE3E3; }
.theme-linocut .course-head { background: var(--marigold); border-bottom: 3px solid var(--ink); }
.theme-linocut .enroll-card { background: var(--paper); border: 3px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); }
.theme-linocut .player-page { background: var(--cream); }
.theme-linocut .video-frame, .theme-linocut .lesson-notes, .theme-linocut .player-side { border: 2px solid var(--ink); }
.theme-linocut .lesson-nav li.current a { background: var(--marigold); }
.theme-linocut .nl-frame { border: 3px solid var(--ink); }
.theme-linocut .flash { border-radius: 0; border: 2px solid var(--ink); border-left-width: 8px; }

/* Footer: black ink */
.theme-linocut .site-footer { background: var(--ink); }
.theme-linocut .footer-name { font-size: 1.5rem; }
.theme-linocut .footer-h { color: var(--marigold); font-size: 1.2rem; }
.theme-linocut .site-footer a:hover { text-decoration-color: var(--marigold); }

@media (max-width: 900px) {
  .theme-linocut .hero-grid { grid-template-columns: 1fr; }
  .theme-linocut .hero-photo { max-width: 460px; margin-right: 14px; }
  .theme-linocut .teachers img.rounded { margin-left: 14px; }
  .theme-linocut .section { padding: 64px 0; }
}
.theme-linocut .h3 { font-size: 1.4rem; }
