:root { --sky: #e3f2fb; --ink: #1f2d3a; --box-radius: 10px; }
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--sky);
  line-height: 1.6;
}
.banner {
  position: relative;
  width: 100%;
  min-height: 70vh;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.25) 55%, rgba(227,242,251,0) 75%, var(--sky) 100%),
    url("../images/banner.jpg") center 35% / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.banner-overlay { padding: 2rem 1rem 8vh; }
.banner h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(2.4rem, 7vw, 5.5rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-shadow: 0 3px 12px rgba(0,0,0,0.6);
}
.content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
  min-height: 30vh;
}
@media (max-width: 600px) {
  .banner { min-height: 50vh; }
}

/* Navigation */
.site-nav {
  position: relative;
  z-index: 1;
  margin: -3.5rem auto 0;
  max-width: 1100px;
  padding: 0 1rem;
}
.nav-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: rgba(255,255,255,0.85);
  border: 1px solid #c9e2f2;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(31,45,58,0.08);
}
.nav-icon {
  display: block;
  width: 1.75rem;
  height: 1.75rem;
  flex: 0 0 1.75rem;
}
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex: 1 1 0;
  min-width: 0;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem 0.5rem;
}
.site-nav a {
  display: block;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  color: #1f4e6e;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
.site-nav a:hover,
.site-nav a:focus-visible {
  background: #1f6fa3;
  color: #fff;
  outline: none;
}
@media (max-width: 700px) {
  .site-nav { margin-top: -2rem; }
  .nav-bar { border-radius: 16px; gap: 0.25rem; padding: 0.5rem; }
  .site-nav a { padding: 0.45rem 0.75rem; font-size: 0.95rem; }
}

/* Current page and content links */
.site-nav a[aria-current="page"] { background: #1f4e6e; color: #fff; }
.content a { color: #1f4e6e; }
.content h2 { margin-top: 0.5rem; }

/* Guild history and accompanying quilt photo */
.guild-history {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  align-items: start;
  gap: 1.5rem;
  margin-top: 2rem;
}
.history-box {
  background: #e3f2fb;
  color: #000;
  border: 3px solid #fff;
  border-radius: var(--box-radius);
  padding: 1.5rem;
  box-shadow: 0 4px 16px rgba(31,45,58,0.08);
}
.history-box h2 { margin-top: 0; line-height: 1.25; }
.history-box p:last-child { margin-bottom: 0; }
.history-photo img {
  display: block;
  width: 100%;
  height: auto;
  border: 3px solid #fff;
  border-radius: 14px;
}
@media (max-width: 700px) {
  .guild-history { grid-template-columns: 1fr; }
  .history-box { padding: 1.25rem; }
  .history-photo { width: 100%; max-width: 380px; justify-self: center; }
}

.content .welcome-heading {
  text-align: center;
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  line-height: 1.2;
  margin: 0.5rem 0 1.25rem;
}

/* Landing-page typography and screenshot-inspired meeting feature */
.landing-page { font-family: "Segoe UI", Helvetica, Arial, sans-serif; }
.landing-page h1,
.landing-page h2,
.landing-page h3,
.landing-page .meeting-time {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.025em;
}
.landing-page .banner h1 { font-weight: 400; }
.landing-page .history-box h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.meeting-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 1rem;
  margin: 2rem 0;
  color: #080d13;
}
.meeting-quilt {
  margin: 0;
  padding: 1.25rem;
  background: #ebe1d2;
  border-radius: var(--box-radius);
  display: flex;
  align-items: center;
}
.meeting-quilt img { display: block; width: 100%; height: auto; }
.meeting-quilt-link { display: block; width: 100%; transition: transform 0.2s ease; }
.meeting-quilt-link:hover { transform: translateY(-3px); }
.meeting-quilt-link:focus-visible { outline: 2px solid #008095; outline-offset: 4px; }
.meeting-panel { background: #e8ecdf; padding: 2.25rem; border-radius: var(--box-radius); }
.meeting-eyebrow {
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.65rem;
  font-weight: 600;
}
.meeting-panel h2 { font-size: clamp(1.8rem, 3.3vw, 2.4rem); line-height: 1.15; margin: 0 0 1.25rem; }
.meeting-time { font-size: clamp(1.1rem, 2.2vw, 1.45rem); line-height: 1.45; margin: 0 0 1rem; }
.meeting-address { font-size: 0.85rem; line-height: 1.6; margin-bottom: 1rem; }
.content .meeting-link { color: #21677a; font-size: 0.8rem; text-underline-offset: 0.2em; }
.meeting-address a.meeting-map-link {
  color: #21677a;
  font-size: inherit;
  text-decoration: none;
  white-space: nowrap;
  margin-left: 0.15em;
}
.meeting-address a.meeting-map-link:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.meeting-address a.meeting-map-link:focus-visible { outline: 2px solid #008095; outline-offset: 4px; }
.content .meeting-address a.meeting-address-link { color: inherit; font-size: inherit; text-decoration: none; }
.meeting-address a.meeting-address-link .meeting-map-arrow { color: #21677a; white-space: nowrap; margin-left: 0.15em; }
.meeting-address a.meeting-address-link:hover .meeting-map-arrow { text-decoration: underline; text-underline-offset: 0.2em; }
.meeting-address a.meeting-address-link:focus-visible { outline: 2px solid #008095; outline-offset: 4px; }
.meeting-weather { color: #566673; font-size: 0.75rem; max-width: 30ch; margin: 1.5rem 0 0; }
@media (max-width: 700px) {
  .meeting-feature { grid-template-columns: 1fr; }
  .meeting-panel { padding: 1.75rem; }
  .meeting-quilt img { max-width: 400px; margin: 0 auto; }
}

/* Center the history logo without stretching its original proportions. */
.history-logo { align-self: center; display: flex; justify-content: center; }
.history-logo img { width: 100%; max-width: 553px; height: auto; border: 0; border-radius: 0; }

.landing-page .banner h1 { color: var(--sky); text-shadow: none; }

/* A reusable, quieter style for guild sayings and short comments. */
.guild-saying,
.content .welcome-heading.guild-saying {
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  letter-spacing: 0;
  line-height: 1.65;
}
.content .welcome-heading.guild-saying {
  max-width: 48rem;
  margin: 0.5rem auto 1.5rem;
  text-align: center;
}

/* Live text follows a gentle arch; the heading stays accessible. */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.landing-page .banner-overlay { width: 100%; }
.landing-page .arched-title { width: min(100%, 1120px); margin: 0 auto; line-height: 1; }
.banner-title-arch { display: block; width: 100%; height: auto; overflow: visible; }
.banner-title-arch text {
  fill: var(--sky);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 72px;
  font-weight: 400;
  letter-spacing: 0;
}

/* Screenshot-inspired landing header and introduction. Category pages are unchanged. */
.landing-page { background: #fff; color: #141a29; }
.landing-masthead {
  max-width: 1100px;
  width: calc(100% - 3rem);
  margin: 0 auto;
  padding: 1.25rem 0 1.4rem;
  text-align: center;
  border-bottom: 1px solid #d4d5ca;
}
.guild-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  color: #1f4e6e;
  text-decoration: none;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.875rem, 4vw, 2.625rem);
  line-height: 1.25;
}
.guild-brand img { flex-shrink: 0; width: 2.25rem; height: 2.25rem; }
.brand-detail { font-size: 1em; }
.landing-page .editorial-nav {
  width: calc(100% - 3rem);
  max-width: 1240px;
  margin: 0 auto;
  padding: 0.35rem 0;
  border-bottom: 1px solid #d4d5ca;
}
@media (min-width: 1200px) {
  .landing-page .editorial-nav ul { flex-wrap: nowrap; gap: 0.1rem 0.45rem; }
  .landing-page .editorial-nav a { padding: 0.55rem 0.5rem; }
}
.landing-page .editorial-nav ul { gap: 0.1rem 0.6rem; }
.landing-page .editorial-nav a {
  padding: 0.55rem 0.65rem;
  border-radius: 0;
  font-size: 1rem;
  font-weight: 400;
  color: #1f4e6e;
}
.landing-page .editorial-nav a:hover,
.landing-page .editorial-nav a:focus-visible {
  color: #174d43;
  background: #f1f4ed;
  text-decoration: underline;
  text-underline-offset: 0.25em;
}
.landing-page .content { max-width: 1140px; padding-top: 0; }
.landing-intro { text-align: center; padding: 3.6rem 0 2.6rem; }
.intro-eyebrow {
  margin: 0 0 1.7rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.landing-page .landing-intro h1 {
  margin: 0;
  color: #141a29;
  font-size: clamp(2.65rem, 7.5vw, 5.5rem);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.07;
  letter-spacing: -0.05em;
}
.intro-saying {
  margin: 1.8rem auto 1.65rem;
  color: #6a716a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.7;
  font-style: normal;
}
.content .intro-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.8rem;
  min-height: 44px;
  padding: 0.7rem 1.3rem;
  border: 1px solid #466c5c;
  color: #1f4e6e;
  text-decoration: none;
  font-size: 0.85rem;
}
.content .intro-button:hover,
.content .intro-button:focus-visible { background: #edf1e8; color: #174d43; }
.guild-brand:focus-visible,
.content .intro-button:focus-visible { outline: 2px solid #008095; outline-offset: 4px; }
@media (max-width: 600px) {
  .landing-masthead { width: calc(100% - 2rem); padding: 1.25rem 0; }
  .landing-page .editorial-nav { width: calc(100% - 2rem); }
  .landing-page .editorial-nav ul { gap: 0 0.2rem; }
  .landing-page .editorial-nav a { padding: 0.5rem 0.55rem; }
  .landing-intro { padding-top: 2.8rem; }
  .intro-eyebrow { font-size: 0.6rem; letter-spacing: 0.13em; }
  .desktop-break { display: none; }
}

/* The welcoming saying now serves as the landing-page headline. */
.landing-page .landing-intro h1.intro-saying {
  max-width: 960px;
  margin: 0 auto 1.65rem;
  color: #000;
  font-size: clamp(0.6625rem, 1.875vw, 1.375rem);
  line-height: 1.4;
  letter-spacing: -0.025em;
}

/* Small location and founding-year line above the landing masthead. */
.guild-location {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 2rem;
  margin: 0;
  padding: 0.75rem 1rem 0;
  color: #172b45;
  font-family: "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.6;
  text-align: center;
  text-transform: uppercase;
}
.landing-page .landing-intro h1.intro-saying { font-style: italic; }

/* Category placeholders show only their title and availability message. */
.placeholder-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: #fff;
  color: #000;
  text-align: center;
  padding: 2rem 1rem;
}
.placeholder-page h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3rem);
  margin: 0 0 0.75rem;
}
.placeholder-page p { margin: 0; }

/* Shared landing-style heading on category pages. */
.landing-page .editorial-nav a[aria-current="page"] {
  color: #1f4e6e;
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 0.3em;
}
.category-page .placeholder-content {
  min-height: 55vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}
.category-page .placeholder-content h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.2;
}
.category-page .placeholder-content p { margin: 0; }

/* Full-width shared footer, with content aligned to the site header. */
.site-footer {
  width: 100%;
  border-top: 1px solid #d4d5ca;
  background: #fff;
  color: #141a29;
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 2rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}
.site-footer p { margin: 0; }
.footer-name {
  color: #1f4e6e;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  line-height: 1.4;
}
.footer-saying { margin-top: 0.3rem !important; font-size: 0.75rem; }
.footer-address { font-size: 0.8rem; line-height: 1.65; }
/* Contact email address in the footer: plain text, no link. */
.footer-email { font-size: 0.8rem; line-height: 1.65; overflow-wrap: anywhere; }
.footer-facebook {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #0866FF;
  border-radius: 0.25rem;
  transition: color 0.15s ease;
}
.footer-facebook svg {
  display: block;
  width: 1.625rem;
  height: 1.625rem;
}
.footer-facebook:hover,
.footer-facebook:focus-visible { color: #0654cc; }
.footer-facebook:focus-visible { outline: 2px solid #008095; outline-offset: 4px; }
@media (max-width: 700px) {
  .footer-inner {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 0.85rem;
    row-gap: 1.25rem;
    padding: 2rem 1.5rem;
  }
  .footer-brand,
  .footer-address,
  .footer-email { grid-column: 1 / -1; }
  .footer-facebook {
    justify-self: start;
    align-self: center;
    padding: 0.5rem;
    margin: -0.5rem;
  }
}

/* Homepage common thread and make-and-give feature. */
.guild-thread {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  margin-top: 2rem;
  color: #000;
}
.thread-story { padding: 1.5rem 3rem 3.5rem 2.5rem; }
.thread-projects { position: relative; background: #ebe1d2; padding: 1.5rem 2.5rem 3.5rem; border-radius: var(--box-radius); }
.thread-eyebrow {
  margin: 0 0 1.2rem;
  color: #172b45;
  font-size: 0.65rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.guild-thread h2 {
  margin: 0 0 1.5rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.62rem, 3.06vw, 2.19rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.08;
  letter-spacing: -0.035em;
}
.thread-story .thread-copy { max-width: 25rem; }
.guild-thread .thread-copy { margin: 0 0 1.25rem; font-size: 0.956rem; line-height: 1.65; }
.content .thread-link { color: #008095; font-size: 0.75rem; text-underline-offset: 0.2em; }
.thread-link:focus-visible { outline: 2px solid #008095; outline-offset: 4px; }
.content .thread-link--people { display: table; margin-top: 0.6rem; }
.thread-star { position: absolute; top: 1.5rem; right: 2.5rem; z-index: 2; width: 3.75rem; height: auto; }
.thread-projects h2 { padding-right: 3rem; }
.thread-projects .thread-eyebrow { padding-right: 4.5rem; }

/* Make and Give photo and decorative clouds on the Home projects box. */
.thread-projects > :not(.make-give-clouds):not(.thread-star) { position: relative; z-index: 1; }
.make-give-clouds {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: visible;
  pointer-events: none;
}
.make-give-clouds .cloud { position: absolute; display: block; height: auto; }
.make-give-clouds .cloud--pink-left { left: 0; bottom: -1.8rem; width: 52%; }
.make-give-clouds .cloud--white-mid { left: 22%; bottom: -2.2rem; width: 58%; }
.make-give-clouds .cloud--blue-right { right: 0; bottom: -1.9rem; width: 50%; }
.make-give-clouds .cloud--white-right { left: 8%; bottom: -0.6rem; width: 36%; }
.make-give-clouds .cloud--pink-right { right: 6%; bottom: -0.85rem; width: 30%; }
.make-give-photo { margin: 1.25rem 0 0; }
.make-give-photo img { display: block; width: 100%; height: auto; border-radius: 0; }
.make-give-photo-credit { margin: 0.4rem 0 0; color: #5a564e; font-size: 0.7rem; line-height: 1.4; }
.home-page .guild-thread { padding-bottom: 1.35rem; }
@media (max-width: 700px) {
  .make-give-clouds .cloud--white-right,
  .make-give-clouds .cloud--pink-right { display: none; }
  .make-give-clouds .cloud--pink-left { width: 44%; bottom: -1.2rem; }
  .make-give-clouds .cloud--white-mid { width: 48%; bottom: -1.4rem; }
  .make-give-clouds .cloud--blue-right { width: 40%; bottom: -1.2rem; }
}

.history-page .history-box h1 { margin-top: 0; font-size: clamp(1.7rem, 3vw, 2.2rem); line-height: 1.25; }
@media (max-width: 700px) {
  .guild-thread { grid-template-columns: minmax(0, 1fr); }
  .thread-story, .thread-projects { padding: 1.5rem; }
  .thread-star { right: 1.5rem; width: 3rem; }
}

/* Desktop-only roomier homepage; original mobile/tablet cascade is untouched. */
@media (min-width: 900px) {
.home-page { --home-gutter: clamp(1.25rem, 2.5vw, 2.5rem); }
.home-page .landing-masthead,
.home-page .editorial-nav,
.home-page .content {
  width: calc(100% - 2 * var(--home-gutter));
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
}
.home-page .content { padding-left: 0; padding-right: 0; }
.home-page .guild-brand { font-size: clamp(1.875rem, 4.5vw, 3.125rem); }
.home-page .brand-detail { font-size: 1em; }
.home-page .guild-brand img { width: 2.65rem; height: 2.65rem; }
.home-page .editorial-nav a { font-size: clamp(1rem, 1.35vw, 1.1875rem); }
.home-page .guild-location { font-size: clamp(0.65rem, 0.9vw, 0.75rem); }
.home-page .intro-eyebrow,
.home-page .meeting-eyebrow,
.home-page .thread-eyebrow { font-size: clamp(0.65rem, 0.9vw, 0.75rem); }
.home-page .landing-intro h1.intro-saying {
  max-width: 1140px;
  font-size: clamp(1rem, 1.875vw, 1.625rem);
}
.home-page .intro-button { font-size: clamp(0.9rem, 1.15vw, 1rem); }
.home-page .meeting-panel h2 { font-size: clamp(1.8rem, 3.3vw, 2.85rem); }
.home-page .meeting-time { font-size: clamp(1.1rem, 2.2vw, 1.7rem); }
.home-page .meeting-address,
.home-page .thread-copy { font-size: clamp(0.9rem, 1.15vw, 1rem); }
.home-page .meeting-link { font-size: clamp(0.85rem, 1.1vw, 0.95rem); }
.home-page .meeting-weather { font-size: clamp(0.8rem, 1vw, 0.875rem); }
.home-page .guild-thread h2 { font-size: clamp(1.62rem, 3.06vw, 2.625rem); }
.home-page .guild-thread .thread-copy { font-size: clamp(1.01rem, 1.29vw, 1.125rem); }
.home-page .thread-story .thread-copy { max-width: 31rem; }
.home-page .thread-link { font-size: clamp(0.8rem, 1vw, 0.875rem); }
.home-page .footer-name { font-size: clamp(1.2rem, 1.6vw, 1.4rem); }
.home-page .footer-saying { font-size: clamp(0.8rem, 1vw, 0.875rem); }
.home-page .footer-address { font-size: clamp(0.85rem, 1.1vw, 0.95rem); }
.home-page .footer-email { font-size: clamp(0.85rem, 1.1vw, 0.95rem); }
.home-page .meeting-feature > *,
.home-page .guild-thread > *,
.home-page .footer-inner > * { min-width: 0; }
  .home-page .meeting-panel { padding: clamp(2.25rem, 4vw, 3.5rem); }
  .home-page .thread-story,
  .home-page .thread-projects { padding: 2rem clamp(2rem, 4vw, 3.5rem) 4rem; }
  .home-page .thread-star { top: 2rem; right: clamp(2rem, 4vw, 3.5rem); }
}

/* Symmetric affiliation band: no extra main padding before the footer rule. */
.home-page .content { padding-bottom: 0; }
.home-page .guild-affiliation {
  margin: 2rem 0 0;
  border-top: 1px solid #d4d5ca;
  padding: 1.5rem 0;
  text-align: center;
  font-family: Georgia, "Times New Roman", serif;
  font-style: normal;
  font-weight: 400;
  font-size: 0.875rem;
  line-height: 1.6;
}
@media (min-width: 900px) {
  .home-page .guild-affiliation { font-size: clamp(0.95rem, 1.7vw, 1.375rem); }
}

/* A proportional guild logo in the common-thread card's top-right corner. */
.home-page .thread-story { display: flow-root; }
.home-page .thread-heading {
  display: grid;
  /* 2 lines × 1.08 line-height × 1.4 optical whitespace allowance. */
  font-size: clamp(1.62rem, 3.06vw, 2.19rem);
  grid-template-columns: minmax(0, 1fr) 2.134em;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.5rem;
}
.home-page .thread-heading h2 { margin-bottom: 0; font-size: inherit; }
.home-page .thread-logo-slot { position: relative; height: 3.024em; }
@media (min-width: 900px) {
  .home-page .thread-heading { font-size: clamp(1.62rem, 3.06vw, 2.625rem); }
}
.home-page .thread-logo {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: top right;
}

/* Homepage-only masthead experiment: paired proportional guild logos. */
.home-page .home-logo-brand {
  display: flex;
  gap: clamp(0.5rem, 1.5vw, 1.5rem);
}
.home-page .home-logo-brand > span { min-width: 0; }
.home-page .home-logo-brand .masthead-logo {
  width: clamp(1.75rem, 4vw, 2.5rem);
  height: auto;
  flex-shrink: 0;
}
@media (min-width: 900px) {
  .home-page .home-logo-brand .masthead-logo { width: clamp(3.125rem, 4.5vw, 4rem); }
}

/* Stars participate like ordinary navigation items on desktop only. */
.editorial-nav .nav-decoration { display: none; }
@media (min-width: 900px) {
  .editorial-nav .nav-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 0.65rem;
  }
  .editorial-nav .nav-star {
    display: block;
    width: clamp(1.5rem, 2.5vw, 2rem);
    height: auto;
  }
  .editorial-nav .nav-logo {
    display: block;
    /* Two more ~20% steps (~1.44×) above the previous 25% bump. */
    height: clamp(2.7rem, 4.5vw, 3.6rem);
    width: auto;
  }
  .editorial-nav .nav-decoration:has(.nav-logo) {
    padding: 0.1rem 0;
  }
  .editorial-nav ul:has(.nav-logo) {
    align-items: center;
  }
}

/* People-page editorial introduction, aligned with the roomy homepage. */
.people-page .people-content {
  width: calc(100% - 2 * clamp(1.25rem, 2.5vw, 2.5rem));
  max-width: 1440px;
  padding: 0 0 4rem;
}
.people-intro { padding: clamp(3rem, 6vw, 5rem) 0 1rem; }
.people-eyebrow {
  margin: 0 0 1.5rem;
  color: #172b45;
  font-size: clamp(0.65rem, 0.9vw, 0.75rem);
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.people-page .people-intro h1 {
  margin: 0 0 1.5rem;
  color: #141a29;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.48rem, 3.29vw, 2.96rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.08;
  letter-spacing: -0.035em;
}
.people-description,
.schedule-description {
  font-style: italic;
  max-width: 32rem;
  margin: 0;
  color: #4b554f;
  font-size: clamp(0.95rem, 1.15vw, 1rem);
  line-height: 1.7;
}

/* Board roster and meeting invitation below the People introduction. */
.people-details {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(2rem, 5vw, 5rem);
  margin-top: 3rem;
}
.people-details h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(1.5rem, 2.3vw, 2rem);
  line-height: 1.15;
  margin: 0 0 1.25rem;
}
.people-roles { margin: 0; }
.people-roles > div { padding: 1rem 0; border-top: 1px solid #969d91; }
.people-roles > div:last-child { border-bottom: 1px solid #969d91; }
.people-roles dt { color: #1f4e6e; font-size: 0.85rem; margin-bottom: 0.2rem; }
.people-roles dd {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  line-height: 1.4;
  overflow-wrap: break-word;
}
.people-visit { background: #e8ecdf; padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: var(--box-radius); }
.people-visit > p:not(.people-eyebrow) { font-size: 0.9rem; line-height: 1.65; }
.people-visit .people-eyebrow { margin-bottom: 1.25rem; }
.people-visit a { color: #008095; font-size: 0.85rem; text-underline-offset: 0.2em; }
.people-visit a:focus-visible { outline: 2px solid #008095; outline-offset: 4px; }
.people-visit > p.people-contact-note { color: #6a716a; font-size: 0.75rem; margin: 1.75rem 0 0; }
@media (max-width: 700px) {
  .people-details { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
}

/* Interior pages share the original, pre-widening landing content dimensions. */
@media (min-width: 900px) {
  .landing-page:not(.home-page) .content {
    width: 100%;
    max-width: 1140px;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}

/* Role-description indicators await the supplied PDF destinations. */
.people-roster .role-description-note {
  margin: -0.5rem 0 1.25rem;
  color: #6a716a;
  font-size: 0.75rem;
  line-height: 1.6;
}
.people-roles .role-title { text-decoration: none; }
.people-roles .role-arrow { display: inline-block; margin-left: 0.2em; font-size: 0.9em; }
.people-roles a.role-title:focus-visible { outline: 2px solid #008095; outline-offset: 4px; }

/* Quilt Show information uses the shared interior-page container and typography. */
.landing-page .quilt-show-content { padding-top: clamp(3rem, 6vw, 5rem); }
.quilt-show-panel {
  background: #f6e4ea;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  max-width: 48rem;
  border-radius: var(--box-radius);
}
.quilt-show-content h1 {
  margin: 0 0 1.5rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.15;
}
.quilt-show-panel p {
  max-width: none;
  margin: 0 0 1.25rem;
  color: #4b554f;
  line-height: 1.7;
}
.quilt-show-panel p:last-child { margin-bottom: 0; }
.quilt-show-panel a.quilt-show-inline-link {
  color: #008095;
  text-decoration: none;
}
.quilt-show-panel a.quilt-show-inline-link:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.quilt-show-panel a.quilt-show-inline-link:focus-visible { outline: 2px solid #008095; outline-offset: 4px; }

/* Quilt Show: photo sits in the empty space beside the colored panel on desktop. */
.quilt-show-content .quilt-show-layout {
  display: grid;
  grid-template-columns: minmax(0, 48rem) minmax(0, calc(241px * 1.2));
  justify-content: space-between;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.5rem);
}
.quilt-show-content .quilt-show-photo {
  justify-self: end;
  width: min(100%, calc(241px * 1.2));
}
.quilt-show-content .quilt-show-photo img {
  display: block;
  width: 100%;
  height: auto;
  max-width: calc(241px * 1.2);
  border-radius: 0;
}
@media (max-width: 700px) {
  .quilt-show-content .quilt-show-layout {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 1.5rem;
  }
  .quilt-show-content .quilt-show-panel {
    width: 100%;
  }
  .quilt-show-content .quilt-show-photo {
    width: min(70%, 14rem);
    max-width: 70%;
    justify-self: center;
  }
  .quilt-show-content .quilt-show-photo img {
    max-width: 100%;
  }
}

/* Let the People introduction's italic sentence use the full desktop content width. */
@media (min-width: 900px) {
  .people-description,
  .schedule-description {
    max-width: none;
    font-size: clamp(1.1875rem, 1.6vw, 1.375rem);
  }
}

/* A simple newsletter archive, ready for additional PDF issues. */
.landing-page .newsletter-content, .landing-page .forms-content { padding-top: clamp(3rem, 6vw, 5rem); }
.forms-content h1 {
  margin: 0 0 2rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.15;
}
.landing-page .newsletter-content h1 {
  margin: 0 0 2rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.15;
}
.newsletter-archive, .forms-list { list-style: none; margin: 0; padding: 0; }
.newsletter-archive li, .forms-list li { border-top: 1px solid #969d91; }
.newsletter-archive li:last-child, .forms-list li:last-child { border-bottom: 1px solid #969d91; }
.newsletter-archive a, .forms-list a {
  display: block;
  padding: 1.25rem 0;
  color: #1f4e6e;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  text-decoration: none;
}
.newsletter-format { font-family: "Segoe UI", Helvetica, Arial, sans-serif; font-size: 0.7em; }
.newsletter-archive a:hover, .forms-list a:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.newsletter-archive a:focus-visible, .forms-list a:focus-visible { outline: 2px solid #008095; outline-offset: 4px; }

/* Schedule introduction and supplied program entries; venue card to follow. */
.landing-page .schedule-content { padding-top: clamp(3rem, 6vw, 5rem); }
.schedule-eyebrow {
  margin: 0 0 1.5rem;
  color: #172b45;
  font-size: clamp(0.65rem, 0.9vw, 0.75rem);
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.landing-page .schedule-intro h1 {
  margin: 0 0 1.5rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.48rem, 3.29vw, 2.96rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.08;
  letter-spacing: -0.035em;
}
/* Schedule intro: quilt sits to the right of the banner on desktop; stacked modestly on mobile. */
.schedule-content .schedule-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}
.schedule-content .schedule-intro-image {
  width: 100%;
  justify-self: stretch;
}
.schedule-content .schedule-intro-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
}
@media (max-width: 700px) {
  .schedule-content .schedule-intro {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 1.5rem;
  }
  .schedule-content .schedule-intro-copy {
    width: 100%;
  }
  .schedule-content .schedule-intro-image {
    width: min(70%, 14rem);
    max-width: 70%;
    justify-self: center;
    margin: 0;
  }
}
@media (min-width: 701px) {
  /* Keep the extra body-text line above the heading only. */
  .schedule-content .schedule-intro .schedule-eyebrow {
    margin-bottom: 3rem;
  }
  /* Quilt keeps its size, right-aligned in the content so the wider subtitle stays clear. */
  .schedule-content .schedule-intro {
    align-items: center;
  }
  .schedule-content .schedule-intro-image {
    position: relative;
    width: auto;
    justify-self: end;
    overflow: visible;
  }
  .schedule-content .schedule-intro-image img {
    position: relative;
    left: auto;
    top: auto;
    right: auto;
    transform: none;
    width: auto;
    height: clamp(18.4rem, 25.6vw, 23rem);
    max-width: none;
  }
}
.schedule-program { min-width: 0; }
.schedule-program h2 { margin: 0 0 1.25rem; font-size: clamp(1.5rem, 2.3vw, 2rem); line-height: 1.15; }
.schedule-program h2, .program-list h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.program-list { list-style: none; margin: 0; padding: 0; }
.program-list li { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 1rem; padding: 1.25rem 0; border-top: 1px solid #969d91; }
.program-list li:last-child { border-bottom: 1px solid #969d91; }
.program-list time { font-size: 0.9rem; color: #080d13; padding-top: 0.2rem; }
.program-list h3 { margin: 0 0 0.25rem; font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.4; }
.program-list p { margin: 0; color: #6a716a; font-size: 0.8rem; }
@media (max-width: 700px) {
  .program-list li { grid-template-columns: minmax(0, 1fr); gap: 0.4rem; }
}

/* Program and venue share the interior container without overflowing it. */
.schedule-details { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; margin-top: 3rem; }
.schedule-venue { background: #e8ecdf; padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: var(--box-radius); }
.schedule-venue h2 { margin: 0 0 1.25rem; font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: clamp(1.65rem, 2.53vw, 2.2rem); line-height: 1.15; }
.schedule-venue > p:not(.schedule-eyebrow) { font-size: 1rem; line-height: 1.65; }
.schedule-venue a { color: #008095; font-size: 0.9375rem; text-underline-offset: 0.2em; }
.schedule-venue a:focus-visible { outline: 2px solid #008095; outline-offset: 4px; }
.schedule-venue a.schedule-address-link { color: inherit; font: inherit; text-decoration: none; }
.schedule-venue a.schedule-address-link:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.schedule-venue > p.schedule-venue-note { color: #6a716a; font-size: 0.825rem; margin: 1.75rem 0 0; }
@media (max-width: 700px) {
  .schedule-details { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
}

/* People and Schedule: restore a clear heading hierarchy on mobile only.
   Desktop (>=701px) typography is unchanged from the 25%-reduced banners. */
@media (max-width: 700px) {
  .people-page .people-intro h1,
  .landing-page .schedule-intro h1 {
    font-size: 1.85rem;
  }
  .people-page .people-details h2,
  .landing-page .schedule-program h2,
  .landing-page .schedule-venue h2 {
    font-size: 1.4rem;
  }
}

/* Slightly larger venue eyebrow, without affecting the Schedule introduction. */
.schedule-venue .schedule-eyebrow { font-size: clamp(0.715rem, 0.99vw, 0.825rem); }

/* Speaker website links retain the program title's typography and color. */
.program-list h3 a.speaker-site { color: inherit; font: inherit; text-decoration: none; }
.program-list h3 a.speaker-site:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.program-list h3 a.speaker-site:focus-visible { outline: 2px solid #008095; outline-offset: 4px; }

/* Initial Block of the Month template; project destinations and sidebar to follow. */
.landing-page .bom-content { padding-top: clamp(3rem, 6vw, 5rem); }
.bom-eyebrow { margin: 0 0 1.5rem; color: #172b45; font-size: clamp(0.65rem, 0.9vw, 0.75rem); font-weight: 500; letter-spacing: 0.13em; text-transform: uppercase; }
.bom-intro h1 { margin: 0 0 1.5rem; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.77rem, 3.94vw, 3.54rem); font-weight: 400; font-style: italic; line-height: 1.08; letter-spacing: -0.035em; }
.bom-description { max-width: 32rem; margin: 0; color: #4b554f; font-size: clamp(0.95rem, 1.15vw, 1rem); line-height: 1.7; }
.bom-library { min-width: 0; }
.bom-library h2 { margin: 0 0 1.25rem; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.35rem, 2.07vw, 1.8rem); font-weight: 400; line-height: 1.15; }
.bom-projects { list-style: none; padding: 0; margin: 0; }
.bom-projects li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 0; border-top: 1px solid #969d91; color: #008095; font-size: 1rem; }
.bom-projects li:last-child { border-bottom: 1px solid #969d91; }
.bom-projects li > span:first-child { min-width: 0; overflow-wrap: break-word; }


/* Supplied current block and charity-size sidebar. */
.bom-details { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; margin-top: 3rem; }
.bom-sidebar { background: #e8ecdf; padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: var(--box-radius); }
.bom-sidebar h2, .bom-sidebar h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; line-height: 1.15; }
.bom-sidebar h2 { margin: 0 0 1.25rem; font-size: clamp(1.65rem, 2.53vw, 2.2rem); }
.bom-sidebar h3 { margin: 1.75rem 0 0.75rem; font-size: 1.3rem; }
.bom-sidebar > p:not(.bom-eyebrow):not(.bom-feature-copy) { font-size: 1rem; line-height: 1.65; }
.bom-instructions { color: #008095; font-size: 0.9375rem; }
.bom-sidebar > p.bom-sidebar-note { color: #6a716a; font-size: 0.75rem; margin: 1.75rem 0 0; }
@media (max-width: 700px) {
  .bom-details { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .bom-feature-heading { grid-template-columns: minmax(0, 1fr) minmax(0, 0.65fr); gap: 0.75rem; }
  .bom-football { max-width: 8.5rem; }
}

/* Featured BOM card: title left, smaller image upper-right; body below. */
.bom-sidebar { display: flow-root; }
.bom-feature-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.7fr);
  gap: clamp(0.85rem, 2vw, 1.25rem);
  align-items: start;
  margin: 0 0 1.25rem;
}
.bom-feature-heading h2 {
  margin: 0;
  min-width: 0;
}
.bom-football {
  float: none;
  display: block;
  width: 100%;
  max-width: 11rem;
  height: auto;
  margin: 0;
  justify-self: end;
}
.bom-feature-copy {
  margin: 0 0 1rem;
  font-size: 1.125rem;
  line-height: 1.65;
}
.bom-sidebar .bom-instructions { font-size: 1.0625rem; }

.bom-sidebar a.bom-instructions { color: #008095; text-decoration: none; }
.bom-sidebar a.bom-instructions:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.bom-sidebar a.bom-instructions:focus-visible { outline: 2px solid #008095; outline-offset: 4px; }

/* Subcategories within the previous Block of the Month library. */
.bom-category-title { margin: 2rem 0 1rem; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.15rem, 1.6vw, 1.4rem); font-weight: 400; line-height: 1.25; }

/* Available BOM project PDFs retain the pending rows' visual treatment. */
.bom-projects li > a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; width: 100%; color: #008095; text-decoration: none; overflow-wrap: anywhere; }
.bom-projects li > a:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.bom-projects li > a:focus-visible { outline: 2px solid #008095; outline-offset: 4px; }

/* Larger sidebar eyebrow only; the page eyebrow and football image stay unchanged. */
.bom-sidebar .bom-eyebrow { font-size: clamp(0.715rem, 0.99vw, 0.825rem); }

/* Challenge page: BOM-like eyebrow/banner plus pastel yellow info panel. */
.landing-page .challenge-content { padding-top: clamp(3rem, 6vw, 5rem); }
.challenge-eyebrow {
  margin: 0 0 1.5rem;
  color: #172b45;
  font-size: clamp(0.65rem, 0.9vw, 0.75rem);
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.challenge-intro h1 {
  margin: 0 0 1.5rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.77rem, 3.94vw, 3.54rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.08;
  letter-spacing: -0.035em;
}
.challenge-panel {
  background: #f7f0c8;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  max-width: 48rem;
  border-radius: var(--box-radius);
}
.challenge-panel p {
  margin: 0;
  color: #4b554f;
  font-size: 1.0625rem;
  line-height: 1.7;
}
.challenge-panel a.challenge-guidelines-link {
  color: #008095;
  text-decoration: none;
}
.challenge-panel a.challenge-guidelines-link:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.challenge-panel a.challenge-guidelines-link:focus-visible { outline: 2px solid #008095; outline-offset: 4px; }

/* Patterns page: stacked pastel info cards; future links styled but inactive until destinations are supplied. */
.landing-page .patterns-content { padding-top: clamp(3rem, 6vw, 5rem); }
.landing-page .patterns-content h1 {
  margin: 0 0 3rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.77rem, 3.94vw, 3.54rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.08;
  letter-spacing: -0.035em;
}
.landing-page .patterns-content .patterns-featured {
  margin: 0 0 1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.3;
}
.landing-page .patterns-content h2.patterns-section-heading {
  margin: 0 0 0.75rem;
  max-width: none;
  color: #1f4e6e;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 400;
  font-style: normal;
  letter-spacing: normal;
  text-transform: none;
  line-height: 1.3;
}
.landing-page .patterns-content .patterns-panel { margin-bottom: 2rem; }
.patterns-content a.patterns-featured-link {
  color: #1f4e6e;
  text-decoration: none;
}
.patterns-content a.patterns-featured-link:hover { color: #174d43; text-decoration: underline; text-underline-offset: 0.2em; }
.patterns-content a.patterns-featured-link:focus-visible { outline: 2px solid #008095; outline-offset: 4px; }
.patterns-panel {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  max-width: 48rem;
  margin: 0 0 1.5rem;
  border-radius: var(--box-radius);
}
.patterns-panel:last-child { margin-bottom: 0; }
.patterns-panel--misc { background: #e7eef8; }
.patterns-panel--buck { background: #f7efe0; }
.patterns-panel h2.patterns-panel-label {
  margin: 0 0 1.15rem;
  color: #172b45;
  font-family: "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: clamp(0.82rem, 1.15vw, 0.95rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.35;
}
.patterns-link-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.patterns-link-list li {
  margin: 0 0 0.75rem;
  color: #008095;
  font-size: 1.0625rem;
  line-height: 1.5;
}
.patterns-link-list li:last-child { margin-bottom: 0; }
.patterns-panel p {
  margin: 0;
  color: #4b554f;
  font-size: 1.0625rem;
  line-height: 1.7;
}
.patterns-future-link {
  color: #008095;
  cursor: default;
  text-decoration: none;
}

.patterns-panel a.patterns-inline-link,
.patterns-panel a.patterns-file-link {
  color: #008095;
  text-decoration: none;
}
.patterns-panel a.patterns-inline-link:hover,
.patterns-panel a.patterns-file-link:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.patterns-panel a.patterns-inline-link:focus-visible,
.patterns-panel a.patterns-file-link:focus-visible { outline: 2px solid #008095; outline-offset: 4px; }

/* Charity page: pastel info cards, all aligned left. */
.landing-page .charity-content { padding-top: clamp(3rem, 6vw, 5rem); }
.landing-page .charity-content h1 {
  margin: 0 0 1.5rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.15;
}
.landing-page .charity-content .charity-description {
  max-width: 48rem;
  margin: -0.5rem 0 2rem;
  color: #4b554f;
  font-style: italic;
  font-size: clamp(0.95rem, 1.15vw, 1rem);
  line-height: 1.7;
}
@media (min-width: 900px) {
  .landing-page .charity-content .charity-description { font-size: clamp(1.1875rem, 1.6vw, 1.375rem); }
}
.charity-panel {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  max-width: 48rem;
  margin: 0 0 1.5rem;
  border-radius: var(--box-radius);
}
.charity-panel:last-child { margin-bottom: 0; }
.charity-panel--wuis { background: #d3e0f2; }
.charity-panel--pillows { background: #f0d4e1; }
.charity-panel--walker { background: #d2e9d8; }
.charity-panel--stocking { background: #efdfc4; }
.charity-panel--lap { background: #dfebc6; }
.charity-panel--pillowcases { background: #d2e2f0; }
.charity-panel--guidelines { background: #f0e5a6; }
.landing-page .charity-content > .charity-panel > p {
  margin: 0;
  color: #172b45;
  font-size: 1.195rem;
  line-height: 1.7;
}
.charity-panel a.charity-file-link {
  color: #008095;
  font-size: inherit;
  text-decoration: none;
}
.charity-panel a.charity-file-link:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.charity-panel a.charity-file-link:focus-visible { outline: 2px solid #008095; outline-offset: 4px; }

.charity-guidelines-block {
  max-width: 48rem;
  padding-top: 2.5rem;
}
.charity-guidelines-block .charity-panel--guidelines {
  max-width: none;
  margin-bottom: 0;
}
.landing-page .charity-content h2.charity-guidelines-heading {
  margin: 0.15rem 0 0.75rem;
  color: #172b45;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.15rem, 1.6vw, 1.25rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.25;
  letter-spacing: -0.02em;
  text-transform: none;
  max-width: none;
}
@media (max-width: 899px) {
  .landing-page .charity-content .charity-panel,
  .landing-page .charity-content .charity-guidelines-block {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }
}
.charity-guideline-group { margin: 0 0 1.15rem; }
.charity-guideline-group:last-child { margin-bottom: 0; }
.charity-guideline-label {
  margin: 0 0 0.35rem;
  color: #172b45;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.5;
}
.charity-guideline-group > p:not(.charity-guideline-label) {
  margin: 0 0 0.25rem;
  color: #4b554f;
  font-size: 1.0625rem;
  line-height: 1.65;
}
.charity-guideline-group > p:not(.charity-guideline-label):last-child { margin-bottom: 0; }

/* Gallery: quilts descend in a zig-zag, each later image overlapping the previous corner. */
.landing-page .gallery-content { padding-top: clamp(3rem, 6vw, 5rem); }
.gallery-content h1 {
  margin: 0 0 2rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.15;
}
.gallery-content .gallery-quilt-flow {
  /* Widest left quilt + widest right quilt minus a ~10% corner overlap. */
  --gallery-flow: 65.25rem;
  list-style: none;
  margin: 0;
  padding: 0 0 0.75rem;
  width: min(100%, var(--gallery-flow));
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: visible;
}
.gallery-content .gallery-quilt {
  position: relative;
  width: max-content;
  max-width: 100%;
}
.gallery-content .gallery-quilt img {
  display: block;
  width: 100%;
  height: auto;
  border: 3px solid #fff;
  border-radius: 0;
  box-shadow: 0 0.65rem 1.5rem rgba(31, 45, 58, 0.18);
  background: #fff;
}
/* Per-photo sizes and overlaps are set by scripts/build-content.mjs from content/gallery.json. */
.gallery-content .gallery-quilt {
  width: var(--quilt-width, 50%);
  z-index: var(--quilt-layer, 1);
  margin-top: var(--quilt-overlap, 0);
}
.gallery-content .gallery-quilt--left { margin-left: var(--quilt-offset, 0); }
.gallery-content .gallery-quilt--right { align-self: flex-end; margin-right: var(--quilt-offset, 0); }
@media (max-width: 700px) {
  .gallery-content .gallery-quilt-flow {
    width: 100%;
    padding-bottom: 0.5rem;
  }
  .gallery-content .gallery-quilt {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    align-self: stretch;
    margin-top: -1.75rem;
  }
  .gallery-content .gallery-quilt:first-child { margin-top: 0; }
  .gallery-content .gallery-quilt--smaller {
    width: min(100%, var(--quilt-small-width));
    margin-left: auto;
    margin-right: auto;
    align-self: center;
  }
}


/* Links page: section headings above pastel boxes, matching the Patterns page. */
.landing-page .links-content { padding-top: clamp(3rem, 6vw, 5rem); }
.landing-page .links-content h1 {
  margin: 0 0 1.5rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.15;
}
.landing-page .links-content .links-description {
  max-width: 48rem;
  margin: -0.5rem 0 2rem;
  color: #4b554f;
  font-style: italic;
  font-size: clamp(0.95rem, 1.15vw, 1rem);
  line-height: 1.7;
}
@media (min-width: 900px) {
  .landing-page .links-content .links-description { font-size: clamp(1.1875rem, 1.6vw, 1.375rem); }
}
.landing-page .links-content h2.patterns-section-heading {
  margin: 0 0 0.75rem;
  max-width: none;
  color: #1f4e6e;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 400;
  font-style: normal;
  letter-spacing: normal;
  text-transform: none;
  line-height: 1.3;
}
.landing-page .links-content .patterns-panel { margin-bottom: 2rem; }
.landing-page .links-content .patterns-panel:last-child { margin-bottom: 0; }
.links-panel--stores { background: #d3e0f2; }
.links-panel--events { background: #d2e9d8; }
.links-panel--quilters { background: #f0d4e1; }
.links-panel--stocking { background: #efdfc4; }
.links-panel--lap { background: #dfebc6; }
.links-panel--pillowcases { background: #d2e2f0; }
.links-item-note {
  color: #4b554f;
  margin-left: 0.35em;
}
@media (max-width: 899px) {
  .links-item-note {
    display: block;
    margin-left: 0;
    margin-top: 0.15em;
  }
}
@media (max-width: 899px) {
  .landing-page .links-content .patterns-panel {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }
}
@media (max-width: 600px) {
  .guild-brand { font-size: clamp(1.25rem, 6.6vw, 1.875rem); }
  .home-page .guild-brand { font-size: clamp(1.125rem, 5.5vw, 1.875rem); gap: 0.5rem; }
  .home-page .guild-brand img { width: 2.25rem; height: 2.25rem; }
}

/* Newsletters: quilt photos in a zig-zag on the right half (desktop); the list and its rules
   take the left half. On phones and tablets the photos stack below the list. */
.newsletter-photos { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; margin-top: 2.5rem; }
.newsletter-photos img { display: block; width: 100%; max-width: 420px; height: auto; }
@media (min-width: 900px) {
  .newsletter-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
  /* Each photo is 1/1.75 of the right half, offset by 0.75 of a photo width, so the two overlap
     horizontally by 25% of a photo width and the pair spans (and is centered in) the right half. */
  .newsletter-photos { display: block; margin-top: 0; padding: 0 2rem; }
  .newsletter-photos img { width: 57.142857%; max-width: none; }
  .newsletter-photos img + img { margin-top: 1.5rem; margin-left: 42.857143%; }
}

/* Patterns: Miscellaneous and Buck-A-Block headings inside their boxes */
.landing-page .patterns-content .patterns-featured:last-of-type { margin-bottom: 2rem; }
.landing-page .patterns-content .patterns-panel h2.patterns-section-heading { margin: 0 0 1.1rem; }
.landing-page .patterns-content .patterns-featured { padding-left: clamp(1.5rem, 3vw, 2.5rem); }
/* Patterns: quilt photos on the right half */
.patterns-photos { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; margin-top: 2rem; }
.patterns-photos .patterns-photo { display: block; width: 100%; max-width: 420px; }
.patterns-photos img { display: block; width: 100%; height: auto; }
.patterns-photos a.patterns-photo-link { pointer-events: auto; }
.patterns-photos a.patterns-photo-link:focus-visible { outline: 3px solid #008095; outline-offset: 4px; }
@media (min-width: 900px) {
  .patterns-layout { display: grid; grid-template-columns: minmax(0, 1fr); }
  .patterns-layout > .patterns-main,
  .patterns-layout > .patterns-photos { grid-area: 1 / 1; }
  .patterns-photos { display: block; justify-self: end; width: 58%; margin-top: 0; position: relative; z-index: 1; pointer-events: none; }
  .patterns-photos .patterns-photo { width: 52%; max-width: none; box-shadow: 0 0.65rem 1.5rem rgba(31, 45, 58, 0.22); }
  .patterns-photos .patterns-photo + .patterns-photo { margin-left: 44%; margin-top: -22%; position: relative; }
  .patterns-photos a.patterns-photo-link { transition: transform 0.15s ease; }
  .patterns-photos a.patterns-photo-link:hover { transform: translateY(-3px); }
}

/* Charity: quilt photo in the upper right */
.charity-photo { margin-top: 2.5rem; }
.charity-photo img { display: block; width: 100%; max-width: 420px; height: auto; margin: 0 auto; border-radius: 0; }
@media (min-width: 1200px) {
  .landing-page .charity-content { position: relative; }
  .charity-photo { position: absolute; top: clamp(3rem, 6vw, 5rem); right: 0; width: 26%; margin-top: 0; }
  .charity-photo img { max-width: none; box-shadow: 0 0.65rem 1.5rem rgba(31, 45, 58, 0.18); }
}

/* Make and Give: box ends just below the clouds; cloud tops sit one link-gap (1.25rem) under the link */
.home-page .guild-thread .thread-projects { align-self: start; padding-bottom: calc(22.96% + 1.45rem); }
@media (max-width: 700px) {
  .home-page .guild-thread .thread-projects { padding-bottom: calc(19% + 1.85rem); }
}
