/* ==========================================================================
   About page styles. Loaded only on /about/, through the extra_css block in base.html
   ========================================================================== */

/* ---------- Who we are: crest on the left, story on the right ---------- */
.about { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.about__crest { flex: 0 1 340px; min-width: 220px; margin: 0 auto; }
.about__crest img {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2), 0 0 0 1px #D9D4C7;
}
.about__text { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.about__body { font-size: 18px; line-height: 1.7; color: var(--ink-soft); }
.about__body p { margin: 0 0 1em; }

/* ---------- Quick facts ---------- */
.facts {
  display: grid; gap: 12px; margin: 8px 0 0;
  grid-template-columns: repeat(auto-fit, minmax(min(130px, 100%), 1fr));
}
/* column-reverse shows the value above its label, while the HTML keeps label first */
.facts__item {
  display: flex; flex-direction: column-reverse; gap: 4px; padding: 16px;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
}
.facts dd { margin: 0; font-family: var(--font-display); font-size: 28px; line-height: 1; }
.facts dt {
  font-family: var(--font-label); font-weight: 600; font-size: 14px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}

/* ---------- Invitations on the left, contacts on the right ---------- */
.contact { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 32px; }

.invite { flex: 3 1 480px; min-width: 0; align-items: flex-start; background: var(--white); }
.invite__address { margin: 0; color: var(--ink-soft); }
/* A thin line above the "please include" note */
.invite__hint {
  width: 100%; margin: 0; padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 15px; color: var(--muted);
}

.contacts { flex: 2 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.contact-list { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
/* Each contact is one tall, easy-to-tap row: label and value on the left, arrow on the right */
.contact-list a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 60px; padding: 12px 4px;
  border-bottom: 1px solid var(--line);
  color: var(--ink); text-decoration: none;
}
.contact-list a:hover { color: var(--gold-text); }
.contact-list__label {
  display: block;
  font-family: var(--font-label); font-weight: 600; font-size: 14px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
/* overflow-wrap lets a long email address break onto a new line instead of overflowing on phones */
.contact-list__value { font-weight: 600; overflow-wrap: anywhere; }
.contacts__join { margin: 0; color: var(--ink-soft); }