/* ==========================================================================
   MAC Labs — comic cover style (every page)
   A 1960s comic book cover look laid over the normal homepage. Nothing here changes
   timing, scrolling or the 3D: only how things look. Same brand colours throughout:
   ink (indigo) for the line work, lilac for the paper, violet for the "second colour".

   The cover vocabulary it borrows:
   - thick, even ink outlines and hard, offset shadows (no soft blur shadows)
   - halftone dots printed into the paper (the cheap-colour-printing look)
   - hand-lettered display type: tall, condensed, all caps, with a block "extrude"
   - narration caption boxes, speech balloons with tails, starburst callouts
   - the cover's printed border framing the art
   Remove the <link> to this file (marked "comic cover style" in each page's <head>) to go back.
   ========================================================================== */

@font-face { font-family: 'Bangers'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/bangers-v25-latin.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; }

.comic {
  --pop: #8f8ae0;                 /* the logo's violet: the cover's second colour */
  --pop-deep: var(--hi, #6d6a97);
  --line-w: 3px;
  --letter: 'Bangers', 'Impact', 'Arial Narrow Bold', sans-serif;
  --hard: 5px 5px 0 var(--ink);
  --hard-lg: 8px 8px 0 var(--ink);
  /* the halftone: violet dots on the paper */
  --dots: radial-gradient(rgba(143, 138, 224, .30) 1.25px, transparent 1.6px);
  --dots-dense: radial-gradient(rgba(143, 138, 224, .42) 1.5px, transparent 1.9px);
}
.comic:not(.room) { background: var(--paper) var(--dots) 0 0 / 11px 11px; }

/* ---------- lettering ---------- */
.comic h1, .comic h2, .comic h3, .comic .kicker, .comic .step-label, .comic .btn, .comic .nav-links a, .comic .menu a,
.comic .loader-pct, .comic .loader-note, .comic .faq summary, .comic .outro-line, .comic .offer b, .comic .history-text b,
.comic .chat-intro, .comic .steps li::before {
  font-family: var(--letter); font-weight: 400; letter-spacing: .035em;
}
/* headlines: ink letters with a violet block extrude and an ink edge behind it, like a cover title */
.comic h2 {
  color: var(--ink); line-height: .95;
  text-shadow: 1px 1px 0 var(--pop), 2px 2px 0 var(--pop), 3px 3px 0 var(--pop), 4px 4px 0 var(--pop), 5px 5px 0 var(--ink);
}
/* the opening line is the cover's title: the same inked letters as the other headlines, a touch bigger */
.comic h1 {
  color: var(--ink); line-height: .97; letter-spacing: .03em;
  text-shadow: 1px 1px 0 var(--pop), 2px 2px 0 var(--pop), 3px 3px 0 var(--pop), 4px 4px 0 var(--ink);
}
.comic .chapter .w { overflow-clip-margin: .6em; } /* room for the extrude while the words slide in */
.comic h3 { color: var(--ink); }

/* Bangers runs narrow, so the display sizes step up to keep the same weight on the page */
.comic .chapter--hero h1 { font-size: clamp(50px, 5.4vw, 86px); }
.comic .chapter h2 { font-size: clamp(46px, 4.9vw, 74px); }
.comic .scene-copy h2 { font-size: clamp(46px, 5.2vw, 80px); }
@media (min-width: 861px) and (max-width: 1180px) {
  .comic .chapter h2 { font-size: clamp(40px, 4.8vw, 56px); }
  .comic .chapter--hero h1 { font-size: clamp(48px, 5.8vw, 64px); }
}
@media (min-width: 861px) and (max-height: 800px) {
  .comic .chapter--hero h1 { font-size: clamp(44px, 5vw, 72px); }
}

/* ---------- caption boxes: the small labels and the narration ---------- */
.comic .step-label, .comic .kicker {
  align-self: flex-start; display: inline-flex; width: fit-content; gap: 10px;
  padding: 5px 12px 3px; background: var(--pop); color: var(--ink); font-size: 19px; line-height: 1.1; text-transform: uppercase;
  border: var(--line-w) solid var(--ink); box-shadow: 3px 3px 0 var(--ink); transform: rotate(-1.5deg); transform-origin: left center;
}
/* the narration: every chapter's paragraph sits in a caption panel over the art */
.comic .chapter .lead {
  color: var(--ink); background: var(--paper); padding: 16px 20px;
  border: var(--line-w) solid var(--ink); box-shadow: var(--hard);
}
.comic .chapter h2 + .lead { margin-top: 26px; }
.comic .chapter--hero .lead { margin-top: 30px; max-width: 30em; }
.comic .tour-note, .comic .work-name {
  align-self: flex-start; width: fit-content; max-width: 100%; padding: 6px 12px; color: var(--ink);
  background: var(--paper); border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); margin-top: 18px;
}
.comic .scene .lead { color: var(--ink); }

/* ---------- buttons: chunky, inked, they press in when tapped ---------- */
.comic .btn {
  min-height: 56px; padding: 4px 26px 0; border: var(--line-w) solid var(--ink); border-radius: 6px;
  background: var(--signal); color: var(--paper); font-size: 24px; text-transform: uppercase;
  box-shadow: 5px 5px 0 var(--pop), 5px 5px 0 var(--line-w) var(--ink);
  transition: transform .15s var(--ease), box-shadow .15s var(--ease), background .2s;
}
.comic .btn:hover { background: var(--ink); transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--pop), 7px 7px 0 var(--line-w) var(--ink); }
.comic .btn:active { transform: translate(4px, 4px); box-shadow: 1px 1px 0 var(--pop), 1px 1px 0 var(--line-w) var(--ink); }
.comic .btn--small { min-height: 44px; padding: 3px 18px 0; font-size: 19px; box-shadow: 3px 3px 0 var(--pop), 3px 3px 0 var(--line-w) var(--ink); }
.comic .text-link { color: var(--ink); text-decoration-color: var(--pop); text-decoration-thickness: 3px; }
.comic .text-link:hover { color: var(--pop-deep); }

/* the cover's starburst: the hero's main button carries a FREE! callout */
.comic .chapter--hero .actions .btn { position: relative; overflow: visible; }
.comic .chapter--hero .actions .btn::after {
  content: "Free!"; position: absolute; right: -34px; top: -34px; width: 66px; height: 66px; display: grid; place-items: center;
  padding-top: 3px; font-size: 19px; color: var(--ink); background: var(--pop); transform: rotate(12deg);
  clip-path: polygon(50% 0, 61% 18%, 82% 8%, 80% 30%, 100% 36%, 86% 52%, 100% 68%, 79% 72%, 82% 93%, 61% 83%, 50% 100%, 39% 83%, 18% 93%, 21% 72%, 0 68%, 14% 52%, 0 36%, 20% 30%, 18% 8%, 39% 18%);
  pointer-events: none;
}

/* ---------- the masthead (the bar along the top) ---------- */
.comic:not(.page) .nav-inner { padding-top: 14px; } /* homepage: clear the cover's printed border */
.comic .nav-links a { font-size: 21px; color: var(--ink); text-transform: uppercase; }
.comic .nav-links a:hover { color: var(--pop-deep); }
.comic .nav.is-scrolled { background: var(--paper); box-shadow: 0 var(--line-w) 0 var(--ink); backdrop-filter: none; -webkit-backdrop-filter: none; }
.comic .menu-btn { border: var(--line-w) solid var(--ink); border-radius: 6px; background: var(--paper); box-shadow: 3px 3px 0 var(--ink); }
@media (max-width: 860px) {
  .comic .menu { border-radius: 6px; border: var(--line-w) solid var(--ink); box-shadow: var(--hard-lg); }
  .comic .menu a { font-size: 28px; text-transform: uppercase; border-radius: 4px; }
  .comic .menu a:hover { background: var(--soft); }
  .comic .menu .menu-cta { font-size: 24px; }
}

/* ---------- the hero's two offers: inked panels ---------- */
.comic .offer li { border-radius: 6px; background: var(--paper); border: var(--line-w) solid var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.comic .offer li:hover, .comic .offer li:focus-within { box-shadow: 6px 6px 0 var(--ink); transform: translate(-1px, -1px); }
.comic .offer li::before { border-radius: 0; border: 2px solid var(--ink); left: 16px; top: 18px; }
.comic .offer li + li::before { background: var(--pop); }
.comic .offer b { font-size: 22px; text-transform: uppercase; }
.comic .offer span { color: var(--ink); }

/* ---------- the stage: a printed border round the art, halftone soaking into its edges ---------- */
.comic-cover { position: absolute; inset: 0; z-index: 2; pointer-events: none;
  box-shadow: inset 0 0 0 12px var(--paper), inset 0 0 0 16px var(--ink); }
.comic-cover::before { content: ""; position: absolute; inset: 0; mix-blend-mode: multiply; opacity: .9;
  background: radial-gradient(rgba(143, 138, 224, .55) 1.8px, transparent 2.3px) 0 0 / 12px 12px;
  -webkit-mask-image: radial-gradient(ellipse 70% 72% at 62% 52%, transparent 45%, #000 100%);
  mask-image: radial-gradient(ellipse 70% 72% at 62% 52%, transparent 45%, #000 100%); }
@media (max-width: 860px) {
  .comic-cover { box-shadow: inset 0 0 0 7px var(--paper), inset 0 0 0 10px var(--ink); }
  .comic-cover::before { -webkit-mask-image: radial-gradient(ellipse 80% 40% at 50% 28%, transparent 40%, #000 100%); mask-image: radial-gradient(ellipse 80% 40% at 50% 28%, transparent 40%, #000 100%); }
}

/* ---------- the loading screen ---------- */
.comic:not(.room) .loader { background: var(--studio) var(--dots-dense) 0 0 / 12px 12px; }
.comic .loader-window { border-radius: 6px; border: var(--line-w) solid var(--ink); box-shadow: 10px 10px 0 var(--ink); }
.comic .lw-bar { background: var(--pop); border-bottom: var(--line-w) solid var(--ink); }
.comic .lw-bar i { background: var(--paper); border: 2px solid var(--ink); }
.comic .lw-url { border: 2px solid var(--ink); border-radius: 4px; color: var(--ink); font-weight: 600; }
.comic .lw-progress { height: 4px; }
.comic .lw-progress b { background: var(--ink); }
.comic .loader-pct { color: var(--ink); text-shadow: 3px 3px 0 var(--pop), 6px 6px 0 var(--pop), 8px 8px 0 var(--ink); letter-spacing: .02em; }
.comic .loader-pct::after { color: var(--ink); }
.comic .loader-note { font-size: 24px; color: var(--ink); text-transform: uppercase; }

/* ---------- below the tour: every section is a panel on the printed page ---------- */
.comic .scene { background: transparent; }
.comic .scene:nth-of-type(even) { background: var(--fog) var(--dots-dense) 0 0 / 11px 11px; }
.comic .scene-copy, .comic .scene:nth-of-type(even) .scene-copy {
  background: var(--paper); padding: clamp(24px, 3vw, 44px); border: var(--line-w) solid var(--ink); border-radius: 4px; box-shadow: var(--hard-lg);
}
.comic .kicker { margin-bottom: 22px; }

/* services: two panels */
.comic .service { margin-top: 30px; padding: 20px 22px; border: var(--line-w) solid var(--ink); border-radius: 4px; background: var(--paper); box-shadow: var(--hard); }
.comic .service + .service { margin-top: 22px; }
.comic .service h3 { font-size: 30px; text-transform: uppercase; }
.comic .service p { color: var(--ink); }

/* the demo chat: a panel of speech balloons */
.comic .chat-intro { font-size: 24px; text-transform: uppercase; }
.comic .chat { border: var(--line-w) solid var(--ink); border-radius: 6px; box-shadow: var(--hard-lg); background: var(--paper); }
.comic .chat-head { border-bottom: var(--line-w) solid var(--ink); }
.comic .chat-head small { color: var(--ink); }
.comic .chat-pill { background: var(--pop); color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); border-radius: 4px; }
.comic .chat-body { background: var(--fog) var(--dots-dense) 0 0 / 11px 11px; gap: 14px; }
.comic .msg { position: relative; border: 2.5px solid var(--ink); border-radius: 22px; color: var(--ink); }
.comic .msg--bot, .comic .msg--card { background: var(--paper); border-color: var(--ink); border-bottom-left-radius: 22px; }
.comic .msg--user { background: var(--pop); border-bottom-right-radius: 22px; }
/* the balloon tails */
.comic .msg--bot::after, .comic .msg--card::after, .comic .msg--user::after {
  content: ""; position: absolute; bottom: -8px; width: 13px; height: 13px; background: inherit;
  border-right: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: rotate(45deg);
}
.comic .msg--bot::after, .comic .msg--card::after { left: 18px; }
.comic .msg--user::after { right: 18px; }
.comic .msg--card small { color: var(--ink); }
.comic .msg--card .slots span { border: 2px solid var(--ink); border-radius: 4px; background: var(--fog); }
.comic .typing i { background: var(--ink); }
.comic .chat-prompts { border-top: var(--line-w) solid var(--ink); }
.comic .chat-prompts button { border: 2.5px solid var(--ink); border-radius: 4px; background: var(--paper); font-weight: 600; box-shadow: 3px 3px 0 var(--ink); transition: transform .15s, box-shadow .15s; }
.comic .chat-prompts button:hover { color: var(--ink); border-color: var(--ink); background: var(--soft); transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }

/* the steps: numbered with starbursts */
.comic .steps li { border-top: 2.5px solid var(--ink); grid-template-columns: 62px 1fr; }
.comic .steps li:last-child { border-bottom: 2.5px solid var(--ink); }
.comic .steps li::before {
  width: 54px; height: 54px; border-radius: 0; padding-top: 3px; font-size: 24px; background: var(--pop); color: var(--ink);
  clip-path: polygon(50% 0, 61% 18%, 82% 8%, 80% 30%, 100% 36%, 86% 52%, 100% 68%, 79% 72%, 82% 93%, 61% 83%, 50% 100%, 39% 83%, 18% 93%, 21% 72%, 0 68%, 14% 52%, 0 36%, 20% 30%, 18% 8%, 39% 18%);
}
.comic .steps li:nth-child(even)::before { background: var(--ink); color: var(--paper); }
.comic .steps h3 { font-size: 27px; text-transform: uppercase; }
.comic .steps li > p { color: var(--ink); }

/* the questions */
.comic .faq { border-top: 2.5px solid var(--ink); }
.comic .faq details { border-bottom: 2.5px solid var(--ink); }
.comic .faq summary { font-size: 25px; line-height: 1.15; text-transform: uppercase; }
.comic .faq summary::after { border: 2.5px solid var(--ink); background: var(--pop); color: var(--ink); font-family: var(--font); font-weight: 700; font-size: 24px; letter-spacing: 0; }
.comic .faq details[open] summary::after { background: var(--ink); color: var(--paper); }
.comic .faq details p { color: var(--ink); }

/* the form */
.comic .form { background: var(--paper); border: var(--line-w) solid var(--ink); border-radius: 6px; box-shadow: 10px 10px 0 var(--ink); }
.comic .scene-copy .form { box-shadow: var(--hard); }
.comic .field > span, .comic .field legend { font-family: var(--letter); font-weight: 400; font-size: 20px; letter-spacing: .04em; text-transform: uppercase; }
.comic .field em { font-family: var(--font); font-size: 14px; letter-spacing: 0; text-transform: none; color: var(--ink); }
.comic .field input, .comic .field textarea { border: 2.5px solid var(--ink); border-radius: 4px; background: #fff; }
.comic .field input:focus, .comic .field textarea:focus { border-color: var(--ink); box-shadow: 3px 3px 0 var(--pop); }
.comic .field input:focus-visible, .comic .field textarea:focus-visible { box-shadow: 4px 4px 0 var(--pop); }
.comic .chips span { border: 2.5px solid var(--ink); border-radius: 4px; font-weight: 600; }
.comic .chips label:hover span { background: var(--soft); }
.comic .chips input:checked + span { background: var(--ink); color: var(--paper); box-shadow: 3px 3px 0 var(--pop); }
.comic .form-note { color: var(--ink); }

/* the outro line is a speech balloon */
.comic .outro-line {
  position: relative; max-width: 18ch; padding: 26px 38px 22px; font-size: clamp(32px, 3.8vw, 54px); line-height: 1; color: var(--ink); text-transform: uppercase;
  background: var(--paper); border: var(--line-w) solid var(--ink); border-radius: 50% / 44%; box-shadow: var(--hard);
}
.comic .outro-line::after {
  content: ""; position: absolute; left: 22%; bottom: -24px; width: 34px; height: 28px; background: var(--paper);
  border-right: var(--line-w) solid var(--ink); border-bottom: var(--line-w) solid var(--ink); transform: skewX(-30deg) rotate(18deg);
}
.comic .outro-back { color: var(--ink); }
.comic .history-card { border-radius: 6px; background: var(--paper); border: var(--line-w) solid var(--ink); box-shadow: var(--hard); }
.comic .history-card:hover { box-shadow: 7px 7px 0 var(--ink); transform: translate(-2px, -2px); }
.comic .history-years { border-radius: 4px; }
.comic .history-text b { font-size: 21px; text-transform: uppercase; }
.comic .history-text span { color: var(--ink); }
.comic .history-go { color: var(--ink); }

/* ---------- the footer: the back cover, printed in indigo ---------- */
.comic .footer {
  color: var(--paper); border-top: 4px solid var(--ink);
  background: var(--signal) radial-gradient(rgba(241, 238, 248, .10) 1.4px, transparent 1.8px) 0 0 / 11px 11px;
}
.comic .footer-tag, .comic .footer-nav a, .comic .footer-base a, .comic .footer-base, .comic .footer .credits-link { color: rgba(241, 238, 248, .82); }
.comic .footer-nav a:hover, .comic .footer-base a:hover { color: var(--paper); }
.comic .footer-base { border-top-color: rgba(241, 238, 248, .25); }
@media (max-width: 860px) {
  .comic .footer-nav { border-color: rgba(241, 238, 248, .25); }
  .comic .footer-nav a, .comic .footer-base .footer-mail { color: var(--paper); }
  .comic .footer-base .footer-mail { text-decoration-color: rgba(241, 238, 248, .4); }
}
.comic .to-top { border: var(--line-w) solid var(--ink); border-radius: 6px; background: var(--paper); box-shadow: 3px 3px 0 var(--ink); }

/* ---------- phones ---------- */
@media (max-width: 860px) {
  .comic .chapter--hero h1 { font-size: clamp(38px, 10.6vw, 50px); }
  .comic .chapter h2 { font-size: clamp(34px, 9.6vw, 42px); }
  .comic .scene-copy h2 { font-size: clamp(36px, 10vw, 46px); }
  .comic .chapter .lead { padding: 11px 14px; box-shadow: 4px 4px 0 var(--ink); }
  .comic .chapter h2 + .lead { margin-top: 16px; }
  .comic .chapter--hero .lead { margin-top: 16px; }
  .comic .step-label, .comic .kicker { font-size: 17px; }
  .comic .offer li { border-radius: 6px; box-shadow: 3px 3px 0 var(--ink); }
  .comic .offer li::before { top: 50%; left: 11px; }
  .comic .offer b { font-size: 18px; }
  .comic .btn { font-size: 21px; }
  .comic .chapter--hero .actions .btn::after { right: -22px; top: -28px; width: 54px; height: 54px; font-size: 16px; }
  .comic .scene-copy, .comic .scene:nth-of-type(even) .scene-copy { padding: 22px 18px; border-radius: 4px; background: var(--paper); box-shadow: 6px 6px 0 var(--ink); }
  .comic .outro > .outro-line { box-shadow: var(--hard); }
  .comic .outro > .btn { box-shadow: 4px 4px 0 var(--pop), 4px 4px 0 var(--line-w) var(--ink); }
  .comic .outro > .history-card { border-radius: 6px; background: var(--paper); box-shadow: var(--hard); }
  .comic .outro-line { padding: 20px 26px 18px; }
  .comic .faq summary { font-size: 22px; }
}
@media (max-width: 860px) and (max-height: 740px) {
  .comic .chapter--hero h1 { font-size: clamp(34px, 10vw, 44px); }
}

/* ==========================================================================
   The service pages (/website-design/, /ai-solutions/, /seo/, /lancaster-pa-web-design/)
   Same cover look; these rules cover what only those pages have (shared/pages.css).
   ========================================================================== */
.comic.page .nav { background: var(--paper); box-shadow: 0 var(--line-w) 0 var(--ink); backdrop-filter: none; -webkit-backdrop-filter: none; }
.comic .nav-links a[aria-current="page"] { text-decoration-color: var(--pop); text-decoration-thickness: 3px; }
.comic .crumbs, .comic .crumbs a { font-family: var(--letter); font-size: 18px; letter-spacing: .05em; text-transform: uppercase; color: var(--ink); }
.comic .ph h1 { font-size: clamp(54px, 6.4vw, 100px); line-height: .95; }
.comic .ph .lead { color: var(--ink); background: var(--paper); padding: 16px 20px; border: var(--line-w) solid var(--ink); box-shadow: var(--hard); }
.comic .ps h2 { font-size: clamp(44px, 5vw, 74px); }
.comic .ps { background: transparent; }
.comic .ps--fog { background: var(--fog) var(--dots-dense) 0 0 / 11px 11px; }
/* each section's copy is a panel, like the homepage's scenes */
.comic .ps > .wrap > div:not(.px) { background: var(--paper); padding: clamp(24px, 3vw, 44px); border: var(--line-w) solid var(--ink); border-radius: 4px; box-shadow: var(--hard-lg); }
.comic .ps .lead, .comic .prose p, .comic .rows p, .comic .halves p, .comic .verdict li { color: var(--ink); }

.comic .facts { border-top: var(--line-w) solid var(--ink); }
.comic .facts li + li { border-left: 2.5px solid var(--ink); }
.comic .facts b { font-family: var(--letter); font-weight: 400; font-size: 23px; letter-spacing: .04em; text-transform: uppercase; }
.comic .facts span { color: var(--ink); }

.comic .rows li { border-top: 2.5px solid var(--ink); }
.comic .rows li:last-child, .comic .rows--two li:nth-last-child(2):nth-child(odd) { border-bottom: 2.5px solid var(--ink); }
.comic .rows h3, .comic .halves h3, .comic .verdict h3 { font-family: var(--letter); font-weight: 400; font-size: 28px; letter-spacing: .04em; text-transform: uppercase; }
.comic .verdict h3 { border-bottom: var(--line-w) solid var(--ink); }
.comic .verdict h3 i { border-radius: 0; background: var(--pop); box-shadow: 0 0 0 2px var(--ink); }
.comic .verdict .no h3 { color: var(--ink); border-bottom: var(--line-w) dashed var(--ink); }
.comic .verdict .no h3 i { background: var(--paper); box-shadow: 0 0 0 2px var(--ink); }
.comic .verdict li { border-bottom: 2px solid var(--ink); }
.comic .halves { border-top: var(--line-w) solid var(--ink); }

/* the client sites: inked browser windows */
.comic .site-win { border-radius: 6px; border: var(--line-w) solid var(--ink); box-shadow: var(--hard-lg); }
.comic .site-bar { background: var(--pop); border-bottom: var(--line-w) solid var(--ink); }
.comic .site-bar i { background: var(--paper); box-shadow: 0 0 0 2px var(--ink); }
.comic .site-bar span { color: var(--ink); font-weight: 600; }
.comic .site figcaption b { font-family: var(--letter); font-weight: 400; font-size: 24px; letter-spacing: .04em; text-transform: uppercase; }
.comic .site figcaption span, .comic .sites-note { color: var(--ink); }

.comic .related { border-top: var(--line-w) solid var(--ink); }
.comic .related a { border-bottom: 2.5px solid var(--ink); }
.comic .related b { font-family: var(--letter); font-weight: 400; font-size: 24px; letter-spacing: .04em; text-transform: uppercase; }
.comic .related span { color: var(--ink); }
.comic .related svg { color: var(--ink); }
.comic .related a:hover b { color: var(--pop-deep); }
@media (max-width: 860px) {
  .comic .ph h1 { font-size: clamp(40px, 11vw, 54px); }
  .comic .ps h2 { font-size: clamp(36px, 10vw, 46px); }
  .comic .ph .lead { padding: 11px 14px; box-shadow: 4px 4px 0 var(--ink); }
  .comic .ps > .wrap > div:not(.px) { padding: 22px 18px; box-shadow: 6px 6px 0 var(--ink); }
  .comic .facts li + li { border-left-width: 2px; }
  .comic .facts b { font-size: 19px; }
}

/* ==========================================================================
   The small standalone pages (404, credits)
   ========================================================================== */
.comic-solo h1 { font-size: clamp(50px, 9vw, 80px); line-height: .95; }
.comic-solo .code { display: inline-block; padding: 5px 12px 3px; background: var(--pop); color: var(--ink); font-family: var(--letter); font-size: 22px; letter-spacing: .06em;
  border: var(--line-w) solid var(--ink); box-shadow: 3px 3px 0 var(--ink); transform: rotate(-1.5deg); }
.comic-solo main > p:not(.code), .comic-solo .lede { color: var(--ink); background: var(--paper); padding: 16px 20px; border: var(--line-w) solid var(--ink); box-shadow: var(--hard); }
.comic-solo .links a:not(.btn) { color: var(--ink); text-decoration-color: var(--pop); text-decoration-thickness: 3px; }
.comic-solo h2 { font-size: 30px; margin-top: 48px; text-shadow: 1px 1px 0 var(--pop), 2px 2px 0 var(--pop), 3px 3px 0 var(--ink); }
.comic-solo ul { border-top: var(--line-w) solid var(--ink); }
.comic-solo li { border-bottom: 2.5px solid var(--ink); }
.comic-solo li b { font-family: var(--letter); font-weight: 400; font-size: 24px; letter-spacing: .04em; text-transform: uppercase; }
.comic-solo li span, .comic-solo .note, .comic-solo footer { color: var(--ink); }
.comic-solo li a { color: var(--ink); text-decoration-color: var(--pop); text-decoration-thickness: 2px; }

/* ==========================================================================
   The history of the web (/history/): its own bar, year titles and loading screen.
   The 3D eras themselves are left alone; at the end it shows the homepage, already in this style.
   ========================================================================== */
.comic.room .brand span, .comic.room .eras button, .comic.room .bar .link, .comic.room .loader-year, .comic.room .loader-meta,
.comic.room .blk .hl, .comic.room .blk .yr, .comic.room .hint {
  font-family: var(--letter); font-weight: 400; letter-spacing: .04em;
}
.comic.room .brand span { font-size: 22px; text-transform: uppercase; }
.comic.room .eras button { font-size: 19px; }
.comic.room .eras-line { height: 4px; border-radius: 0; }
.comic.room .bar .link { font-size: 20px; text-transform: uppercase; }
/* headlines over the eras: lilac letters with a violet extrude and an ink edge */
.comic.room .blk .hl { color: var(--paper); line-height: .98; text-transform: uppercase;
  text-shadow: 1px 1px 0 var(--pop), 2px 2px 0 var(--pop), 3px 3px 0 var(--pop), 5px 5px 0 var(--ink); }
.comic.room .blk .hl .hi { color: var(--pop); text-shadow: 1px 1px 0 var(--ink), 2px 2px 0 var(--ink), 3px 3px 0 var(--ink); }
.comic.room .blk .ln { padding-right: .15em; padding-bottom: .16em; margin-bottom: -.16em; }
.comic.room .blk.title .yr { color: var(--paper); letter-spacing: .02em; text-shadow: 3px 3px 0 var(--pop), 6px 6px 0 var(--pop), 9px 9px 0 var(--ink); }
.comic.room .blk.title .sub { display: inline-block; padding: 6px 12px; background: var(--paper); color: var(--ink); font-weight: 600;
  border: var(--line-w) solid var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.comic.room .intro-t .intro-line { color: var(--paper); }
/* buttons: chunky and inked, like the rest of the site */
.comic.room .btn { border: var(--line-w) solid var(--ink); border-radius: 6px; font-family: var(--letter); font-weight: 400; letter-spacing: .05em; text-transform: uppercase;
  transition: transform .15s var(--ease), box-shadow .15s var(--ease); }
.comic.room .btn-lg { font-size: 24px; }
.comic.room .btn-sm { font-size: 18px; box-shadow: 3px 3px 0 var(--pop), 3px 3px 0 var(--line-w) var(--ink); }
.comic.room .btn-blue, .comic.room .intro-t .btn-blue { box-shadow: 5px 5px 0 var(--pop), 5px 5px 0 var(--line-w) var(--ink); }
.comic.room .btn:hover { transform: translate(-2px, -2px); }
.comic.room .btn:active { transform: translate(3px, 3px); }
.comic.room .btn-ghost { border-color: var(--paper); }
/* the loading screen */
.comic.room .loader-year { color: var(--paper); text-shadow: 3px 3px 0 var(--pop), 6px 6px 0 var(--pop), 9px 9px 0 var(--ink); }
.comic.room .loader-line { height: 5px; border-radius: 0; box-shadow: 0 0 0 2px var(--ink); }
.comic.room .loader-meta { font-size: 18px; text-transform: uppercase; }
/* the homepage's button sizes stay on the homepage */
.comic.room .btn-sm { min-height: 40px; padding: 2px 16px 0; }
.comic.room .btn-ghost { background: transparent; color: var(--paper); box-shadow: none; }
.comic.room .btn-ghost:hover { background: rgba(241, 238, 248, .12); }

/* phones and tablets */
@media (max-width: 860px), (pointer: coarse) {
  /* the halftone over the live 3D: no blending, and its own still layer (drawn once, then only moved by
     the GPU), so it costs next to nothing while the laptop redraws underneath */
  .comic-cover, .comic-cover::before { transform: translateZ(0); }
  .comic-cover::before { mix-blend-mode: normal; opacity: .6; }
  /* Safari can't widen a clipping box (overflow-clip-margin), so the slanted letters and their extrude
     were trimmed. On phones the chapter words only fade, so nothing needs clipping */
  .comic .chapter .w { overflow: visible; }
  /* every headline word was its own graphics layer on phones (dozens of them, stacked over the live 3D
     and re-blended on every frame of a scroll). The words only fade there, so they stay in one layer */
  .comic .chapter .w > span { will-change: auto; }
  /* the history page's title lines do slide inside their boxes: give the letters room on every side */
  .comic.room .blk .ln { padding: .04em .18em .18em .08em; margin: -.04em -.18em -.18em -.08em; }
}
