/* Volunteer projects and the matching homepage section. */
.volunteer-masthead,
.volunteer-invite {
  --ink: #f5f2e6;
  --muted: #bed0d3;
  --rust: #afd7db;
  --line: #39525c;
  color: var(--ink);
  background: #152631;
}

.volunteer-masthead .site-header { height: 94px; }
.volunteer-masthead nav [aria-current="page"] { color: #e6c98c; }
.volunteer-masthead .button.outline { color: var(--ink); border-color: #627b84; }
.volunteer-masthead .button.outline:hover { background: #29434d; }
.volunteer-hero .button,
.volunteer-invite .button { background: #a8d1d5; border-color: #a8d1d5; color: #152631; }
.volunteer-hero .button:hover,
.volunteer-invite .button:hover { background: #cae6e7; }

.volunteer-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(245px, 1fr);
  align-items: center;
  gap: clamp(20px, 5vw, 70px);
  padding-block: 50px;
}
.volunteer-hero h1 {
  font-size: clamp(47px, 5.3vw, 76px);
  letter-spacing: -.055em;
  text-wrap: balance;
}
.volunteer-page .eyebrow,
.volunteer-home .eyebrow { margin-bottom: 14px; }
.volunteer-page .eyebrow span,
.volunteer-home .eyebrow span { margin-right: 7px; color: #9a6d2c; }
.volunteer-masthead .eyebrow span,
.volunteer-invite .eyebrow span { color: #e6c98c; }
.volunteer-deck {
  max-width: 52ch;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.7;
}
.volunteer-actions,
.project-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 22px;
}
.volunteer-link {
  width: fit-content;
  color: var(--rust);
  text-decoration: underline;
  text-underline-offset: .3em;
  font-size: 14px;
  font-weight: bold;
}
.volunteer-link:hover,
.project-reference:hover { text-decoration-thickness: 2px; }

.volunteer-glass {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-width: 0;
  padding: 0 24px;
  background: radial-gradient(ellipse, #d7ad6235, transparent 67%);
}
.volunteer-glass::before,
.volunteer-glass::after {
  position: absolute;
  z-index: -1;
  content: "";
  width: 92%;
  aspect-ratio: 1;
  border: 1px solid #c6a26330;
  border-radius: 50%;
}
.volunteer-glass::after { width: 77%; }
.volunteer-glass img {
  display: block;
  width: min(100%, 290px);
  height: auto;
  filter: drop-shadow(0 18px 26px #09172080);
}
.glass-star { position: absolute; color: #e6c98c; line-height: 1; }
.glass-star-large { top: 12%; right: 10%; font-size: 34px; }
.glass-star-small { bottom: 14%; left: 10%; font-size: 18px; }

.volunteer-band {
  border-block: 1px solid var(--line);
  background: #1b303a;
}
.volunteer-band .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 46px;
  padding-block: 8px;
  color: var(--muted);
  font-size: 10px;
  font-weight: bold;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.volunteer-band i { padding-inline: 5px; color: #e6c98c; font-style: normal; }

.volunteer-projects { padding-block: clamp(48px, 6vw, 86px); }
.projects-intro {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 28px;
}
.projects-intro h2 { margin: 0; }
.projects-intro > p { max-width: 34ch; margin: 0; color: var(--muted); }

.project-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr);
  align-items: center;
  gap: clamp(24px, 5vw, 65px);
  padding: clamp(24px, 4.1vw, 52px);
  border: 1px solid #ccbe9c;
  border-top: 3px solid #b48b44;
  border-radius: 8px;
  background: linear-gradient(115deg, #fbf4e5, #e8eee7);
}
.project-feature h3 {
  font-size: clamp(35px, 4.5vw, 55px);
  letter-spacing: -.05em;
  line-height: 1.03;
  margin: 16px 0;
}
.project-feature p,
.project-card p { max-width: 62ch; margin-bottom: 15px; }
.project-feature .project-help { margin-bottom: 23px; }
.project-help strong {
  display: block;
  color: var(--ink);
  font-size: 13px;
}

.project-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; }
.project-number {
  color: var(--rust);
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 1px;
}
.project-badge {
  border: 1px solid #b9cacc;
  border-radius: 99px;
  padding: 2px 9px;
  color: #345d6b;
  font-size: 10px;
  font-weight: bold;
  letter-spacing: .75px;
  text-transform: uppercase;
}
.project-feature .project-badge { color: #62491e; border-color: #d4bd89; background: #f1dfb7; }

.builder-workflow {
  padding: clamp(18px, 3vw, 32px);
  border: 1px solid #385663;
  border-radius: 7px;
  background:
    radial-gradient(ellipse at 100% 0%, #3b6470, transparent 67%),
    #172b36;
  color: #f4f0e4;
  box-shadow: 0 16px 34px #263a3d26;
}
.builder-workflow .workflow-label {
  margin-bottom: 15px;
  color: #e6c98c;
  font-size: 10px;
  font-weight: bold;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}
.workflow-label span { margin-right: 5px; }
.workflow-steps {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.workflow-step {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid #53707b;
  border-radius: 4px;
  background: #243d49;
}
.workflow-step > span {
  display: grid;
  place-items: center;
  flex: 0 0 31px;
  height: 31px;
  border: 1px solid #627f88;
  border-radius: 50%;
  color: #e6c98c;
  font-size: 10px;
  font-weight: bold;
}
.workflow-step strong,
.workflow-step small { display: block; }
.workflow-step small { color: #bed0d3; font-size: 12px; }

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}
.project-card {
  display: flex;
  flex-direction: column;
  align-items: start;
  padding: clamp(22px, 3.2vw, 39px);
  border: 1px solid #d7ccba;
  border-radius: 7px;
  background: #fbf7ee;
}
.project-card-bible { border-top: 2px solid #a4844a; }
.project-card-tools { border-top: 2px solid #668e95; }
.project-card h3 {
  font-size: clamp(29px, 3vw, 42px);
  letter-spacing: -.04em;
  line-height: 1.1;
  margin: 13px 0 10px;
}
.project-icon {
  width: 42px;
  height: 42px;
  padding: 7px;
  margin-top: 16px;
  border: 1px solid #ced9d5;
  border-radius: 50%;
  background: #e7eeea;
  color: #356b7d;
}
.project-card-bible .project-icon { background: #f4e8cf; border-color: #e5d5b5; color: #7c5d2d; }
.project-card .project-links { margin-top: auto; padding-top: 5px; }
.project-reference {
  color: #52656c;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: .3em;
}
.project-card-broadcast {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 10px clamp(22px, 5vw, 65px);
  border-color: #c2d4d0;
  background: #e7eeea;
}

.volunteer-invite .wrap {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 20px clamp(24px, 6vw, 76px);
  align-items: center;
  padding-block: clamp(38px, 5vw, 62px);
}
.volunteer-invite h2 { margin: 0; }
.volunteer-invite p:not(.eyebrow) { max-width: 47ch; color: var(--muted); }

.volunteer-home { padding-block: 0 clamp(36px, 6vw, 76px); }
.volunteer-home-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(25px, 6vw, 76px);
  align-items: center;
  padding: clamp(25px, 4.5vw, 58px);
  border: 1px solid #c4d0c8;
  border-radius: 7px;
  background: #e5ece5;
}
.volunteer-home h2 { margin-bottom: 16px; }
.volunteer-home-panel p:not(.eyebrow) { max-width: 49ch; margin-bottom: 20px; }
.volunteer-roles { list-style: none; margin: 0; padding: 0; }
.volunteer-roles li {
  display: flex;
  gap: 15px;
  padding-block: 15px;
  border-top: 1px solid #bacbc5;
}
.volunteer-roles li:last-child { border-bottom: 1px solid #bacbc5; }
.volunteer-roles li > span { color: var(--rust); font-size: 12px; font-weight: bold; }
.volunteer-roles strong { display: block; margin-bottom: 2px; }
.volunteer-home .volunteer-roles p { margin-bottom: 0; color: var(--muted); font-size: 14px; }
[data-theme="dark"] .volunteer-home-panel { border-color: #48616b; background: #203741; }
[data-theme="dark"] .volunteer-home .eyebrow span { color: #e6c98c; }
[data-theme="dark"] .volunteer-roles li { border-color: #48616b; }

@media (max-width: 820px) {
  .volunteer-hero { grid-template-columns: minmax(0, 1.25fr) minmax(190px, .75fr); }
}
@media (max-width: 650px) {
  .volunteer-masthead .site-header { height: 80px; }
  .volunteer-hero,
  .project-feature,
  .project-grid,
  .project-card-broadcast,
  .volunteer-invite .wrap,
  .volunteer-home-panel { grid-template-columns: 1fr; }
  .volunteer-hero { padding-block: 34px 24px; gap: 24px; }
  .volunteer-hero h1 { font-size: clamp(37px, 8.7vw, 53px); text-wrap: initial; }
  .volunteer-glass { width: min(100%, 285px); justify-self: center; }
  .volunteer-glass img { width: 160px; }
  .projects-intro { display: block; }
  .projects-intro > p { margin-top: 12px; }
  .project-card-broadcast > div:first-child p { margin-bottom: 0; }
  .volunteer-page footer { gap: 14px; }
}
@media (max-width: 370px) {
  .volunteer-masthead .site-header .button { padding-inline: 9px; gap: 8px; }
  .volunteer-band .wrap { letter-spacing: .6px; }
}
@media (prefers-reduced-motion: reduce) {
  .volunteer-page .button,
  .volunteer-home .button { transition: none; }
}
