/* get-involved.css
   Page-type stylesheet for /get-involved.html.
   Loads after /nav.css and /lhc-core.css. Tokens and base typography come from lhc-core.css.
*/

/* ===== HERO ===== */
.gi-hero{
  background:var(--indigo);color:var(--white);
  padding:5rem 2rem 4rem;text-align:center;
  position:relative;overflow:hidden;isolation:isolate;
}
.gi-hero::before{
  content:'';position:absolute;inset:0;
  background-image:url('/images/hero/get-involved.png');
  background-size:cover;background-position:center;
  mix-blend-mode:screen;opacity:.6;pointer-events:none;
}
.gi-hero::after{
  content:'';position:absolute;inset:0;
  background:linear-gradient(to bottom,rgba(44,45,114,.55) 0%,rgba(44,45,114,.8) 50%,rgba(44,45,114,.6) 100%);
  pointer-events:none;
}
.hero-inner{max-width:760px;margin:0 auto;position:relative;z-index:1}
.hero-badge{
  display:inline-block;font-family:'League Spartan',sans-serif;
  font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.12em;
  color:var(--periwinkle);border:1.5px solid rgba(199,199,236,.55);
  padding:.35rem 1rem;border-radius:100px;margin-bottom:1.5rem;
}
.gi-hero h1{
  font-weight:800;font-size:clamp(2.3rem,5vw,3.4rem);
  line-height:1.07;letter-spacing:-.02em;margin-bottom:1.25rem;
}
.gi-hero h1 span{color:var(--accent)}
.gi-hero p{font-size:1.18rem;line-height:1.6;color:rgba(255,255,255,.82);max-width:620px;margin:0 auto 2.25rem}
.hero-cta{display:flex;gap:.75rem;justify-content:center;flex-wrap:wrap}
.hero-cta a{
  font-family:'League Spartan',sans-serif;font-weight:700;font-size:.95rem;
  padding:.75rem 1.75rem;border-radius:8px;text-decoration:none;
  background:var(--accent);color:var(--indigo);
  display:inline-flex;align-items:center;gap:.5em;transition:background .25s;
}
.hero-cta a:hover{background:var(--white)}
.hero-cta a.ghost{background:transparent;color:var(--white);border:1.5px solid rgba(255,255,255,.6)}
.hero-cta a.ghost:hover{background:rgba(255,255,255,.14);border-color:var(--white)}

/* ===== SECTIONS ===== */
.gi-section{padding:4rem 2rem}
.gi-section.on-lav{background:var(--lav-soft)}
.gi-section.on-white{background:var(--white)}
.container{max-width:1080px;margin:0 auto}
.container.narrow{max-width:720px}
.section-label{
  font-family:'League Spartan',sans-serif;font-size:.75rem;font-weight:700;
  text-transform:uppercase;letter-spacing:.12em;color:var(--indigo-light);margin-bottom:.75rem;
}
.section-title{
  font-family:'League Spartan',sans-serif;font-weight:800;
  font-size:clamp(1.7rem,3.2vw,2.2rem);color:var(--indigo);
  line-height:1.15;letter-spacing:-.015em;margin-bottom:.85rem;
}
.section-subtitle{font-size:1.08rem;line-height:1.65;color:var(--text-light);max-width:720px}
.gi-section .container > p{font-size:1.05rem;line-height:1.7;margin-bottom:1rem;max-width:72ch}
.subhead{
  font-family:'League Spartan',sans-serif;font-weight:700;font-size:1rem;color:var(--indigo);
  text-transform:uppercase;letter-spacing:.06em;margin:2.5rem 0 .25rem;
}
.note-line{font-size:1rem;color:var(--text-light);margin-top:1rem}

/* ===== CARDS ===== */
.cards{margin-top:1.4rem;display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1.1rem}
.cards.three-up{grid-template-columns:repeat(3,1fr)}
.cards.roles{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}
.cards.areas{grid-template-columns:repeat(4,1fr)}
@media (max-width:900px){.cards.areas{grid-template-columns:repeat(2,1fr)}}
@media (max-width:560px){.cards.areas{grid-template-columns:1fr}}
.cards.roles .card{border-left-color:var(--accent)}
.cards.roles .card h4{font-size:1.2rem}
.cards.roles .card.is-apply{border-left-color:var(--indigo);background:var(--lav-soft)}
.card{
  background:var(--white);border:1px solid var(--border);border-left:4px solid var(--periwinkle);
  border-radius:12px;padding:1.4rem;display:flex;flex-direction:column;
  transition:transform .16s,box-shadow .16s,border-left-color .16s;
}
.card:hover{transform:translateY(-3px);box-shadow:var(--shadow-hover);border-left-color:var(--indigo)}
.card.is-static{cursor:default}
.card.is-static:hover{transform:none;box-shadow:none;border-left-color:var(--periwinkle)}
.card-head{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin-bottom:.85rem}
.area-icon{width:56px;height:56px;flex:none}
.glyph{
  width:56px;height:56px;border-radius:50%;background:var(--lav-soft);border:1px solid var(--border);
  display:flex;align-items:center;justify-content:center;flex:none;
}
.glyph svg{width:28px;height:28px;stroke:var(--indigo);fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.card h4{font-family:'League Spartan',sans-serif;font-weight:700;font-size:1.15rem;color:var(--indigo);margin-bottom:.5rem;line-height:1.18}
.card p{font-size:.95rem;line-height:1.55;color:var(--text-light);margin-bottom:1.1rem}
.card-actions{margin-top:auto;display:flex;flex-direction:column;gap:.5rem;align-items:flex-start}
.signal{
  display:inline-flex;align-items:center;gap:.4em;font-family:'League Spartan',sans-serif;
  font-weight:700;font-size:.85rem;text-decoration:none;color:var(--indigo);
  border-bottom:2px solid var(--accent);padding-bottom:2px;transition:border-color .15s,gap .15s;
}
.signal svg{width:16px;height:16px;flex:none}
.signal:hover{border-bottom-color:var(--indigo);gap:.6em}
.link-sub{
  font-family:'League Spartan',sans-serif;font-weight:600;font-size:.8rem;
  color:var(--indigo-light);text-decoration:none;border-bottom:1px solid var(--border);
}
.link-sub:hover{color:var(--indigo);border-bottom-color:var(--indigo-light)}
a:focus-visible{outline:3px solid var(--indigo);outline-offset:3px;border-radius:4px}

/* ===== WORKFLOW GROUP CARDS ===== */
.group-card{
  background:var(--white);border:1px solid var(--border);border-top:5px solid var(--accent);
  border-radius:14px;padding:1.6rem 1.5rem 1.4rem;display:flex;flex-direction:column;
}
.group-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(420px,1fr));gap:1.25rem;margin-top:1.5rem}
.group-head{display:flex;align-items:center;gap:.9rem;margin-bottom:.9rem}
.group-head img{width:52px;height:52px;flex:none}
.group-head h4{font-family:'League Spartan',sans-serif;font-weight:800;font-size:1.3rem;color:var(--indigo);line-height:1.1;margin:0}
.group-head .tag{margin-left:auto}
.group-goal{
  font-size:1rem;line-height:1.6;color:var(--text);
  border-left:3px solid var(--lav);padding-left:.9rem;margin-bottom:1rem;
}
.group-card > p{font-size:.95rem;line-height:1.6;color:var(--text-light);margin-bottom:1rem}
.group-list-label{
  font-family:'League Spartan',sans-serif;font-weight:700;font-size:.72rem;
  text-transform:uppercase;letter-spacing:.09em;color:var(--indigo-light);margin-bottom:.5rem;
}
.group-list{list-style:none;margin:0 0 1.2rem;padding:0;display:flex;flex-wrap:wrap;gap:.4rem}
.group-list li{
  font-family:'League Spartan',sans-serif;font-size:.78rem;font-weight:600;
  color:var(--text);background:var(--lav-soft);border:1px solid var(--border);
  border-radius:6px;padding:.3rem .6rem;line-height:1.3;
}
.group-list li.is-building{background:#fdf0e3;border-color:var(--accent)}
.group-card .card-actions{flex-direction:row;flex-wrap:wrap;align-items:center;gap:1rem}

/* ===== WHAT THE WORK LOOKS LIKE ===== */
.work-steps{list-style:none;margin:1.5rem 0 0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:1rem}
.work-steps li{background:var(--white);border:1px solid var(--border);border-radius:12px;padding:1.2rem}
.work-steps img{width:44px;height:44px;margin-bottom:.7rem;display:block}
.work-steps h4{font-family:'League Spartan',sans-serif;font-weight:700;font-size:1rem;color:var(--indigo);margin-bottom:.4rem;line-height:1.25}
.work-steps p{font-size:.9rem;line-height:1.55;color:var(--text-light);margin:0}

/* ===== WAYS TO CONTRIBUTE ===== */
.contrib{list-style:none;margin:1.5rem 0 0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:.9rem}
.contrib li{
  background:var(--white);border:1px solid var(--border);border-left:4px solid var(--periwinkle);
  border-radius:10px;padding:1rem 1.1rem;
}
.contrib b{
  display:block;font-family:'League Spartan',sans-serif;font-weight:700;
  font-size:.95rem;color:var(--indigo);margin-bottom:.3rem;
}
.contrib span{font-size:.92rem;line-height:1.55;color:var(--text-light)}

/* ===== CLOSING BAND ===== */
.recruit{background:var(--indigo);color:var(--white);padding:4rem 2rem}
.recruit .section-label{color:var(--periwinkle)}
.recruit h2{font-family:'League Spartan',sans-serif;font-weight:800;font-size:clamp(1.7rem,3.5vw,2.3rem);line-height:1.1;margin-bottom:1rem;max-width:20ch}
.recruit p{font-size:1.08rem;line-height:1.6;color:rgba(255,255,255,.82);max-width:56ch;margin-bottom:1.6rem}
.recruit-btn{
  font-family:'League Spartan',sans-serif;font-weight:700;font-size:.95rem;
  padding:.75rem 1.75rem;border-radius:8px;text-decoration:none;
  background:var(--accent);color:var(--indigo);display:inline-flex;align-items:center;gap:.5em;transition:background .2s;
}
.recruit-btn:hover{background:var(--white)}

/* ===== PHONE ===== */
@media (max-width:860px){
  .cards.three-up{grid-template-columns:1fr}
  .group-grid{grid-template-columns:1fr}
}
@media (max-width:640px){
  .gi-hero{padding:4rem 1.25rem 3rem}
  .gi-section,.recruit{padding:3.25rem 1.25rem}
  .group-card{padding:1.3rem 1.1rem}
  .group-head img{width:44px;height:44px}
  .group-head{flex-wrap:wrap}
  .group-head .tag{margin-left:0}
}

/* ---- the way into the scenario vote ---- */
.gi-vote{background:var(--indigo);color:var(--white);padding:4rem 2rem}
.gi-vote .section-label{color:var(--periwinkle)}
.gi-vote .section-title{color:var(--white)}
.gi-vote p{color:var(--periwinkle);font-size:1.05rem;line-height:1.7;margin-bottom:1rem;max-width:72ch}
.gi-vote-btn{display:inline-block;font-family:"League Spartan",sans-serif;font-weight:700;
  font-size:.98rem;background:var(--accent);color:var(--indigo);text-decoration:none;
  border-radius:10px;padding:.8rem 1.4rem;margin-top:.6rem}
.gi-vote-btn:hover{background:var(--peach)}

/* ---- the sign up form at the foot of the page ---- */
.gi-form{display:grid;gap:1.2rem;margin-top:1.5rem}
.gi-two{display:grid;grid-template-columns:1fr 1fr;gap:1.2rem}
.gi-field{display:grid;gap:.4rem}
.gi-field label{font-family:'League Spartan',sans-serif;font-weight:700;font-size:.95rem;color:var(--indigo)}
.gi-field input,.gi-field select,.gi-field textarea{
  width:100%;font-family:inherit;font-size:1rem;color:var(--text);background:var(--white);
  border:1.5px solid var(--border);border-radius:10px;padding:.7rem .85rem;line-height:1.5;
}
.gi-field textarea{resize:vertical}
.gi-field input:focus,.gi-field select:focus,.gi-field textarea:focus{
  outline:3px solid var(--periwinkle);outline-offset:1px;border-color:var(--indigo);
}
.gi-send{
  font-family:'League Spartan',sans-serif;font-weight:700;font-size:1rem;background:var(--accent);
  color:var(--indigo);border:none;border-radius:10px;padding:.8rem 1.6rem;min-height:48px;justify-self:start;
}
.gi-send:hover{background:var(--peach-bright)}
.gi-send[disabled]{opacity:.6}
.gi-status{font-size:1rem;line-height:1.6;color:var(--indigo);font-weight:600;min-height:1.4rem}
.gi-status.err{color:#9b2c2c}
@media (max-width:640px){.gi-two{grid-template-columns:1fr}}
.gi-legend{font-family:'League Spartan',sans-serif;font-weight:700;font-size:.95rem;color:var(--indigo)}
.gi-field .hint{font-size:.9rem;line-height:1.5;color:var(--text-muted)}
.gi-picks{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:.5rem;margin-top:.3rem}
.gi-pick{
  display:flex;align-items:flex-start;gap:.55rem;background:var(--white);border:1.5px solid var(--border);
  border-radius:10px;padding:.6rem .75rem;font-size:.95rem;line-height:1.4;color:var(--text);
}
.gi-pick:hover{border-color:var(--periwinkle)}
.gi-pick input{width:1.05rem;height:1.05rem;margin:.15rem 0 0;accent-color:var(--indigo);flex:none}
.gi-pick:has(input:checked){border-color:var(--indigo);background:var(--lav-soft)}
.gi-pick input:focus-visible{outline:3px solid var(--periwinkle);outline-offset:2px}
.card-icon{width:52px;height:52px;display:block;margin-bottom:.75rem}
