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

/* Structure and type follow futuresociety.ch (FuSo): Inter, the 0.3fr + 11
   column grid, circuit-line section labels, hairline card grids, alternating
   section backgrounds. What is ours: the fruit bowl of accent colours and the
   cream "tablecloth" instead of FuSo's gray. */
:root {
  --black:  #111111;
  --white:  #ffffff;
  --cream:  #fff6e5;
  --mid:    #8a8072;
  --divider:#eadfcb;
  --text-body: #333333;

  --leaf:   #00802F;   /* FuSo green */
  --tomato: #e63b2e;
  --tomato-d: #c22a1e; /* tomato dark enough for text/fills under white text */
  --orange: #f28c28;
  --banana: #ffc93c;
  --plum:   #7b2d8e;
  --berry:  #d6336c;

  --font: 'Inter', system-ui, sans-serif;
  --gap: 2rem;
  --max: 1280px;
  --h2-size: clamp(2rem, 4vw, 3.5rem);
  --h2-line-height: 1.05;
}

html { scroll-behavior: smooth; scroll-padding-top: 64px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

.container { max-width: var(--max); margin: 0 auto; padding: 0 2rem; }

.grid {
  display: grid;
  grid-template-columns: 0.3fr repeat(11, 1fr);
  gap: var(--gap);
}

h1, h2, h3, p { overflow-wrap: break-word; }

h2 {
  font-size: var(--h2-size);
  font-weight: 800;
  line-height: var(--h2-line-height);
  letter-spacing: -0.02em;
}

h3 { font-size: 1.1rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 0.5rem; }

p { font-size: 1rem; font-weight: 300; line-height: 1.7; color: var(--text-body); }
p + p { margin-top: 1rem; }

a { color: inherit; }
.text-link { color: var(--leaf); text-decoration: none; border-bottom: 1px solid currentColor; }
.text-link:hover { opacity: 0.7; }

/* Highlighter-pen stroke behind a word in a heading, in the section's colour. */
.hl {
  background: linear-gradient(transparent 58%, var(--sec, var(--banana)) 58%, var(--sec, var(--banana)) 92%, transparent 92%);
  padding: 0 0.1em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* "Food", one fruit colour per letter. */
.fruity span:nth-child(1) { color: var(--tomato); }
.fruity span:nth-child(2) { color: var(--orange); }
.fruity span:nth-child(3) { color: var(--leaf); }
.fruity span:nth-child(4) { color: var(--plum); }

/* Red-and-white tablecloth strip. */
.gingham {
  height: 28px;
  background-color: #fff;
  background-image:
    linear-gradient(90deg, rgba(230, 59, 46, 0.55) 50%, transparent 50%),
    linear-gradient(rgba(230, 59, 46, 0.55) 50%, transparent 50%);
  background-size: 28px 28px;
  border-top: 2px solid var(--black);
  border-bottom: 2px solid var(--black);
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.9rem 1.4rem;
  border: 2px solid var(--black);
  border-radius: 999px;
  background: var(--white);
  color: var(--black);
  cursor: pointer;
  box-shadow: 4px 4px 0 var(--black);
  transition: transform 0.12s, box-shadow 0.12s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--black); }
.btn:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--black); }
.btn--primary { background: var(--tomato-d); color: #fff; }
.btn--banana { background: var(--banana); }
.btn--small { font-size: 0.7rem; padding: 0.55rem 1rem; box-shadow: 3px 3px 0 var(--black); }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 2px solid var(--black);
}
nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  gap: 1rem;
}

/* Two-part lockup: FuSo (the parent) | the alliance. */
.nav-lockup { display: flex; align-items: center; gap: 0.85rem; min-width: 0; }
.nav-parent img { height: 30px; width: auto; display: block; }
.nav-divider { width: 1px; height: 28px; background: var(--divider); }
.nav-wordmark {
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  text-decoration: none;
  color: var(--black);
  white-space: nowrap;
}

#navMenu { list-style: none; display: flex; align-items: center; gap: 1.75rem; }
#navMenu a:not(.btn) {
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.15s;
}
#navMenu a:not(.btn):hover { color: var(--tomato-d); }

/* ─── HERO ─── */
#hero {
  margin-top: 60px;
  padding: 6.5rem 2rem 5rem;
  display: grid;
  grid-template-columns: 0.3fr repeat(11, 1fr);
  gap: var(--gap);
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  align-items: center;
}
.hero-text { grid-column: 3 / 9; }

.hero-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 1.5rem;
}
.hero-label a { text-decoration: none; }
.hero-label a:hover { color: var(--leaf); }

h1 {
  font-size: clamp(2.9rem, 6.2vw, 5rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}
.hero-line { display: block; }

.hero-slogan {
  font-size: clamp(1.2rem, 2.4vw, 1.65rem);
  font-weight: 300;
  font-style: italic;
  color: var(--tomato-d);
  margin-bottom: 1.75rem;
}
.hero-sub { font-size: 1.3rem; font-weight: 300; line-height: 1.5; color: var(--text-body); }
.chain-step { white-space: nowrap; }
.chain-arrow { color: var(--mid); padding: 0 0.15rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.25rem; }

.hero-image { grid-column: 9 / 13; display: flex; justify-content: flex-start; }
.plate-btn {
  display: block;
  width: 100%;
  max-width: 380px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  border-radius: 50%;
  transition: transform 0.4s cubic-bezier(.3, 1.6, .5, 1);
}
.plate-btn:hover { transform: rotate(-8deg) scale(1.02); }
.plate-btn img { display: block; width: 100%; }
/* No double-tap-to-zoom on the plate: a double-tap plays the anthem. */
.plate-btn { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
/* While the anthem plays, the plate bobs to its 124 BPM (one beat ≈ 0.484s). */
.plate-btn.playing img { animation: plate-bop 0.968s ease-in-out infinite; }
@keyframes plate-bop {
  0%, 100% { transform: rotate(-6deg) scale(1); }
  25%      { transform: rotate(0deg) scale(1.04); }
  50%      { transform: rotate(6deg) scale(1); }
  75%      { transform: rotate(0deg) scale(1.04); }
}
@media (prefers-reduced-motion: reduce) {
  .plate-btn { transition: none; }
  .plate-btn.playing img { animation: none; }
}

/* Fruit rain from clicking the plate. */
.fruit-drop {
  position: fixed;
  top: -60px;
  z-index: 200;
  font-size: 2.2rem;
  pointer-events: none;
  animation: fruit-fall linear forwards;
}
@keyframes fruit-fall {
  to { transform: translateY(calc(100vh + 120px)) rotate(var(--spin, 360deg)); }
}
/* Reduced-motion version: no movement, just a fade in and out. */
.fruit-drop--calm { opacity: 0; animation-name: fruit-fade; animation-timing-function: ease-in-out; }
@keyframes fruit-fade {
  30%, 70% { opacity: 1; }
  to { opacity: 0; }
}

/* ─── MISSION BOX ─── */
.intro-standalone { padding: 0 0 5rem; }
.about-intro {
  grid-column: 3 / 13;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 1.25rem;
  background: var(--cream);
  border: 2px solid var(--black);
  border-radius: 6px;
  padding: 1.5rem 2rem;
  box-shadow: 6px 6px 0 var(--banana);
}
.intro-caret { font-size: 1.4rem; line-height: 1.6rem; color: var(--tomato); font-weight: 700; }
.about-intro p { grid-column: 2; color: var(--black); }

/* ─── PARENT BAR ─── */
.parent-bar { display: block; background: var(--black); color: #fff; text-decoration: none; }
.parent-bar-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.1rem 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem 1.25rem;
}
.parent-bar-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--banana); }
.parent-bar-name { font-weight: 800; letter-spacing: -0.01em; }
.parent-bar-desc { font-weight: 300; font-style: italic; color: #cfcfcf; }
.parent-bar-go { margin-left: auto; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.parent-bar:hover .parent-bar-go { color: var(--banana); }

/* ─── SECTIONS ─── */
section { padding: 6rem 0; }
section:nth-of-type(odd)  { background: var(--cream); }
section:nth-of-type(even) { background: var(--white); }

/* FuSo's circuit-line label, but the ring at the end is a piece of fruit in
   the section's colour (--sec). */
.section-label {
  grid-column: 1 / 3;
  align-self: start;
  position: relative;
  height: 24px;
  top: calc(var(--h2-size) * var(--h2-line-height) / 2 - 12px);
}
.section-label::before {
  content: '';
  position: absolute;
  right: 22px;
  top: 10px;
  width: 64px;
  height: 4px;
  background: var(--black);
}
.section-label::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--sec);
  border: 4px solid var(--black);
}

#mission  { --sec: var(--banana); }
#protocol { --sec: var(--orange); }
#basket   { --sec: #8fd16a; }
#founders { --sec: #f7a8c4; }
#faq      { --sec: #c9a3e0; }
#join     { --sec: var(--banana); }

.sec-head { grid-column: 3 / 9; }
.sec-head h2 { margin-bottom: 0; }
.sec-aside { grid-column: 9 / 13; padding-top: 0.5rem; }
.sec-full { grid-column: 3 / -1; }
.eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mid);
}

/* ─── MISSION ─── */
.stats {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 2px solid var(--black);
  border-radius: 6px;
  overflow: hidden;
  background: var(--white);
}
.stat { padding: 1.5rem 1.5rem 1.75rem; border-right: 2px solid var(--black); }
.stat:last-child { border-right: 0; }
.stat-num { font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 900; letter-spacing: -0.03em; line-height: 1.1; }
.stat:nth-child(1) .stat-num { color: var(--tomato-d); }
.stat:nth-child(2) .stat-num { color: var(--leaf); }
.stat:nth-child(3) .stat-num { color: var(--plum); }
.stat:nth-child(4) .stat-num { color: #c26a0f; }
.stat p { font-size: 0.9rem; margin-top: 0.25rem; }

.principles {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--black);
  border: 2px solid var(--black);
  border-radius: 6px;
  overflow: hidden;
}
.principle { background: var(--white); padding: 2rem; position: relative; }
.principle::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 8px;
  background: var(--c);
}
.principle-emoji { font-size: 2rem; line-height: 1; margin-bottom: 0.9rem; display: block; }
.principle-num {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 0.4rem;
}
.principle h3 { font-size: 1.05rem; }
.principle p { font-size: 0.95rem; }

/* Friendly projects, e.g. NutriPilot: one clickable card under the principles. */
.ally {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 2rem;
  background: var(--white);
  border: 2px solid var(--black);
  border-radius: 6px;
  box-shadow: 6px 6px 0 var(--leaf);
  text-decoration: none;
  color: var(--black);
  transition: transform 0.12s, box-shadow 0.12s;
}
.ally:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--leaf); }
.ally-emoji {
  width: 3.5rem; height: 3.5rem;
  display: grid;
  place-items: center;
  font-size: 1.7rem;
  border-radius: 50%;
  border: 2px solid var(--black);
  background: #8fd16a;
}
.ally-text { display: flex; flex-direction: column; gap: 0.15rem; }
.ally-name { font-size: 1.35rem; font-weight: 900; letter-spacing: -0.02em; }
.ally-desc { font-size: 0.95rem; font-weight: 300; line-height: 1.6; color: var(--text-body); }
.ally-go { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--leaf); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .ally { transition: none; } }

/* ─── PROTOCOL ─── */
.policy-quote {
  margin-top: 3.5rem;
  position: relative;
  background: var(--banana);
  border: 2px solid var(--black);
  border-radius: 6px;
  padding: 2.25rem 2.5rem 2rem 4.5rem;
  box-shadow: 6px 6px 0 var(--black);
}
.policy-quote::before {
  content: '“';
  position: absolute;
  left: 1.1rem;
  top: 0.4rem;
  font-size: 5rem;
  font-weight: 900;
  line-height: 1;
}
.policy-quote p { color: var(--black); font-size: 1.15rem; font-weight: 400; }
.policy-quote footer { margin-top: 1rem; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }

/* Week-by-week timeline: basket appears, first Friday, second Friday. */
.timeline {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 12px; right: 12px;
  top: 11px;
  height: 4px;
  background: linear-gradient(90deg, var(--leaf), var(--banana), var(--orange), var(--tomato));
}
.tl-step { position: relative; padding: 2.5rem 1.5rem 0 0; }
.tl-step::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 4px solid var(--black);
  background: var(--c);
}
.tl-when { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--mid); }
.tl-step h3 { font-size: 1.35rem; font-weight: 900; letter-spacing: -0.02em; margin: 0.25rem 0 0.4rem; }
.tl-step p { font-size: 0.95rem; }
.verb {
  display: inline-block;
  padding: 0.05em 0.45em;
  border-radius: 4px;
  border: 2px solid var(--black);
  background: var(--c);
}

.articles {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--black);
  border: 2px solid var(--black);
  border-radius: 6px;
  overflow: hidden;
}
.article { background: var(--white); padding: 2rem; display: grid; grid-template-columns: auto 1fr; column-gap: 1.25rem; }
.article-num {
  grid-row: span 3;
  width: 3rem; height: 3rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 2px solid var(--black);
  background: var(--c);
  font-weight: 900;
  font-size: 1.05rem;
}
.article h3 { margin-top: 0.4rem; }
.article .commentary { margin-top: 0.75rem; font-size: 0.85rem; font-style: italic; color: var(--mid); }
.article .commentary strong { font-style: normal; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.65rem; margin-right: 0.35rem; }

/* ─── BASKET-O-METER ─── */
.meter {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: 5fr 7fr;
  border: 2px solid var(--black);
  border-radius: 6px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 6px 6px 0 var(--black);
}
.meter-inputs { padding: 2rem; border-right: 2px solid var(--black); display: flex; flex-direction: column; gap: 1.5rem; }
.field-label { display: block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.5rem; }
.meter input[type="date"],
.pledge input[type="text"] {
  width: 100%;
  font: inherit;
  font-size: 1.05rem;
  padding: 0.7rem 0.9rem;
  border: 2px solid var(--black);
  border-radius: 6px;
  background: var(--white);
  color: var(--black);
}
.meter input:focus-visible,
.pledge input:focus-visible { outline: 3px solid var(--banana); outline-offset: 2px; }

.toggle-group { display: flex; border: 2px solid var(--black); border-radius: 999px; overflow: hidden; width: max-content; }
.toggle-group button {
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.55rem 1.2rem;
  border: 0;
  background: var(--white);
  cursor: pointer;
}
.toggle-group button + button { border-left: 2px solid var(--black); }
.toggle-group button[aria-pressed="true"] { background: var(--black); color: #fff; }
.meter-hint { font-size: 0.85rem; color: var(--mid); }

.meter-result {
  --c: var(--leaf);
  padding: 2.25rem 2.5rem;
  background: var(--c);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: background 0.3s;
}
.meter-result[data-phase="eat"]   { --c: var(--leaf); }
.meter-result[data-phase="may"]   { --c: #c26a0f; }
.meter-result[data-phase="must"]  { --c: var(--tomato-d); }
.meter-result[data-phase="none"]  { --c: var(--plum); }
.meter-result[data-phase="early"] { --c: #555; }
.meter-emoji { font-size: 3rem; line-height: 1; margin-bottom: 0.75rem; }
.meter-status { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 900; letter-spacing: -0.02em; line-height: 1.1; }
.meter-detail { color: #fff; margin-top: 0.75rem; font-weight: 400; }
.meter-next {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ─── FOUNDERS ─── */
.founders { margin-top: 3.5rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.founder {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.5rem;
  align-items: center;
  background: var(--white);
  border: 2px solid var(--black);
  border-radius: 6px;
  padding: 1.5rem;
  box-shadow: 6px 6px 0 var(--c);
}
.founder img {
  width: 140px; height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--black);
  outline: 8px solid var(--c);
  outline-offset: -2px;
  filter: grayscale(1);
  transition: filter 0.3s;
}
.founder:hover img { filter: none; }
.founder-role { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--mid); }
.founder h3 { font-size: 1.4rem; font-weight: 900; letter-spacing: -0.02em; margin: 0.2rem 0 0.5rem; }
.founder p { font-size: 0.95rem; }
.founder-fav { margin-top: 0.75rem; font-size: 0.85rem; }
.founder-fav strong { font-weight: 700; }

/* ─── FAQ ─── */
.faq { margin-top: 3rem; border-top: 2px solid var(--black); }
.faq details { border-bottom: 2px solid var(--black); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 0;
  font-weight: 700;
  font-size: 1.1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  flex: none;
  width: 2rem; height: 2rem;
  display: grid;
  place-items: center;
  border: 2px solid var(--black);
  border-radius: 50%;
  font-weight: 400;
  font-size: 1.3rem;
  background: var(--white);
  transition: transform 0.25s, background 0.25s;
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--banana); }
.faq details p { padding: 0 3rem 1.5rem 0; max-width: 60rem; }

/* ─── JOIN / PLEDGE ─── */
#join { background: var(--tomato); color: #fff; }
#join .section-label::before { background: #fff; }
#join .section-label::after { border-color: #fff; }
#join .sec-head h2, #join .sec-aside p { color: #fff; }
#join .hl { --sec: var(--tomato-d); }

.pledge-wrap { margin-top: 3.5rem; }
.pledge, .member-card {
  background: var(--white);
  color: var(--black);
  border: 2px solid var(--black);
  border-radius: 6px;
  box-shadow: 8px 8px 0 var(--black);
}
.pledge { padding: 2.5rem; }
.pledge-oath { font-size: 1.2rem; font-weight: 400; color: var(--black); margin: 1.5rem 0 1rem; }
.pledge-oath strong { font-weight: 800; }
.pledge-list { list-style: none; display: grid; gap: 0.75rem; }
.pledge-list label {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 0.9rem 1rem;
  border: 2px solid var(--divider);
  border-radius: 6px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.pledge-list label:hover { border-color: var(--black); }
.pledge-list input { width: 1.3rem; height: 1.3rem; margin-top: 0.15rem; accent-color: var(--leaf); }
.pledge-list input:checked + span { font-weight: 500; }
.pledge-list label:has(input:checked) { border-color: var(--black); background: #f0faea; }
.pledge-tag { display: inline-block; font-size: 0.6rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.1rem 0.45rem; border-radius: 999px; background: var(--banana); margin-left: 0.4rem; vertical-align: 0.15em; }
.pledge-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; }
.pledge-error { color: var(--tomato-d); font-weight: 600; font-size: 0.9rem; }

/* The membership card shown after signing. */
.member-card { overflow: hidden; max-width: 760px; }
.member-card .gingham { border-top: 0; }
.member-card-body { padding: 2rem 2.5rem 2.25rem; display: grid; grid-template-columns: 1fr auto; gap: 1.5rem 2rem; }
.member-card-body img { width: 120px; height: 120px; }
.member-kicker { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mid); }
.member-name { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 900; letter-spacing: -0.03em; line-height: 1.05; margin: 0.35rem 0 0.4rem; }
.member-no { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.9rem; color: var(--tomato-d); font-weight: 700; }
.member-vows { grid-column: 1 / -1; list-style: none; display: grid; gap: 0.35rem; font-size: 0.95rem; }
.member-vows li::before { content: '✓'; color: var(--leaf); font-weight: 900; margin-right: 0.6rem; }
.member-sign { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 1rem 3rem; padding-top: 1.25rem; border-top: 2px dashed var(--divider); font-size: 0.8rem; color: var(--mid); }
.member-sign b { display: block; font-family: 'Segoe Script', 'Bradley Hand', 'Brush Script MT', cursive; font-weight: 400; font-size: 1.25rem; color: var(--black); }
.member-actions { margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: 1rem; }
.member-actions .btn { box-shadow: 4px 4px 0 var(--black); }
.member-note { margin-top: 1rem; color: #fff; font-size: 0.9rem; max-width: 46rem; }
.member-note a { color: #fff; }

/* Approved members (members.json), as place cards on the red tablecloth. */
.members { margin-top: 4rem; }
.members-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.25rem;
}
.member-list { list-style: none; display: flex; flex-wrap: wrap; gap: 0.85rem; }
.member {
  --c: var(--banana);
  display: flex;
  flex-direction: column;
  padding: 0.65rem 1rem 0.7rem;
  background: var(--white);
  color: var(--black);
  border: 2px solid var(--black);
  border-radius: 6px;
  border-top: 8px solid var(--c);
  box-shadow: 4px 4px 0 var(--black);
  position: relative;
}
.member:nth-child(5n+2) { --c: var(--orange); }
.member:nth-child(5n+3) { --c: #8fd16a; }
.member:nth-child(5n+4) { --c: #c9a3e0; }
.member:nth-child(5n+5) { --c: #f7a8c4; }
.member--founder { --c: var(--black) !important; }
.member-chip-name { font-weight: 800; letter-spacing: -0.01em; }
.member-chip-meta { font-size: 0.7rem; color: var(--mid); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.member--founder .member-chip-meta { font-family: var(--font); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.6rem; }
.member-chip-badges { position: absolute; top: -0.9rem; right: -0.6rem; font-size: 1.1rem; }

/* ─── FOOTER ─── */
footer.site-footer { background: var(--white); padding: 3rem 0; }
footer.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem 4rem;
}
.footer-logo { display: flex; align-items: center; gap: 1rem; text-decoration: none; }
.footer-logo img { width: 72px; height: 72px; }
.footer-wordmark { font-size: 1rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.footer-tagline { font-size: 0.95rem; font-weight: 300; font-style: italic; color: var(--tomato-d); }
.footer-fuso { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; font-size: 0.8rem; color: var(--mid); }
.footer-fuso img { height: 44px; width: auto; }
.footer-fuso:hover { color: var(--leaf); }
.footer-small { flex-basis: 100%; text-align: center; font-size: 0.75rem; font-weight: 300; color: var(--mid); }

/* ─── RESPONSIVE ─── */
@media (max-width: 1100px) {
  #navMenu li:not(.nav-cta) { display: none; }
}

@media (max-width: 900px) {
  :root { --gap: 1.5rem; }
  .grid { grid-template-columns: 1fr; }
  .grid > * { min-width: 0; }

  #hero { grid-template-columns: 1fr; padding-top: 3rem; padding-bottom: 3.5rem; }
  .hero-text, .hero-image { grid-column: 1; }
  .hero-image { grid-row: 1; justify-content: flex-start; }
  .plate-btn { max-width: 160px; }

  .section-label,
  .sec-head, .sec-aside, .sec-full,
  .about-intro { grid-column: 1 / -1; }
  .section-label { top: 0; width: 5.5rem; }
  .section-label::before { right: auto; left: 0; }
  .section-label::after { right: auto; left: 60px; }

  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 2px solid var(--black); }
  .principles { grid-template-columns: 1fr 1fr; }
  .articles { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; gap: 2rem; }
  .timeline::before { left: 11px; right: auto; top: 12px; bottom: 12px; width: 4px; height: auto;
    background: linear-gradient(180deg, var(--leaf), var(--banana), var(--orange), var(--tomato)); }
  .tl-step { padding: 0 0 0 3rem; }
  .meter { grid-template-columns: 1fr; }
  .meter-inputs { border-right: 0; border-bottom: 2px solid var(--black); }
  .founders { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .container { padding: 0 1.25rem; }
  #hero { padding-left: 1.25rem; padding-right: 1.25rem; }
  section { padding: 4rem 0; }
  .nav-parent, .nav-divider { display: none; }
  .nav-wordmark { font-size: 0.95rem; white-space: normal; }
  .hero-sub { font-size: 1.1rem; }
  .principles { grid-template-columns: 1fr; }
  .ally { grid-template-columns: auto 1fr; align-items: start; padding: 1.25rem; }
  .ally-go { grid-column: 2; }
  .policy-quote { padding: 3.75rem 1.5rem 1.5rem; }
  .founder { grid-template-columns: 1fr; text-align: left; }
  .founder img { width: 110px; height: 110px; }
  .pledge { padding: 1.5rem; }
  .member-card-body { grid-template-columns: 1fr; padding: 1.5rem; }
  .member-card-body img { grid-row: 1; width: 80px; height: 80px; }
  .faq details p { padding-right: 0; }
  .parent-bar-go { margin-left: 0; }
}

/* ─── PRINT: just the membership card ─── */
@media print {
  body.printing-card > *:not(main),
  body.printing-card main > *:not(#join) { display: none !important; }
  body.printing-card #join { background: #fff; padding: 0; }
  body.printing-card #join .grid > *:not(.pledge-wrap) { display: none; }
  body.printing-card .member-actions,
  body.printing-card .member-note { display: none; }
  body.printing-card .member-card { box-shadow: none; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
