/* Random Acts Club — site styles (v2).
   Simple, clean, professional. The logo is the one expressive element; everything else stays quiet.
   Colours come from the logo: purple #7042A6 ("just"), heart #E73E52. */

:root {
  --bg: #ffffff;
  --bg-soft: #f7f6fb;
  --ink: #1b1930;
  --text: #2c2a3d;
  --muted: #6a6782;
  --line: #e7e5f0;
  --brand: #7042a6;
  --brand-dark: #5a3489;
  --brand-soft: #f1ebf8;
  --heart: #e73e52;
  --on-dark: #f6f5fb;
  --on-dark-muted: #b9b3d6;

  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;

  --wrap: 1120px;
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-weight: 600; color: var(--ink); margin: 0; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 1.5rem + 4vw, 4.5rem); line-height: 1.05; max-width: 18ch; }
h2 { font-size: clamp(1.85rem, 1.3rem + 2vw, 3rem); line-height: 1.1; max-width: 22ch; }
h3 { font-size: 1.3rem; line-height: 1.25; letter-spacing: -0.01em; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
a { color: var(--brand); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: rgba(112, 66, 166, .35); text-decoration-color: color-mix(in srgb, var(--brand) 35%, transparent); transition: text-decoration-color .2s ease, color .2s ease; }
a:hover { text-decoration-color: currentColor; }
em { font-style: italic; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 3px; }
::selection { background: var(--brand); color: #fff; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: .5rem 1rem; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { width: min(var(--wrap), 100%); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 760px; }

.eyebrow { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); margin: 0 0 1.25rem; }
.eyebrow a { text-decoration: none; }
.eyebrow a:hover { text-decoration: underline; }
.lead { font-size: clamp(1.1rem, 1.02rem + .35vw, 1.3rem); line-height: 1.6; color: var(--muted); max-width: 58ch; }
.lead a { color: var(--brand); }

/* Headings: a quiet sense of light and depth, echoing the hero logo's treatment.
   Ink-to-purple gradient fill, a hairline of light along the top edge, and a soft purple lift beneath.
   Browsers without text clipping keep the plain ink heading. */
@supports (-webkit-background-clip: text) or (background-clip: text) {
  h1, h2 {
    background: linear-gradient(180deg, #403a6c 0%, #26224a 40%, var(--ink) 70%, #2e2259 100%);  /* lit from above */
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
    /* a soft light beneath the letters, in the logo's current "because" colour (see because-cycle.css):
       a close glow and a wider, fainter bloom. The plain purple version is the fallback for older browsers. */
    /* A tight, neon-like underlight in the logo's current "because" colour: a bright, close line of light hugging
       the underside of the letters, then a short halo. No wide bloom. Purple fallback first for older browsers. */
    filter: drop-shadow(0 1px 0 rgba(255, 255, 255, .9))
            drop-shadow(0 2px 2px rgba(150, 115, 215, .8))
            drop-shadow(0 3px 5px rgba(150, 115, 215, .4));
    filter: drop-shadow(0 1px 0 rgba(255, 255, 255, .9))                                                   /* light on the top edge */
            drop-shadow(0 2px 2px color-mix(in srgb, var(--because, #007a55) 85%, transparent))            /* the tube: bright, close, softly lit */
            drop-shadow(0 3px 5px color-mix(in srgb, var(--because, #007a55) 42%, transparent));          /* its short halo, kept tight */
  }
  .quote blockquote p {
    color: var(--on-dark); -webkit-text-fill-color: var(--on-dark);
    text-shadow: 0 2px 24px rgba(0, 0, 0, .35);
  }
}
.eyebrow { display: flex; align-items: center; gap: .7rem; }
.eyebrow::before { content: ""; width: 1.75rem; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--brand), rgba(112, 66, 166, 0)); flex: none; }
.hero .eyebrow, .who .eyebrow, .share .eyebrow { justify-content: center; }
.hero .eyebrow::before { display: none; }
.steps .num { text-shadow: 0 0 14px rgba(112, 66, 166, .35); }
.pull, .answer { text-shadow: 0 10px 24px rgba(112, 66, 166, .14); }
.quote cite { text-shadow: 0 0 18px rgba(185, 179, 214, .35); }

/* Buttons and links */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .85rem 1.45rem; border: 0; border-radius: 8px; cursor: pointer;
  background: var(--brand); color: #fff;
  font: 600 .98rem/1.2 var(--sans); text-decoration: none; white-space: nowrap;
  transition: background-color .2s ease, transform .2s ease;
}
.btn:hover { background: var(--brand-dark); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .6; cursor: default; }
.btn-sm { padding: .55rem 1rem; font-size: .9rem; border-radius: 6px; }
.link { font-weight: 600; color: var(--brand); text-decoration: none; }
.link:hover { text-decoration: underline; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 1.75rem; margin-top: 2.25rem; }
.actions.center { justify-content: center; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease;
}
.site-header.scrolled { border-color: var(--line); }
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 2rem; }
.logo { display: block; text-decoration: none; }
.site-header .logo img { width: auto; height: 42px; }
.nav { display: flex; gap: 1.9rem; margin-left: auto; }
.nav a {
  position: relative; padding: .35rem 0; white-space: nowrap;
  font-size: .76rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink); text-decoration: none;
  transition: color .2s ease;
}
.nav a::after {
  content: ""; position: absolute; left: 50%; right: 50%; bottom: 0; height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
  transition: left .3s cubic-bezier(.2, .7, .2, 1), right .3s cubic-bezier(.2, .7, .2, 1);
}
.nav a:hover { color: var(--brand); }
.nav a:hover::after { left: 0; right: 0; }
@media (max-width: 1000px) {
  .nav { display: none; }
  .site-header .btn-sm { margin-left: auto; }
}

/* Hero */
.hero { padding: clamp(3.5rem, 9vw, 6.5rem) 0 clamp(4.5rem, 10vw, 7.5rem); text-align: center; }
.hero-logo svg { display: block; width: 100%; height: auto; }
.hero-logo { width: min(561px, 77.7vw); margin: 0 auto clamp(1.6rem, 4.5vw, 2.9rem); } /* 1914/1774 wider than the plain logo, so the letters keep their size */
.hero h1, .hero .lead { margin-inline: auto; }
.hero h1 { max-width: none; }
.hero .lead { margin-top: 1.5rem; }

/* Quote */
.quote { background: var(--ink); color: var(--on-dark); padding: clamp(5.5rem, 13vw, 10rem) 0; }
.quote blockquote { margin: 0; text-align: center; }
.quote blockquote p {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(1.85rem, 1rem + 3.4vw, 4.1rem); line-height: 1.22; letter-spacing: 0;
  margin: 0 auto; max-width: 24ch; text-wrap: balance;
}
.quote footer { margin-top: 2.25rem; }
.quote cite { font-style: normal; font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-muted); }
.quote cite::before { content: "— "; }

/* Sections */
.section { padding: clamp(4.5rem, 10vw, 8rem) 0; }
.section + .section:not(.soft) { border-top: 1px solid var(--line); }
.section.soft { background: var(--bg-soft); }
.section-intro { max-width: 760px; margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.section-intro .lead { margin-top: 1.25rem; }

.two-col { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.two-col h2 { max-width: 14ch; }
@media (max-width: 800px) { .two-col { grid-template-columns: 1fr; gap: 2rem; } }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 3.5rem); }
.steps li { border-top: 1px solid var(--line); padding-top: 1.5rem; }
.steps .num { display: block; font-size: .85rem; font-weight: 600; color: var(--brand); letter-spacing: .08em; margin-bottom: 2rem; }
.steps h3 { margin-bottom: .6rem; }
.steps p { color: var(--muted); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 2rem; } .steps .num { margin-bottom: 1rem; } }

/* Why anonymous */
.pull { font-family: var(--serif); font-style: italic; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); line-height: 1.2; color: var(--ink); margin-top: 2rem; }

/* Ideas */
.ideas { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(2rem, 5vw, 4.5rem); border-top: 1px solid var(--line); }
.ideas li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); line-height: 1.5; }
@media (max-width: 720px) { .ideas { grid-template-columns: 1fr; } }
.tag { display: inline-flex; align-items: center; gap: .4rem; font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); white-space: nowrap; vertical-align: .1em; }
.ideas .tag { flex: none; }
.lead .tag { margin: 0 .15rem; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }

/* Join in */
.join-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
@media (max-width: 720px) { .join-grid { grid-template-columns: 1fr; } }
.join-card {
  display: flex; flex-direction: column; gap: .75rem;
  padding: 1.75rem 1.75rem 1.6rem;
  background: var(--bg); border: 1px solid var(--line); border-radius: 12px;
  color: var(--text); text-decoration: none;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.join-card:hover { border-color: #b4a0d1; border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); box-shadow: 0 18px 36px -28px rgba(27, 25, 48, .45); transform: translateY(-2px); }
.join-card p { color: var(--muted); flex: 1; }
.join-card .link { margin-top: .25rem; }
.join-card-wide { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; gap: 2rem; }
.join-card-wide > div { display: grid; gap: .75rem; max-width: 60ch; }
.join-card-wide .link { flex: none; margin-top: 0; }
@media (max-width: 720px) { .join-card-wide { flex-direction: column; align-items: flex-start; gap: .75rem; } }
html.js .join-card:nth-child(5) { transition-delay: .32s; }

/* Cards */
.cards.two-col { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; }
@media (max-width: 800px) { .cards.two-col { grid-template-columns: 1fr; } }
.cards h2 { margin-bottom: 1.25rem; }
.howto { padding-left: 1.25rem; margin: 1.5rem 0 0; color: var(--muted); display: grid; gap: .4rem; }
.howto li::marker { color: var(--brand); font-weight: 600; }
.card-preview { position: relative; width: min(420px, 100%); aspect-ratio: 3.5 / 2; margin-inline: auto; }
.card {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .9rem;
  background: var(--bg); border: 1px solid var(--line); border-radius: 10px;
  box-shadow: 0 1px 2px rgba(27, 25, 48, .04), 0 24px 48px -28px rgba(27, 25, 48, .35);
}
.card img { width: 48%; }
.card-back { transform: translate(14px, 14px); background: var(--bg-soft); box-shadow: none; }
.card-url { font-size: .68rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }

/* Who runs this */
.who { text-align: center; }
.who h2 { margin-inline: auto; }
.who p:not(.answer) { max-width: 58ch; margin-inline: auto; }
.answer { font-family: var(--serif); font-style: italic; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.6rem); color: var(--brand); margin: .9rem 0 1.5rem; }

/* Inner pages (forms, thank-you, 404) */
.page { padding: clamp(3.5rem, 9vw, 6.5rem) 0 clamp(5rem, 11vw, 8rem); }
.page h1 { margin-bottom: 1.25rem; }
.page .lead { margin-bottom: 2.5rem; }

/* Podcast page: three short facts above the form */
.facts { list-style: none; margin: 0 0 3rem; padding: 0; display: grid; gap: .9rem; border-left: 2px solid var(--brand); padding-left: 1.25rem; }
.facts strong { color: var(--ink); font-weight: 600; }

/* Forms */
.form { display: grid; gap: 1.4rem; }
.field { display: grid; gap: .45rem; margin: 0; padding: 0; border: 0; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 640px) { .field-row { grid-template-columns: 1fr; } }
label, legend { font-weight: 600; font-size: .95rem; color: var(--ink); }
legend { padding: 0; margin-bottom: .35rem; }
.opt { font-weight: 400; color: var(--muted); }
.opt::before { content: " · "; }
input[type="text"], input[type="email"], textarea {
  width: 100%; padding: .8rem 1rem;
  font: inherit; color: var(--text); background: var(--bg);
  border: 1px solid var(--line); border-radius: 8px;
  -webkit-appearance: none; appearance: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
textarea { resize: vertical; min-height: 7rem; line-height: 1.55; }
input:focus, textarea:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(112, 66, 166, .18); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent); }
input::placeholder, textarea::placeholder { color: #a6a3b8; }
.check, .radio { display: flex; gap: .7rem; align-items: flex-start; font-weight: 400; font-size: 1rem; color: var(--text); line-height: 1.5; }
.check input, .radio input { flex: none; width: 1.1rem; height: 1.1rem; margin: .22rem 0 0; accent-color: var(--brand); }
.radio + .radio, fieldset .check + .check { margin-top: .6rem; }
.check strong { color: var(--ink); font-weight: 600; }
.radio strong { color: var(--ink); font-weight: 600; }
.form .actions { margin-top: .5rem; }
.form-note { font-size: .95rem; color: var(--muted); }
.form-error { color: #a32036; font-size: .95rem; margin: 0; }
.form-error a { color: inherit; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-done { padding: 2rem 0 0; }
.form-done h2 { margin-bottom: .75rem; }
.projects { margin-top: clamp(4rem, 9vw, 6rem); padding-top: clamp(2.5rem, 6vw, 4rem); border-top: 1px solid var(--line); }
.projects h2 { margin-bottom: 1rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: clamp(3rem, 7vw, 5rem) 0 2.5rem; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 2rem; align-items: start; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .logo img { width: auto; height: 44px; }
.footer-line { margin-top: 1rem; color: var(--muted); max-width: 40ch; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.footer-links a { color: var(--text); text-decoration-color: var(--line); }
.footer-links a:hover { color: var(--brand); text-decoration-color: currentColor; }
.footer-small { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; }

/* Reveal on scroll (only when JS is running) */
html.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
html.js .reveal.in { opacity: 1; transform: none; }
html.js .steps li:nth-child(2), html.js .join-card:nth-child(2) { transition-delay: .08s; }
html.js .steps li:nth-child(3), html.js .join-card:nth-child(3) { transition-delay: .16s; }
html.js .join-card:nth-child(4) { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; transition-delay: 0s !important; }
  html.js .reveal { opacity: 1; transform: none; }
}

/* Header: the podcast invitation sits beside "Join in" as a second, outlined button. */
.btn-outline { background: var(--brand-soft); color: var(--brand); box-shadow: inset 0 0 0 1.5px var(--brand); }
.btn-outline:hover { background: var(--brand); color: #fff; }
.podcast-link .short { display: none; }
.site-header .wrap { gap: 1.25rem; }
.site-header .btn-sm + .btn-sm { margin-left: 0; }
@media (max-width: 1180px) { .nav { gap: 1.2rem; } .nav a { font-size: .7rem; letter-spacing: .13em; } }
@media (max-width: 1040px) { .podcast-link .full { display: none; } .podcast-link .short { display: inline; } }
@media (max-width: 1000px) { .site-header .podcast-link { margin-left: auto; } .site-header .btn-sm { margin-left: 0; } }
@media (max-width: 400px) { .site-header .btn-sm { padding-inline: .7rem; font-size: .84rem; } .site-header .wrap { gap: .6rem; } }

/* Guides */
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
@media (max-width: 900px) { .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .guide-grid { grid-template-columns: 1fr; } }
.guide-card { display: flex; flex-direction: column; gap: .6rem; padding: 1.5rem 1.5rem 1.4rem; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; color: var(--text); text-decoration: none; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.guide-card:hover { border-color: #b4a0d1; border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); box-shadow: 0 18px 36px -28px rgba(27, 25, 48, .45); transform: translateY(-2px); }
.guide-card h3 { font-size: 1.15rem; }
.guide-card p { color: var(--muted); font-size: .98rem; flex: 1; }
.guide-card .link { font-size: .95rem; }
.article h1 { margin-bottom: 1.25rem; }
.article .intro { font-size: clamp(1.1rem, 1.02rem + .35vw, 1.25rem); line-height: 1.6; color: var(--muted); margin-bottom: 2rem; }
.article .intro a { color: var(--brand); }
.toc { margin: 0 0 3rem; padding: 1.25rem 1.5rem; background: var(--bg-soft); border-radius: 12px; }
.toc-title { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 .6rem; }
.toc ol { margin: 0; padding-left: 1.25rem; columns: 2; column-gap: 2rem; }
@media (max-width: 600px) { .toc ol { columns: 1; } }
.toc li { padding: .15rem 0; break-inside: avoid; }
.toc a { color: var(--ink); text-decoration: none; }
.toc a:hover { color: var(--brand); text-decoration: underline; }
.article section { margin-bottom: 3rem; }
.article h2 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem); margin-bottom: 1rem; scroll-margin-top: calc(var(--header-h) + 1rem); }
.article h3 { font-size: 1.2rem; margin: 1.6rem 0 .5rem; }
.article ul, .article ol { padding-left: 1.4rem; margin: 0 0 1.1em; }
.article li { margin-bottom: .45rem; }
.article li::marker { color: var(--brand); }
.faq details { border-top: 1px solid var(--line); padding: 1rem 0; }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand); font-weight: 400; flex: none; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: .75rem 0 0; color: var(--text); }
.sources ul { font-size: .95rem; color: var(--muted); }
.updated { font-size: .88rem; color: var(--muted); margin: 2.5rem 0; }
.cta-box { margin-top: 3rem; padding: 2rem; background: var(--bg-soft); border-radius: 14px; }
.cta-box h2 { font-size: 1.6rem; margin-bottom: .6rem; }
.cta-box .actions { margin-top: 1.25rem; }

/* Cards: two stacked download buttons, the same width */
.downloads { display: flex; flex-direction: column; align-items: flex-start; gap: .75rem; margin-top: 2.25rem; }
.downloads .btn { white-space: normal; text-align: left; }
@media (max-width: 480px) { .downloads { align-items: stretch; } .downloads .btn { justify-content: center; text-align: center; } }

.article h1 { max-width: 24ch; }
.article h1 { font-size: clamp(2.1rem, 1.3rem + 2.6vw, 3.4rem); }

/* Small logos are inline SVG (so "because" follows the shared colour timeline); size them like the old <img>s. */
.logo-live { display: block; height: auto; aspect-ratio: 1774 / 790; }
.site-header .logo .logo-live { width: auto; height: 42px; }
.site-footer .logo .logo-live { width: auto; height: 44px; }
.card .logo-live { width: 48%; }

/* Ideas: footer with "More ideas" (all sizes) and, on phones, a toggle that unfolds the list. */
#guide-list { scroll-margin-top: 1rem; }   /* "More ideas" lands with a little air under the header */
.ideas-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 1.75rem; }
@media (max-width: 720px) {
  .ideas.is-collapsed > li:nth-child(n + 5) { display: none; }
  .ideas.is-collapsed { position: relative; }
  .ideas.is-collapsed::after {   /* a soft fade hints there is more */
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3.5rem; pointer-events: none;
    background: linear-gradient(rgba(255, 255, 255, 0), var(--bg));
  }
  .ideas-foot { flex-direction: column; align-items: stretch; text-align: center; }
  .ideas-foot .btn { width: 100%; }
}
