/* =====================================================================
 * Junior Rebound Beach Volleyball Club — Public Site Stylesheet
 * Design system: Riso Camp (mockup 08)
 * ===================================================================== */

:root {
  --paper:        #faf3e0;
  --paper-2:      #f3eacb;
  --ink:          #1c1614;
  --ink-soft:     #4d4339;
  --riso-pink:    #ff5083;
  --riso-blue:    #2a4ad6;
  --riso-yellow:  #ffd13d;
  --riso-green:   #4cb573;
  --riso-orange:  #ff7c3d;
  --riso-purple:  #a364d6;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Bricolage Grotesque', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Riso paper texture / grain */
body::before {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 1; opacity: 0.6;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.4  0 0 0 0 0.3  0 0 0 0 0.2  0 0 0 0.07 0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Halftone dot pattern */
body::after {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 1; opacity: 0.04;
  background-image: radial-gradient(rgba(28, 22, 20, 1) 1px, transparent 1.4px);
  background-size: 4px 4px;
}

a { color: inherit; text-decoration: none; }

.script { font-family: 'Caveat', cursive; }

/* ==================== NAV ==================== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 1.5px solid var(--ink);
  padding: 16px 32px;
  display: flex; justify-content: space-between; align-items: center;
}
.nav-brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.nav-brand .stamp {
  background: var(--riso-pink); color: var(--paper);
  padding: 4px 8px; border-radius: 3px;
  transform: rotate(-3deg);
  box-shadow: 2px 2px 0 var(--ink);
  font-weight: 800; letter-spacing: 0.02em;
}
.nav-links { display: flex; gap: 28px; align-items: center; font-weight: 600; font-size: 14px; }
.nav-links a { transition: color .2s; }
.nav-links a:hover { color: var(--riso-pink); }
.nav-links a.is-active { color: var(--riso-pink); }
.nav-cta {
  background: var(--ink); color: var(--paper);
  padding: 10px 22px;
  font-weight: 700; font-size: 13px;
  letter-spacing: 0.04em;
  box-shadow: 3px 3px 0 var(--riso-pink);
  transition: transform .15s, box-shadow .15s;
}
.nav-cta:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--riso-pink); }

/* Mobile nav */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 4px 0; }
@media (max-width: 800px) {
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); flex-direction: column; align-items: flex-start; padding: 20px 32px; gap: 16px; border-bottom: 1.5px solid var(--ink); }
  .nav-links.is-open { display: flex; }
  .nav-toggle { display: block; }
}

/* ==================== HERO ==================== */
.hero { padding: 60px 32px 40px; position: relative; overflow: hidden; }
.hero-inner { max-width: 1280px; margin: 0 auto; position: relative; }

/* Floating riso shapes */
.riso-shape { position: absolute; z-index: 0; mix-blend-mode: multiply; opacity: 0.85; }
.riso-shape-1 { top: -40px; right: -20px; width: 240px; height: 240px; background: var(--riso-pink); border-radius: 50%; filter: blur(0.5px); }
.riso-shape-2 { top: 80px; right: 200px; width: 80px; height: 80px; background: var(--riso-yellow); border-radius: 50%; }
.riso-shape-3 { bottom: 0; left: -60px; width: 180px; height: 180px; background: var(--riso-blue); border-radius: 50%; opacity: 0.4; }

.hero-content { position: relative; z-index: 2; }

.hero-eyebrow {
  display: inline-block;
  background: var(--riso-blue); color: var(--paper);
  padding: 8px 16px;
  font-weight: 700; font-size: 13px;
  letter-spacing: 0.04em;
  margin-bottom: 32px;
  transform: rotate(-1.5deg);
  box-shadow: 3px 3px 0 var(--ink);
}

.hero-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 900;
  font-size: clamp(60px, 11vw, 180px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  margin-bottom: 32px;
  color: var(--ink);
}
.hero-title .row { display: block; }
.hero-title .pink-block {
  background: var(--riso-pink);
  color: var(--paper);
  padding: 0 16px;
  display: inline-block;
  transform: rotate(-1deg);
  box-shadow: 6px 6px 0 var(--ink);
}
.hero-title .script-accent {
  font-family: 'Caveat', cursive;
  font-weight: 700;
  color: var(--riso-blue);
  font-size: 0.85em;
  transform: rotate(-2deg);
  display: inline-block;
}
.hero-title .underline-blue { position: relative; display: inline-block; }
.hero-title .underline-blue::after {
  content: ''; position: absolute;
  left: -4px; right: -4px; bottom: 4px;
  height: 12px;
  background: var(--riso-yellow);
  z-index: -1;
  transform: rotate(-1deg);
}

.hero-bottom { display: grid; grid-template-columns: 1.4fr 1fr; gap: 50px; align-items: end; margin-top: 40px; }
@media (max-width: 900px) { .hero-bottom { grid-template-columns: 1fr; } }

.hero-lede {
  font-size: 18px; line-height: 1.6;
  color: var(--ink); font-weight: 500;
  max-width: 540px;
}
.hero-lede strong { background: var(--riso-yellow); padding: 0 4px; font-weight: 700; }

.btn-primary {
  background: var(--ink); color: var(--paper);
  padding: 18px 32px;
  font-weight: 800; font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 6px 6px 0 var(--riso-pink);
  transition: transform .15s, box-shadow .15s;
  display: inline-flex; align-items: center; gap: 12px;
  cursor: pointer; border: none;
  font-family: inherit;
}
.btn-primary:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--riso-pink); }
.btn-primary.btn-light { background: var(--paper); color: var(--ink); box-shadow: 6px 6px 0 var(--ink); }
.btn-primary.btn-light:hover { box-shadow: 8px 8px 0 var(--ink); }

.hero-handwrite {
  margin-top: 32px;
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: 26px;
  color: var(--riso-blue);
  transform: rotate(-2deg);
  display: inline-block;
  line-height: 1.1;
}
.hero-handwrite::before { content: '↳'; margin-right: 8px; font-family: 'Bricolage Grotesque'; }

/* ==================== STAMP STRIP ==================== */
.stamp-strip {
  background: var(--ink); color: var(--paper);
  padding: 20px 32px;
  margin: 40px 0;
  overflow: hidden;
  position: relative;
}
.stamp-strip::before, .stamp-strip::after {
  content: ''; position: absolute;
  top: 0; bottom: 0; width: 14px;
  background-image: radial-gradient(circle, var(--paper) 4px, transparent 5px);
  background-size: 14px 14px;
  background-repeat: repeat-y;
}
.stamp-strip::before { left: 0; }
.stamp-strip::after { right: 0; }
.stamp-track {
  display: flex; gap: 36px; white-space: nowrap;
  animation: scroll 30s linear infinite;
  align-items: center;
  font-weight: 800; font-size: 22px;
  letter-spacing: -0.01em;
}
.stamp-track .star { color: var(--riso-yellow); font-size: 24px; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ==================== SECTION ==================== */
.section { padding: 80px 32px; position: relative; overflow: hidden; }
.section-inner { max-width: 1280px; margin: 0 auto; position: relative; }
.section-head {
  display: grid; grid-template-columns: auto 1fr;
  gap: 40px; align-items: end; margin-bottom: 50px;
}
@media (max-width: 800px) { .section-head { grid-template-columns: 1fr; } }
.section-eyebrow {
  display: inline-block;
  background: var(--riso-yellow); color: var(--ink);
  padding: 6px 12px;
  font-weight: 700; font-size: 12px;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
  transform: rotate(-1.5deg);
  box-shadow: 2px 2px 0 var(--ink);
}
.section-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 900;
  font-size: clamp(44px, 7vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.section-title .accent {
  font-family: 'Caveat', cursive;
  font-weight: 700;
  color: var(--riso-pink);
  font-size: 0.95em;
}
.section-desc {
  color: var(--ink-soft); font-size: 16px; line-height: 1.7;
  max-width: 460px; padding-bottom: 8px; font-weight: 500;
}

/* ==================== CLUBS ==================== */
.clubs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; position: relative; z-index: 2; }
@media (max-width: 700px) { .clubs-grid { grid-template-columns: 1fr; } }

.club-card {
  background: var(--paper);
  border: 2px solid var(--ink);
  padding: 24px;
  box-shadow: 6px 6px 0 var(--accent, var(--ink));
  transition: transform .25s, box-shadow .25s;
  cursor: pointer;
  position: relative;
  display: grid; grid-template-columns: 130px 1fr; gap: 20px; align-items: center;
}
.club-card:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--accent, var(--ink)); }

.club-stamp {
  position: absolute;
  top: -10px; right: 16px;
  background: var(--accent);
  color: var(--paper);
  padding: 6px 12px;
  font-weight: 800; font-size: 11px;
  letter-spacing: 0.08em; text-transform: uppercase;
  border: 2px solid var(--ink);
  transform: rotate(2deg);
}
.club-card:nth-child(2) .club-stamp { transform: rotate(-2deg); }
.club-card:nth-child(3) .club-stamp { transform: rotate(2deg); }
.club-card:nth-child(4) .club-stamp { transform: rotate(-2deg); }

/* For light accents (yellow), use dark text on stamps */
.club-card.accent-light .club-stamp { color: var(--ink); }

.club-logo-frame {
  width: 130px; height: 130px;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 50%;
  display: grid; place-items: center;
  padding: 12px;
  overflow: hidden;
}
.club-logo-frame img { width: 100%; height: 100%; object-fit: contain; }

.club-name {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 900;
  font-size: 42px;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
  color: var(--ink);
  margin-top: 14px;
}
.club-tag { font-size: 14px; line-height: 1.5; color: var(--ink-soft); margin-bottom: 14px; font-weight: 500; }
.club-meta {
  display: flex; gap: 12px; align-items: center;
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--ink-soft);
}
.club-meta .open { color: var(--riso-green); display: flex; align-items: center; gap: 6px; }
.club-meta .open::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--riso-green); }
.club-meta .full { color: var(--riso-pink); display: flex; align-items: center; gap: 6px; }
.club-meta .full::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--riso-pink); }
.club-meta .closing { color: var(--riso-orange); display: flex; align-items: center; gap: 6px; }
.club-meta .closing::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--riso-orange); }

/* ==================== HOW IT WORKS ==================== */
.how-section {
  background: var(--riso-blue);
  color: var(--paper);
  padding: 100px 32px;
  position: relative;
  overflow: hidden;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}
.how-section::before {
  content: ''; position: absolute;
  top: -100px; right: -100px;
  width: 360px; height: 360px;
  background: var(--riso-pink);
  border-radius: 50%;
  mix-blend-mode: screen;
  opacity: 0.7;
}
.how-section::after {
  content: ''; position: absolute;
  bottom: -50px; left: 30%;
  width: 200px; height: 200px;
  background: var(--riso-yellow);
  border-radius: 50%;
  mix-blend-mode: screen;
  opacity: 0.5;
}
.how-section .section-eyebrow { background: var(--riso-yellow); color: var(--ink); }
.how-section .section-title { color: var(--paper); }
.how-section .section-title .accent { color: var(--riso-yellow); }
.how-section .section-desc { color: rgba(250, 243, 224, 0.8); }

.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; position: relative; z-index: 2; }
@media (max-width: 800px) { .how-grid { grid-template-columns: 1fr; } }

.how-card {
  background: var(--paper); color: var(--ink);
  border: 2px solid var(--ink);
  padding: 32px 26px;
  position: relative;
  box-shadow: 6px 6px 0 var(--ink);
}
.how-num {
  position: absolute; top: -16px; left: 20px;
  background: var(--riso-pink); color: var(--paper);
  padding: 4px 12px;
  font-family: 'Caveat'; font-size: 26px; font-weight: 700;
  border: 2px solid var(--ink);
  transform: rotate(-3deg);
  line-height: 1;
}
.how-title { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 900; font-size: 24px; letter-spacing: -0.02em; margin: 16px 0 10px; }
.how-desc { font-size: 14px; line-height: 1.65; color: var(--ink-soft); font-weight: 500; }

/* ==================== JUNE INTRO ==================== */
.intro-section { padding: 80px 32px; }
.intro-card {
  max-width: 1280px; margin: 0 auto;
  background: var(--riso-pink); color: var(--paper);
  border: 2px solid var(--ink);
  box-shadow: 12px 12px 0 var(--ink);
  padding: 70px 50px;
  position: relative;
  overflow: hidden;
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 50px; align-items: center;
}
@media (max-width: 800px) { .intro-card { grid-template-columns: 1fr; padding: 50px 32px; } }
.intro-card::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(28, 22, 20, 0.16) 1px, transparent 1.4px);
  background-size: 6px 6px;
  pointer-events: none;
}

.intro-content { position: relative; z-index: 1; }
.intro-eyebrow {
  display: inline-block;
  background: var(--paper); color: var(--ink);
  padding: 6px 14px;
  font-weight: 800; font-size: 12px;
  letter-spacing: 0.06em;
  margin-bottom: 24px;
  transform: rotate(-1.5deg);
  box-shadow: 2px 2px 0 var(--ink);
}
.intro-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 900;
  font-size: clamp(44px, 7vw, 90px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
}
.intro-title .script {
  color: var(--riso-yellow);
  font-weight: 700;
  transform: rotate(-2deg);
  display: inline-block;
}
.intro-desc { font-size: 17px; line-height: 1.55; font-weight: 500; margin-bottom: 32px; max-width: 480px; }

.intro-stamp-art {
  position: relative; z-index: 1;
  width: 240px; height: 240px;
  margin: 0 auto;
  background: var(--paper); color: var(--ink);
  border-radius: 50%;
  border: 3px solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
  display: grid; place-items: center;
  transform: rotate(-8deg);
  text-align: center;
}
.intro-stamp-art::before, .intro-stamp-art::after {
  content: ''; position: absolute; inset: 12px;
  border: 1.5px dashed var(--ink); border-radius: 50%;
}
.intro-stamp-art .text { position: relative; z-index: 1; }
.intro-stamp-art .label-top { font-size: 11px; font-weight: 800; letter-spacing: 0.18em; }
.intro-stamp-art .big {
  font-family: 'Bricolage Grotesque'; font-weight: 900;
  font-size: 64px; line-height: 1;
  letter-spacing: -0.04em;
  color: var(--riso-pink);
  margin: 4px 0;
  -webkit-text-stroke: 0.5px var(--ink);
}
.intro-stamp-art .label-bot { font-family: 'Caveat'; font-weight: 700; font-size: 22px; }

/* ==================== GENERIC CONTENT (FAQ, FEES) ==================== */
.content-section { padding: 80px 32px; }
.content-inner { max-width: 880px; margin: 0 auto; }

.content-eyebrow {
  display: inline-block;
  background: var(--riso-yellow); color: var(--ink);
  padding: 6px 12px;
  font-weight: 700; font-size: 12px;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
  transform: rotate(-1.5deg);
  box-shadow: 2px 2px 0 var(--ink);
}
.content-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 900;
  font-size: clamp(44px, 7vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-bottom: 20px;
}
.content-title .accent { font-family: 'Caveat', cursive; font-weight: 700; color: var(--riso-pink); }
.content-lede { font-size: 18px; line-height: 1.65; color: var(--ink-soft); font-weight: 500; max-width: 620px; margin-bottom: 50px; }

.content-prose { font-size: 16px; line-height: 1.7; color: var(--ink); }
.content-prose p { margin-bottom: 18px; }
.content-prose a { color: var(--riso-blue); border-bottom: 1px solid currentColor; }
.content-prose strong { background: var(--riso-yellow); padding: 0 3px; }

/* FAQ accordion */
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--paper);
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--riso-pink);
  transition: box-shadow .2s, transform .2s;
}
.faq-item:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--riso-pink); }
.faq-item:nth-child(2n) { box-shadow: 4px 4px 0 var(--riso-blue); }
.faq-item:nth-child(2n):hover { box-shadow: 5px 5px 0 var(--riso-blue); }
.faq-item:nth-child(3n) { box-shadow: 4px 4px 0 var(--riso-yellow); }
.faq-item:nth-child(3n):hover { box-shadow: 5px 5px 0 var(--riso-yellow); }
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 24px;
  font-weight: 800; font-size: 17px;
  cursor: pointer;
  user-select: none;
}
.faq-q::after {
  content: '+';
  font-family: 'Bricolage Grotesque';
  font-weight: 900; font-size: 28px;
  color: var(--riso-pink);
  transition: transform .25s;
  line-height: 0.8;
}
.faq-item.is-open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
  padding: 0 24px;
  font-size: 15px; line-height: 1.7; color: var(--ink-soft); font-weight: 500;
}
.faq-item.is-open .faq-a { max-height: 500px; padding: 0 24px 22px; }

/* Fees table */
.fees-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
  margin-bottom: 40px;
}
@media (max-width: 700px) { .fees-grid { grid-template-columns: 1fr; } }

.fee-card {
  background: var(--paper);
  border: 2px solid var(--ink);
  padding: 32px;
  box-shadow: 6px 6px 0 var(--accent, var(--riso-pink));
  position: relative;
}
.fee-card .fee-label {
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 8px;
}
.fee-card .fee-amount {
  font-family: 'Bricolage Grotesque'; font-weight: 900;
  font-size: 56px; line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink); margin-bottom: 12px;
}
.fee-card .fee-amount.tba { color: var(--riso-pink); font-family: 'Caveat'; font-weight: 700; }
.fee-card .fee-desc { font-size: 14px; line-height: 1.55; color: var(--ink-soft); font-weight: 500; }

/* ==================== FOOTER ==================== */
footer { background: var(--ink); color: var(--paper); padding: 60px 32px 30px; }
.footer-grid {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px; padding-bottom: 40px;
  border-bottom: 1px solid #3a322d;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 18px; margin-bottom: 14px;
}
.footer-brand .stamp {
  background: var(--riso-pink); color: var(--paper);
  padding: 4px 8px; border-radius: 3px;
  transform: rotate(-3deg);
}
.footer-tag { color: rgba(250, 243, 224, 0.7); font-size: 14px; line-height: 1.6; max-width: 320px; }
.footer-col h4 { font-weight: 800; font-size: 13px; margin-bottom: 14px; color: var(--riso-yellow); letter-spacing: 0.06em; text-transform: uppercase; }
.footer-col a { display: block; color: rgba(250, 243, 224, 0.7); font-size: 14px; margin-bottom: 8px; transition: color .2s; }
.footer-col a:hover { color: var(--paper); }
.footer-bot {
  max-width: 1280px; margin: 24px auto 0;
  display: flex; justify-content: space-between;
  color: rgba(250, 243, 224, 0.5); font-size: 12px; font-weight: 500;
  flex-wrap: wrap; gap: 12px;
}

::selection { background: var(--riso-pink); color: var(--paper); }

/* =====================================================================
 * FORMS — sign-up, login, reset, etc.
 * ===================================================================== */

.jr-form { display: flex; flex-direction: column; gap: 22px; margin-top: 8px; }

.form-row { display: grid; gap: 18px; }
.form-row-2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .form-row-2 { grid-template-columns: 1fr; } }

.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label {
  font-weight: 700; font-size: 13px;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--ink);
}
.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field input[type="password"],
.form-field input[type="number"],
.form-field input[type="date"],
.form-field select,
.form-field textarea {
  font-family: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--paper);
  border: 2px solid var(--ink);
  padding: 14px 16px;
  border-radius: 0;
  transition: box-shadow .15s, transform .15s;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  box-shadow: 4px 4px 0 var(--riso-pink);
  transform: translate(-1px, -1px);
}
.form-field small {
  font-size: 13px; color: var(--ink-soft); font-weight: 500;
}

.form-checkbox label {
  display: flex; gap: 12px; align-items: flex-start;
  text-transform: none; letter-spacing: 0; font-size: 15px;
  font-weight: 500; line-height: 1.5;
  cursor: pointer;
}
.form-checkbox input[type="checkbox"] {
  appearance: none; -webkit-appearance: none;
  width: 22px; height: 22px;
  background: var(--paper); border: 2px solid var(--ink);
  cursor: pointer; flex-shrink: 0;
  margin-top: 2px; position: relative;
}
.form-checkbox input[type="checkbox"]:checked {
  background: var(--riso-pink);
}
.form-checkbox input[type="checkbox"]:checked::after {
  content: '✓'; position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -55%);
  color: var(--paper); font-weight: 900; font-size: 16px;
  line-height: 1;
}

.form-actions {
  display: flex; align-items: center; gap: 22px;
  flex-wrap: wrap; margin-top: 6px;
}
.form-aside { font-size: 14px; color: var(--ink-soft); }
.form-aside a { color: var(--riso-blue); border-bottom: 1px solid currentColor; }

/* Inline link button styled to look like a text link */
.link-button {
  background: none; border: none; padding: 0;
  color: var(--riso-blue); border-bottom: 1px solid currentColor;
  font: inherit; cursor: pointer;
}

/* Form messages */
.form-errors,
.form-success,
.form-info {
  border: 2px solid var(--ink);
  padding: 16px 20px;
  margin-bottom: 24px;
  font-size: 15px; line-height: 1.6;
  font-weight: 500;
}
.form-errors {
  background: #ffeaef;
  box-shadow: 4px 4px 0 var(--riso-pink);
}
.form-success {
  background: #e8f6ec;
  box-shadow: 4px 4px 0 var(--riso-green);
}
.form-info {
  background: var(--paper-2);
  box-shadow: 4px 4px 0 var(--riso-blue);
}
.form-errors strong, .form-success strong, .form-info strong { display: block; margin-bottom: 4px; }
.form-errors ul, .form-success ul, .form-info ul { margin: 4px 0 0 18px; }
.form-errors p, .form-success p, .form-info p { margin: 0 0 6px 0; }
.form-errors p:last-child, .form-success p:last-child, .form-info p:last-child { margin-bottom: 0; }
.form-errors a, .form-success a, .form-info a { color: var(--riso-blue); border-bottom: 1px solid currentColor; }

/* =====================================================================
 * DASHBOARD
 * ===================================================================== */

.dash-grid {
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 24px; margin-top: 20px;
}
@media (max-width: 800px) { .dash-grid { grid-template-columns: 1fr; } }

.dash-card {
  background: var(--paper);
  border: 2px solid var(--ink);
  padding: 28px;
  box-shadow: 6px 6px 0 var(--riso-blue);
}
.dash-card:nth-child(2n) { box-shadow: 6px 6px 0 var(--riso-yellow); }
.dash-card h3 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 900; font-size: 22px;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.dash-empty {
  font-size: 15px; color: var(--ink-soft); font-weight: 500;
  font-style: italic;
}

.dash-meta {
  display: grid; grid-template-columns: auto 1fr;
  gap: 8px 20px; font-size: 14px;
}
.dash-meta dt { font-weight: 700; color: var(--ink-soft); text-transform: uppercase; font-size: 11px; letter-spacing: 0.08em; padding-top: 4px; }
.dash-meta dd { color: var(--ink); font-weight: 500; }

.badge-warn, .badge-ok {
  display: inline-block;
  padding: 2px 8px; font-size: 11px;
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  border: 1.5px solid var(--ink);
  margin-left: 6px;
}
.badge-warn { background: var(--riso-yellow); color: var(--ink); }
.badge-ok   { background: var(--riso-green); color: var(--paper); }
