/* The Can't Social — brand colours sampled from the logo */
:root {
  --cream: #FFFFC2;
  --cream-2: #FAF6B0;
  --teal: #3BA9C1;
  --teal-dark: #1F7D93;
  --plum: #740072;
  --plum-dark: #4E004C;
  --ink: #2A1030;
  --ink-soft: #5B4A5E;
  --white: #FFFFFF;
  --radius: 18px;
  --shadow: 0 2px 0 var(--ink), 0 10px 30px rgba(42, 16, 48, .12);
  --font-display: "Anton", "Impact", sans-serif;
  --font-hand: "Caveat Brush", "Comic Sans MS", cursive;
  --font-body: "DM Sans", system-ui, -apple-system, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--plum); text-underline-offset: 3px; }
a:hover { color: var(--teal-dark); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--plum); color: var(--white); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1; letter-spacing: .01em; text-transform: uppercase; margin: 0 0 .4em; }
h2, h1 > span { transform: skewX(-8deg); transform-origin: left center; }
h1 > span { display: block; white-space: nowrap; }
h1 { font-size: clamp(4rem, 11vw, 8.5rem); color: var(--plum); }
h2 { font-size: clamp(2.6rem, 6vw, 4.5rem); color: var(--teal); }
h3 { font-size: 1.6rem; color: var(--plum); }
.teal { color: var(--teal); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); max-width: 34em; color: var(--ink-soft); }
.big { font-size: clamp(1.15rem, 1.8vw, 1.4rem); line-height: 1.45; }
.small { font-size: .9rem; }
.muted { color: var(--ink-soft); }

/* Hand-written scribble with the logo's insertion caret */
.scribble { font-family: var(--font-hand); color: var(--plum); font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin: 0 0 .6em; line-height: 1.6; transform: rotate(-2deg); transform-origin: left; }
.scribble--light { color: var(--cream); }
.caret { position: relative; display: inline-block; width: .7em; height: 1em; margin: 0 .05em; vertical-align: baseline; }
.caret::after { content: "^"; position: absolute; left: 50%; bottom: -.45em; transform: translateX(-50%); font-size: 1.1em; }
.caret__word { position: absolute; left: 50%; bottom: .7em; transform: translateX(-50%) rotate(-6deg); white-space: nowrap; }
.scribble .caret { margin-right: .2em; }
.scribble:has(.caret) { padding-top: .55em; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--white);
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .8em 1.4em; border-radius: 999px; border: 2px solid var(--ink);
  background: var(--bg); color: var(--fg); font: 700 1rem/1 var(--font-body);
  text-decoration: none; cursor: pointer; box-shadow: 0 3px 0 var(--ink);
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { color: var(--fg); transform: translateY(-2px); box-shadow: 0 5px 0 var(--ink); }
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink); }
.btn--teal { --bg: var(--teal); --fg: var(--white); }
.btn--plum { --bg: var(--plum); --fg: var(--white); }
.btn--yellow { --bg: var(--cream); --fg: var(--plum); }
.btn--ghost { --bg: transparent; --fg: var(--ink); }
.btn--outline-light { --bg: transparent; --fg: var(--cream); border-color: var(--cream); box-shadow: none; }
.btn--outline-light:hover { box-shadow: none; }
.btn--sm { padding: .55em 1.05em; font-size: .9rem; }
.btn--lg { padding: 1em 1.8em; font-size: 1.15rem; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px var(--gutter);
  background: rgba(255, 255, 194, .92); backdrop-filter: blur(8px);
  border-bottom: 2px solid transparent; transition: border-color .2s;
}
.nav.is-scrolled { border-bottom-color: var(--ink); }
.nav__logo img { width: clamp(120px, 14vw, 170px); height: auto; }
.nav__links { display: flex; align-items: center; gap: clamp(12px, 2vw, 28px); }
.nav__links a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; }
.nav__links a:not(.btn):hover { color: var(--plum); text-decoration: underline; }
.nav__toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav__toggle span:not(.sr) { display: block; width: 26px; height: 3px; background: var(--ink); border-radius: 2px; margin: 5px 0; transition: transform .2s, opacity .2s; }

@media (max-width: 860px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 2px solid var(--ink);
    padding: 8px var(--gutter) 20px; display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a:not(.btn) { padding: 12px 0; border-bottom: 1px dashed rgba(42,16,48,.2); font-size: 1.15rem; }
  .nav__links .btn { margin-top: 14px; }
  .nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* ---------- layout ---------- */
.section { padding: clamp(64px, 9vw, 120px) var(--gutter); }
.section > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.section--teal { background: var(--teal); color: var(--white); }
.section--teal h2 { color: var(--cream); }
.section--plum { background: var(--plum); color: var(--cream); }
.section--plum h2 { color: var(--cream); }
.section--plum a:not(.btn) { color: var(--cream); }
.section--cream2 { background: var(--cream-2); border-block: 2px solid var(--ink); }
.section__head { margin-bottom: 36px; }
.subhead { margin-top: 72px; color: var(--ink); }

/* ---------- hero ---------- */
.hero {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center;
  max-width: var(--max); margin: 0 auto; padding: clamp(32px, 6vw, 80px) var(--gutter) clamp(64px, 8vw, 110px);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.hero__collage { position: relative; aspect-ratio: 1 / 1; }
.hero__collage img { position: absolute; object-fit: cover; border: 3px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); background: var(--plum); }
.hero__collage .c1 { width: 72%; height: 58%; top: 0; right: 0; transform: rotate(3deg); }
.hero__collage .c2 { width: 64%; height: 46%; bottom: 4%; left: 0; transform: rotate(-4deg); }
.hero__collage .c3 { width: 34%; height: 48%; bottom: 0; right: 4%; transform: rotate(5deg); }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .hero__collage { aspect-ratio: 4 / 3; margin-top: 12px; }
}

/* ---------- events ---------- */


.past-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.past { position: relative; border-radius: 14px; overflow: hidden; border: 2px solid var(--ink); aspect-ratio: 4 / 5; background: var(--plum); color: var(--white); }
.past img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.past:hover img { transform: scale(1.04); }
.past__label { position: absolute; inset: auto 0 0 0; padding: 40px 14px 12px; background: linear-gradient(transparent, rgba(42,16,48,.85)); }
.past__label strong { display: block; font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 1.4rem; line-height: 1.05; }
.past__label span { font-size: .85rem; opacity: .9; }
.past--noimg { display: flex; align-items: flex-end; background: var(--teal); }
.past--noimg .past__label { background: none; }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.about em { font-family: var(--font-hand); font-style: normal; font-size: 1.15em; color: var(--cream); }
.about__photo { margin: 0; }
.about__photo img { border: 3px solid var(--ink); border-radius: var(--radius); box-shadow: 0 3px 0 var(--ink); transform: rotate(2deg); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.values { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.values li { padding-left: 34px; position: relative; }
.values li::before { content: "✶"; position: absolute; left: 0; top: -2px; color: var(--cream); font-size: 1.3rem; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } .about__photo { max-width: 460px; } }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; grid-auto-flow: dense; gap: 14px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; border: 2px solid var(--ink); background: var(--teal); }
.gallery .wide { grid-column: span 2; }
@media (max-width: 860px) { .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; } }

/* ---------- cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 40px; }
.card { background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card:nth-child(1) { transform: rotate(-1deg); }
.card:nth-child(3) { transform: rotate(1deg); }
.card p { margin: 0; }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; } .card { transform: none !important; } }

/* ---------- forms ---------- */
.form { display: grid; gap: 16px; background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow); }
#involved .form { max-width: 760px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }
.form label { display: grid; gap: 6px; font-weight: 700; font-size: .95rem; }
.form input:not([type=checkbox]), .form textarea, .form select {
  width: 100%; font: inherit; font-weight: 400; color: var(--ink);
  padding: 12px 14px; border: 2px solid var(--ink); border-radius: 12px; background: var(--cream);
}
.form textarea { resize: vertical; }
.form fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.form legend { font-weight: 700; font-size: .95rem; margin-bottom: 8px; width: 100%; }
.form .check { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--plum); }
.form .btn { justify-self: start; }
.form__status { margin: 0; font-weight: 700; color: var(--teal-dark); min-height: 1.2em; }
.form__status.is-error { color: #B3261E; }

/* ---------- donate ---------- */
.donate { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.impact { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.impact li { display: flex; gap: 14px; align-items: baseline; }
.impact span { font-family: var(--font-display); font-size: 2rem; color: var(--teal); min-width: 2.9em; }
.donate__box { display: grid; gap: 12px; }
.donate__box .btn { width: 100%; }
.donate__box .note { opacity: .85; margin: 0; }
@media (max-width: 860px) { .donate { grid-template-columns: 1fr; } }

/* ---------- press ---------- */
.press { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.press > div { background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius); padding: 24px; }
.downloads { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 8px; }
.downloads a::before { content: "↓ "; font-weight: 700; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.swatches span { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-family: ui-monospace, monospace; }
.swatches span::before { content: ""; width: 28px; height: 28px; border-radius: 8px; background: var(--c); border: 2px solid var(--ink); }
@media (max-width: 760px) { .press { grid-template-columns: 1fr; } }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.socials { display: flex; gap: 12px; margin-top: 20px; }
.socials a { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--ink); background: var(--white); color: var(--plum); box-shadow: 0 3px 0 var(--ink); }
.socials a:hover { background: var(--plum); color: var(--white); }
.socials svg { width: 22px; height: 22px; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: var(--cream); padding: 56px var(--gutter) 28px; }
.footer__inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 36px; align-items: start; }
.footer img { background: var(--cream); border-radius: 12px; padding: 6px 10px; width: 160px; height: auto; }
.footer a { color: var(--cream); }
.footer-follow__title { font-family: var(--font-hand); font-size: 1.6rem; color: var(--teal); margin: 0 0 4px; }
.footer-follow .small { margin: 0 0 14px; opacity: .85; }
.footer-follow .btn { border-color: var(--cream); box-shadow: 0 3px 0 var(--cream); }
.footer__links { display: grid; gap: 8px; justify-items: start; }
.footer__copy { max-width: var(--max); margin: 40px auto 0; opacity: .7; }
@media (max-width: 860px) { .footer__inner { grid-template-columns: 1fr; } }

/* ---------- guidelines page ---------- */
.doc { max-width: 760px; margin: 0 auto; padding: clamp(40px, 7vw, 90px) var(--gutter); }
.doc h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-top: 1.6em; }
.doc li { margin-bottom: .5em; }
.doc .back { display: inline-block; margin-bottom: 24px; font-weight: 700; }

/* ---------- embedded forms (Tally, Zeffy) ---------- */
.card__link { display: inline-block; margin-top: 12px; font-weight: 700; }
.embed { background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.embed--tally { max-width: 760px; padding: clamp(20px, 3vw, 32px); }
.embed--tally h3 { margin-bottom: .2em; }
.embed--tally iframe { display: block; width: 100%; border: 0; }
.embed--tally .small { margin: 8px 0 0; }
.embed--zeffy { position: relative; height: 640px; border-color: var(--cream); box-shadow: 0 3px 0 var(--plum-dark); }
.embed--zeffy iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.donate__box .small { margin: 0; }
@media (max-width: 600px) { .embed--zeffy { height: 700px; } }

/* ---------- Luma calendar ---------- */
.luma { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.embed--luma { height: 620px; }
.embed--luma iframe { display: block; width: 100%; height: 100%; border: 0; }
.follow { position: sticky; top: 110px; }
.follow .btn { margin: 4px 0 10px; }
@media (max-width: 860px) { .luma { grid-template-columns: 1fr; } .follow { position: static; order: -1; } .embed--luma { height: 560px; } }
