@import url('fonts/gagalin.css');

/* Comic Sans comes from the viewer's own computer. Phones without it fall back to Comic Neue. */
@font-face { font-family: 'Comic Sans MS'; font-weight: 400; src: local('Comic Sans MS'), local('ComicSansMS'); }
@font-face { font-family: 'Comic Sans MS'; font-weight: 700; src: local('Comic Sans MS Bold'), local('ComicSansMS-Bold'); }

:root {
  --coral: #FF5757;
  --yellow: #FCE605;
  --ink: #050303;
  --cream: #FFF4DC;
  --mustard: #E9B564;
  --red: #EC4649;
  --line: 4px solid var(--ink);
  --head: 'Gagalin', 'Comic Sans MS', 'Comic Neue', sans-serif;
  --body: 'Comic Sans MS', 'Comic Neue', sans-serif;
  --gut: clamp(16px, 2.2vw, 32px);
  --bar: 72px;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--bar) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 18px/1.55 var(--body); overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--head); font-weight: 400; line-height: 1.02; text-transform: uppercase; letter-spacing: .01em; text-wrap: balance; }
dt { text-wrap: balance; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 3px var(--yellow); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Masthead */
.masthead { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 28px; min-height: var(--bar); padding: 8px var(--gut); background: var(--cream); border-bottom: var(--line); }
.logo { display: flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; white-space: nowrap; }
.logo b { font: 400 30px/1 var(--head); text-transform: uppercase; }
.logo span { font: 700 14px/1 var(--body); }
.menu { display: flex; gap: 6px; margin-left: auto; }
.menu a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; font-weight: 700; font-size: 17px; text-decoration: none; }
.menu a:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border: var(--line); border-radius: 10px; font: 400 20px/1 var(--head); text-transform: uppercase; letter-spacing: .02em; text-decoration: none; white-space: nowrap; cursor: pointer; box-shadow: 5px 5px 0 var(--ink); transition: transform 140ms var(--ease), box-shadow 140ms var(--ease); }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
.btn:active { transform: translate(5px, 5px); box-shadow: 0 0 0 var(--ink); }
.btn-ink { background: var(--ink); color: var(--yellow); box-shadow: 5px 5px 0 var(--yellow); }
.btn-ink:hover { box-shadow: 7px 7px 0 var(--yellow); }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-cream { background: var(--cream); color: var(--ink); }
.btn[disabled] { opacity: .35; cursor: default; transform: none; box-shadow: none; }
.masthead .btn { min-height: 46px; padding: 0 18px; font-size: 17px; box-shadow: 3px 3px 0 var(--yellow); }

/* Comic parts */
.panel { position: relative; border: var(--line); border-radius: 12px; box-shadow: 8px 8px 0 var(--ink); }
.dots { background-image: radial-gradient(rgba(5, 3, 3, .16) 24%, transparent 26%); background-size: 13px 13px; }
.tape { display: inline-block; padding: 7px 14px 6px; background: var(--yellow); border: 3px solid var(--ink); font: 700 15px/1.1 var(--body); text-transform: uppercase; letter-spacing: .04em; transform: rotate(-1.2deg); }
.section { padding: clamp(56px, 8vw, 110px) var(--gut); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 34ch); gap: 16px 48px; align-items: end; margin-bottom: clamp(30px, 4vw, 52px); }
.section-head .tape { grid-column: 1 / -1; justify-self: start; }
.section-head h2 { font-size: clamp(38px, 5.4vw, 84px); }
.section-head p { font-size: 19px; max-width: 34ch; }

/* Hero */
.hero { --strip: 58px; --pad: clamp(14px, 3vh, 30px); display: grid; grid-template-columns: 7fr 5fr; grid-template-rows: minmax(0, 1fr) auto; gap: var(--gut); min-height: min(calc(100dvh - var(--bar) - 8px), 62vw); padding: var(--gut); padding-right: calc(var(--gut) + 8px); padding-bottom: calc(var(--gut) + 8px); }
.hero-a { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(20px, 3.4vw, 56px); background-color: var(--coral); }
.hero-title { padding: 8px 14px 6px; background: var(--yellow); border: 3px solid var(--ink); font-size: clamp(17px, 1.72vw, 27px); line-height: 1.08; transform: rotate(-.7deg); }
.hero-hook { margin-top: clamp(8px, 1.6vh, 18px); font: 400 min(8.8vw, 12.6vh)/1 var(--head); text-transform: uppercase; }
.meme-hero .hero-a h1 { font-size: min(6.6vw, 12.4vh); margin-top: clamp(10px, 2vh, 20px); }
.meme-hero { grid-template-rows: minmax(0, 1fr); min-height: 0; --strip: 0px; }
.meme-hero .hero-cover { width: min(100%, 300px); }
.hero-strap { display: inline-block; margin-top: clamp(8px, 1.6vh, 16px); padding: 10px 16px 8px; background: var(--ink); color: var(--yellow); font: 400 min(2.25vw, 5vh)/1.05 var(--head); text-transform: uppercase; letter-spacing: .01em; white-space: nowrap; transform: rotate(-.8deg); }
.hero-sub { margin-top: clamp(10px, 2vh, 22px); max-width: 44ch; font-size: clamp(17px, 1.5vw, 23px); font-weight: 700; line-height: 1.3; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px 18px; margin-top: clamp(14px, 2.6vh, 30px); }
.hero-b { display: flex; align-items: center; justify-content: center; padding: var(--pad); background: var(--yellow); min-height: 0; overflow: visible; }
.hero-cover { width: min(100%, calc((100dvh - var(--bar) - 3 * var(--gut) - var(--strip) - 2 * var(--pad) - 28px) * .667)); height: auto; object-fit: contain; border: 3px solid var(--ink); box-shadow: 10px 10px 0 var(--ink); transform: rotate(3deg); transition: transform 320ms var(--ease); }
.hero-b:hover .hero-cover { transform: rotate(1deg) scale(1.015); }
.hero-strip { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 12px 32px; flex-wrap: wrap; min-height: var(--strip); padding: 10px 22px 8px; background: var(--ink); color: var(--yellow); border-radius: 12px; box-shadow: 8px 8px 0 var(--coral); }
.hero-strip b { font: 400 clamp(20px, 2.2vw, 30px)/1 var(--head); text-transform: uppercase; }
.hero-strip span { font-weight: 700; font-size: 17px; color: var(--cream); }

/* What is Wine Easy */
.what h2 { margin-top: 16px; font-size: clamp(32px, 4.4vw, 74px); }
.what .hero-strap { margin-top: 18px; font-size: clamp(26px, 3.2vw, 50px); }
.what-line { max-width: 56ch; margin-top: 18px; font-size: clamp(19px, 1.7vw, 24px); font-weight: 700; line-height: 1.35; }
.promises { display: flex; gap: 22px; margin-top: clamp(28px, 4vw, 48px); padding-right: 8px; }
.promise { flex: var(--r) var(--r) 0; min-width: 0; display: flex; flex-direction: column; background: var(--cream); border: var(--line); border-radius: 12px; box-shadow: 6px 6px 0 var(--ink); overflow: hidden; }
.promise img { width: 100%; height: auto; aspect-ratio: var(--r); }
.promise figcaption { flex: 1; display: flex; align-items: center; padding: 12px 14px 10px; background: var(--yellow); border-top: var(--line); font: 700 clamp(17px, 1.35vw, 20px)/1.25 var(--body); }

/* Chapter covers: every picture keeps its own shape, rows are justified */
.issues { display: flex; flex-wrap: wrap; gap: 22px; padding-right: 8px; }
.pair { display: contents; }
.brk { flex-basis: 100%; height: 0; margin-top: -22px; }
.issue { flex: var(--r) var(--r) 0; min-width: 0; display: flex; flex-direction: column; background: var(--c); color: var(--t, var(--ink)); border: var(--line); border-radius: 12px; box-shadow: 6px 6px 0 var(--ink); overflow: hidden; text-decoration: none; }
.issue-band { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 4px; min-height: 92px; padding: 10px 14px 9px; border-bottom: var(--line); }
.issue-no { font: 700 13px/1 var(--body); letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.issue-title { font: 400 clamp(19px, 1.65vw, 25px)/1.04 var(--head); text-transform: uppercase; }
.issue img { width: 100%; height: auto; aspect-ratio: var(--r); }
a.issue { transition: transform 180ms var(--ease), box-shadow 180ms var(--ease); }
a.issue:hover { transform: translate(-3px, -3px) rotate(-.5deg); box-shadow: 10px 10px 0 var(--ink); }
a.issue:active { transform: translate(4px, 4px); box-shadow: 2px 2px 0 var(--ink); }
.issue-open { align-self: flex-start; margin-top: 4px; white-space: nowrap; padding: 4px 8px 3px; background: var(--ink); color: var(--yellow); font: 400 15px/1 var(--head); text-transform: uppercase; }

/* Book preview */
.read { background-color: var(--ink); color: var(--cream); padding: clamp(24px, 4vh, 48px) var(--gut); }
.read-grid { display: grid; grid-template-columns: minmax(250px, 3fr) 8fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.read h2 { font-size: clamp(38px, 4.8vw, 76px); color: var(--yellow); margin-top: 16px; }
.read p { margin-top: 16px; font-size: 19px; max-width: 32ch; }
.flip { --pr: .662; outline-offset: 8px; }
.flip-stage { position: relative; margin: 0 auto; perspective: 2200px; touch-action: pan-y; cursor: pointer; }
.flip.spread .flip-stage { aspect-ratio: calc(var(--pr) * 2); width: min(100%, calc((100dvh - var(--bar) - 130px) * var(--pr) * 2)); }
.flip.single .flip-stage { aspect-ratio: var(--pr); width: min(100%, calc((100dvh - 210px) * var(--pr))); }
.flip-page, .flip-leaf { position: absolute; top: 0; bottom: 0; }
.flip.spread .flip-page.l, .flip.spread .flip-leaf.l { left: 0; width: 50%; }
.flip.spread .flip-page.r, .flip.spread .flip-leaf.r { left: 50%; width: 50%; }
.flip.single .flip-page, .flip.single .flip-leaf { left: 0; width: 100%; }
.flip-page { background: var(--cream); overflow: hidden; }
.flip-page img, .flip-face img { width: 100%; height: 100%; object-fit: fill; }
.flip.spread .flip-page::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.flip.spread .flip-page.l::after { background: linear-gradient(to left, rgba(5, 3, 3, .28), transparent 9%); }
.flip.spread .flip-page.r::after { background: linear-gradient(to right, rgba(5, 3, 3, .28), transparent 9%); }
.flip-leaf { z-index: 5; transform-style: preserve-3d; will-change: transform; pointer-events: none; }
.flip-face { position: absolute; inset: 0; overflow: hidden; backface-visibility: hidden; background: var(--cream); }
.flip-face.back { transform: rotateY(180deg); }
.flip-end { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3%; height: 100%; padding: 7%; background: var(--coral); color: var(--ink); text-align: center; container-type: inline-size; }
.flip-end strong { font: 400 10cqw/1.02 var(--head); text-transform: uppercase; }
.flip-end img { width: 36cqw; height: auto; object-fit: contain; border: 3px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); transform: rotate(2deg); }
.flip-end p { margin: 0; max-width: none; font-size: clamp(16px, 5.4cqw, 21px); font-weight: 700; line-height: 1.3; color: var(--ink); }
.flip-end .btn { min-height: 48px; padding: 0 16px; font-size: clamp(16px, 5.4cqw, 20px); box-shadow: 4px 4px 0 var(--yellow); }
.flip-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 18px auto 0; }
.flip.spread .flip-bar { width: min(100%, calc((100dvh - var(--bar) - 130px) * var(--pr) * 2)); }
.flip.single .flip-bar { width: min(100%, calc((100dvh - 210px) * var(--pr))); }
.flip-count { font-weight: 700; font-size: 17px; text-align: center; }
.flip-bar .btn { padding: 0 18px; font-size: 18px; box-shadow: 4px 4px 0 var(--coral); }

/* The Funnies */
.funnies-section { background-color: var(--mustard); border-top: var(--line); border-bottom: var(--line); }
.funnies { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px 22px; padding-right: 8px; }
.funnies.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.funny { display: flex; flex-direction: column; background: var(--cream); border: var(--line); border-radius: 12px; box-shadow: 6px 6px 0 var(--ink); overflow: hidden; }
.funny-open { display: block; flex: 1; width: 100%; padding: 0; border: 0; background: var(--cream); cursor: zoom-in; }
.funny-open img { width: 100%; height: 100%; object-fit: contain; object-position: top; }
.funny-foot { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 4px 10px; white-space: nowrap; border-top: var(--line); font-weight: 700; font-size: 16px; }
.funny-do { display: flex; gap: 2px; }
.funny-do a, .funny-do button { display: inline-flex; align-items: center; min-height: 44px; padding: 0 6px; border: 0; background: none; color: inherit; font: 700 16px/1 var(--body); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; cursor: pointer; }

.funny-cap { display: flex; align-items: center; min-height: 3.5em; padding: 8px 12px 6px; border-top: var(--line); font-weight: 700; font-size: 16px; line-height: 1.25; }
.funnies.mason { display: block; columns: 3; column-gap: 22px; }
.funnies.mason .funny { display: inline-flex; width: 100%; margin-bottom: 24px; break-inside: avoid; }
.more { margin-top: clamp(28px, 3.4vw, 44px); }
.meme-block { padding-top: clamp(40px, 5vw, 70px); padding-bottom: clamp(40px, 5vw, 70px); border-top: 0; }
.meme-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 36ch); gap: 12px 48px; align-items: end; margin-bottom: 26px; }
.meme-head h2 { font-size: clamp(32px, 4.2vw, 66px); }
.meme-head p { font-size: 19px; font-weight: 700; }
.meme-break { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding: 28px var(--gut); background: var(--yellow); border-bottom: var(--line); }
.meme-break p { font: 400 clamp(26px, 3.4vw, 50px)/1.05 var(--head); text-transform: uppercase; }
.meme-break .btn { box-shadow: 5px 5px 0 var(--coral); }
.answers-title { font-size: clamp(38px, 5.4vw, 84px); margin: 16px 0 clamp(26px, 3.4vw, 44px); }

/* Pop-up viewer */
.view { width: min(94vw, 1040px); max-height: 94dvh; padding: 0; border: var(--line); border-radius: 12px; background: var(--cream); color: var(--ink); box-shadow: 10px 10px 0 var(--coral); overflow: hidden; }
.view::backdrop { background: rgba(5, 3, 3, .78); }
.view[open] { display: grid; grid-template-columns: minmax(0, auto) minmax(240px, 1fr); }
.view-pic { display: flex; align-items: center; justify-content: center; background: var(--ink); min-width: 0; }
.view-pic img { max-height: calc(94dvh - 8px); width: auto; }
.view-text { display: flex; flex-direction: column; gap: 14px; padding: 22px; }
.view-text h3 { font-size: 26px; }
.view-do { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; }
.view-do .btn { min-height: 46px; padding: 0 14px; font-size: 16px; box-shadow: 3px 3px 0 var(--ink); }
.view-do .btn-ink { box-shadow: 3px 3px 0 var(--coral); }

/* Alper */
.human { display: grid; grid-template-columns: 5fr 7fr; gap: 16px clamp(24px, 5vw, 80px); align-items: start; }
.human .tape { grid-column: 1 / -1; justify-self: start; }
.human h2 { font-size: clamp(44px, 6.6vw, 104px); }
.human-text { max-width: 62ch; }
.human-text p + p { margin-top: 14px; }
.human-text .big { font-size: clamp(22px, 2.2vw, 30px); font-weight: 700; line-height: 1.3; }
.creds { margin-top: 22px; padding-top: 14px; border-top: var(--line); font-weight: 700; }

/* Questions */
.ask { border-top: var(--line); }
.ask h2 { font-size: clamp(38px, 5.4vw, 84px); margin: 16px 0 clamp(26px, 3.4vw, 44px); }
.ask-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px clamp(24px, 3vw, 44px); margin: 0; }
.ask-list dt { font: 400 24px/1.1 var(--head); text-transform: uppercase; padding-bottom: 10px; border-bottom: var(--line); }
.ask-list dd { margin: 12px 0 0; }

/* Last call */
.last { display: grid; grid-template-columns: 7fr 5fr; gap: var(--gut); padding: var(--gut); padding-right: calc(var(--gut) + 8px); padding-bottom: calc(var(--gut) + 8px); }
.last-a { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(24px, 4vw, 64px); background-color: var(--coral); }
.last-a h2, .last-a h1 { font-size: clamp(30px, 4.5vw, 76px); }
.last-a p { margin: 16px 0 26px; font-size: clamp(19px, 1.7vw, 24px); font-weight: 700; line-height: 1.3; }
.last-b { overflow: hidden; background: var(--cream); }
.last-b img { width: 100%; height: 100%; object-fit: contain; }

/* Footer */
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 40px; padding: 26px var(--gut); background: var(--ink); color: var(--cream); font-size: 16px; }
.foot a { display: inline-flex; align-items: center; min-height: 44px; margin-right: 18px; font-weight: 700; }

/* Chapter page */
.ch-hero { display: grid; grid-template-columns: 7fr 4fr; gap: var(--gut); min-height: min(calc(100dvh - var(--bar) - 8px), 62vw); padding: var(--gut); padding-right: calc(var(--gut) + 8px); padding-bottom: calc(var(--gut) + 8px); }
.ch-a { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(20px, 3.4vw, 56px); background-color: var(--c, var(--red)); }
.ch-a .hero-strap { white-space: normal; text-wrap: balance; }
.ch-a.dark { color: var(--cream); background-image: radial-gradient(rgba(255, 244, 220, .1) 24%, transparent 26%); }
.ch-a.dark .hero-strap { background: var(--yellow); color: var(--ink); }
.ch-a.dark .tape { color: var(--ink); }
.ch-a.dark .btn-ink { background: var(--yellow); color: var(--ink); box-shadow: 5px 5px 0 var(--cream); }
.ch-a.dark .btn-yellow { background: var(--cream); box-shadow: 5px 5px 0 var(--yellow); }
.ch-hero.wide { grid-template-columns: 6fr 5fr; }
.ch-a.long h1 { font-size: min(5.6vw, 11vh); }
.ch-hero.wide .ch-a.long h1 { font-size: min(4.7vw, 10vh); }
.section-head.long { grid-template-columns: 1fr; }
.section-head.long h2 { font-size: clamp(32px, 4.3vw, 70px); }
.section-head.long p { max-width: 60ch; }
.ch-a h1 { font-size: min(8.6vw, 15vh); margin-top: clamp(10px, 2vh, 20px); }
.ch-voice { margin-top: 10px; font-weight: 700; font-size: 17px; }
.ch-answer { margin-top: clamp(12px, 2vh, 22px); max-width: 54ch; font-size: clamp(18px, 1.5vw, 22px); font-weight: 700; line-height: 1.38; }
.ch-b { align-self: center; overflow: hidden; background: var(--cream); }
.ch-b img { width: 100%; height: auto; }
.stops { --n: 4; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border-top: var(--line); }
.stops li { padding: 18px clamp(14px, 2vw, 30px) 0 0; }
.stops li + li { padding-left: clamp(14px, 2vw, 30px); border-left: var(--line); }
.stops b { display: block; font: 400 clamp(38px, 5vw, 76px)/1 var(--head); text-transform: uppercase; }
.stops small { text-wrap: balance; display: block; margin-top: 2px; font: 400 clamp(19px, 1.9vw, 27px)/1 var(--head); text-transform: uppercase; }
.stops em { display: block; margin-top: 14px; font: 700 19px/1.2 var(--body); font-style: normal; }
.stops span { display: block; margin-top: 6px; }
.stops.five { --n: 5; }
.stops.words b { font-size: clamp(26px, 3.1vw, 50px); }
.plain { margin: 26px auto 0; max-width: 980px; color: var(--cream); }
.plain summary { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.plain div { margin-top: 12px; column-width: 34ch; column-gap: 40px; }
.plain h3 { margin: 0 0 8px; font-size: 22px; color: var(--yellow); }
.plain p { margin: 0 0 12px; max-width: none; font-size: 17px; break-inside: avoid; }
.next { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 32px; padding: 18px var(--gut); background: var(--cream); border-top: var(--line); }
.next a { display: inline-flex; align-items: center; min-height: 48px; font: 400 clamp(18px, 1.8vw, 26px)/1.1 var(--head); text-transform: uppercase; text-decoration: none; }
.next a:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 5px; }
.meme-chapters h2 { margin: 16px 0 clamp(22px, 3vw, 36px); font-size: clamp(34px, 4.6vw, 72px); }
.meme-chapters ul { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px 18px; margin: 0; padding: 0; list-style: none; }
.meme-chapters a { display: flex; flex-direction: column; justify-content: center; gap: 6px; height: 100%; min-height: 84px; padding: 10px 12px; background: var(--yellow); border: 3px solid var(--ink); border-radius: 10px; font: 400 18px/1.1 var(--head); text-transform: uppercase; text-decoration: none; }
.meme-chapters a span { font: 700 13px/1 var(--body); }
.funnies.square { max-width: 1290px; }
.answers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px clamp(24px, 3vw, 44px); margin: 0; }
.answers dt { font: 400 26px/1.1 var(--head); text-transform: uppercase; padding-bottom: 10px; border-bottom: var(--line); }
.answers dd { margin: 12px 0 0; }

/* Short windows */
@media (max-height: 640px) and (min-width: 901px) {
  :root { --bar: 60px; }
  html { scroll-padding-top: 16px; }
  .masthead { position: static; min-height: 60px; padding-top: 4px; padding-bottom: 4px; }
  .hero { --strip: 42px; }
  .ch-voice { display: none; }
  .ch-a h1 { font-size: min(6vw, 11vh); }
  .ch-a.long h1, .ch-hero.wide .ch-a.long h1 { font-size: min(4.5vw, 9vh); }
  .ch-answer { margin-top: 8px; font-size: 17px; line-height: 1.32; }
  .hero-a, .ch-a { padding: 16px 28px; }
  .hero-strip { padding: 7px 18px 6px; }
  .tape { padding: 5px 10px 4px; font-size: 14px; }
  .btn { min-height: 46px; padding: 0 18px; font-size: 18px; }
}

/* Laptops */
@media (max-width: 1180px) {
  .ask-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-head { grid-template-columns: 1fr; }
  .section-head p { max-width: 60ch; }
}

/* Tablet */
@media (max-width: 900px) {
  :root { --bar: 62px; }
  html { scroll-padding-top: 16px; }
  .masthead { position: static; flex-wrap: wrap; gap: 4px 12px; padding: 10px var(--gut) 4px; }
  .masthead .btn { margin-left: auto; }
  .menu { order: 3; width: 100%; margin: 0; justify-content: space-between; }
  .menu a { padding: 0 6px; font-size: 16px; }
  .issues { display: block; padding-right: 8px; }
  .pair { display: flex; gap: 16px; margin-bottom: 16px; }
  .brk { display: none; }
  .funnies, .funnies.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .funnies.mason { columns: 2; }
  .meme-chapters ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wide-t { display: none; }
  br.wide { display: none; }
  .promises { flex-wrap: wrap; }
  .promise { flex: 1 1 calc(50% - 11px); }
  .meme-head { grid-template-columns: 1fr; }
  .read-grid { grid-template-columns: 1fr; }
  .read p { max-width: 52ch; }
  .human { grid-template-columns: 1fr; }
  .answers { grid-template-columns: 1fr; }
}

/* Tablet and phone */
@media (max-width: 767px) {
  body { font-size: 17px; }
  .logo { flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; }
  .logo b { font-size: 26px; }
  .logo span { font-size: 13px; }
  .menu a { padding: 0 2px; font-size: 15px; white-space: nowrap; }
  .hero, .ch-hero, .ch-hero.wide, .last { grid-template-columns: 1fr; grid-template-rows: none; min-height: 0; }
  .hero-hook { font-size: 17.4vw; }
  .hero-title { font-size: 19px; }
  .meme-hero .hero-a h1 { font-size: 13vw; }
  .meme-hero .hero-cover { width: min(56vw, 220px); }
  .ch-a h1 { font-size: 13.6vw; }
  .ch-a.long h1, .ch-hero.wide .ch-a.long h1 { font-size: 9.6vw; }
  .hero-strap { font-size: 6.6vw; white-space: normal; text-wrap: balance; }
  .hero-cta { width: 100%; }
  .hero-cta .btn { flex: 1 1 100%; }
  .hero-cover { width: min(62vw, 240px); }
  .hero-b { padding: 26px; }
  .hero-strip { justify-content: center; text-align: center; }
  .section-head { grid-template-columns: 1fr; }
  .pair { gap: 14px; margin-bottom: 14px; }
  .issue-band { min-height: 88px; padding: 8px 10px; }
  .issue-title { font-size: 18px; }
  .funnies, .funnies.three { gap: 16px 14px; }
  .funny-foot { flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 10px 2px; font-size: 15px; }
  .funny-do a, .funny-do button { padding: 0 14px 0 0; }
  .funny-cap { min-height: calc(3.75em + 12px); padding: 6px 10px; font-size: 15px; }
  .promise { flex: 1 1 100%; }
  .last-a h2, .last-a h1 { font-size: 8.4vw; }
  .view[open] { grid-template-columns: 1fr; overflow-y: auto; }
  .view-pic img { max-height: 62dvh; }
  .ask-list { grid-template-columns: 1fr; }
  .stops, .stops.five { --n: 1; border-top: 0; row-gap: 0; }
  .stops li, .stops li + li { padding: 16px 0; border-left: 0; border-top: var(--line); }
  .flip-bar .btn { padding: 0 12px; font-size: 16px; }
  .flip-count { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Bookstores line under the Amazon buttons */
.stores { margin-top: 14px; font-weight: 700; font-size: 16px; }
.stores a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.last-a .stores { margin: 10px 0 0; }

/* Band that points beginners to the guides */
.guide-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding: 28px var(--gut); background: var(--yellow); border-top: var(--line); border-bottom: var(--line); }
.guide-band > p { font: 400 clamp(28px, 3.6vw, 54px)/1.02 var(--head); text-transform: uppercase; }
.guide-band-do { display: flex; flex-wrap: wrap; gap: 16px 18px; }
.guide-band .btn-ink { box-shadow: 5px 5px 0 var(--coral); }

/* Wine 101 steps */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px; margin: 0; padding: 0 8px 0 0; list-style: none; }
.step a { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 16px 16px 14px; background: var(--cream); border: var(--line); border-radius: 12px; box-shadow: 6px 6px 0 var(--ink); text-decoration: none; transition: transform 180ms var(--ease), box-shadow 180ms var(--ease); }
.step:nth-child(4n+1) a { background: var(--yellow); }
.step:nth-child(4n+3) a { background-color: var(--coral); }
.step a:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--ink); }
.step a:active { transform: translate(4px, 4px); box-shadow: 2px 2px 0 var(--ink); }
.step-no { align-self: flex-start; padding: 4px 8px 3px; background: var(--ink); color: var(--yellow); font: 400 15px/1 var(--head); text-transform: uppercase; }
.step h3 { font-size: clamp(21px, 1.7vw, 26px); }
.step p { flex: 1; font-size: 16px; line-height: 1.4; }
.step-go { padding-top: 10px; border-top: 3px solid var(--ink); font-weight: 700; font-size: 15px; line-height: 1.25; }
.how-learn { border-top: var(--line); }

/* Wine books list */
.pick { display: grid; grid-template-columns: 2fr 1fr; gap: var(--gut); padding-right: 8px; padding-bottom: 8px; }
.pick-a { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(22px, 3.4vw, 52px); background-color: var(--coral); }
.pick-why { margin-top: 14px; max-width: 46ch; font-size: clamp(18px, 1.5vw, 22px); font-weight: 700; line-height: 1.35; }
.pick-b { overflow: hidden; background: var(--cream); }
.pick-b img { width: 100%; height: 100%; object-fit: contain; }
.shelf-section { background-color: var(--mustard); border-top: var(--line); border-bottom: var(--line); }
.shelf-group + .shelf-group { margin-top: clamp(36px, 4.4vw, 60px); }
.shelf-label { display: inline-block; margin-bottom: 22px; padding: 8px 14px 6px; background: var(--ink); color: var(--yellow); font-size: clamp(24px, 2.6vw, 38px); transform: rotate(-.8deg); }
.shelf { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin: 0; padding: 0 8px 0 0; list-style: none; }
.shelf-book { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 14px; background: var(--cream); border: var(--line); border-radius: 12px; box-shadow: 6px 6px 0 var(--ink); }
.shelf-no { align-self: flex-start; padding: 6px 10px 3px; background: var(--coral); border: 3px solid var(--ink); border-radius: 8px; font: 400 30px/1 var(--head); color: var(--ink); }
.nw { white-space: nowrap; }
.shelf-row { display: grid; grid-template-columns: 1fr 2fr; gap: 22px; margin-top: clamp(36px, 4.4vw, 60px); }
.shelf-row .shelf-group + .shelf-group { margin-top: 0; }
.shelf-row .shelf-group { display: flex; flex-direction: column; }
.shelf-row .shelf-label { align-self: flex-start; }
.shelf-row .shelf { flex: 1; }
.shelf-row .shelf-group:first-child .shelf { grid-template-columns: 1fr; }
.shelf-row .shelf-group:last-child .shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.shelf-book h3 { font-size: clamp(23px, 1.9vw, 30px); }
.shelf-by { font-weight: 700; font-size: 16px; }
.shelf-fit { font-weight: 700; font-size: 17px; line-height: 1.3; }
.shelf-fit span { display: inline-block; margin-right: 4px; padding: 2px 8px 1px; background: var(--yellow); border: 2px solid var(--ink); font-size: 14px; text-transform: uppercase; letter-spacing: .03em; }
.pick-a .shelf-fit { font-size: clamp(19px, 1.7vw, 24px); }
.shelf-why { flex: 1; font-size: 16px; line-height: 1.45; }
.shelf-go { display: inline-flex; align-items: center; align-self: flex-start; min-height: 44px; font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }

@media (max-width: 1180px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shelf-row { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .steps, .shelf, .shelf-row .shelf-group:last-child .shelf { grid-template-columns: 1fr; }
  .pick { grid-template-columns: 1fr; }
  .guide-band-do, .guide-band-do .btn { width: 100%; }
  .guide-band .btn { white-space: normal; text-align: center; min-height: 52px; padding: 8px 18px; }
}

@media (max-width: 767px) {
  .meme-hero .hero-a h1:has(.nw) { font-size: 11.4vw; }
}

/* Links from comic tiles to each comic's own page */
.funny-cap a { text-decoration: none; }
.funny-cap a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.funny-page { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.funny-page:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* One comic, one page */
.comic-hero .ch-a { background-color: var(--coral); }
.comic-quote { margin: clamp(12px, 2vh, 22px) 0 0; max-width: 46ch; font-size: clamp(19px, 1.6vw, 24px); font-weight: 700; line-height: 1.35; }
.comic-where { margin-top: 12px; font-weight: 700; font-size: 17px; }
.comic-where a { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.comic-pic { display: flex; align-items: center; justify-content: center; margin: 0; }
.comic-pic img { width: auto; max-width: 100%; max-height: calc(100dvh - var(--bar) - 2 * var(--gut) - 16px); }
.comic-context { border-top: var(--line); }
.comic-context .section-head { margin-bottom: 24px; }
.comic-context .section-head h2 { font-size: clamp(32px, 4.4vw, 68px); }
@media (max-width: 767px) {
  .comic-pic img { max-height: none; }
}
.comic-hero .ch-a h1, .comic-hero.wide .ch-a.long h1, .comic-hero .ch-a.long h1 { font-size: min(5.4vw, 10.5vh); }
.funny-cap a { display: flex; align-items: center; width: 100%; min-height: 44px; }
.funny-cap { padding-top: 2px; padding-bottom: 2px; }
@media (max-width: 767px) {
  .comic-hero .ch-a h1, .comic-hero.wide .ch-a.long h1, .comic-hero .ch-a.long h1 { font-size: 10.4vw; }
  .comic-quote { font-size: 17px; }
}
@media (min-width: 768px) and (max-width: 1180px) {
  #share .stops { --n: 2; }
  #share .stops li:nth-child(3) { padding-left: 0; border-left: 0; }
  #share .stops li:nth-child(n+3) { margin-top: 18px; border-top: var(--line); }
}
@media (max-width: 900px) {
  .ch-hero.wide { grid-template-columns: 1fr; min-height: 0; }
  .ch-hero.wide .ch-a.long h1 { font-size: min(7vw, 52px); }
}


/* Watch: short videos (15 Nov 2026) */
.reels-section { background-color: var(--coral); border-top: var(--line); border-bottom: var(--line); }
.reels { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px 22px; }
.reel { flex: 0 1 calc((100% - 88px) / 5); min-width: 0; display: flex; flex-direction: column; background: var(--cream); border: var(--line); border-radius: 12px; box-shadow: 6px 6px 0 var(--ink); overflow: hidden; }
.reel-open { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--ink); cursor: pointer; aspect-ratio: 9 / 16; }
.reel-open img, .reel video { width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: 9 / 16; background: var(--ink); }
.reel-play { position: absolute; left: 10px; bottom: 10px; padding: 7px 12px 6px; background: var(--yellow); border: 3px solid var(--ink); font: 700 15px/1.1 var(--body); text-transform: uppercase; letter-spacing: .04em; transform: rotate(-1.2deg); transition: transform 140ms var(--ease); }
.reel-open:hover .reel-play { transform: rotate(0) scale(1.05); }
.reel figcaption { display: flex; flex-direction: column; gap: 6px; padding: 14px 14px 16px; border-top: var(--line); flex: 1; }
.reel h3 { font-size: clamp(20px, 1.7vw, 25px); }
.reel figcaption p { font-size: 16px; line-height: 1.4; }
.reel-ch { display: inline-flex; align-items: center; min-height: 44px; margin-top: auto; font: 700 14px/1.2 var(--body); text-transform: uppercase; letter-spacing: .04em; }
.reel h3 { overflow-wrap: break-word; hyphens: auto; }
@media (max-width: 1100px) { .reel { flex-basis: calc((100% - 66px) / 4); } }
@media (max-width: 900px) { .reel { flex-basis: calc((100% - 44px) / 3); } }
@media (max-width: 767px) { .reels { gap: 18px 14px; } .reel { flex-basis: calc((100% - 14px) / 2); } .reel figcaption { padding: 12px 12px 14px; } .reel h3 { font-size: 16px; } .reel figcaption p { font-size: 15px; } }


/* Book page (15 Nov 2026) */
.book-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 400px); gap: clamp(28px, 4vw, 64px); align-items: start; }
.prose > .tape { margin-bottom: 12px; }
.prose h2 { font-size: clamp(34px, 4.4vw, 70px); margin: 14px 0 22px; }
.prose h3 { font-size: clamp(26px, 2.6vw, 38px); margin: 34px 0 12px; }
.prose p { max-width: 64ch; margin: 0 0 16px; font-size: clamp(18px, 1.45vw, 21px); line-height: 1.6; }
.facts { position: sticky; top: calc(var(--bar) + 20px); padding: 22px 22px 24px; background: var(--yellow); }
.facts h3 { margin-bottom: 12px; font-size: 30px; }
.facts dl { display: grid; margin: 0 0 20px; }
.facts dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 0; border-bottom: 3px solid var(--ink); }
.facts dt { font: 700 15px/1.2 var(--body); text-transform: uppercase; letter-spacing: .04em; }
.facts dd { margin: 0; font: 400 40px/1 var(--head); }
.facts dd.small { font: 700 17px/1.25 var(--body); text-align: right; }
.quote { margin: 22px 0 0; padding: 4px 0 4px 18px; border-left: 6px solid var(--ink); font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; }
.quote cite { display: block; margin-top: 8px; font: 700 15px/1.3 var(--body); font-style: normal; }
@media (max-width: 1000px) { .book-grid { grid-template-columns: 1fr; } .facts { position: static; } }
