/* Shared structure for every look. A look (sunday.css, zine.css, gallery.css) sets the variables below and
   dresses the same markup. Colours from the property's canon/site/site.toml arrive as --ink --paper --accent --b1..b5. */
:root {
  --ink: #1b1b1b; --paper: #fff; --accent: #d6336c;
  --muted: color-mix(in srgb, var(--ink) 60%, var(--paper));
  --line: color-mix(in srgb, var(--ink) 14%, var(--paper));
  --card: var(--paper);
  --stage: var(--paper);
  --max: 1180px;
  --radius: 10px;
  --display: Georgia, serif;
  --body: system-ui, sans-serif;
  --gap: clamp(16px, 3vw, 28px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.55 var(--body); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--paper); padding: 8px 12px; z-index: 9; }
main, .masthead, .foot { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: 16px; padding-right: 16px; }
main { padding-bottom: 48px; }

/* masthead */
.masthead { text-align: center; padding-top: 18px; }
.mast-rule { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted); }
.logo { display: inline-block; text-decoration: none; margin: 10px auto 4px; }
.logo-img { width: min(440px, 78vw); height: auto; margin: 0 auto; }
.wordmark { font-family: var(--display); font-size: clamp(44px, 9vw, 92px); line-height: 1; letter-spacing: -0.01em; }
.tagline { margin: 4px auto 10px; max-width: 46ch; color: var(--muted); }
.nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 22px; padding: 12px 0; }
.nav a { text-decoration: none; font-weight: 600; padding: 4px 2px; border-bottom: 2px solid transparent; }
.nav a[aria-current] { border-color: var(--accent); }

/* today / a strip */
.today { padding: var(--gap) 0; text-align: center; }
.kicker { text-transform: uppercase; letter-spacing: .14em; font-size: 13px; font-weight: 700; color: var(--accent); }
.strip-title { font-family: var(--display); font-size: clamp(30px, 5vw, 52px); line-height: 1.08; margin: 8px 0 10px; }
.meta { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px 14px; color: var(--muted); font-size: 15px; }
.chip { --c: var(--accent); text-decoration: none; font-weight: 700; font-size: 14px; color: #fff; background: var(--c); padding: 3px 12px; border-radius: 99px; }
.strip { margin: var(--gap) auto 12px; background: var(--stage); }
.strip img { width: 100%; height: auto; margin: 0 auto; }
.dek { max-width: 60ch; margin: 10px auto 0; font-size: 19px; }
.strip-nav { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.story-nav { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; }
.story-nav > span { font-weight: 700; color: var(--c); }
.btn { display: inline-block; text-decoration: none; font-weight: 700; padding: 9px 16px; border: 2px solid var(--ink); border-radius: var(--radius); background: var(--paper); }
.btn.ghost { border-color: var(--line); }
.btn.off { opacity: .32; cursor: default; }
.btn.big { font-size: 19px; padding: 13px 24px; }
.note { color: var(--muted); }
.read { max-width: 70ch; margin: 28px auto 0; text-align: left; }
.read summary { cursor: pointer; font-weight: 700; }

/* sections */
.section-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin: calc(var(--gap) * 1.6) 0 16px; }
.section-head h2 { font-family: var(--display); font-size: clamp(26px, 4vw, 38px); margin: 0; }
.section-head > a { margin-left: auto; font-weight: 700; text-decoration: none; }
.badge { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; background: var(--accent); color: #fff; padding: 3px 10px; border-radius: 99px; }
.badge.big { font-size: 14px; padding: 7px 14px; }
.page-head { text-align: center; padding: var(--gap) 0 8px; }
.page-head h1 { font-family: var(--display); font-size: clamp(34px, 6vw, 60px); line-height: 1.05; margin: 8px 0; }
.lede { max-width: 58ch; margin: 0 auto; font-size: 19px; color: var(--muted); }

/* stories */
.theme-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: var(--gap); }
.theme-grid.wide { margin-top: var(--gap); }
.theme-card { --c: var(--accent); display: flex; flex-direction: column; gap: 4px; text-decoration: none; background: var(--card); }
.cover { display: grid; place-items: center; aspect-ratio: 16 / 9; overflow: hidden; background: color-mix(in srgb, var(--c) 18%, var(--paper)); }
.cover img { width: 100%; height: 100%; object-fit: cover; object-position: left center; }
.cover-letter { font-family: var(--display); font-size: 72px; color: var(--c); line-height: 1; }
.theme-name { font-family: var(--display); font-size: 24px; line-height: 1.15; margin-top: 8px; }
.theme-count { font-size: 14px; color: var(--muted); }
.theme-blurb { font-size: 15px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: var(--gap); margin-top: var(--gap); }
.tile { position: relative; display: flex; flex-direction: column; gap: 6px; text-decoration: none; }
.tile img { aspect-ratio: 3 / 1; object-fit: cover; object-position: left center; width: 100%; }
.tile .n { font-family: var(--display); font-size: 30px; color: var(--c); line-height: 1; }
.tile .t { font-weight: 700; }
.tile time { font-size: 13px; color: var(--muted); }
.tile.soon { min-height: 130px; justify-content: space-between; border: 2px dashed color-mix(in srgb, var(--c) 45%, var(--paper)); padding: 14px; color: var(--muted); }

/* shop */
.shirt-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: var(--gap); }
.shirt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: calc(var(--gap) * 1.2); margin-top: var(--gap); }
.shirt { display: flex; flex-direction: column; gap: 6px; text-decoration: none; }
.shirt-pics { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: var(--card); }
.shirt-pics .pic { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .45s ease, transform .6s ease; }
.shirt-pics .pic:not(.p0) { opacity: 0; }
.shirt:hover .shirt-pics.n2 .p0, .shirt:hover .shirt-pics.n3 .p0 { opacity: 0; }
.shirt:hover .shirt-pics .p1 { opacity: 1; }
.shirt:hover .shirt-pics .pic { transform: scale(1.04); }
.shirt-name { font-weight: 800; font-size: 18px; }
.shirt-meta { display: flex; justify-content: space-between; align-items: center; }
.dots { display: flex; gap: 6px; }
.dots i { width: 14px; height: 14px; border-radius: 50%; background: var(--s); box-shadow: inset 0 0 0 1px rgba(0,0,0,.2); }
.price { font-weight: 700; }
.shop-hero { text-align: center; padding: calc(var(--gap) * 1.4) 0 var(--gap); }
.shop-hero h1 { font-family: var(--display); font-size: clamp(44px, 9vw, 104px); line-height: .95; margin: 10px 0 14px; }
.hero-actions { display: flex; justify-content: center; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 22px; }
.ribbon { overflow: hidden; white-space: nowrap; padding: 10px 0; margin: 0 -16px; background: var(--ink); color: var(--paper); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: 14px; }
.ribbon div { display: inline-block; animation: slide 38s linear infinite; }
@keyframes slide { to { transform: translateX(-33.33%); } }
@media (prefers-reduced-motion: reduce) { .ribbon div { animation: none; } .shirt-pics .pic { transition: none; } }

/* about */
.prose { max-width: 66ch; margin: 0 auto; font-size: 19px; }
.prose h2, .prose h3 { font-family: var(--display); }

/* footer */
.foot { border-top: 1px solid var(--line); padding-top: 22px; padding-bottom: 40px; display: grid; gap: 8px; text-align: center; }
.foot-name { font-family: var(--display); font-size: 22px; }
.foot-name span { font-family: var(--body); font-size: 15px; color: var(--muted); }
.foot-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 20px; font-weight: 600; }
.foot-small { font-size: 13px; color: var(--muted); }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .strip-nav { justify-content: center; }
  .section-head > a { margin-left: 0; }
  .mast-rule .issue { display: none; }
  .mast-rule { justify-content: center; }
}
@media (max-width: 640px) {
  .strip { max-width: 520px; }
  .tile.soon { min-height: 84px; }
}
@media (max-width: 640px) {
  .strip-nav { display: grid; grid-template-columns: 1fr 1fr; }
  .strip-nav > :nth-child(1) { justify-self: start; }
  .strip-nav > :nth-child(3) { justify-self: end; }
  .strip-nav > :nth-child(2) { grid-column: 1 / -1; order: 3; justify-self: center; }
}
.wordmark .w { display: inline-block; white-space: nowrap; }

/* follow links */
.follow { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 12px; margin: 16px 0 4px; }
.follow-label { font-weight: 700; font-size: 15px; }
.soc-row { display: inline-flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.soc { position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 2px solid var(--ink); color: var(--ink); background: var(--paper); text-decoration: none; transition: transform .15s, background .15s; }
.soc svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.soc:hover { transform: translateY(-2px); background: var(--accent); color: #fff; border-color: var(--accent); }
.soc.soon::after { content: "soon"; position: absolute; bottom: -7px; right: -8px; font-size: 9px; font-weight: 800; letter-spacing: .04em;
  text-transform: uppercase; background: var(--accent); color: #fff; padding: 1px 4px; border-radius: 6px; opacity: 0; transition: opacity .2s; }
.soc.soon:hover::after, .soc.soon.said::after { opacity: 1; }
.follow.in-head { margin: 0 0 12px; }
.follow.in-head .soc { width: 32px; height: 32px; border-width: 1.5px; }
.follow.in-head .soc svg { width: 16px; height: 16px; }

/* mailing list */
.signup { display: grid; gap: 10px 24px; align-items: center; margin: calc(var(--gap) * 1.4) 0 0; padding: 18px; border: 2px solid var(--ink); border-radius: var(--radius); background: var(--card); }
.signup.big { grid-template-columns: 1fr minmax(0, 1.1fr); padding: clamp(18px, 3vw, 32px); }
.signup h2 { font-family: var(--display); font-size: clamp(24px, 3.4vw, 34px); margin: 0 0 4px; line-height: 1.1; }
.signup p { margin: 0; color: var(--muted); }
.signup-form { display: flex; flex-wrap: wrap; gap: 8px; }
.signup-form input[type=email] { flex: 1 1 200px; min-width: 0; font: inherit; padding: 10px 14px; border: 2px solid var(--ink); border-radius: var(--radius); background: var(--paper); color: var(--ink); }
.signup-form .btn { background: var(--accent); color: #fff; border-color: var(--accent); cursor: pointer; font: inherit; font-weight: 700; }
.signup-form .btn:disabled { opacity: .6; }
.signup-msg { flex-basis: 100%; min-height: 1.2em; font-weight: 600; color: var(--ink) !important; }
.signup-form.done input[type=email] { border-color: var(--accent); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.foot .signup { text-align: left; margin: 0 0 8px; }
@media (max-width: 760px) { .signup.big { grid-template-columns: 1fr; } }

/* thumbs: every link and button at least 44px tall on a phone or touch screen */
@media (max-width: 640px), (pointer: coarse) {
  .nav a, .foot-links a, .section-head > a, .story-nav .btn, .strip-nav .btn { display: inline-flex; align-items: center; min-height: 44px; }
  .chip { display: inline-flex; align-items: center; min-height: 40px; }
  .foot-links { gap: 0 22px; }
  .follow.in-head .soc, .soc { width: 44px; height: 44px; }
  .follow.in-head .soc svg, .soc svg { width: 20px; height: 20px; }
  .signup-form input[type=email], .signup-form .btn { min-height: 48px; }
  .read summary { padding: 10px 0; }
}

/* Corner-Shop Zine: hand-made and loud. The logo's own colours (--b1..b5), sticker cards taped on at angles,
   marker headings, a riso-ish colour block behind today's strip, a scrolling ribbon in the shop. */
:root {
  --paper: #fffaf0;
  --card: #ffffff;
  --stage: #ffffff;
  --display: "Gochi Hand", "Comic Sans MS", cursive;
  --body: "Nunito", system-ui, sans-serif;
  --radius: 14px;
  --max: 1160px;
}
body { background:
  radial-gradient(circle at 8% 12%, color-mix(in srgb, var(--b5) 45%, transparent) 0 120px, transparent 121px),
  radial-gradient(circle at 94% 30%, color-mix(in srgb, var(--b3) 18%, transparent) 0 160px, transparent 161px),
  var(--paper); }
.mast-rule { font-family: var(--display); font-size: 18px; color: var(--ink); }
.mast-rule .issue { background: var(--b5); padding: 0 8px; transform: rotate(-2deg); }
.logo { transform: rotate(-2deg); transition: transform .3s; }
.logo:hover { transform: rotate(1deg) scale(1.02); }
.logo-img { width: min(560px, 86vw); }
.wordmark .w > span { display: inline-block; color: var(--b1); transform: rotate(-4deg); }
.wordmark .w > span:nth-child(3n+2) { transform: rotate(3deg) translateY(-3px); }
.wordmark .w > span:nth-child(3n) { transform: rotate(-1deg) translateY(2px); }
.wordmark .w > span:nth-child(5n+2) { color: var(--b2); }
.wordmark .w > span:nth-child(5n+3) { color: var(--b3); }
.wordmark .w > span:nth-child(5n+4) { color: var(--b4); }
.wordmark .w > span:nth-child(5n+5) { color: var(--ink); }
.wordmark { font-size: clamp(60px, 12vw, 128px); }
.tagline { font-family: var(--display); font-size: 22px; color: var(--ink); }
.nav { gap: 10px; }
.nav a { font-family: "Rubik Mono One", var(--body); font-size: 13px; text-transform: uppercase; padding: 8px 14px; border: 2.5px solid var(--ink); border-radius: 99px; background: var(--card); box-shadow: 3px 3px 0 var(--ink); }
.nav a:nth-child(1) { background: var(--b5); } .nav a:nth-child(2) { background: color-mix(in srgb, var(--b3) 35%, #fff); }
.nav a:nth-child(3) { background: color-mix(in srgb, var(--b1) 30%, #fff); } .nav a:nth-child(4) { background: color-mix(in srgb, var(--b4) 30%, #fff); }
.nav a[aria-current] { transform: rotate(-3deg); border-color: var(--ink); }
.kicker { font-family: "Rubik Mono One", var(--body); font-weight: 400; color: var(--b1); letter-spacing: .06em; font-size: 14px; }
.strip-title { font-size: clamp(38px, 6vw, 64px); transform: rotate(-1deg); }
.strip { position: relative; padding: clamp(10px, 2vw, 22px); background: var(--stage); border: 3px solid var(--ink); border-radius: 18px;
  box-shadow: 10px 10px 0 var(--b3); transform: rotate(-.4deg); }
.strip::before, .strip::after { content: ""; position: absolute; width: 110px; height: 30px; top: -14px; background: color-mix(in srgb, var(--b5) 80%, transparent); border: 1px solid rgba(0,0,0,.08); }
.strip::before { left: 8%; transform: rotate(-6deg); } .strip::after { right: 8%; transform: rotate(5deg); background: color-mix(in srgb, var(--b2) 60%, transparent); }
.dek { font-family: var(--display); font-size: 24px; }
.btn { border: 2.5px solid var(--ink); border-radius: 99px; box-shadow: 3px 3px 0 var(--ink); background: var(--card); }
.btn:not(.off):hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); }
.btn.ghost { border-color: var(--ink); background: var(--b5); }
.chip { border: 2px solid var(--ink); font-family: var(--display); font-size: 18px; font-weight: 400; transform: rotate(-2deg); }
.section-head h2 { font-size: clamp(34px, 5vw, 50px); }
.section-head h2::after { content: ""; display: block; height: 8px; margin-top: -6px; background: var(--b5); border-radius: 8px; }
.badge { background: var(--b1); border: 2px solid var(--ink); transform: rotate(3deg); }
.theme-card { position: relative; padding: 12px 12px 16px; border: 3px solid var(--ink); border-radius: var(--radius);
  background: color-mix(in srgb, var(--c) 14%, #fff); box-shadow: 6px 6px 0 var(--c); transition: transform .2s; }
.theme-card:nth-child(3n+1) { transform: rotate(-1.4deg); } .theme-card:nth-child(3n+2) { transform: rotate(1deg); } .theme-card:nth-child(3n) { transform: rotate(-.5deg); }
.theme-card:hover { transform: rotate(0) scale(1.03); z-index: 1; }
.cover { border-radius: 10px; border: 2px solid var(--ink); background: color-mix(in srgb, var(--c) 30%, #fff); }
.cover-letter { font-size: 96px; color: #fff; -webkit-text-stroke: 3px var(--ink); paint-order: stroke; }
.theme-name { font-size: 30px; }
.theme-count { font-weight: 800; color: var(--ink); }
.tile { border: 3px solid var(--ink); border-radius: var(--radius); padding: 10px; background: #fff; box-shadow: 5px 5px 0 var(--c); }
.tile:nth-child(odd) { transform: rotate(-.8deg); } .tile:nth-child(even) { transform: rotate(.6deg); }
.tile.soon { border-style: dashed; box-shadow: none; background: color-mix(in srgb, var(--c) 10%, #fff); }
.tile .n { font-size: 40px; }
.story-head h1 { color: var(--c); -webkit-text-stroke: 1px var(--ink); }
.page-head h1 { font-size: clamp(44px, 7vw, 76px); }
.shirt { padding: 12px; border: 3px solid var(--ink); border-radius: 18px; background: #fff; box-shadow: 6px 6px 0 var(--b2); transition: transform .2s; }
.shirt:nth-child(4n+2) { box-shadow: 6px 6px 0 var(--b3); } .shirt:nth-child(4n+3) { box-shadow: 6px 6px 0 var(--b4); } .shirt:nth-child(4n) { box-shadow: 6px 6px 0 var(--b1); }
.shirt:hover { transform: rotate(-1.5deg) translateY(-4px); }
.shirt-pics { border-radius: 12px; background: color-mix(in srgb, var(--b5) 25%, #fff); }
.shirt-name { font-family: var(--display); font-size: 26px; font-weight: 400; }
.shop-hero h1 { font-size: clamp(64px, 13vw, 150px); transform: rotate(-2deg); color: var(--b1); -webkit-text-stroke: 2px var(--ink); }
.ribbon { transform: rotate(-1.5deg); margin: 18px -16px 10px; background: var(--b5); color: var(--ink); border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); font-family: "Rubik Mono One", var(--body); font-weight: 400; }
.foot { border-top: 3px dashed var(--ink); }
.foot-name { font-size: 30px; }
.wordmark .sp { display: inline; }
.soc { box-shadow: 3px 3px 0 var(--ink); }
.soc-row .soc:nth-child(5n+1) { background: color-mix(in srgb, var(--b1) 30%, #fff); }
.soc-row .soc:nth-child(5n+2) { background: color-mix(in srgb, var(--b2) 35%, #fff); }
.soc-row .soc:nth-child(5n+3) { background: color-mix(in srgb, var(--b3) 30%, #fff); }
.soc-row .soc:nth-child(5n+4) { background: color-mix(in srgb, var(--b4) 30%, #fff); }
.soc-row .soc:nth-child(5n+5) { background: var(--b5); }
.follow-label { font-family: var(--display); font-size: 22px; font-weight: 400; }
.signup { border-width: 3px; box-shadow: 8px 8px 0 var(--b4); background: color-mix(in srgb, var(--b5) 30%, #fff); transform: rotate(-.4deg); }
.signup h2 { font-weight: 400; }
.signup-form input[type=email], .signup-form .btn { border-radius: 99px; border-width: 2.5px; }
.signup-form .btn { background: var(--b1); border-color: var(--ink); box-shadow: 3px 3px 0 var(--ink); }
