/* ==========================================================================
   Prime Timers of the Desert
   Palette: shaded pool water, desert marigold, apricot paper.
   Type:    Archivo (wide, signage) for display + Source Serif 4 for reading.
   The calendar leaf is the signature. Everything else stays quiet.
   ========================================================================== */

:root {
  --ink:        #171E1C;
  --ink-soft:   #4C5652;
  --ink-faint:  #7C8681;

  --paper:      #FCF2E9;
  --paper-2:    #F6E5D5;
  --paper-3:    #EFD9C4;

  --pool:       #1F5E58;
  --pool-deep:  #123A36;
  --pool-tint:  #E3EDEA;

  --marigold:   #E0913A;
  --rose:       #BE5F63;

  --line:       rgba(23, 30, 28, 0.16);
  --line-soft:  rgba(23, 30, 28, 0.08);

  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body:    "Source Serif 4", Georgia, "Times New Roman", serif;
  --util:    "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;

  --wrap: 1080px;
  --radius: 3px;
}

/* ------------------------------------------------------------- reset */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 19px;
  line-height: 1.65;
  font-optical-sizing: auto;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--pool); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--rose); }

:focus-visible {
  outline: 3px solid var(--marigold);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }

.skip {
  position: absolute; left: -9999px;
  background: var(--pool); color: #fff;
  padding: .75rem 1.25rem; z-index: 100;
  font-family: var(--util);
}
.skip:focus { left: 1rem; top: 1rem; }

/* --------------------------------------------------------- typography */

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  font-stretch: 115%;
  line-height: 1.06;
  letter-spacing: -0.015em;
  margin: 0 0 .5em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.6rem, 7vw, 4.6rem); text-transform: uppercase; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.3rem; font-stretch: 108%; letter-spacing: 0; }

p { margin: 0 0 1.1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-family: var(--util);
  font-size: .78rem;
  font-weight: 600;
  font-stretch: 112%;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--pool);
  margin: 0 0 1rem;
}
.eyebrow--pale { color: var(--marigold); }

.lede {
  font-size: 1.22rem;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 34em;
}

.prose h3 { margin-top: 1.8em; }
.prose ul { padding-left: 1.15em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--marigold); }

/* -------------------------------------------------------------- header */

.masthead {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  position: sticky; top: 0; z-index: 40;
}

.masthead__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.wordmark {
  font-family: var(--display);
  font-weight: 700;
  font-stretch: 120%;
  font-size: 1.02rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.15;
}
.wordmark span { display: block; color: var(--pool); }
.wordmark:hover { color: var(--ink); }

.nav { display: flex; flex-wrap: wrap; gap: .35rem; }

.nav a {
  font-family: var(--util);
  font-size: .93rem;
  font-weight: 500;
  letter-spacing: .01em;
  color: var(--ink-soft);
  text-decoration: none;
  padding: .55rem .8rem;
  border-radius: var(--radius);
}
.nav a:hover { background: var(--paper-2); color: var(--ink); }
.nav a[aria-current="page"] {
  color: var(--pool);
  font-weight: 650;
  box-shadow: inset 0 -3px 0 var(--marigold);
}

/* ---------------------------------------------------------------- hero */

.hero { padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(2rem, 5vw, 3.25rem); }

.hero h1 { margin-bottom: .35em; }
.hero h1 em {
  font-style: normal;
  color: var(--pool);
  display: block;
}

.hero__meta {
  font-family: var(--util);
  font-size: .95rem;
  color: var(--ink-faint);
  margin-top: 1.75rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem;
}

.page-head { padding: clamp(2.5rem, 6vw, 4rem) 0 1.5rem; }

/* ------------------------------------------------- SIGNATURE: calendar */

.agenda { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }

.agenda__item {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 1.6rem;
  padding: 1.9rem 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

/* the calendar leaf */
.leaf {
  background: var(--pool);
  color: var(--paper);
  text-align: center;
  padding: .55rem .3rem .7rem;
  border-radius: var(--radius);
  font-family: var(--util);
  box-shadow: 3px 3px 0 var(--pool-deep);
  transition: transform .18s ease, box-shadow .18s ease;
}
.leaf__dow {
  font-size: .68rem; font-weight: 700;
  letter-spacing: .16em; opacity: .8;
}
.leaf__num {
  font-family: var(--display);
  font-size: 2.5rem; font-weight: 700; font-stretch: 118%;
  line-height: 1; color: var(--marigold);
  margin: .1rem 0 .05rem;
}
.leaf__mon {
  font-size: .7rem; font-weight: 600;
  letter-spacing: .16em; opacity: .85;
}

.agenda__item:hover .leaf,
.agenda__item:focus-within .leaf {
  transform: translate(-2px, -2px) rotate(-1.2deg);
  box-shadow: 5px 5px 0 var(--pool-deep);
}

.agenda__title {
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  font-weight: 700; font-stretch: 110%;
  line-height: 1.12; letter-spacing: -0.012em;
  margin: 0 0 .4rem;
}

.agenda__when {
  font-family: var(--util);
  font-size: .95rem;
  color: var(--pool);
  font-weight: 600;
  margin: 0 0 .6rem;
  display: flex; flex-wrap: wrap; gap: .3rem .85rem;
}
.agenda__when .sep { color: var(--ink-faint); font-weight: 400; }

.agenda__body { color: var(--ink-soft); font-size: 1.02rem; }
.agenda__body p:last-child { margin-bottom: 0; }

.agenda__contact {
  font-family: var(--util);
  font-size: .9rem;
  color: var(--ink-faint);
  margin-top: .9rem;
}

.agenda__photo {
  margin-top: 1.1rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  max-height: 340px;
  object-fit: cover;
  width: 100%;
}

.agenda__item--featured .leaf { background: var(--rose); box-shadow: 3px 3px 0 #8E4145; }
.agenda__item--featured .leaf__num { color: var(--paper); }

.tag {
  display: inline-block;
  font-family: var(--util);
  font-size: .7rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--rose);
  border: 1px solid currentColor;
  border-radius: 99px;
  padding: .12rem .6rem;
  vertical-align: .18em;
  margin-left: .5rem;
}

/* empty state */
.empty {
  border: 2px dashed var(--line);
  border-radius: var(--radius);
  padding: 2.5rem;
  text-align: center;
  color: var(--ink-soft);
}
.empty h3 { color: var(--ink); }

/* -------------------------------------------------------------- panels */

.band { padding: clamp(3rem, 7vw, 4.75rem) 0; }
.band--tint { background: var(--paper-2); }
.band--pool { background: var(--pool); color: var(--pool-tint); }
.band--pool h2, .band--pool h3 { color: var(--paper); }
.band--pool a { color: var(--marigold); }
.band--pool .lede { color: rgba(252, 242, 233, .82); }

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem 2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.section-head h2 { margin-bottom: 0; }

.cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.25rem 2.75rem;
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.band--tint .card { background: var(--paper); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  gap: 2rem 3.5rem;
  align-items: start;
}

/* ------------------------------------------------------------ officers */

.roster {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 2.25rem;
}

.officer__photo {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: var(--radius);
  filter: saturate(.9);
  margin-bottom: .9rem;
}
.officer__initials {
  width: 100%; aspect-ratio: 1;
  background: var(--pool-tint);
  color: var(--pool);
  border-radius: var(--radius);
  display: grid; place-items: center;
  font-family: var(--display);
  font-size: 2.6rem; font-weight: 700; font-stretch: 118%;
  margin-bottom: .9rem;
}
.officer__name {
  font-family: var(--display);
  font-size: 1.18rem; font-weight: 700; font-stretch: 108%;
  margin: 0 0 .1rem;
}
.officer__role {
  font-family: var(--util);
  font-size: .82rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--marigold);
  margin: 0 0 .55rem;
}
.officer__bio { font-size: .98rem; color: var(--ink-soft); margin: 0 0 .5rem; }
.officer__email { font-family: var(--util); font-size: .92rem; word-break: break-word; }

/* ------------------------------------------------------------- buttons */

.btn {
  display: inline-block;
  font-family: var(--util);
  font-size: .98rem;
  font-weight: 600;
  letter-spacing: .02em;
  padding: .8rem 1.6rem;
  border-radius: var(--radius);
  border: 2px solid var(--pool);
  background: var(--pool);
  color: var(--paper);
  text-decoration: none;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, transform .12s ease;
}
.btn:hover { background: var(--pool-deep); border-color: var(--pool-deep); color: var(--paper); transform: translateY(-1px); }

.btn--ghost { background: transparent; color: var(--pool); }
.btn--ghost:hover { background: var(--pool); color: var(--paper); }

.btn--gold { background: var(--marigold); border-color: var(--marigold); color: var(--ink); }
.btn--gold:hover { background: #C97C28; border-color: #C97C28; color: var(--ink); }

.textlink {
  font-family: var(--util);
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--marigold);
  padding-bottom: 2px;
  white-space: nowrap;
}
.textlink:hover { border-color: var(--rose); }

/* -------------------------------------------------------------- footer */

.footer {
  background: var(--pool-deep);
  color: rgba(252, 242, 233, .72);
  padding: 3.25rem 0 2.25rem;
  font-size: .95rem;
  margin-top: 0;
}
.footer a { color: var(--marigold); }
.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(252, 242, 233, .18);
}
.footer h4 {
  font-family: var(--util);
  font-size: .76rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--marigold);
  margin: 0 0 .75rem;
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: .4rem; }
.footer__base {
  padding-top: 1.5rem;
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem;
  justify-content: space-between;
  font-size: .87rem;
  font-family: var(--util);
  color: rgba(252, 242, 233, .55);
}

/* ------------------------------------------------------------ entrance */

@media (prefers-reduced-motion: no-preference) {
  .agenda__item {
    animation: rise .5s cubic-bezier(.2, .7, .3, 1) both;
    animation-delay: calc(var(--i, 0) * 70ms);
  }
  @keyframes rise {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: none; }
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

/* -------------------------------------------------------------- mobile */

@media (max-width: 720px) {
  body { font-size: 18px; }
  .agenda__item { grid-template-columns: 72px 1fr; gap: 1.1rem; padding: 1.5rem 0; }
  .leaf__num { font-size: 1.95rem; }
  .split { grid-template-columns: 1fr; }
  .masthead { position: static; }
  .masthead__inner { padding: .85rem 0; }
  .nav { width: 100%; }
  .nav a { padding: .5rem .65rem; font-size: .88rem; }
}

/* --------------------------------------------------------------- print */

@media print {
  .masthead, .footer, .btn { display: none; }
  body { background: #fff; font-size: 12pt; }
  .leaf { box-shadow: none; border: 1px solid #000; }
}
