/* =========================================================
   MINDFUL MOON — "a zine you can walk into"
   Newsprint paper, midnight ink, hot pink (the one action
   color), chartreuse highlights, cobalt tape. Archivo (poster headlines),
   Atkinson Hyperlegible (body), Permanent Marker (stand-in for
   Bethanie's handwriting font).
   ========================================================= */
:root {
  --paper: #f3f0fa;    /* pale lavender, a tint of the indigo */
  --paper-2: #e8e3f4;
  --ink: #1e1a3a;
  --ink-2: #4b4766;
  --pink: #ff2d96;      /* hot pink: buttons, the one action color */
  --green: #d4ee1f;     /* chartreuse: highlights and stickers, never text or thin lines on light paper */
  --cobalt: #2d6be8;    /* cobalt: tape, focus rings */
  --cream: #ffffff;
  --head: "Archivo", "Arial Narrow", sans-serif;
  --body: "Atkinson Hyperlegible", system-ui, sans-serif;
  --hand: "Permanent Marker", "Comic Sans MS", cursive;
  --wrap: 72rem;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--paper);
  /* paper grain */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.12 0 0 0 0 0.1 0 0 0 0 0.2 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }
.center { text-align: center; }
.narrow { max-width: 44rem; margin-inline: auto; }

/* ---------- type ---------- */
h1, h2, h3, .poster {
  font-family: var(--head);
  font-weight: 800;
  font-stretch: 72%;
  font-variation-settings: "wdth" 72;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: -0.005em;
}
h1 { font-size: clamp(3rem, 8.5vw, 6.6rem); }
h2 { font-size: clamp(2.3rem, 5.5vw, 4rem); }
h3 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); line-height: 1; }
.hand { font-family: var(--hand); font-weight: 400; text-transform: none; letter-spacing: 0; }
.lede { font-size: clamp(1.1rem, 1.8vw, 1.3rem); line-height: 1.5; }
p + p { margin-top: 1rem; }
.kicker {
  display: inline-block; font-family: var(--head); font-weight: 700;
  font-stretch: 90%; font-variation-settings: "wdth" 90;
  text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.82rem;
  background: var(--ink); color: var(--paper); padding: 0.3rem 0.7rem; margin-bottom: 1.2rem;
  transform: rotate(-1.5deg);
}
.kicker--pink { background: var(--pink); color: var(--ink); }
.kicker--green { background: var(--green); color: var(--ink); }

/* marker highlight + scribble underline */
.hl { background: linear-gradient(transparent 55%, var(--pink) 55%, var(--pink) 90%, transparent 90%); padding: 0 0.1em; }
.hl--green { background: linear-gradient(transparent 55%, var(--green) 55%, var(--green) 90%, transparent 90%); }
.cut {
  display: inline-block; background: var(--cream); color: var(--ink);
  padding: 0.02em 0.14em 0.06em; margin: 0.04em 0; box-shadow: 3px 3px 0 var(--ink);
}
.cut--pink { background: var(--pink); }
.cut--green { background: var(--green); }
.cut--ink { background: var(--ink); color: var(--paper); box-shadow: 3px 3px 0 var(--pink); }
.tilt-l { transform: rotate(-2deg); }
.tilt-r { transform: rotate(1.6deg); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--head); font-weight: 800; font-stretch: 85%; font-variation-settings: "wdth" 85;
  text-transform: uppercase; letter-spacing: 0.04em; font-size: 1.05rem; text-decoration: none;
  background: var(--pink); color: var(--ink);
  border: 3px solid var(--ink); border-radius: 6px;
  padding: 0.85rem 1.5rem; box-shadow: 5px 5px 0 var(--ink);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--ink); }
.btn--small { font-size: 0.85rem; padding: 0.5rem 0.95rem; box-shadow: 3px 3px 0 var(--ink); border-width: 2px; }
.link {
  font-weight: 700; text-decoration: none; border-bottom: 3px solid var(--pink); padding-bottom: 1px;
}
.link:hover { background: var(--green); }
.night .link { border-bottom-color: var(--green); }
.night .link:hover { background: var(--green); color: var(--ink); }
.note { font-family: var(--hand); font-size: 1.15rem; color: var(--ink-2); transform: rotate(-2deg); display: inline-block; }

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 50; background: var(--paper);
  border-bottom: 3px solid var(--ink);
}
.top__in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.7rem 0; }
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.brand img { width: 40px; height: 40px; }
.brand b { font-family: var(--head); font-weight: 800; font-stretch: 75%; font-variation-settings: "wdth" 75; text-transform: uppercase; font-size: 1.45rem; line-height: 1; }
.brand small { display: block; font-family: var(--hand); font-size: 0.85rem; color: var(--ink-2); line-height: 1.1; }
.menu { display: flex; align-items: center; gap: 1.4rem; }
.menu ul { display: flex; gap: 1.3rem; list-style: none; }
.menu ul a {
  font-family: var(--head); font-weight: 700; font-stretch: 85%; font-variation-settings: "wdth" 85;
  text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.95rem; text-decoration: none; padding: 0.15rem 0.1rem;
}
.menu ul a:hover, .menu ul a[aria-current] { background: linear-gradient(transparent 55%, var(--green) 55%, var(--green) 92%, transparent 92%); }
.burger { display: none; background: none; border: 3px solid var(--ink); border-radius: 6px; padding: 0.35rem; cursor: pointer; color: var(--ink); }
.burger svg { width: 24px; height: 24px; display: block; }

/* ---------- sections ---------- */
.sec { padding: clamp(3rem, 6vw, 4.5rem) 0; position: relative; }
.night { background: var(--ink); color: var(--paper); }
.night .kicker { background: var(--paper); color: var(--ink); }
.night .kicker--pink { background: var(--pink); }
.night .cut { box-shadow: 3px 3px 0 var(--pink); }
.paper2 { background-color: var(--paper-2); }
/* torn paper edges */
.torn-top::before, .torn-bottom::after {
  content: ""; position: absolute; left: 0; right: 0; height: 18px; background: inherit;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 18' preserveAspectRatio='none'%3E%3Cpath d='M0 18 L0 9 L6 12 L11 5 L17 10 L23 3 L29 9 L36 6 L41 12 L48 4 L54 9 L60 2 L66 10 L72 6 L78 12 L85 4 L91 9 L97 3 L103 11 L109 6 L115 10 L120 5 L120 18 Z'/%3E%3C/svg%3E") 0 0 / 240px 100% repeat-x;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 18' preserveAspectRatio='none'%3E%3Cpath d='M0 18 L0 9 L6 12 L11 5 L17 10 L23 3 L29 9 L36 6 L41 12 L48 4 L54 9 L60 2 L66 10 L72 6 L78 12 L85 4 L91 9 L97 3 L103 11 L109 6 L115 10 L120 5 L120 18 Z'/%3E%3C/svg%3E") 0 0 / 240px 100% repeat-x;
}
.torn-top::before { top: -17px; }
.torn-bottom::after { bottom: -17px; transform: scaleY(-1); z-index: 2; }

/* ---------- tape, photos, cards ---------- */
.taped { position: relative; }
.taped::before {
  content: ""; position: absolute; top: -13px; left: 50%; width: 96px; height: 26px; margin-left: -48px;
  background: rgba(45, 107, 232, 0.6); transform: rotate(-4deg); z-index: 2;
}
.taped--pink::before { background: rgba(255, 45, 150, 0.6); }
.taped--corner::before { left: -10px; top: 6px; margin: 0; width: 70px; transform: rotate(-38deg); }
.photo { background: var(--cream); padding: 10px 10px 12px; box-shadow: 4px 5px 0 rgba(30, 26, 58, 0.85); }
.photo img { width: 100%; height: auto; }
.photo figcaption { font-family: var(--hand); font-size: 1rem; padding-top: 0.4rem; color: var(--ink); text-align: center; }
.night .photo { box-shadow: 5px 6px 0 var(--pink); }
.card {
  background: var(--cream); color: var(--ink); border: 3px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink); padding: 1.6rem; position: relative;
}
.night .card { box-shadow: 6px 6px 0 var(--pink); }
.card h3 { margin-bottom: 0.6rem; }
.card .meta { font-family: var(--head); font-weight: 700; font-stretch: 85%; font-variation-settings: "wdth" 85; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem; color: var(--ink-2); margin-bottom: 0.6rem; }
.card .price { font-family: var(--hand); font-size: 1.5rem; color: var(--pink); position: absolute; top: -0.9rem; right: 1rem; transform: rotate(6deg); background: var(--ink); color: var(--paper); padding: 0.1rem 0.7rem; }
.card .go { margin-top: 1.2rem; }
.stamp {
  display: inline-grid; place-items: center; width: 118px; height: 118px; border-radius: 50%;
  border: 3px dashed var(--ink); font-family: var(--head); font-weight: 800; font-stretch: 75%; font-variation-settings: "wdth" 75;
  text-transform: uppercase; text-align: center; line-height: 1; font-size: 1.15rem; transform: rotate(12deg); background: var(--green);
}

/* ---------- ticker ---------- */
.ticker { background: var(--pink); border-block: 3px solid var(--ink); overflow: hidden; white-space: nowrap; }
.ticker__row { display: inline-flex; animation: tick 38s linear infinite; }
.ticker span { font-family: var(--head); font-weight: 800; font-stretch: 72%; font-variation-settings: "wdth" 72; text-transform: uppercase; font-size: 1.6rem; padding: 0.55rem 2.4rem; }
.ticker i { font-style: normal; color: var(--cream); }
@keyframes tick { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker__row { animation-duration: 76s; } }

/* ---------- layouts ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.2rem; }
.stack > * + * { margin-top: 1.2rem; }

/* hero collage */
.hero { padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(4rem, 8vw, 6rem); }
.hero h1 .cut { box-shadow: 4px 4px 0 var(--ink); }
.hero .lede { margin-top: 1.8rem; max-width: 32rem; }
.hero .cta { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 1.6rem; }
.collage { position: relative; min-height: 440px; }
.collage > * { position: absolute; }
.collage .c1 { width: 58%; left: 4%; top: 2%; transform: rotate(-4deg); }
.collage .c2 { width: 54%; right: 0; top: 24%; transform: rotate(3.5deg); }
.collage .c3 { width: 30%; left: 12%; bottom: 0; transform: rotate(-8deg); z-index: 3; }
.collage .stamp { right: 6%; top: -2%; z-index: 4; }

/* steps */
.step { position: relative; padding-top: 0.5rem; }
.step__n { font-family: var(--hand); font-size: 3.6rem; line-height: 1; color: var(--pink); display: block; margin-bottom: 0.4rem; }
.night .step__n { color: var(--pink); }
.step h3 { margin-bottom: 0.7rem; }

/* wall */
.wall { columns: 3 17rem; column-gap: 2rem; margin-top: 3.5rem; }
.wall > * { break-inside: avoid; margin-bottom: 2.2rem; display: inline-block; width: 100%; vertical-align: top; }
.wall > :nth-child(3n+1) { transform: rotate(-1.5deg); }
.wall > :nth-child(3n+2) { transform: rotate(1.2deg); }
.quote { background: var(--cream); color: var(--ink); padding: 1.8rem 1.5rem 1.3rem; box-shadow: 5px 6px 0 var(--pink); }
.quote p { font-size: 1.08rem; line-height: 1.5; }
.quote cite { display: block; margin-top: 0.8rem; font-style: normal; font-family: var(--hand); font-size: 1.15rem; color: var(--pink); }
.placeholder {
  aspect-ratio: 4 / 5; border: 3px dashed var(--paper); display: grid; place-items: center; text-align: center;
  padding: 1.2rem; background: rgba(243, 240, 250, 0.06);
}
.paper-sec .placeholder, .placeholder--dark { border-color: var(--ink); background: rgba(30, 26, 58, 0.04); }
.placeholder span { font-family: var(--hand); font-size: 1.3rem; line-height: 1.25; }
.placeholder small { display: block; font-family: var(--body); font-size: 0.85rem; opacity: 0.75; margin-top: 0.4rem; }

/* coming up */
.dates { list-style: none; border-top: 3px solid var(--ink); }
.dates li { display: grid; grid-template-columns: 11rem 1fr auto; gap: 1.2rem; align-items: center; padding: 1.1rem 0; border-bottom: 3px solid var(--ink); }
.dates .when { font-family: var(--head); font-weight: 800; font-stretch: 75%; font-variation-settings: "wdth" 75; text-transform: uppercase; font-size: 1.35rem; line-height: 1; }
.dates .what b { font-family: var(--head); font-stretch: 85%; font-variation-settings: "wdth" 85; text-transform: uppercase; font-size: 1.15rem; display: block; line-height: 1.1; }
.dates .what span { color: var(--ink-2); font-size: 0.98rem; }

/* fit lists */
.fit ul { list-style: none; margin-top: 1.4rem; }
.fit li { padding: 0.75rem 0 0.75rem 2.4rem; position: relative; border-bottom: 2px dashed rgba(30, 26, 58, 0.25); }
.fit li::before { position: absolute; left: 0; top: 0.45rem; font-family: var(--hand); font-size: 1.5rem; line-height: 1.2; }
.fit .yes li::before { content: "✓"; color: var(--pink); }
.fit .no li::before { content: "✗"; color: var(--ink-2); }

/* faq */
.faq details { border-bottom: 3px solid var(--ink); }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 2.5rem 1.1rem 0; position: relative; font-family: var(--head); font-weight: 800; font-stretch: 85%; font-variation-settings: "wdth" 85; text-transform: uppercase; font-size: 1.2rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0.3rem; top: 0.6rem; font-family: var(--hand); font-size: 1.8rem; color: var(--pink); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 0 1.3rem; max-width: 46rem; }

/* art grid */
.art-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.art-grid .photo img { aspect-ratio: 1; object-fit: cover; }
.art-grid > :nth-child(odd) { transform: rotate(-1.2deg); }
.art-grid > :nth-child(even) { transform: rotate(1deg); }

/* page header (inner pages) */
.page-head { padding: clamp(3rem, 7vw, 5rem) 0 clamp(2.5rem, 5vw, 3.5rem); border-bottom: 3px solid var(--ink); }
.page-head .lede { margin-top: 1.4rem; max-width: 40rem; }

/* ---------- footer ---------- */
.foot { background: var(--ink); color: var(--paper); padding: 4rem 0 2rem; }
.foot__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 2.5rem; }
.foot h3 { font-size: 1.5rem; margin-bottom: 0.9rem; }
.foot ul { list-style: none; }
.foot li + li { margin-top: 0.4rem; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--pink); }
.foot .fine { margin-top: 3rem; padding-top: 1.4rem; border-top: 2px solid rgba(243, 240, 250, 0.2); font-size: 0.88rem; opacity: 0.75; display: flex; flex-wrap: wrap; gap: 0.6rem 2rem; justify-content: space-between; }
.foot .embed { margin-top: 0.4rem; }

/* ---------- mobile ---------- */
@media (max-width: 960px) {
  .burger { display: block; }
  .menu {
    position: fixed; inset: 0 0 0 auto; width: min(82vw, 330px); flex-direction: column; align-items: flex-start;
    background: var(--paper); border-left: 3px solid var(--ink); padding: 5.5rem 1.8rem 2rem; gap: 2rem;
    transform: translateX(105%); transition: transform 0.25s ease; z-index: 60;
  }
  .menu.open { transform: none; }
  .menu ul { flex-direction: column; gap: 1rem; }
  .menu ul a { font-size: 1.5rem; }
  .burger { position: relative; z-index: 70; }
}
@media (max-width: 860px) {
  body { font-size: 17px; }
  .grid-2, .grid-3, .foot__grid { grid-template-columns: 1fr; }
  .collage { min-height: 400px; margin-top: 1rem; }
  .art-grid { grid-template-columns: 1fr 1fr; }
  .dates li { grid-template-columns: 1fr; gap: 0.4rem; }
  .stamp { width: 96px; height: 96px; font-size: 0.95rem; }
}
.hero h1 { font-size: clamp(3rem, 6.6vw, 5.4rem); }
.hero .lede { margin-top: 1.4rem; }

/* small helpers (typewriter look removed 2026-12-01 at her request) */
:root { --type: var(--body); }
.step__n.word { font-size: 2rem; }
.label {
  display: inline-block; font-family: var(--head); font-weight: 800; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--ink); color: var(--paper); padding: 0.25rem 0.6rem;
}

/* ---------- Sequenzy forms, restyled to match ---------- */
.form-card { max-width: 34rem; }
.form-card h3 { margin-bottom: 0.4rem; }
.form-card .typed { margin-bottom: 1rem; display: block; }
[data-sequenzy-form-root].sequenzy-capture-root {
  background: var(--cream) !important; color: var(--ink) !important; border: 3px solid var(--ink) !important;
  border-radius: 0 !important; box-shadow: 6px 6px 0 var(--pink) !important; max-width: 34rem !important;
  margin: 0 !important; padding: 1.4rem !important; font-family: var(--type) !important;
}
.sequenzy-capture-root .sequenzy-capture-field > span { font-family: var(--type) !important; font-weight: 700 !important; color: var(--ink) !important; font-size: 0.9rem !important; }
.sequenzy-capture-root .sequenzy-capture-input {
  font-family: var(--type) !important; font-size: 1rem !important; color: var(--ink) !important; background: #fff !important;
  border: 2px solid var(--ink) !important; border-radius: 0 !important; box-shadow: none !important;
}
.sequenzy-capture-root .sequenzy-capture-input:focus { outline: 3px solid var(--cobalt) !important; outline-offset: 1px; }
.sequenzy-capture-root .sequenzy-capture-submit {
  font-family: var(--head) !important; font-weight: 800 !important; font-stretch: 85%; font-variation-settings: "wdth" 85;
  text-transform: uppercase !important; letter-spacing: 0.04em !important; font-size: 1rem !important;
  background: var(--pink) !important; color: var(--ink) !important; border: 3px solid var(--ink) !important;
  border-radius: 6px !important; box-shadow: 4px 4px 0 var(--ink) !important;
}
.sequenzy-capture-root .sequenzy-capture-submit:hover { transform: translate(-1px, -1px); box-shadow: 6px 6px 0 var(--ink) !important; }
.sequenzy-capture-root iframe[data-sequenzy-bot-check] { height: 70px !important; }
.sequenzy-form-branding { opacity: 0.55; transform: scale(0.85); transform-origin: left center; text-align: left !important; }
.foot .sequenzy-form-branding a { color: inherit; }

/* ---------- art galleries + print requests ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.cat { text-decoration: none; display: block; }
.cat .photo img { aspect-ratio: 4 / 3; object-fit: cover; }
.cat h3 { margin-top: 1rem; }
.cat:hover h3 { background: linear-gradient(transparent 55%, var(--pink) 55%, var(--pink) 92%, transparent 92%); display: inline; }
.cat:nth-child(odd) .photo { transform: rotate(-1.2deg); }
.cat:nth-child(even) .photo { transform: rotate(1.1deg); }
.gallery { columns: 3 16rem; column-gap: 1.8rem; }
.piece { break-inside: avoid; margin-bottom: 2rem; }
.piece .photo img { width: 100%; height: auto; cursor: zoom-in; }
.piece__bar { display: flex; justify-content: space-between; align-items: center; gap: 0.6rem; margin-top: 0.7rem; }
.piece__bar span { font-family: var(--type); font-size: 0.9rem; }
.print-btn {
  font-family: var(--type); font-weight: 700; font-size: 0.85rem; background: var(--paper); color: var(--ink); cursor: pointer;
  border: 2px solid var(--ink); border-radius: 4px; padding: 0.3rem 0.6rem; box-shadow: 2px 2px 0 var(--ink);
}
.print-btn:hover { background: var(--pink); }
.night .print-btn { box-shadow: 2px 2px 0 var(--pink); }
dialog.print {
  border: 3px solid var(--ink); background: var(--paper); color: var(--ink); padding: 0; width: min(880px, 94vw);
  max-height: 92vh; box-shadow: 10px 10px 0 var(--pink);
}
dialog.print::backdrop { background: rgba(30, 26, 58, 0.72); }
.print__in { display: grid; grid-template-columns: 1fr 1.1fr; gap: 1.8rem; padding: 1.8rem; }
.print__in img { width: 100%; height: auto; max-height: 60vh; object-fit: contain; background: var(--cream); padding: 8px; box-shadow: 4px 4px 0 var(--ink); }
.print__close { position: absolute; top: 0.6rem; right: 0.8rem; background: none; border: 0; font-family: var(--hand); font-size: 2rem; cursor: pointer; color: var(--ink); line-height: 1; }
.print h3 { margin: 0.3rem 0 0.6rem; }
.pform { display: grid; gap: 0.9rem; background: var(--cream); border: 3px solid var(--ink); padding: 1.2rem; }
.pform label { display: grid; gap: 0.3rem; font-weight: 700; font-size: 0.95rem; }
.pform input, .pform select, .pform textarea { font: inherit; font-weight: 400; color: var(--ink); background: #fff; border: 2px solid var(--ink); padding: 0.55rem 0.7rem; width: 100%; }
.pform input:focus, .pform select:focus, .pform textarea:focus { outline: 3px solid var(--cobalt); outline-offset: 1px; }
.pform .btn { justify-self: start; }
.pform__note { font-size: 0.85rem; color: var(--ink-2); }
dialog { margin: auto; }
dialog.zoom { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 94vh; }
dialog.zoom img { max-width: 94vw; max-height: 90vh; object-fit: contain; background: var(--cream); padding: 10px; }
dialog.zoom::backdrop { background: rgba(30, 26, 58, 0.85); }

/* long-form sales pages */
.prose-z { max-width: 42rem; }
.prose-z p + p { margin-top: 1rem; }
.prose-z h3 { margin: 2.2rem 0 0.8rem; }
.prose-z ul { margin: 0.8rem 0 0 1.2rem; }
.prose-z li + li { margin-top: 0.45rem; }
.video { position: relative; aspect-ratio: 16 / 9; border: 3px solid var(--ink); box-shadow: 8px 8px 0 var(--pink); background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

@media (max-width: 860px) {
  .cat-grid { grid-template-columns: 1fr 1fr; gap: 1.2rem; }
  .print__in { grid-template-columns: 1fr; padding: 1.2rem; }
  .print__in img { max-height: 32vh; }
}

.hero h1.h1--long { font-size: clamp(2.4rem, 4.4vw, 3.8rem); }

/* gallery pages use the same tilted tiles as the art index */
.art-grid > a.photo { display: block; }
.art-grid--pieces { row-gap: 2.4rem; }
.art-grid--pieces .piece { margin: 0; }
.art-grid--pieces .piece .photo img { aspect-ratio: 1; object-fit: cover; }
.art-grid--pieces .piece__bar { flex-direction: column; align-items: flex-start; gap: 0.5rem; }

/* green is the highlighter: every headline highlight is a green block. Pink is for buttons, numbers and the strip. */
.hero h1 .cut--pink, .page-head h1 .cut--pink { background: var(--green); }
.night .fit .yes li::before { color: var(--green); }

/* why art + fit share a background; the lists sit on cards */
.fit--cards { align-items: stretch; }
.fit--cards > div { background: var(--cream); border: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); padding: 2rem 1.8rem 1.4rem; }
.fit--cards > .yes { box-shadow: 6px 6px 0 var(--pink); }
.fit--cards li:last-child { border-bottom: 0; }
.fit--cards h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }

/* free vs paid */
.tier-note { margin: 1.6rem auto 0; max-width: 38rem; font-size: 0.98rem; color: var(--ink-2); }
.tiers { align-items: stretch; max-width: 56rem; margin-left: auto; margin-right: auto; }
.tier { display: flex; flex-direction: column; }
.tier .go { margin-top: auto; padding-top: 1.4rem; }
.tier--paid { box-shadow: 6px 6px 0 var(--pink); }
.tier--paid .price { background: var(--pink); color: var(--ink); }
.ticks { list-style: none; margin-top: 0.8rem; }
.ticks li { padding: 0.55rem 0 0.55rem 2rem; position: relative; border-bottom: 2px dashed rgba(30, 26, 58, 0.2); }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 0.3rem; font-family: var(--hand); font-size: 1.35rem; color: var(--pink); }

/* zines made together */
.zines { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 30rem), 1fr)); gap: 2.4rem; margin-top: 2.5rem; }
.zine { padding: 0.8rem; }
.zine__frame { aspect-ratio: 4 / 3; background: var(--paper-2); }
.zine__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.zine figcaption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.4rem 1rem; padding: 0.9rem 0.3rem 0.2rem; }

/* keep highlighted headline words on one line */
h1 .hl, h2 .hl, h1 .cut, h2 .cut { white-space: nowrap; }
/* phones: show two member-art spots on the home wall instead of four */
@media (max-width: 640px) {
  .wall > .placeholder:nth-of-type(n+3) { display: none; }
  .wall .placeholder { aspect-ratio: 4 / 3; }
  .collage { min-height: 300px; }
  .collage .c3 { display: none; }
  .hero { padding-bottom: 2.5rem; }
  .step { display: grid; grid-template-columns: 3.4rem 1fr; column-gap: 0.6rem; }
  .step__n { grid-row: span 2; font-size: 2.6rem; margin: 0; }
  .step h3 { align-self: end; margin-bottom: 0.3rem; }
  .step > *:not(.step__n) { grid-column: 2; }
  /* steps labelled with words (Clearing the Static) stack: label on top, full width */
  .step:has(.step__n.word) { display: block; }
  .step:has(.step__n.word) .step__n { font-size: 1.6rem; margin-bottom: 0.3rem; }
}

h1, h2 { text-wrap: balance; }
/* phones: less empty space between sections */
@media (max-width: 640px) {
  .sec { padding: 3rem 0; }
}

/* tape only on quotes from other people */
.taped:not(.quote)::before { display: none; }
/* where the tape used to be: a thin color outline instead */
.taped:not(.quote) { outline: 3px solid rgba(45, 107, 232, 0.55); outline-offset: 0; }
.taped--pink:not(.quote) { outline-color: rgba(255, 45, 150, 0.6); }

/* hero collage: the floor photo sits over the empty top-right of the journal page so "PERMISSION" stays readable */
.collage .c2 { top: -3%; }
.collage .stamp { top: auto; bottom: 4%; right: 8%; }

/* Static to Signal: free with the paid Canvas for Chaos tier */
.callout-free { background: var(--white); border: 3px solid var(--ink); border-left: 10px solid var(--pink); padding: 0.8rem 1rem; font-weight: 700; }

/* ---------- Our own signup forms (replaced the Sequenzy embeds) ---------- */
.signup {
  background: var(--cream); color: var(--ink); border: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--pink);
  max-width: 34rem; padding: 1.4rem; display: grid; gap: 0.9rem; font-family: var(--type);
}
.signup__field { display: grid; gap: 0.35rem; }
.signup__field span { font-weight: 700; font-size: 0.9rem; color: var(--ink); }
.signup input {
  font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 2px solid var(--ink); border-radius: 0;
  padding: 0.7rem 0.8rem; min-height: 48px; width: 100%;
}
.signup input:focus { outline: 3px solid var(--cobalt); outline-offset: 1px; }
.signup__btn {
  font-family: var(--head); font-weight: 800; font-stretch: 85%; font-variation-settings: "wdth" 85;
  text-transform: uppercase; letter-spacing: 0.04em; font-size: 1rem; min-height: 50px; cursor: pointer;
  background: var(--pink); color: var(--ink); border: 3px solid var(--ink); border-radius: 6px; box-shadow: 4px 4px 0 var(--ink);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.signup__btn:hover { transform: translate(-1px, -1px); box-shadow: 6px 6px 0 var(--ink); }
.signup__btn:disabled { opacity: 0.6; cursor: wait; }
.signup__msg:empty { display: none; }
.signup__msg, .signup__done { margin: 0; font-weight: 700; color: var(--ink); }
.signup__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.signup [hidden] { display: none !important; }

/* ---------- Shop ---------- */
.shop { display: grid; gap: 2rem; }
.shop__photos { display: flex; gap: 0.8rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0.4rem 0.4rem 1rem; margin-inline: -0.4rem; }
.shop__photo { flex: 0 0 82%; margin: 0; scroll-snap-align: center; border: 3px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); background: var(--ink); }
.shop__photo img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.shop__price { font-family: var(--head); font-weight: 900; font-size: 2.4rem; line-height: 1; margin: 0; }
.shop__price small { font-family: var(--body); font-weight: 700; font-size: 1rem; color: var(--ink-2, #4b4766); }
.shop__list { margin: 0; padding-left: 1.2rem; display: grid; gap: 0.4rem; }
.shop__small { font-size: 0.95rem; margin: 0; }
.btn--off { opacity: 0.55; cursor: default; pointer-events: none; }
@media (min-width: 900px) {
  .shop { grid-template-columns: 1.1fr 1fr; align-items: start; }
  .shop__photos { display: grid; grid-template-columns: 1fr 1fr; overflow: visible; margin: 0; padding: 0; }
  .shop__photo:first-child { grid-column: span 2; }
  .shop__info { position: sticky; top: 6rem; }
}

/* =========================================================
   DARK MODE: off by default; the moon button in the header turns it on
   (saved in localStorage, set on <html data-theme="dark"> before paint).
   Navy paper, light ink, same pink buttons and green highlights.
   Text that sits on pink or green stays dark (--on-bright).
   ========================================================= */
html[data-theme="dark"] {
    color-scheme: dark;
    --paper: #15122b;
    --paper-2: #1d1939;
    --ink: #f3f0fa;
    --ink-2: #c4bfdc;
    --cream: #262143;
    --on-bright: #1e1a3a;
    --deep: #0b0919;
  }
html[data-theme="dark"] body { background-image: none; }
/* dark bands go deeper so they still read as separate sections */
html[data-theme="dark"] .night,
html[data-theme="dark"] .foot { background: var(--deep); color: var(--ink); }
html[data-theme="dark"] .night .kicker { background: var(--ink); color: var(--on-bright); }
html[data-theme="dark"] .night .kicker--pink { background: var(--pink); }
html[data-theme="dark"] .card .price { background: var(--ink); color: var(--on-bright); }
/* dark text on pink and green */
html[data-theme="dark"] .btn,
html[data-theme="dark"] .kicker--pink,
html[data-theme="dark"] .kicker--green,
html[data-theme="dark"] .cut--pink,
html[data-theme="dark"] .cut--green,
html[data-theme="dark"] .stamp,
html[data-theme="dark"] .ticker,
html[data-theme="dark"] .tier--paid .price,
html[data-theme="dark"] .signup__btn,
html[data-theme="dark"] .link:hover,
html[data-theme="dark"] .night .link:hover,
html[data-theme="dark"] .print-btn:hover,
html[data-theme="dark"] .hero h1 .cut--pink,
html[data-theme="dark"] .page-head h1 .cut--pink { color: var(--on-bright); }
html[data-theme="dark"] .btn,
html[data-theme="dark"] .signup__btn { border-color: var(--on-bright); }
html[data-theme="dark"] .stamp { border-color: var(--on-bright); }
html[data-theme="dark"] .ticker { border-color: var(--deep); }
html[data-theme="dark"] .ticker i { color: var(--paper); }
/* the half-height marker highlight becomes a full block so the words stay readable */
html[data-theme="dark"] .hl { background: var(--pink); color: var(--on-bright); padding: 0 0.15em; }
html[data-theme="dark"] .hl--green { background: var(--green); }
html[data-theme="dark"] .menu ul a[aria-current],
html[data-theme="dark"] .menu ul a:hover { background: none; color: var(--green); }
/* photos, dashed rules, shadows */
html[data-theme="dark"] .photo { box-shadow: 4px 5px 0 var(--pink); }
html[data-theme="dark"] .fit li,
html[data-theme="dark"] .ticks li { border-bottom-color: rgba(243, 240, 250, 0.22); }
html[data-theme="dark"] .placeholder--dark,
html[data-theme="dark"] .paper-sec .placeholder { background: rgba(243, 240, 250, 0.05); }
/* form fields stay white with dark text */
html[data-theme="dark"] .signup input,
html[data-theme="dark"] .pform input,
html[data-theme="dark"] .pform select,
html[data-theme="dark"] .pform textarea { background: #fff; color: var(--on-bright); border-color: var(--ink); }
html[data-theme="dark"] dialog.print,
html[data-theme="dark"] dialog.zoom { color: var(--ink); }

/* theme toggle button */
.top__tools { display: flex; align-items: center; gap: 0.6rem; }
.theme-btn { background: none; border: 3px solid var(--ink); border-radius: 6px; padding: 0.35rem; cursor: pointer; color: var(--ink); line-height: 0; }
.theme-btn svg { width: 24px; height: 24px; }
.theme-btn .sun, html[data-theme="dark"] .theme-btn .moon { display: none; }
html[data-theme="dark"] .theme-btn .sun { display: block; }
.theme-btn:focus-visible, .burger:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 2px; }

/* Artist bio at the bottom of the Art page */
.bio .grid-2 { align-items: start; }
.bio__side .photo { max-width: 380px; }
.bio__text { display: flex; flex-direction: column; gap: 1.3rem; }
.bio__text p { line-height: 1.65; }
.bio__lead { font-family: var(--head); font-weight: 800; font-stretch: 85%; font-variation-settings: "wdth" 85; font-size: clamp(1.4rem, 3vw, 1.85rem); line-height: 1.2 !important; }
.bio__card { transform: rotate(1deg); margin: 0.6rem 0; }
.bio__card p { font-size: 1.05rem; line-height: 1.6; }
@media (max-width: 640px) { .bio__side .photo { max-width: 78%; margin-inline: auto; } }

/* ---------- phone tune-up ---------- */
@media (max-width: 640px) {
  /* stand-alone links get a bigger tap area */
  div > a.link, figcaption a.link, .art-grid + a.link { display: inline-block; padding: 0.55rem 0; }
  /* nothing smaller than 14px to read */
  .meta, .label, small { font-size: 0.875rem; }
  .kicker { font-size: 0.86rem; }
}
@media (max-width: 640px) { .print-btn { min-height: 44px; } }

/* no zoom-in when tapping a text box on iPhone */
@media (max-width: 640px) { input:not([type=checkbox]):not([type=radio]):not(.code-input), textarea, select { font-size: max(16px, 1em) !important; } }
