/* ============================================================
   "Past report" sub-page. Reuses the registration system
   (.subhead masthead, .reg-page rhythm, .head) and the site's
   design tokens, so it stays on-brand. Scoped under .past-report.
   Composition: navy masthead with an edition SEAL -> editorial
   recap -> expanding accordion gallery -> optional testimonials
   carousel -> proceedings + request -> the shared speaker grid.
   ============================================================ */

/* ---- Masthead: asymmetric split (text + edition seal) ---- */
.pr-head { padding-block: clamp(40px, 5vw, 72px); }
.pr-head__inner { display: grid; grid-template-columns: 1.5fr auto; gap: clamp(28px, 5vw, 64px); align-items: center; position: relative; z-index: 2; }
.pr-head__text { min-width: 0; }
.pr-head__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--gold-2);
  font-family: var(--mono);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 13px;
  border-radius: 999px;
  margin: 0 0 16px;
}
.pr-head h1 { max-width: 14ch; }
.pr-head .subhead__sub { max-width: 54ch; }
.pr-head__glow { position: absolute; z-index: 1; pointer-events: none; border-radius: 50%; filter: blur(46px); mix-blend-mode: screen; }
.pr-head__glow--a { width: 480px; height: 380px; right: -120px; top: -150px; background: radial-gradient(circle, rgba(58, 138, 221, 0.4), transparent 64%); }
.pr-head__glow--b { width: 440px; height: 380px; left: -130px; bottom: -180px; background: radial-gradient(circle, rgba(201, 135, 12, 0.28), transparent 62%); }
.pr-head__grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(120% 100% at 50% 0, #000, transparent 76%);
  mask-image: radial-gradient(120% 100% at 50% 0, #000, transparent 76%);
}
.pr-head__cta { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 26px; }

/* commemorative edition seal */
.pr-seal {
  flex: none;
  width: clamp(196px, 22vw, 248px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 26px 24px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--r-xl);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 26px 60px -28px rgba(0, 0, 0, 0.6);
}
.pr-seal__badge { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.pr-seal__ord { font-family: var(--serif); font-weight: 600; font-size: clamp(3rem, 6vw, 4.2rem); line-height: 0.86; color: var(--gold-2); letter-spacing: -0.02em; }
.pr-seal__label { font-family: var(--mono); font-weight: 600; font-size: 0.62rem; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(255, 255, 255, 0.72); }
.pr-seal__rule { width: 36px; height: 2px; background: color-mix(in srgb, var(--gold-2) 70%, transparent); border-radius: 2px; margin: 14px 0; }
.pr-seal__id { display: flex; flex-direction: column; gap: 5px; }
.pr-seal__name { font-family: var(--serif); font-weight: 600; font-size: 0.98rem; line-height: 1.3; color: #fff; }
.pr-seal__meta { font-family: var(--sans); font-weight: 500; font-size: 0.82rem; color: rgba(255, 255, 255, 0.74); }

/* ---- Per-section accents + soft wash (colour, not all blue) ---- */
.past-report #recap { --acc: var(--blue); }
.past-report #gallery { --acc: var(--violet); }
.past-report #testimonials { --acc: var(--coral); }
.past-report #proceedings { --acc: var(--amber); }
.past-report #past-speakers { --acc: var(--teal); }
.reg-page.past-report .section { background: color-mix(in srgb, var(--acc) 6%, #fff); }
/* The request band gets a stronger tint so it reads as its own surface. */
.reg-page.past-report #proceedings { background: var(--bg-tint); }

/* ---- Editorial recap: serif lead beside body, filling the page width ---- */
.pr-recap__body {
  margin-top: 34px;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(28px, 4.5vw, 60px);
  align-items: start;
}
.pr-recap__lead {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.3rem, 2.3vw, 1.72rem);
  line-height: 1.42;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
  padding-left: 20px;
  border-left: 3px solid var(--acc);
  text-wrap: pretty;
}
.pr-recap__prose { min-width: 0; }
.pr-recap__p { font-size: 1.05rem; line-height: 1.75; color: var(--ink-2); margin: 0 0 16px; text-wrap: pretty; }
.pr-note {
  margin: 26px 0 0;
  padding: 14px 16px;
  background: var(--amber-tint);
  border: 1px solid color-mix(in srgb, var(--amber) 28%, var(--line));
  border-radius: var(--r-md);
  font-size: 0.88rem;
  line-height: 1.55;
  color: #5a4410;
}

/* ---- Photo gallery: three selectable designs (grid / accordion / mosaic) ---- */
/* shared tile + caption */
.pr-gal { list-style: none; margin: 30px 0 0; padding: 0; }
.pr-gal__item { position: relative; overflow: hidden; border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: var(--shadow-xs); }
.pr-gal__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s var(--ease-out); }
.pr-gal__item:hover img { transform: scale(1.05); }
.pr-gal__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 34px 14px 12px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.82rem;
  line-height: 1.4;
  color: #fff;
  background: linear-gradient(transparent, rgba(7, 18, 32, 0.84));
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}
.pr-gal__item:hover .pr-gal__cap { opacity: 1; transform: none; }

/* (a) grid — scalable wrapping grid, group photo featured (DEFAULT) */
.pr-gal--grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); grid-auto-rows: clamp(150px, 17vw, 198px); grid-auto-flow: row dense; gap: 14px; }
.pr-gal--grid .pr-gal__item:first-child { grid-column: span 2; grid-row: span 2; }
.pr-gal--grid .pr-gal__item:first-child .pr-gal__cap { opacity: 1; transform: none; }

/* (b) accordion — horizontal panels that expand on hover/focus */
.pr-gal--accordion { display: flex; gap: 14px; height: clamp(320px, 44vh, 460px); }
.pr-gal--accordion .pr-gal__item { flex: 1 1 0; min-width: 0; cursor: pointer; transition: flex 0.55s var(--ease-out); }
.pr-gal--accordion .pr-gal__item:first-child { flex: 2.2 1 0; }
.pr-gal--accordion .pr-gal__item:hover,
.pr-gal--accordion .pr-gal__item:focus-visible { flex: 2.8 1 0; outline: none; }
.pr-gal--accordion .pr-gal__item:focus-visible { box-shadow: 0 0 0 3px var(--blue-tint), var(--shadow-sm); }
.pr-gal--accordion .pr-gal__item:first-child .pr-gal__cap,
.pr-gal--accordion .pr-gal__item:focus-visible .pr-gal__cap { opacity: 1; transform: none; }

/* (c) mosaic — editorial feature tile + fixed surrounding tiles (best ~5 photos) */
.pr-gal--mosaic { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: clamp(132px, 17.5vw, 200px); gap: 14px; }
.pr-gal--mosaic .pr-gal__item:first-child { grid-column: span 4; grid-row: span 2; }
.pr-gal--mosaic .pr-gal__item:nth-child(2),
.pr-gal--mosaic .pr-gal__item:nth-child(3) { grid-column: span 2; }
.pr-gal--mosaic .pr-gal__item:nth-child(4),
.pr-gal--mosaic .pr-gal__item:nth-child(5) { grid-column: span 3; }
.pr-gal--mosaic .pr-gal__item:first-child .pr-gal__cap { opacity: 1; transform: none; }

/* ---- Testimonials carousel ---- */
.pr-tcar__head { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.pr-tcar__head-text { text-align: left; justify-content: flex-start; }
.pr-tcar__head-text.head { margin: 0; }
.pr-tcar__sub { margin: 12px 0 0; text-align: left; max-width: 64ch; }
.pr-tcar__btns { display: flex; gap: 10px; flex: none; }
.pr-tcar__btn {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--line-2, var(--line));
  color: var(--ink-2);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s, transform 0.2s;
}
.pr-tcar__btn:hover { border-color: var(--acc); color: var(--acc); }
.pr-tcar__btn:active { transform: scale(0.95); }
.pr-tcar__btn:focus-visible { outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--acc) 26%, transparent); }
.pr-tcar__btn-ico { display: grid; place-items: center; }
.pr-tcar__btn-ico svg { width: 18px; height: 18px; }
.pr-tcar__btn-ico--prev { transform: scaleX(-1); }

.pr-tcar__track {
  list-style: none;
  margin: 28px 0 0;
  padding: 6px 4px 18px;
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.pr-tcar__track::-webkit-scrollbar { display: none; }
.pr-tcar__track:focus-visible { outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--acc) 22%, transparent); border-radius: var(--r-lg); }
.pr-tcar__card {
  scroll-snap-align: start;
  flex: 0 0 clamp(280px, 80vw, 360px);
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px 24px 22px;
  box-shadow: var(--shadow-sm);
}
.pr-tcar__mark { font-family: var(--serif); font-size: 2.4rem; line-height: 0.5; color: color-mix(in srgb, var(--acc) 50%, var(--line)); }
.pr-tcar__quote { margin: 10px 0 0; flex: 1; }
.pr-tcar__quote p { font-size: 1rem; line-height: 1.6; color: var(--ink); margin: 0; text-wrap: pretty; }
.pr-tcar__cite { display: flex; flex-direction: column; gap: 1px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.pr-tcar__name { font-family: var(--sans); font-weight: 600; font-size: 0.92rem; color: var(--ink); }
.pr-tcar__role { font-size: 0.82rem; color: var(--muted); }

/* ---- Proceedings: cover + blurb beside a request form ---- */
.pr-proc__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(28px, 4vw, 52px); align-items: start; margin-top: 30px; }
.pr-proc__intro { display: grid; grid-template-columns: 172px minmax(0, 1fr); gap: 24px; align-items: start; }
.pr-proc__cover {
  position: relative;
  border-radius: 4px 7px 7px 4px;
  overflow: hidden;
  aspect-ratio: 600 / 840;
  background: var(--bg-tint);
  box-shadow: 3px 0 0 rgba(0, 0, 0, 0.06), 6px 0 0 #f3f0ea, 7px 0 0 var(--line),
    22px 26px 44px -20px rgba(13, 24, 34, 0.55);
}
.pr-proc__cover::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 7px; background: linear-gradient(90deg, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0)); }
.pr-proc__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pr-proc__p { font-size: 1rem; line-height: 1.7; color: var(--ink-2); margin: 0 0 13px; }
.pr-proc__p:last-child { margin-bottom: 0; }

.pr-proc__request { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(22px, 3vw, 32px); box-shadow: var(--shadow); }
.pr-proc__form-h { font-family: var(--serif); font-weight: 600; font-size: 1.25rem; color: var(--ink); margin: 0 0 8px; }
.pr-proc__form-sub { font-size: 0.95rem; line-height: 1.6; color: var(--ink-2); margin: 0 0 20px; }

/* ---- Request form ---- */
.prf { display: grid; gap: 14px; }
.prf-field { display: flex; flex-direction: column; gap: 7px; }
.prf-field > span { font-family: var(--sans); font-weight: 600; font-size: 0.92rem; letter-spacing: 0; text-transform: none; color: var(--ink-2); }
.prf-field > span em { font-style: normal; color: color-mix(in srgb, var(--coral) 80%, #000); }
.prf-field input,
.prf-field textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-2, var(--line));
  border-radius: var(--r);
  padding: 11px 13px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.prf-field textarea { resize: vertical; min-height: 96px; line-height: 1.55; }
.prf-field input:focus,
.prf-field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-tint); }
.prf-captcha input { max-width: 150px; }
.prf-hp { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.prf-err { margin: 0; font-size: 0.88rem; font-weight: 500; color: color-mix(in srgb, var(--coral) 80%, #000); }
.prf-submit { justify-self: start; }
.prf-sent { margin: 2px 0 0; padding: 12px 15px; background: color-mix(in srgb, var(--teal) 9%, #fff); border: 1px solid color-mix(in srgb, var(--teal) 26%, var(--line)); border-radius: var(--r-md); font-size: 0.92rem; line-height: 1.5; color: color-mix(in srgb, var(--teal) 80%, #000); }

/* ---- Past speakers: styles the reused SpeakerGrid needs ----
   .spk__flag sizing + the accent card facelift normally live in
   speakers.css (which this page doesn't import), so mirror them here,
   scoped to .past-report. The accent comes from --spk-acc (set inline by
   SpeakerGrid from the `accent` prop). Without this the country flags
   render at their natural SVG size. */
.past-report .spk__flag {
  display: inline-block;
  width: 17px;
  height: auto;
  border-radius: 2px;
  vertical-align: -2px;
  margin-right: 6px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}
.past-report .spk {
  border-top: 3px solid var(--spk-acc, var(--teal));
  background: linear-gradient(180deg, color-mix(in srgb, var(--spk-acc, var(--teal)) 7%, #fff), #fff 58%);
}
.past-report .spk:hover {
  border-color: color-mix(in srgb, var(--spk-acc) 45%, var(--line));
  box-shadow: 0 22px 46px -26px color-mix(in srgb, var(--spk-acc) 55%, transparent);
}
.past-report .spk__avatar {
  background: color-mix(in srgb, var(--spk-acc) 16%, #fff);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--spk-acc) 32%, transparent), var(--shadow-sm);
}
.past-report .spk__badge { color: color-mix(in srgb, var(--spk-acc) 70%, #000); background: color-mix(in srgb, var(--spk-acc) 14%, #fff); }
.past-report .spk__badge--key { color: #fff; background: color-mix(in srgb, var(--spk-acc) 70%, #000); }
.past-report .spk__loc { color: color-mix(in srgb, var(--spk-acc) 70%, #000); }
.past-report .spk__cue { color: color-mix(in srgb, var(--spk-acc) 70%, #000); }

/* ---- Responsive ---- */
@media (max-width: 860px) {
  .pr-head__inner { grid-template-columns: 1fr; gap: 28px; }
  .pr-seal { width: 100%; max-width: 440px; flex-direction: row; align-items: center; text-align: left; gap: 20px; padding: 18px 22px; }
  .pr-seal__rule { width: 2px; height: 52px; margin: 0; flex: none; }
  .pr-seal__ord { font-size: clamp(2.6rem, 9vw, 3.4rem); }
}
@media (max-width: 820px) {
  .pr-recap__body { grid-template-columns: 1fr; gap: 22px; }
  .pr-recap__lead { font-size: clamp(1.25rem, 5vw, 1.5rem); }
}
@media (max-width: 720px) {
  .pr-tcar__head { flex-direction: column; align-items: flex-start; gap: 14px; }
}
@media (max-width: 880px) {
  .pr-proc__grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 720px) {
  /* accordion collapses to a 2-col grid on touch (no hover to expand) */
  .pr-gal--accordion { display: grid; height: auto; grid-template-columns: repeat(2, 1fr); grid-auto-rows: clamp(150px, 32vw, 188px); gap: 12px; }
  .pr-gal--accordion .pr-gal__item { flex: none; }
  .pr-gal--accordion .pr-gal__item:first-child { grid-column: 1 / -1; grid-row: span 2; }
}
@media (max-width: 640px) {
  .pr-gal--mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: clamp(140px, 32vw, 180px); }
  .pr-gal--mosaic .pr-gal__item { grid-column: span 1; grid-row: span 1; }
  .pr-gal--mosaic .pr-gal__item:first-child { grid-column: 1 / -1; grid-row: span 2; }
}
@media (max-width: 560px) {
  .pr-gal--grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: clamp(135px, 32vw, 176px); }
  .pr-gal--grid .pr-gal__item:first-child { grid-column: 1 / -1; grid-row: span 2; }
}
@media (max-width: 540px) {
  .pr-proc__intro { grid-template-columns: 1fr; gap: 22px; justify-items: center; text-align: center; }
  .pr-proc__cover { max-width: 200px; }
  .pr-proc__p { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  .pr-gal__item,
  .pr-gal--accordion .pr-gal__item,
  .pr-gal__item img,
  .pr-gal__cap { transition: none; }
}
