/* ============================================================
   Time for Handover — "Circle the U" website
   Direction 02. Warm co-op union. Teal + gold + coral on cream.
   ============================================================ */

:root {
  /* Rose + marigold scheme, drawn straight from the logo.
     Variable names kept (teal/coral) so markup needn't change;
     only the values move to the new palette. */
  --teal:        #b24c66;  /* brand rose: header, hero, dark sections */
  --teal-deep:   #8f3a52;  /* deeper rose */
  --teal-ink:    #5e2638;  /* plum-rose: footer, inputs */
  --cream:       #fbf3e7;  /* warm cream paper + light text on rose */
  --cream-warm:  #f6ecdb;
  --gold:        #edb433;  /* marigold accent (logo ink) */
  --gold-deep:   #d99a1f;
  --coral:       #ef8a64;  /* warm pop / secondary accent */
  --coral-deep:  #db6f49;
  --paper:       #ffffff;

  --text-on-teal: #fbf3e7;
  --text-muted-teal: #f0cdd6;  /* muted light rose for text on rose */
  --text-ink:     #4a1b2a;     /* plum text on light */
  --text-muted:   #9a6f78;

  --maxw: 1180px;
  --radius-s: 10px;
  --radius:   18px;
  --radius-l: 28px;
  --radius-pill: 999px;

  --shadow:   0 14px 34px rgba(74, 27, 42, 0.16);
  --shadow-sm:0 6px 16px rgba(74, 27, 42, 0.12);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font-head: 'Fredoka', system-ui, sans-serif;
  --font-body: 'Nunito Sans', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.05; margin: 0; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(22px, 5vw, 64px); }

.kicker {
  font-family: var(--font-body); font-weight: 900;
  font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--coral);
  display: inline-flex; align-items: center; gap: 8px;
}
.kicker.on-teal { color: var(--gold); }

/* ---------- The U ring (logo + motif) ---------- */
.uring {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; border: 0.13em solid var(--coral); color: var(--coral);
  width: 1.12em; height: 1.12em; line-height: 1; font-weight: 700;
}
/* logo image used in the corner + footer */
.logo-img { height: 52px; width: auto; display: block; }
.footer-brand .logo-img { height: 78px; }

.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--cream); line-height: 1; }
.logo-mark {
  width: 46px; height: 46px; flex-shrink: 0; border-radius: 50%;
  background: var(--gold); color: var(--teal); border: 3px solid var(--coral);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; font-size: 25px;
}
.logo-text { font-family: var(--font-head); font-weight: 700; font-size: 1.18rem; line-height: 1.04; color: var(--cream); }
.logo-text small {
  display: block; font-family: var(--font-body); font-weight: 800;
  font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-muted-teal); margin-top: 4px;
}
.footer-brand .logo-mark { width: 54px; height: 54px; font-size: 30px; }
.footer-brand .logo-text { font-size: 1.35rem; }

/* content-outline placeholders (for sections still to be written) */
.note {
  display: inline-block; font-family: var(--font-body); font-weight: 800;
  font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--coral); background: rgba(255,122,102,0.14);
  padding: 5px 11px; border-radius: var(--radius-pill); margin-bottom: 14px;
}
.section--teal .note, .section--deep .note, .section--gold .note { color: var(--teal); background: rgba(15,79,79,0.12); }
.ph { color: var(--text-muted); font-style: italic; }
.section--teal .ph, .section--deep .ph { color: var(--text-muted-teal); }
.outline-box { border: 2px dashed rgba(12,50,50,0.28); border-radius: var(--radius); padding: 26px; }
.section--teal .outline-box, .section--deep .outline-box { border-color: rgba(234,250,246,0.3); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-body); font-weight: 900; font-size: 16px;
  padding: 13px 26px; border-radius: var(--radius-pill); border: none;
  cursor: pointer; text-decoration: none; transition: transform .15s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-coral { background: var(--coral); color: #3a0f0a; box-shadow: var(--shadow-sm); }
.btn-coral:hover { background: var(--coral-deep); }
.btn-gold { background: var(--gold); color: var(--teal); box-shadow: var(--shadow-sm); }
.btn-gold:hover { background: var(--gold-deep); }
.btn-ghost { background: transparent; color: var(--cream); border: 2px solid rgba(234,250,246,0.35); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-ink { background: var(--teal); color: var(--cream); }
.btn-ink:hover { background: var(--teal-deep); }
.btn-lg { padding: 16px 32px; font-size: 18px; }
.btn-sm { padding: 9px 18px; font-size: 14px; }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--teal { background: var(--teal); color: var(--text-on-teal); }
.section--deep { background: var(--teal-deep); color: var(--text-on-teal); }
.section--cream { background: var(--cream); color: var(--text-ink); }
.section--warm { background: var(--cream-warm); color: var(--text-ink); }
.section--gold { background: var(--gold); color: var(--teal); }
.section-head { max-width: 660px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { font-size: 1.15rem; color: inherit; opacity: 0.85; margin-top: 14px; }
.section--teal .section-head p, .section--deep .section-head p { color: var(--text-muted-teal); opacity: 1; }

.lead { font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.55; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: var(--teal); color: var(--cream);
  border-bottom: 1px solid rgba(234,250,246,0.12);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; text-decoration: none; color: var(--cream);
  font-weight: 700; font-size: 15px; padding: 9px 14px; border-radius: var(--radius-pill);
  transition: background .15s var(--ease), color .15s var(--ease); opacity: 0.85;
}
.nav-links > li > a {
  font-family: var(--font-head); font-weight: 600; font-size: 1.45rem;
  text-transform: uppercase; letter-spacing: 0.01em; padding: 8px 16px;
}
.nav-links a:hover { background: rgba(234,250,246,0.10); opacity: 1; }
.nav-links a.active { color: var(--gold); opacity: 1; }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle, .nav-toggle-label { display: none; }

@media (max-width: 940px) {
  .nav-cta .btn-text { display: none; }
}
@media (max-width: 860px) {
  .nav-toggle-label {
    display: inline-flex; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px;
  }
  .nav-toggle-label span { width: 26px; height: 3px; background: var(--cream); border-radius: 3px; transition: .2s var(--ease); }
  .nav-links {
    position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--teal-deep); padding: 12px;
    max-height: 0; overflow: hidden; transition: max-height .3s var(--ease), padding .3s var(--ease);
    border-bottom: 1px solid rgba(234,250,246,0.12);
  }
  .nav-links a { padding: 14px 16px; border-radius: var(--radius-s); }
  .nav-toggle:checked ~ .nav-links { max-height: 460px; padding: 12px; }
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* ---------- Hero ---------- */
.hero { background: var(--teal); color: var(--cream); overflow: hidden; position: relative; }
.hero-deco { position: absolute; inset: 0; pointer-events: none; opacity: 0.5; }
.hero-deco .ring {
  position: absolute; border-radius: 50%; border: 2px solid rgba(255,209,102,0.25);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; padding: clamp(56px,8vw,104px) clamp(22px,5vw,64px); }
.hero h1 .u { color: var(--gold); }
.hero h1 .ring-u {
  display: inline-flex; align-items: center; justify-content: center;
  width: 0.9em; height: 0.9em; border: 0.1em solid var(--coral); color: var(--coral); border-radius: 50%;
}
.hero p { font-size: 1.25rem; color: var(--text-muted-teal); max-width: 48ch; margin: 22px 0 32px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-art {
  background: var(--gold); border-radius: var(--radius-l); padding: 40px; color: var(--teal);
  display: flex; flex-direction: column; gap: 18px; box-shadow: var(--shadow); position: relative;
}
.hero-art .big-u {
  font-family: var(--font-head); font-weight: 700; font-size: clamp(7rem, 16vw, 13rem); line-height: 0.8;
  color: var(--teal); display: flex; align-items: center; justify-content: center;
}
.hero-art .big-u .ring-u { display:inline-flex; align-items:center; justify-content:center; width: .92em; height:.92em; border: .085em solid var(--coral); border-radius:50%; }

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--paper); color: var(--text-ink);
  border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.card.hover:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--text-muted); }
.card .icon-ring {
  width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; font-size: 22px; margin-bottom: 16px;
  background: var(--cream); color: var(--teal); border: 2px solid var(--coral);
}

/* value/belief card on teal */
.card--teal { background: var(--teal-deep); color: var(--cream); }
.card--teal p { color: var(--text-muted-teal); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center; }
@media (max-width: 560px) { .stats { grid-template-columns: 1fr; } }
.stat .num { font-family: var(--font-head); font-weight: 700; font-size: clamp(2.6rem, 6vw, 4rem); line-height: 1; color: var(--gold); }
.stat .lbl { font-weight: 800; font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-muted-teal); margin-top: 8px; }

/* ---------- Avatar ---------- */
.avatar {
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; color: var(--teal);
  background: var(--gold); aspect-ratio: 1/1; width: 100%;
}
.avatar.coral { background: var(--coral); color: #3a0f0a; }
.avatar.cream { background: var(--cream); color: var(--teal); }

/* ---------- Person / candidate card ---------- */
.person { text-align: center; }
.person .avatar { max-width: 150px; margin: 0 auto 16px; font-size: 44px; }
.person .name { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; }
.person .role { font-weight: 800; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--coral); margin-top: 4px; }
.person .blurb { color: var(--text-muted); margin-top: 10px; font-size: 15px; }

.candidate {
  background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.candidate:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.candidate .photo { aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 700; font-size: 64px; }
.candidate .body { padding: 22px; }
.candidate .role { display: inline-block; font-weight: 900; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal); background: var(--gold); padding: 5px 11px; border-radius: var(--radius-pill); margin-bottom: 10px; }
.candidate .quote { color: var(--text-muted); font-style: italic; margin-top: 8px; }

/* ---------- Pills / tags ---------- */
.pill { display: inline-block; font-weight: 800; font-size: 13px; padding: 6px 14px; border-radius: var(--radius-pill); background: var(--cream); color: var(--teal); }
.pill.coral { background: var(--coral); color: #3a0f0a; }
.pill.gold { background: var(--gold); color: var(--teal); }

/* ---------- Policy accordion (details) ---------- */
.policy { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow-sm); margin-bottom: 14px; overflow: hidden; }
.policy summary {
  list-style: none; cursor: pointer; padding: 22px 26px; display: flex; align-items: center; gap: 16px;
  font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; color: var(--teal);
}
.policy summary::-webkit-details-marker { display: none; }
.policy summary .num { width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; background: var(--cream); color: var(--teal); border: 2px solid var(--coral); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.policy summary .plus { margin-left: auto; font-size: 1.6rem; color: var(--coral); transition: transform .2s var(--ease); }
.policy[open] summary .plus { transform: rotate(45deg); }
.policy .policy-body { padding: 0 26px 24px 82px; color: var(--text-muted); }
@media (max-width: 560px){ .policy .policy-body { padding: 0 22px 22px 22px; } }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field label { font-weight: 800; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; }
.field input, .field textarea, .field select {
  font-family: var(--font-body); font-size: 16px; padding: 13px 16px;
  border-radius: var(--radius-s); border: 2px solid rgba(12,50,50,0.16); background: var(--paper); color: var(--text-ink);
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--coral); box-shadow: 0 0 0 4px rgba(255,122,102,0.18);
}
.on-teal .field input, .on-teal .field textarea, .on-teal .field select { background: var(--teal-ink); border-color: rgba(234,250,246,0.2); color: var(--cream); }

/* donation amount toggles */
.amounts { display: flex; flex-wrap: wrap; gap: 12px; }
.amounts label {
  flex: 1; min-width: 92px; text-align: center; padding: 16px; border-radius: var(--radius-s);
  border: 2px solid rgba(234,250,246,0.25); cursor: pointer; font-family: var(--font-head); font-weight: 600; font-size: 1.3rem;
  transition: .15s var(--ease);
}
.amounts input { position: absolute; opacity: 0; }
.amounts input:checked + label { background: var(--gold); color: var(--teal); border-color: var(--gold); }

/* ---------- Footer ---------- */
.site-footer { background: var(--teal-ink); color: var(--text-muted-teal); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 760px){ .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 460px){ .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { font-family: var(--font-body); font-weight: 900; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 9px; }
.footer-grid a { text-decoration: none; color: var(--text-muted-teal); transition: color .15s var(--ease); }
.footer-grid a:hover { color: var(--cream); }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(234,250,246,0.12); display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; font-size: 13px; }
.footer-brand .brand { font-size: 1.7rem; }
.footer-brand p { margin-top: 14px; max-width: 32ch; font-family: var(--font-head); font-weight: 500; color: var(--cream); }

/* ---------- CTA strip ---------- */
.cta-strip { background: var(--coral); color: #3a0f0a; border-radius: var(--radius-l); padding: clamp(36px,5vw,60px); text-align: center; }
.cta-strip h2 { color: #3a0f0a; }
.cta-strip p { max-width: 52ch; margin: 14px auto 26px; font-weight: 600; font-size: 1.15rem; }

/* ---------- Misc ---------- */
.eyebrow-rule { display: flex; align-items: center; gap: 14px; }
.eyebrow-rule::after { content: ""; height: 2px; flex: 1; background: currentColor; opacity: 0.25; }
.text-center { text-align: center; }
.mt-s { margin-top: 14px; } .mt-m { margin-top: 28px; } .mt-l { margin-top: 48px; }
.maxw-prose { max-width: 70ch; }
.tag-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Dropdown nav + social ---------- */
.has-sub { position: relative; }
.subnav {
  position: absolute; top: 100%; left: 0; min-width: 210px; list-style: none;
  margin: 10px 0 0; padding: 8px; background: var(--teal-deep); border-radius: 14px;
  box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s; z-index: 70;
}
.has-sub:hover > .subnav, .has-sub:focus-within > .subnav { opacity: 1; visibility: visible; transform: translateY(0); }
.subnav li a { display: block; padding: 11px 14px; border-radius: 9px; color: var(--cream); text-decoration: none; font-weight: 700; font-size: 15px; white-space: nowrap; opacity: .9; }
.subnav li a:hover { background: rgba(255,255,255,.12); opacity: 1; }
.subnav-right { left: auto; right: 0; }
.nav-links .has-sub > a::after { content: " \25BE"; font-size: .8em; opacity: .7; }
.social { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; color: var(--cream); text-decoration: none; transition: background .15s var(--ease), color .15s var(--ease); }
.social:hover { background: rgba(255,255,255,.14); color: var(--gold); }
.social svg { width: 20px; height: 20px; }
.nav-cta .btn[role=button] { cursor: pointer; }
@media (max-width: 860px) {
  .nav-links .subnav { position: static; opacity: 1; visibility: visible; transform: none; background: transparent; box-shadow: none; margin: 0; padding: 4px 0 6px 14px; }
  .nav-links .has-sub > a::after { display: none; }
}

/* ---------- Footer: acknowledgement + adjunct links ---------- */
.site-footer h4 { font-family: var(--font-body); font-weight: 900; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.footer-ack { max-width: 80ch; margin-bottom: 44px; }
.footer-ack p { color: var(--cream); font-size: 1.05rem; line-height: 1.7; margin: 0; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-links ul { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 9px; }
.footer-links a { text-decoration: none; color: var(--text-muted-teal); transition: color .15s var(--ease); }
.footer-links a:hover { color: var(--cream); }
@media (max-width: 620px) { .footer-links { grid-template-columns: 1fr 1fr; gap: 24px; } }

/* ---------- Candidate flyer ---------- */
.flyer {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 0;
  background: var(--paper); border-radius: var(--radius-l); overflow: hidden;
  box-shadow: var(--shadow); border: 3px solid var(--teal);
}
.flyer-photo { position: relative; min-height: 460px; background: var(--coral); }
.flyer-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.flyer-vote {
  position: absolute; top: 20px; left: 20px; z-index: 2;
  background: var(--gold); color: var(--teal); font-family: var(--font-head); font-weight: 700;
  font-size: 1.15rem; padding: 10px 18px; border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm); transform: rotate(-4deg);
}
.flyer-body { padding: clamp(28px,4vw,48px); }
.flyer-body .name { font-family: var(--font-head); font-weight: 700; font-size: clamp(2rem,4vw,3rem); line-height: 1.02; margin: 10px 0 6px; }
.flyer-body .lead { color: var(--text-ink); font-weight: 700; font-size: 1.2rem; }
.flyer-body p { color: var(--text-muted); }
.facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.facts .pill { background: var(--cream); color: var(--teal); border: 2px solid var(--coral); }
.facts-head { font-family: var(--font-body); font-weight: 900; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--coral); margin-top: 26px; }
@media (max-width: 820px) {
  .flyer { grid-template-columns: 1fr; }
  .flyer-photo { min-height: 380px; aspect-ratio: 4/3; }
}

/* reveal-on-scroll friendly default (no JS required, but coding agent can add) */
