/* Homepage sections, effects, and responsive layouts. Load after styles.css. */

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 790px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  /* background:
    radial-gradient(circle at 75% 25%, rgba(135, 92, 255, .35), transparent 31%),
    radial-gradient(circle at 28% 83%, rgba(88, 214, 232, .18), transparent 35%),
    #08080b; */
  background:
  radial-gradient(
    circle at 75% 25%,
    rgba(8, 65, 139, .48),
    transparent 32%
  ),
  radial-gradient(
    circle at 28% 83%,
    rgba(205, 129, 49, .22),
    transparent 36%
  ),
  #08080b;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(310px, .75fr);
  gap: 56px;
  align-items: center;
  padding: 110px 0 150px;
}

.hero .eyebrow {
  color: var(--red);
}

.hero h1 span {
  display: block;
  margin-top: 18px;
  color: #c8c8d2;
  font-size: .38em;
  letter-spacing: -.025em;
}

.hero-copy > p {
  max-width: 780px;
  margin-top: 28px;
  color: #c6c6ce;
}

.hero-location {
  margin-top: 28px;
  color: #fff;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.hero-location + .lead {
  margin-top: 10px;
}

.hero-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .17);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .08);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .34);
}

.hero-card-top {
  padding: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, .13);
}

.hero-card-top strong {
  display: block;
  font-size: 2rem;
  line-height: 1.1;
}

.hero-card-top span {
  color: #c8c8cf;
}

.facts {
  display: grid;
}

.fact {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: center;
  padding: 20px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, .10);
}

.fact:last-child {
  border-bottom: 0;
}

.fact-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  justify-self: center;
  color: #fff;
}

.fact-icon svg {
  display: block;
  width: 24px;
  height: 24px;
}

.fact small {
  display: block;
  color: #a9a9b2;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

/* ---------- Previous editions / introduction ---------- */
.previous-year {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
  gap: 48px;
  align-items: center;
}

.previous-copy {
  display: grid;
  gap: 24px;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 8px;
}

.metric {
  min-height: 175px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--mist);
}

.metric strong {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 2.3rem;
  line-height: 1;
  letter-spacing: -.035em;
}

.metric strong small {
  color: #666671;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.metric span {
  max-width: 25ch;
  color: #6a6a74;
  font-size: .92rem;
  line-height: 1.55;
}

.qsl-history {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.qsl-history-label {
  display: block;
  margin-bottom: 12px;
  color: #777780;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.qsl-history-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 28px;
}

.qsl-history-links a {
  display: flex;
  align-items: baseline;
  gap: 9px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}

.qsl-history-links strong {
  color: var(--red);
  font-size: .88rem;
}

.qsl-history-links span {
  color: #55555f;
  font-size: .82rem;
}

.qsl-history-links a:hover span {
  color: var(--ink);
}

.qsl-media-link {
  display: inline-block;
  margin-top: 14px;
  color: #777780;
  font-size: .78rem;
  text-decoration: none;
}

.qsl-media-link:hover {
  color: var(--red);
}

/* ---------- Vision ---------- */
.vision .section-head {
  grid-template-columns: minmax(0, 1fr) minmax(440px, 1fr);
  gap: clamp(48px, 7vw, 90px);
  align-items: start;
  margin-bottom: 52px;
}

.vision-title {
  display: grid;
  gap: 14px;
}

.vision-title h2 {
  max-width: 10ch;
  text-wrap: balance;
}

.vision .section-head .lead {
  max-width: 650px;
  margin: 0;
  line-height: 1.58;
}

.vision-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.vision-card {
  min-height: 330px;
  display: grid;
  grid-template-rows: 54px 72px 1fr;
  gap: 14px;
  align-content: start;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform .2s ease, box-shadow .2s ease;
}

.vision-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.vision-card .num {
  display: block;
  margin: 0;
  color: var(--red);
  font-size: 2.7rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.04em;
}

.vision-card h3 {
  margin: 0;
  align-self: start;
  font-size: clamp(1.25rem, 1.8vw, 1.55rem);
  line-height: 1.16;
  letter-spacing: -.025em;
}

.vision-card p {
  margin: 0;
  color: #595963;
  line-height: 1.55;
}

/* ---------- Scope ---------- */
.scope-grid {
  display: grid;
  grid-template-columns: minmax(320px, .78fr) minmax(0, 1.22fr);
  grid-template-areas:
    "title empty"
    "topics copy";
  column-gap: clamp(52px, 7vw, 84px);
  row-gap: 34px;
  align-items: start;
}

.scope-title {
  grid-area: title;
}

.scope-title h2 {
  margin-top: 10px;
  text-wrap: balance;
}

.topic-list {
  grid-area: topics;
  display: grid;
  gap: 0;
  margin: 12px 0 0;
  border-top: 1px solid var(--line);
}

.topic-list span {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 2px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: .91rem;
  font-weight: 700;
  line-height: 1.35;
}

.topic-list span::before {
  content: "";
  width: 9px;
  height: 9px;
  flex: 0 0 9px;

  background: var(--red);
  border-radius: 0;
}

.scope-copy {
  grid-area: copy;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 0px;
  color: #3f3f48;
  font-size: 1.04rem;
  line-height: 1.58;
}

.scope-copy p {
  margin: 0;
}

/* ---------- Programme / agenda ---------- */
.agenda {
  color: #fff;
  background: #0d0d12;
}

.agenda .lead {
  color: #bdbdc7;
}

.agenda-days {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.day-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .045);
}

.day-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.day-title h3 {
  display: inline;
  font-size: 1.7rem;
  line-height: inherit;
  letter-spacing: inherit;
}

.day-title span {
  color: #b8b8c1;
}

.agenda-item {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 16px;
  padding: 22px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
}

.agenda-item:last-child {
  border-bottom: 0;
}

.agenda-item p {
  margin-top: 4px;
  color: #b8b8c1;
}

.dot {
  width: 10px;
  height: 10px;
  margin-top: .47rem;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 6px rgba(229, 0, 70, .14);
}

.preliminary {
  margin-top: 20px;
  color: #9b9ba4;
  font-size: .88rem;
}

/* ---------- Contribution / participation ---------- */
.participate-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.participate-card {
  position: relative;
  min-height: 530px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  overflow: hidden;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.participate-card.industry {
  color: #fff;
  background: var(--red);
}

.participate-card.science {
  background: #d4d4d4;
}

/* .participate-card::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -90px;
  z-index: 0;
  width: 260px;
  height: 260px;
  border: 40px solid currentColor;
  border-radius: 50%;
  opacity: .07;
  pointer-events: none;
} */
.participate-card > * {
  position: relative;
  z-index: 1;
}

.participate-card > .button {
  flex-shrink: 0;
}

.participate-card h3 {
  font-size: clamp(2rem, 3vw, 3rem);
}

.participate-card p {
  max-width: 560px;
  margin-top: 18px;
}

.mini-list {
  display: grid;
  gap: 12px;
  margin: 28px 0;
}

.mini-list div {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
}

.mini-list b {
  font-weight: 900;
}

.participation-note {
  display: grid;
  gap: 5px;
  margin-top: 28px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.34);
}

.participation-note strong {
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.participation-note span {
  font-size: .9rem;
  line-height: 1.5;
}

.science .participation-note {
  border-color: rgba(16, 16, 20, .12);
  background: rgba(255, 255, 255, .65);
}

.science .participation-note strong {
  color: var(--red);
}

/* ---------- Venue ---------- */
.venue-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(350px, .95fr);
  gap: 28px;
  align-items: stretch;
}

.map-card,
.venue-info {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 18px 45px rgba(16, 16, 20, .06);
}

.venue-info {
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 34px;
}

.address {
  margin: 20px 0 10px;
  font-size: 1.28rem;
  font-weight: 800;
}

.venue-meta {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.venue-meta > div {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

/* Google Maps consent gate */
.map-card.map-consent {
  width: 100%;
  min-width: 0;
  min-height: 560px;
  display: grid;
  overflow: hidden;
  border-radius: var(--radius);
  background: #eeeeef;
}

.map-card.map-consent .map-placeholder {
  width: 100%;
  min-height: 560px;
  flex: 1;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  padding: 40px;
  text-align: center;
}

.map-placeholder-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 14px;
  color: var(--red);
}

.map-placeholder-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.map-placeholder strong {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 1.05rem;
}

.map-placeholder p {
  max-width: 390px;
  margin: 0 0 20px;
  color: #686871;
  font-size: .86rem;
  line-height: 1.55;
}

.map-consent-button {
  appearance: none;
  padding: 10px 18px;
  border: 1px solid #c8c8ce;
  border-radius: 6px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-size: .9rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}

.map-consent-button:hover {
  color: #fff;
  border-color: var(--red);
  background: var(--red);
}

.map-card.map-consent iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 100%;
  border: 0;
}

/* Venue photographs */
.photo-collage {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
  margin-top: 28px;
}

.photo-collage figure {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  background: #ddd;
}

.photo-collage img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.photo-collage figure:first-child img {
  object-position: center 40%;
}

.photo-collage figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 34px 16px 13px;
  color: #fff;
  font-size: .74rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, .76));
}

/* ---------- Sponsors / partner organisations ---------- */
.partners-head {
  align-items: end;
}

.partners-head h2 {
  max-width: 12ch;
  text-wrap: balance;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.partner-card {
  min-width: 0;
  min-height: 175px;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.partner-card:hover,
.partner-card:focus-visible {
  transform: translateY(-3px);
  border-color: #c8c9d0;
  box-shadow: 0 18px 42px rgba(16, 16, 20, .08);
}

.partner-card img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(100%, 230px);
  max-height: 112px;
  object-fit: contain;
  object-position: center;
}

/* ---------- Committee ---------- */
.committee-head > div {
  grid-column: 1 / -1;
}

.committee-head h2 {
  max-width: none;
  text-wrap: balance;
}

.committee-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(42px, 6vw, 72px);
}

.committee-column {
  min-width: 0;
}

.committee-column + .committee-column {
  padding-left: clamp(30px, 4vw, 54px);
  border-left: 1px solid var(--line);
}

.committee-column h3 {
  margin-bottom: 18px;
  font-size: 1.35rem;
}

.committee-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.committee-list li {
  position: relative;
  display: grid;
  gap: 6px;
  padding: 17px 2px 17px 24px;
  border-bottom: 1px solid var(--line);
}

.committee-list li::before {
  content: "";
  position: absolute;
  top: 23px;
  left: 2px;

  width: 10px;
  height: 10px;

  background: var(--red);
  border-radius: 0;
}

.committee-list strong {
  display: block;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.3;
}

.committee-list span {
  display: block;
  margin-top: 2px;
  color: #666671;
  font-size: .88rem;
  line-height: 1.45;
}

.committee-list a {
  width: fit-content;
  color: var(--red);
  font-size: .84rem;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
}

.committee-list a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Closing CTA ---------- */
.closing {
  padding: 90px 0;
  color: #fff;
  background: #707173;
}

.closing-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.closing p {
  max-width: 710px;
  margin-top: 14px;
  color: #fff;
}

@media (max-width: 980px) {
  .hero-grid,
  .previous-year,
  .venue-grid,
  .committee-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    padding-top: 90px;
  }

  .hero-card {
    max-width: 620px;
  }

  .vision .section-head {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .vision-title h2,
  .vision .section-head .lead {
    max-width: none;
  }

  .vision-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Scope becomes one main column; topics remain two columns on tablet. */
  .scope-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
    "title"
    "topics"
    "copy";
    row-gap: 28px;
  }

  .topic-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 28px;
  }

  .partner-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .partners-head h2 {
    max-width: none;
  }

  .committee-column + .committee-column {
    padding-left: 0;
    border-left: 0;
  }

  .venue-info {
    min-height: auto;
  }

  .map-card.map-consent,
  .map-card.map-consent .map-placeholder {
    min-height: 480px;
  }

  .map-card.map-consent iframe {
    height: 480px;
    min-height: 480px;
  }
}

@media (max-width: 720px) {
  .hero-grid {
    gap: 36px;
    padding: 72px 0 125px;
  }

  .vision .section-head,
  .vision-head,
  .committee-head,
  .partners-head {
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: start;
  }

  .vision-title h2 {
    max-width: none;
    font-size: clamp(2rem, 9vw, 3rem);
    text-wrap: balance;
  }

  .vision .section-head .lead {
    max-width: none;
    margin: 0;
  }

  .vision-title {
    gap: 10px;
  }

  .vision-grid,
  .agenda-days,
  .participate-grid,
  .photo-collage {
    grid-template-columns: 1fr;
  }

  .vision-card {
    min-height: auto;
    grid-template-rows: auto auto auto;
  }

  .participate-card {
    min-height: auto;
    padding: 30px;
  }

  .metric-row {
    grid-template-columns: 1fr;
  }

  /* Single-column topic list on phones. */
  .topic-list {
    grid-template-columns: 1fr;
    column-gap: 0;
  }

  .venue-info {
    padding: 28px;
  }

  .photo-collage figure {
    aspect-ratio: 4 / 3;
  }

  .map-card.map-consent,
  .map-card.map-consent .map-placeholder {
    min-height: 390px;
  }

  .map-card.map-consent .map-placeholder {
    padding: 28px;
  }

  .map-card.map-consent iframe {
    height: 390px;
    min-height: 390px;
  }

  .committee-grid {
    gap: 44px;
  }

  .closing-grid {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .partner-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .partner-card {
    min-height: 135px;
    padding: 24px;
  }

  .partner-card img {
    max-width: min(100%, 210px);
    max-height: 70px;
  }

  .qsl-history-links {
    grid-template-columns: 1fr;
  }
}

/* Participation card actions */
.submission-deadline {
  margin-top: 18px;
}

.submission-deadline strong {
  color: var(--red);
}

.participate-actions {
  display: grid;
  gap: 16px;
}

.submission-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.submission-actions,
.attendee-registration {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.submission-actions .button {
  width: 100%;
}

.attendee-registration {
  padding-top: 16px;
  border-top: 1px solid rgba(16, 16, 20, .12);
}

.attendee-registration > span {
  color: #666671;
  font-size: .82rem;
  line-height: 1.4;
}

.attendee-registration .button {
  width: 100%;
}

@media (max-width: 620px) {
  .submission-actions,
  .attendee-registration {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .submission-actions .button,
  .attendee-registration .button {
    width: 100%;
    min-height: 52px;
    justify-content: space-between;
  }

  .attendee-registration {
    padding-top: 16px;
  }

  .attendee-registration > span {
    margin-bottom: 2px;
  }
}

.accessibility-note {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);

  color: #666671;
  font-size: .9rem;
  line-height: 1.5;
}

.accessibility-note a {
  color: var(--red);
  font-weight: 700;
  text-decoration: none;
}

.accessibility-note a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Speckles oh yeah */
.hero {
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;

  background:
    url("assets/qsl_interference_hero.webp") center center / cover no-repeat;

  opacity: 0.4;
  mix-blend-mode: screen;
}

.hero-grid {
  position: relative;
  z-index: 2;
}

.qsl-slider {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: #111;
}

.qsl-slider-track {
  position: relative;
  aspect-ratio: 16 / 9;
}

.qsl-slide {
  position: absolute;
  inset: 0;
  margin: 0;

  opacity: 0;
  visibility: hidden;

  transition:
    opacity .45s ease,
    visibility .45s ease;
}

.qsl-slide.active {
  opacity: 1;
  visibility: visible;
}

.qsl-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.qsl-slider-controls {
  position: absolute;
  inset: auto 12px 12px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.qsl-slider-button {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: var(--smal-radius);
  color: #fff;
  background: rgba(8, 8, 11, .65);
  font: inherit;
  line-height: 1;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}

.qsl-slider-button svg {
  display: block;
}

.qsl-slider-button:hover {
  background: var(--red);
  border-color: var(--red);
}

.qsl-slider-dots {
  display: flex;
}

.qsl-slider-dots button {
  display: grid;
  place-items: center;
  width: 24px;
  height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.qsl-slider-dots button::before {
  content: "";
  width: 7px;
  height: 7px;
  background: rgba(255, 255, 255, .65);
  box-shadow: 0 1px 4px rgba(0, 0, 0, .8);
}

.qsl-slider-dots button.active::before {
  background: #fff;
}

.vision .vision-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas:
    "heading heading"
    "list copy";
  column-gap: clamp(60px, 7vw, 100px);
  row-gap: 32px;
  align-items: start;
}

.vision-heading {
  grid-area: heading;
}

.vision-heading h2 {
  margin: 0;
}

.vision-list {
  grid-area: list;
  border-top: 1px solid var(--line);
}

.vision-item {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr);
  gap: 8px;

  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.vision-square {
  width: 11px;
  height: 11px;
  margin-top: 4px;
  background: var(--red);
}

.vision-body h3 {
  margin: 0 0 5px;

  font-size: 1.08rem;
  line-height: 1.2;
  letter-spacing: -.015em;
}

.vision-body p {
  margin: 0;

  color: #5d5f69;
  font-size: .88rem;
  line-height: 1.5;
}

/* Align the copy with the first list item below its top border. */
.vision-right {
  grid-area: copy;
  padding-top: 18px;
}

.vision-right .lead {
  margin: 0;
}

@media (max-width: 800px) {
  .vision .vision-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "heading"
      "list"
      "copy";
    row-gap: 36px;
  }

  .vision-right {
    padding-top: 0;
  }
}

.agenda-item .dot {
  width: 11px;
  height: 11px;
  flex: 0 0 11px;
  margin-top: 7px;

  background: var(--red);
  border-radius: 0;
}

/* Keep the gallery within the section's normal content width. */
.previous-heading {
  display: grid;
  gap: 24px;
  margin-bottom: 32px;
}

.previous-section .qsl-slider {
  margin-bottom: clamp(32px, 4vw, 48px);
}

.previous-details {
  min-width: 0;
}

@media (max-width: 720px) {
  /* Extend across the mobile wrap's 18px gutters without viewport overflow. */
  .previous-section .qsl-slider {
    width: calc(100% + 36px);
    margin-inline: -18px;
    border-radius: 0;
  }
}
