/*
  "What brings you here?" (_seasons.php): the three gatherings as short columns of names, the words of the chosen one in
  one place beneath; on a phone, each name opens its words in place. Colours come from the page around it (currentColor),
  so it reads on a light page or a dark one.
*/
.ss-head { max-width: 38rem; margin: 0 0 clamp(2.4rem, 6vh, 3.4rem); }
.ss-h { margin: 0 0 1rem; font-family: var(--font-display); font-weight: 400; font-size: clamp(2.2rem, 1.5rem + 2.6vw, 3.8rem); line-height: 1.08; letter-spacing: -.01em; text-wrap: balance; }
.ss-intro { margin: 0 !important; font-style: italic; font-size: clamp(1.15rem, 1rem + .5vw, 1.375rem); line-height: 1.5; text-wrap: pretty; opacity: .9; }

.ss-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.6rem, 4vw, 3.4rem); max-width: 66rem; }
.ss-gname { margin: 0 0 .9rem !important; padding-bottom: .7rem; border-bottom: 1px solid color-mix(in srgb, currentColor 30%, transparent); font-family: var(--font-body); font-weight: 600; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; white-space: nowrap; opacity: .85; }
.ss-names { margin: 0; padding: 0; list-style: none; }
.ss-names button { display: block; width: 100%; padding: .45rem 0; border: 0; background: none; color: inherit; text-align: left; font-family: var(--font-display); font-style: italic; font-size: clamp(1rem, 1.85vw, 1.3rem); line-height: 1.3; opacity: .62; cursor: pointer; transition: opacity 400ms var(--ease-soft), text-decoration-color 400ms var(--ease-soft); }
.ss-names button:hover { opacity: .9; }
.ss-names button[aria-pressed="true"] { opacity: 1; text-decoration: underline 1px; text-underline-offset: .3em; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); }
.ss-inline, .ss-mark { display: none; }   /* on a wide screen the words come up in the one place beneath */

.ss-say { display: grid; max-width: 46rem; margin-top: clamp(2.2rem, 5vh, 3.2rem); padding-top: 1.6rem; border-top: 1px dashed color-mix(in srgb, currentColor 26%, transparent); }
.ss-one { grid-area: 1 / 1; margin: 0 !important; font-family: var(--font-display); font-size: clamp(1.3rem, 1.1rem + .9vw, 1.8rem); line-height: 1.45; text-wrap: pretty; opacity: 0; filter: blur(8px); transition: opacity 700ms var(--ease-soft), filter 900ms var(--ease-soft); pointer-events: none; }
.ss-one.is-on { opacity: 1; filter: none; pointer-events: auto; }
.ss-one__n { display: block; margin-bottom: .7rem; font-family: var(--font-body); font-weight: 600; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; opacity: .82; }

@media (max-width: 860px) {
  .ss-cols { grid-template-columns: 1fr; gap: 2rem; }
  /* on a phone: no place beneath; a name opens its words right where it was tapped */
  .ss .ss-say { display: none; }
  .ss-names button { font-size: 1.2rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-bottom: 1px dashed color-mix(in srgb, currentColor 22%, transparent); opacity: .85; text-decoration: none !important; }
  .ss-names button[aria-expanded="true"] { opacity: 1; }
  .ss-mark { display: block; flex: none; width: 8px; height: 8px; margin-right: .3rem; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; rotate: 45deg; translate: 0 -3px; opacity: .7; transition: rotate 600ms var(--ease-soft), translate 600ms var(--ease-soft); }
  .ss-names button[aria-expanded="true"] .ss-mark { rotate: 225deg; translate: 0 2px; }
  .ss-names button[aria-expanded="true"] + .ss-inline { display: block; margin: 0 !important; padding: .9rem 0 1.2rem; font-size: 1.05rem; line-height: 1.6; animation: iv-soft-in 700ms var(--ease-soft) both; }
}

/* on a phone, where the three groups stack into one list: the group names read clearly as headings (larger, bolder,
   with room above), and the phrases under each sit closer together */
@media (max-width: 860px) {
  .ss-gname { font-size: .95rem; font-weight: 700; letter-spacing: .16em; opacity: 1 !important; }
  .ss-col + .ss-col .ss-gname { margin-top: .6rem !important; }
  .ss-names button { padding: .5rem 0; }
}
