/*
 * Conference 2026 v2 — modern editorial redesign.
 * Green / lavender-pink / black brand palette. Motion.js + Lucide icons.
 */

/* ─── Readymag overrides ───────────────────────────────────────────────── */

article.page.conf-v2-active,
article.page.conf-v2-active .page-content-container {
  height: auto !important;
  min-height: 0 !important;
  position: relative !important;
  background: transparent !important;
}

/* Readymag renders every page on a fixed 1024px canvas and scales it down to
 * the viewport. The conf-v2 layout is fluid, so it opts out of both the canvas
 * width and the scaling. Without this it renders at ~0.5-0.7 scale inside a
 * narrower column, its own breakpoints never match the real viewport, and —
 * because .content-bounds sits *outside* the scale while its height is derived
 * from the mount's unscaled offsetHeight — the page keeps scrolling for
 * ~1800px of blank space past the end of the content.
 *
 * The viewer scales by one of two mechanisms and which one it picks is decided
 * by the device, not the width: on a desktop pointer it sets an inline `zoom`,
 * but on anything it treats as touch (every phone and tablet) it sets
 * `transform: scale()` with a matching `left` offset instead. Neutralising only
 * `zoom` therefore fixed desktop while leaving phones and tablets rendering the
 * whole page inside a ~27%-wide column with the rest of the screen blank, so
 * both are reset here. `transform-origin` goes with it: the viewer's own value
 * assumes the 1024px canvas, and a stale origin shifts the untransformed
 * content sideways.                                                          */
article.page.conf-v2-active .page-content-container {
  zoom: 1 !important;
  transform: none !important;
  transform-origin: 0 0 !important;
  width: 100% !important;
  left: 0 !important;
  top: 0 !important;
}

/* Give the scroll-wrapper enough height so the page is scrollable.
 * border-box is kept deliberately: the wrapper's height is set to the viewport
 * height (here and again inline by ensureScrollable), so any padding added
 * here later would otherwise push its last rows past the bottom of the window.
 * The 80px top padding this used to carry is gone with the floating nav bar --
 * the page's own header is an ordinary block in the content flow now.        */
article.page.conf-v2-active .content-scroll-wrapper {
  box-sizing: border-box !important;
  height: 100vh !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
}

article.page.conf-v2-active .page-content-container .rmwidget {
  display: none !important;
}

article.page.conf-v2-active .conf-2026-mount {
  width: 100%;
  max-width: 100%;
  position: relative;
  left: 0;
  top: 0;
}

/* ─── Root variables ───────────────────────────────────────────────────── */

.conf-v2 {
  --v2-green:     #0a3c25;
  --v2-green-mid: #0d4f31;
  --v2-pink:      #d0a4f7;
  --v2-pink-deep: #b581ef;
  --v2-black:     #111111;
  --v2-ink:       #282828;
  --v2-muted:     #5a6b62;
  --v2-tint:      #f9f4fd;
  --v2-white:     #ffffff;
  --v2-px:        max(24px, calc((100% - 1200px) / 2 + 24px));
  --v2-sans:      "Source Sans 3", system-ui, sans-serif;
  /* Display face for headings, quote marks and numerals. This was "Playfair
   * Display", Georgia, serif; the page is sans throughout now, so it points at
   * the body stack. Kept as its own variable rather than deleted: it still
   * marks which type is display type, and makes the face a one-line swap. */
  --v2-display:   var(--v2-sans);
  font-family: var(--v2-sans);
  color: var(--v2-ink);
  line-height: 1.55;
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

.conf-v2 *,
.conf-v2 *::before,
.conf-v2 *::after {
  box-sizing: border-box;
}

/* ─── Shared typography ────────────────────────────────────────────────── */

.conf-v2__section-title {
  font-family: var(--v2-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--v2-green);
  margin: 0 0 28px;
  line-height: 1.15;
  display: flex;
  align-items: center;
  gap: 12px;
}

.conf-v2__section-title--center { justify-content: center; text-align: center; }
.conf-v2__section-title--light  { color: var(--v2-white); }
.conf-v2__section-title--sm     { font-size: 1.15rem; margin-top: 40px; }

/* A heading nested inside a section that already has one (the workshops panel
 * within Saturday), so it sits a step below the section's own title. */
.conf-v2__section-title--sub {
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  margin-bottom: 20px;
}

.conf-v2__section-title svg,
.conf-v2__section-title i svg { width: 28px; height: 28px; flex-shrink: 0; }

/* ─── 1. Hero ──────────────────────────────────────────────────────────── */

.conf-v2__hero {
  background-color: #0a3c25 !important;
  background-image: linear-gradient(140deg, #0a3c25 0%, #0d5232 60%, #082e1c 100%) !important;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 80px var(--v2-px);
}

.conf-v2__kicker {
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--v2-pink);
  margin: 0 0 18px;
  font-weight: 700;
}

.conf-v2__title {
  font-family: var(--v2-display);
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.06;
  color: var(--v2-white);
  margin: 0 0 24px;
}

.conf-v2__tagline {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
  max-width: 38ch;
  line-height: 1.65;
}

/* Main day, then the add-on day one step quieter — the same two-tier split the
 * rest of the page uses, stated once above the fold. */
.conf-v2__hero-date {
  font-size: clamp(1rem, 1.9vw, 1.2rem);
  color: rgba(255, 255, 255, 0.9);
  margin: 26px 0 0;
  line-height: 1.5;
}

.conf-v2__hero-date strong {
  color: var(--v2-pink);
  font-weight: 700;
}

.conf-v2__hero-date-sep { color: rgba(255, 255, 255, 0.4); }

.conf-v2__hero-addon {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 8px 0 0;
  line-height: 1.5;
}

.conf-v2__video {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  border: 3px solid var(--v2-pink);
  box-shadow: 12px 12px 0 var(--v2-black);
}

.conf-v2__video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ─── 2. When / Where ──────────────────────────────────────────────────── */

.conf-v2__when-where {
  background-color: #111111 !important;
  padding: 56px var(--v2-px);
}

.conf-v2__alert-badge {
  display: inline-block;
  background: var(--v2-pink);
  color: var(--v2-green);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  padding: 6px 14px;
  border-radius: 2px;
  margin-bottom: 28px;
}

/* Saturday takes the wider column *and* the filled card. Column width alone is
 * not enough on a dark band — two cards of the same treatment read as a pair of
 * equals whatever their widths, which is the impression this page is undoing. */
.conf-v2__day-cards {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.conf-v2__day-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  border-radius: 10px;
  padding: 26px 28px;
}

.conf-v2__day-card svg {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  margin-top: 2px;
}

.conf-v2__day-card--main {
  background: var(--v2-pink);
  border: 1px solid var(--v2-pink);
}

.conf-v2__day-card--main svg { color: var(--v2-green); }

.conf-v2__day-card--addon {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(208, 164, 247, 0.22);
}

.conf-v2__day-card--addon svg { color: var(--v2-pink); }

.conf-v2__day-card-body { min-width: 0; }

.conf-v2__day-card-kicker {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.conf-v2__day-card--main .conf-v2__day-card-kicker {
  color: rgba(10, 60, 37, 0.75);
}

.conf-v2__day-card--addon .conf-v2__day-card-kicker {
  color: var(--v2-pink);
}

.conf-v2__day-card-date {
  font-family: var(--v2-display);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 8px;
}

.conf-v2__day-card--main .conf-v2__day-card-date {
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  color: var(--v2-green);
}

.conf-v2__day-card--addon .conf-v2__day-card-date {
  font-size: clamp(1.05rem, 1.9vw, 1.25rem);
  color: var(--v2-white);
}

.conf-v2__day-card-note {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
}

.conf-v2__day-card--main .conf-v2__day-card-note {
  color: rgba(10, 60, 37, 0.8);
}

.conf-v2__day-card--addon .conf-v2__day-card-note {
  color: rgba(255, 255, 255, 0.62);
}

/* Same building on both days, so it sits under the pair rather than competing
 * as a third card of its own. */
.conf-v2__venue {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(208, 164, 247, 0.18);
}

.conf-v2__venue svg {
  width: 24px;
  height: 24px;
  color: var(--v2-pink);
  flex-shrink: 0;
}

.conf-v2__venue p {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--v2-white);
  line-height: 1.45;
}

/* ─── 3. Value prop ────────────────────────────────────────────────────── */

.conf-v2__value {
  background-color: #ffffff !important;
  text-align: center;
  padding: 88px var(--v2-px);
  position: relative;
}

.conf-v2__quote-wrap {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.conf-v2__quote-mark {
  font-family: var(--v2-display);
  font-size: 7rem;
  color: var(--v2-pink);
  line-height: 0.5;
  position: absolute;
  opacity: 0.35;
  pointer-events: none;
  user-select: none;
}

.conf-v2__quote-mark:first-child { top: -8px; left: -40px; }
.conf-v2__quote-mark--close      { bottom: -40px; right: -40px; }

.conf-v2__value-title {
  font-family: var(--v2-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  font-style: italic;
  color: var(--v2-green);
  margin: 0 0 20px;
  line-height: 1.2;
}

.conf-v2__value-body {
  font-size: 1.15rem;
  color: var(--v2-muted);
  margin: 0 auto;
  max-width: 54ch;
  line-height: 1.7;
}

/* ─── 4. Audience ──────────────────────────────────────────────────────── */

.conf-v2__audience {
  background-color: #f9f4fd !important;
  padding: 72px var(--v2-px);
}

.conf-v2__roles {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.conf-v2__role-badge {
  background: var(--v2-pink);
  color: var(--v2-green);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 18px;
  border-radius: 100px;
  white-space: nowrap;
}

.conf-v2__audience-detail {
  font-size: 1.1rem;
  color: var(--v2-muted);
  max-width: 640px;
  margin: 0 0 24px;
  line-height: 1.7;
}

.conf-v2__motto {
  font-family: var(--v2-display);
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  font-style: italic;
  font-weight: 600;
  color: var(--v2-green);
  margin: 0;
}

/* ─── Day banner (shared by both programme sections) ───────────────────── */

.conf-v2__day-head {
  padding-bottom: 24px;
  margin-bottom: 32px;
  border-bottom: 1px solid;
}

.conf-v2__day-head--main  { border-color: rgba(10, 60, 37, 0.14); }
.conf-v2__day-head--addon { border-color: rgba(208, 164, 247, 0.2); }

.conf-v2__day-kicker {
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.conf-v2__day-head--main  .conf-v2__day-kicker { color: var(--v2-pink-deep); }
.conf-v2__day-head--addon .conf-v2__day-kicker { color: var(--v2-pink); }

.conf-v2__day-title {
  font-family: var(--v2-display);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 10px;
}

/* Saturday's banner is a full display heading; Friday's is deliberately a size
 * down, so the two sections announce themselves at different volumes even
 * though they use the same component. */
.conf-v2__day-head--main .conf-v2__day-title {
  font-size: clamp(2rem, 4.4vw, 3rem);
  color: var(--v2-green);
}

.conf-v2__day-head--addon .conf-v2__day-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--v2-white);
}

.conf-v2__day-sep { opacity: 0.4; font-weight: 400; }

.conf-v2__day-head--main  .conf-v2__day-date { color: var(--v2-pink-deep); }
.conf-v2__day-head--addon .conf-v2__day-date { color: var(--v2-pink); }

.conf-v2__day-summary {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.65;
  max-width: 56ch;
}

.conf-v2__day-head--main  .conf-v2__day-summary { color: var(--v2-muted); }
.conf-v2__day-head--addon .conf-v2__day-summary { color: rgba(255, 255, 255, 0.7); }

/* ─── 6. Friday HR — the add-on day ────────────────────────────────────── */

.conf-v2__friday {
  background-color: #0a3c25 !important;
  padding: 72px var(--v2-px);
}

.conf-v2__hr-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  max-width: 720px;
}

.conf-v2__hr-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(208, 164, 247, 0.18);
}

.conf-v2__hr-item:last-child { border-bottom: none; }

.conf-v2__hr-num {
  font-family: var(--v2-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--v2-pink);
  min-width: 44px;
  line-height: 1;
  flex-shrink: 0;
}

.conf-v2__hr-title {
  flex: 1;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--v2-white);
}

.conf-v2__press-note {
  display: inline-block;
  background: var(--v2-pink);
  color: var(--v2-green);
  font-weight: 800;
  font-size: 0.82rem;
  padding: 10px 20px;
  border-radius: 2px;
  letter-spacing: 0.05em;
}

/* ─── 5. Saturday — the main day ───────────────────────────────────────── */

.conf-v2__saturday {
  background-color: #ffffff !important;
  padding: 80px var(--v2-px);
}

.conf-v2__topics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.conf-v2__topic-card {
  background: var(--v2-white);
  border: 1px solid rgba(10, 60, 37, 0.1);
  border-radius: 10px;
  padding: 24px 24px 24px 20px;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 0 16px;
  box-shadow: 0 2px 12px rgba(10, 60, 37, 0.06);
  cursor: default;
  will-change: transform;
}

.conf-v2__topic-num {
  font-family: var(--v2-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--v2-pink-deep);
  line-height: 1;
  padding-top: 2px;
}

.conf-v2__topic-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--v2-green);
  margin: 0 0 8px;
}

.conf-v2__topic-desc {
  font-size: 0.9rem;
  color: var(--v2-muted);
  margin: 0;
  line-height: 1.6;
  grid-column: 2;
}

.conf-v2__topic-body {
  min-width: 0;
}

/* ─── Workshops — a panel inside Saturday, not a band of its own ───────────
 * These are Saturday's parallel track. As a full-bleed section between Friday's
 * band and the next one they read as a third, day-less thing; nested in the
 * Saturday section behind its own tint they read as part of that day.          */

.conf-v2__workshops {
  background: var(--v2-tint);
  border-radius: 14px;
  padding: 36px 32px;
  margin-top: 44px;
}

.conf-v2__workshop-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.conf-v2__workshop-pill {
  display: inline-block;
  padding: 12px 26px;
  background: transparent;
  border: 2px solid var(--v2-green);
  color: var(--v2-green);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 100px;
  cursor: default;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  will-change: transform;
}

.conf-v2__workshop-pill:hover {
  background: var(--v2-pink);
  border-color: var(--v2-pink);
  color: var(--v2-green);
}

/* ─── 8. Urgency ───────────────────────────────────────────────────────── */

.conf-v2__urgency {
  background-color: #111111 !important;
  color: var(--v2-pink);
  font-family: var(--v2-display);
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 700;
  text-align: center;
  padding: 32px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  letter-spacing: 0.05em;
}

.conf-v2__urgency-dot {
  width: 11px;
  height: 11px;
  background: var(--v2-pink);
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
  animation: conf-v2-pulse 1.5s infinite ease-in-out;
}

@keyframes conf-v2-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.25; transform: scale(0.65); }
}

/* ─── Site header ──────────────────────────────────────────────────────────
 * The mirrored Readymag header is hidden outright on this page. Trimming it
 * down was tried first and does not work: its widgets are positioned and faded
 * by the viewer's own scroll-linked animations, so hiding the nav siblings
 * left the viewer writing an inline display:none onto the logo as well. It
 * also floats over the page rather than scrolling with it.
 *
 * The page renders its own header instead (conf-v2__header below), which is an
 * ordinary block in the content flow -- nothing sticky, no overlay.
 *
 * This also hides the newsletter popup, which lives in the same container; the
 * popup rule further down is kept so it still applies if this is ever undone. */
html.conf-v2-page .above-pages-container {
  display: none !important;
}

/* Flex, not text-align + inline-block: as an inline element the logo sits on a
 * text baseline, and the descender space below it added ~8px that no amount of
 * padding-bottom could remove. Flex has no line box, so the padding below is
 * exactly the padding below. */
.conf-v2__header {
  background: var(--v2-white);
  display: flex;
  justify-content: center;
  /* Tighter below than above: the logo artwork is flush to its own edges
   * (~1% transparent margin), so symmetric padding reads as a gap under it. */
  padding: 12px var(--v2-px) 6px;
}

.conf-v2__logo {
  display: block;
  line-height: 0;
}

.conf-v2__logo img {
  width: 132px;
  height: auto;
  /* The intrinsic 693x369 is on the element, so the box is reserved before
   * the PNG decodes and the hero below does not jump. */
  aspect-ratio: 693 / 369;
}

@media (max-width: 600px) {
  .conf-v2__logo img { width: 108px; }
}

/* ─── Ticket CTAs ──────────────────────────────────────────────────────────
 * Three in-page buttons that scroll to the ticket band: one in the hero
 * (scrolls down) and two below it (scroll back up). The base style is the
 * green fill, which is what reads on the white speakers/partners bands; the
 * --on-dark variant flips to the lavender fill for the dark green hero.     */

.conf-v2__ticket-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding: 15px 30px;
  border-radius: 50px;
  border: 2px solid var(--v2-green);
  background: var(--v2-green);
  color: var(--v2-white);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease,
    box-shadow 0.18s ease;
}

.conf-v2__ticket-cta i,
.conf-v2__ticket-cta svg {
  width: 19px;
  height: 19px;
  flex: none;
}

.conf-v2__ticket-cta:hover {
  background: transparent;
  color: var(--v2-green);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(10, 60, 37, 0.22);
}

.conf-v2__ticket-cta:focus-visible {
  outline: 3px solid var(--v2-pink-deep);
  outline-offset: 3px;
}

/* Hero: sits on the dark green gradient, so the fill has to be the light one
 * and the hover cannot fall back to a transparent background. */
.conf-v2__ticket-cta--on-dark {
  border-color: var(--v2-pink);
  background: var(--v2-pink);
  color: var(--v2-green);
}

.conf-v2__ticket-cta--on-dark:hover {
  background: var(--v2-white);
  border-color: var(--v2-white);
  color: var(--v2-green);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}

.conf-v2__ticket-cta--on-dark:focus-visible {
  outline-color: var(--v2-white);
}

/* Centres the two standalone CTAs in their sections; the hero one is inline
 * in a left-aligned copy column and must not be centred. */
.conf-v2__cta-row {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

@media (prefers-reduced-motion: reduce) {
  .conf-v2__ticket-cta {
    transition: none;
  }
  .conf-v2__ticket-cta:hover {
    transform: none;
  }
}

/* ─── 9 & 14. CTA ──────────────────────────────────────────────────────── */

.conf-v2__cta-band {
  background-color: #d0a4f7 !important;
  text-align: center;
  padding: 64px var(--v2-px);
}

.conf-v2__cta-title {
  font-family: var(--v2-display);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  color: var(--v2-green);
  margin: 0 0 32px;
  letter-spacing: 0.04em;
}

/* What you can actually buy. Informational cards, not buttons — the purchase
 * happens in the widget below — so no hover, no pointer, no focus ring. The
 * Saturday card is filled to match its card in the when/where band. */
.conf-v2__ticket-options {
  list-style: none;
  margin: 0 auto 16px;
  padding: 0;
  max-width: 780px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.conf-v2__ticket {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
  padding: 18px 20px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(10, 60, 37, 0.14);
}

.conf-v2__ticket--main {
  background: var(--v2-white);
  border-color: var(--v2-green);
  box-shadow: 0 6px 20px rgba(10, 60, 37, 0.14);
}

.conf-v2__ticket-tag {
  align-self: flex-start;
  background: var(--v2-green);
  color: var(--v2-pink);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 3px;
  margin-bottom: 6px;
}

/* Only one card carries a tag, and in flow it pushes that card's label a badge
 * lower than the other two. Bottom-aligning the label + detail pair puts all
 * three labels on one line and lets the tag sit above it. */
.conf-v2__ticket-label {
  margin-top: auto;
  font-family: var(--v2-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--v2-green);
  line-height: 1.2;
}

.conf-v2__ticket-detail {
  font-size: 0.82rem;
  color: rgba(10, 60, 37, 0.7);
  line-height: 1.45;
}

.conf-v2__ticket-note {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--v2-green);
  margin: 0 auto 26px;
  max-width: 60ch;
  opacity: 0.85;
}

.conf-v2__inviton {
  max-width: 560px;
  margin: 0 auto 20px;
  background: var(--v2-white);
  border-radius: 10px;
  padding: 12px;
  min-height: 120px;
  box-shadow: 0 8px 28px rgba(10, 60, 37, 0.18);
}

/* Placeholder for the Inviton ticket widget. Sized so the band does not
 * reflow when the real embed replaces it. */
.conf-v2__inviton-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 96px;
  border: 2px dashed rgba(10, 60, 37, 0.3);
  border-radius: 8px;
  font-family: var(--v2-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--v2-green);
}

.conf-v2__email-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px 8px;
}

.conf-v2__email-input {
  width: 100%;
  padding: 14px 20px;
  border: 2px solid transparent;
  border-radius: 50px;
  font-size: 1rem;
  font-family: inherit;
  background: #f5f0ff;
  color: var(--v2-green);
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s;
}

.conf-v2__email-input::placeholder {
  color: #a98fd0;
}

.conf-v2__email-input:focus {
  border-color: var(--v2-green);
}

.conf-v2__email-input--error {
  border-color: #c0392b !important;
}

.conf-v2__email-btn {
  width: 100%;
  padding: 14px 20px;
  border: 2px solid var(--v2-green);
  border-radius: 50px;
  font-size: 1rem;
  font-family: inherit;
  font-weight: 600;
  background: transparent;
  color: var(--v2-green);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.conf-v2__email-btn:hover {
  background: var(--v2-green);
  color: #fff;
}

.conf-v2__email-success {
  text-align: center;
  padding: 24px;
  color: var(--v2-green);
  font-weight: 600;
  font-size: 1rem;
  margin: 0;
}

.conf-v2__corporate {
  font-size: 0.9rem;
  color: var(--v2-green);
  margin: 0;
  opacity: 0.85;
}

.conf-v2__corporate a {
  color: var(--v2-green);
  font-weight: 700;
}

/* ─── 10. Speakers ─────────────────────────────────────────────────────── */

.conf-v2__speakers-section {
  background-color: #ffffff !important;
  padding: 80px var(--v2-px);
}

.conf-v2__speakers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 36px;
}

.conf-v2__speaker-card {
  background: var(--v2-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(10, 60, 37, 0.08);
  border-bottom: 4px solid var(--v2-pink);
  display: flex;
  flex-direction: column;
  will-change: transform;
}

/* Full-bleed 4:5 portrait filling the top of the card. */
.conf-v2__speaker-photo-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: rgba(208, 164, 247, 0.18);
}

.conf-v2__speaker-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
}

.conf-v2__speaker-meta {
  padding: 22px 24px 26px;
}

.conf-v2__speaker-name {
  font-family: var(--v2-display);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--v2-green);
  margin: 0 0 8px;
}

.conf-v2__speaker-role {
  font-size: 0.92rem;
  color: var(--v2-muted);
  margin: 0;
  line-height: 1.5;
}

/* ─── 12. OSN ──────────────────────────────────────────────────────────── */

.conf-v2__osn-section {
  background-color: #f9f4fd !important;
  padding: 64px var(--v2-px);
}

.conf-v2__osn-inner {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  justify-content: center;
  max-width: 680px;
  margin: 0 auto;
}

.conf-v2__osn-inner svg {
  width: 38px;
  height: 38px;
  color: var(--v2-pink-deep);
  flex-shrink: 0;
  margin-top: 3px;
}

.conf-v2__osn-text {
  font-size: 1.05rem;
  color: var(--v2-muted);
  line-height: 1.75;
  margin: 0;
}

/* ─── 15. Partners ─────────────────────────────────────────────────────── */

.conf-v2__partners {
  background-color: #ffffff !important;
  padding: 72px var(--v2-px) 96px;
}

.conf-v2__partner-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 24px;
}

/* Basis has to clear the logo's max-width plus the card's own padding: these
 * are border-box, so a 200px card left only 160px of content and clipped the
 * wider logos back down. */
.conf-v2__partner-card {
  flex: 0 1 224px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  position: relative;
  padding: 26px 20px 20px;
  border: 1px solid #e8e4ee;
  border-radius: 16px;
  background: var(--v2-white);
  text-decoration: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.conf-v2__partner-card:hover,
.conf-v2__partner-card:focus-visible {
  transform: translateY(-6px);
  border-color: var(--v2-pink);
  box-shadow: 0 14px 30px rgba(10, 60, 37, 0.13);
}

.conf-v2__partner-card:focus-visible {
  outline: 2px solid var(--v2-green);
  outline-offset: 3px;
}

/* Cards without a known homepage keep the framing but not the affordances. */
.conf-v2__partner-card--plain {
  cursor: default;
}

.conf-v2__partner-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 68px;
  width: 100%;
}

/* Full colour at rest. These were greyed out and faded until hover, which on a
 * partner wall hides the thing the partners are here for — and on touch, where
 * there is no hover, hid it permanently. The card still has plenty of hover
 * feedback without borrowing the logo's colour for it: it lifts, its border
 * turns pink, the name goes green and the open-in-new arrow appears. */
.conf-v2__partner-logo {
  max-height: 68px;
  max-width: 168px;
  object-fit: contain;
}

.conf-v2__partner-name {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--v2-muted);
  text-align: center;
  line-height: 1.35;
  transition: color 0.22s ease;
}

.conf-v2__partner-card:hover .conf-v2__partner-name,
.conf-v2__partner-card:focus-visible .conf-v2__partner-name {
  color: var(--v2-green);
}

.conf-v2__partner-go {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  color: var(--v2-green);
  opacity: 0;
  transform: translate(-3px, 3px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.conf-v2__partner-go svg { width: 16px; height: 16px; }

.conf-v2__partner-card:hover .conf-v2__partner-go,
.conf-v2__partner-card:focus-visible .conf-v2__partner-go {
  opacity: 1;
  transform: translate(0, 0);
}

@media (prefers-reduced-motion: reduce) {
  .conf-v2__partner-card,
  .conf-v2__partner-go { transition: none; }
  .conf-v2__partner-card:hover { transform: none; }
}

/* ─── 16. Footer ───────────────────────────────────────────────────────── */

.conf-v2__footer {
  background-color: #0a3c25 !important;
  padding: 64px var(--v2-px) 32px;
  color: var(--v2-white);
}

.conf-v2__footer-cols {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(208, 164, 247, 0.22);
}

.conf-v2__footer-brand {
  font-family: var(--v2-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--v2-pink);
  margin: 0 0 12px;
  letter-spacing: 0.02em;
}

.conf-v2__footer-blurb {
  margin: 0;
  max-width: 42ch;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
}

.conf-v2__footer-heading {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--v2-pink);
  margin: 0 0 16px;
}

.conf-v2__footer-email {
  display: inline-block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--v2-white);
  text-decoration: none;
  border-bottom: 1px solid rgba(208, 164, 247, 0.5);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.conf-v2__footer-email:hover {
  color: var(--v2-pink);
  border-color: var(--v2-pink);
}

.conf-v2__footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.conf-v2__footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(208, 164, 247, 0.4);
  color: var(--v2-white);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.conf-v2__footer-social svg {
  width: 18px;
  height: 18px;
}

.conf-v2__footer-social:hover {
  background: var(--v2-pink);
  border-color: var(--v2-pink);
  color: var(--v2-green);
}

.conf-v2__footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.conf-v2__footer-link {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  transition: color 0.2s ease;
}

.conf-v2__footer-link:hover { color: var(--v2-pink); }

.conf-v2__footer-legal {
  margin: 24px 0 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

@media (prefers-reduced-motion: reduce) {
  .conf-v2__footer-email,
  .conf-v2__footer-social,
  .conf-v2__footer-link { transition: none; }
}

/* ─── Responsive ───────────────────────────────────────────────────────── */

@media (max-width: 900px) {
  .conf-v2 { --v2-px: 20px; }

  .conf-v2__hero {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .conf-v2__tagline { max-width: none; }

  /* Stacked, so the widths stop carrying the hierarchy — source order and the
   * filled-vs-outlined treatment still do. */
  .conf-v2__day-cards { grid-template-columns: 1fr; }

  .conf-v2__ticket-options { grid-template-columns: 1fr; }

  .conf-v2__workshops { padding: 28px 20px; margin-top: 36px; }

  .conf-v2__quote-mark { display: none; }

  .conf-v2__topics-grid { grid-template-columns: 1fr; }

  .conf-v2__speakers-grid {
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 20px;
  }

  .conf-v2__speaker-meta { padding: 18px 18px 22px; }

  .conf-v2__speaker-name { font-size: 1.15rem; }

  .conf-v2__workshop-rail {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }

  .conf-v2__osn-inner { flex-direction: column; align-items: center; text-align: center; }

  .conf-v2__footer-cols {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* Phones. The 900px block above is written for a tablet — it stacks the
 * two-column layouts but keeps the desktop rhythm, which on a ~390px screen
 * turns into one tall card per screenful and a lot of scrolling past nothing.
 * This block tightens the vertical padding and puts the two card grids that
 * still have room for it back into two columns.                             */
@media (max-width: 600px) {
  .conf-v2 { --v2-px: 16px; }

  /* Every band's own padding, cut roughly in half. They are listed rather
   * than set through a variable because the values are not uniform on desktop
   * either -- the ratio between them is part of the page's rhythm.          */
  .conf-v2__hero            { padding: 48px var(--v2-px); }
  .conf-v2__when-where      { padding: 40px var(--v2-px); }
  .conf-v2__value           { padding: 52px var(--v2-px); }
  .conf-v2__audience        { padding: 44px var(--v2-px); }
  .conf-v2__friday,
  .conf-v2__saturday        { padding: 48px var(--v2-px); }
  .conf-v2__speakers-section{ padding: 48px var(--v2-px); }
  .conf-v2__cta-band        { padding: 44px var(--v2-px); }
  .conf-v2__osn-section     { padding: 44px var(--v2-px); }
  .conf-v2__partners        { padding: 44px var(--v2-px) 56px; }
  .conf-v2__footer          { padding: 44px var(--v2-px) 28px; }

  /* Two-up rather than one 350px-wide portrait per screenful. The 4:5 photo
   * keeps its aspect ratio, so halving the column height-limits the card as
   * well, and the whole line-up fits in a few thumb-flicks. */
  .conf-v2__speakers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .conf-v2__speaker-meta { padding: 12px 12px 16px; }
  .conf-v2__speaker-name { font-size: 0.95rem; }
  .conf-v2__speaker-role { font-size: 0.8rem; }

  /* Same reasoning for the logo cards. The basis has to drop below the
   * desktop 224px or two never fit on one row; `min-width: 0` lets them
   * actually shrink to it, since flex items floor at their content width. */
  .conf-v2__partner-card {
    flex: 1 1 calc(50% - 10px);
    min-width: 0;
    padding: 18px 12px 14px;
  }

  /* The logo's own 168px cap is wider than a half-width card's content box
   * here, so it has to come down with the card or the wide marks clip. */
  .conf-v2__partner-logo { max-width: 100%; max-height: 52px; }
  .conf-v2__partner-logo-wrap { height: 52px; }

  /* The section headings are a flex row of [icon][text]. Once the text is long
   * enough to wrap -- which at this width it always is -- the text becomes a
   * full-width flex item and the icon is stranded against the left edge, half a
   * heading away from the words it belongs to. Inline flow instead: the icon
   * sits in front of the first word and travels with it. */
  .conf-v2__section-title {
    display: block;
    margin-bottom: 20px;
  }

  /* Lucide swaps the <i data-lucide> placeholder for the <svg> itself, so the
   * inline box to align and space is the svg, not the <i> -- which is gone by
   * the time this matters. */
  .conf-v2__section-title svg,
  .conf-v2__section-title i svg {
    display: inline-block;
    width: 22px;
    height: 22px;
    vertical-align: -0.15em;
    margin-right: 8px;
  }

  /* Long single words in the Slovak copy (e.g. "ZODPOVEDNOSTI") are wider
   * than the 358px measure left here, and would otherwise poke a horizontal
   * scrollbar out of the page. */
  .conf-v2__title,
  .conf-v2__section-title,
  .conf-v2__topic-title,
  .conf-v2__speaker-name { overflow-wrap: break-word; }

  /* The shadow is a 12px offset square on a bordered box: at this width it
   * pushes the video past the right-hand gutter. */
  .conf-v2__video { box-shadow: 6px 6px 0 var(--v2-black); }
}

/* ─── Newsletter popup ─────────────────────────────────────────────────────
 * The "Prihláste sa na odber newslettera" popup is a cluster of six Readymag
 * "above all" widgets pinned bottom-right: the panel, the pill behind the
 * heading, the heading, the email form, a picture and the close button.
 *
 * It survives the blanket widget hide above because that rule is scoped to
 * .page-content-container, and these widgets live in .above-pages-container
 * (the site header layer) instead -- hence the conf-v2-page flag on <html>.
 *
 * The whole .animation-container goes, not just the widget inside it: the
 * container carries the widget's absolute position and size, so hiding only
 * its contents would leave a ~345x267 invisible box swallowing clicks over
 * the bottom-right of the page.                                              */
html.conf-v2-page .above-pages-container .animation-container:has(> [data-id="679b4907d08efb4097601424"]),
html.conf-v2-page .above-pages-container .animation-container:has(> [data-id="679b498e70cd098156ea940f"]),
html.conf-v2-page .above-pages-container .animation-container:has(> [data-id="679b4a4c8b3bd75b67359478"]),
html.conf-v2-page .above-pages-container .animation-container:has(> [data-id="679b4a4cb85a6315bc0f5201"]),
html.conf-v2-page .above-pages-container .animation-container:has(> [data-id="679b4a4d9c757b5eb126b8c2"]),
html.conf-v2-page .above-pages-container .animation-container:has(> [data-id="679b4f82cc2767893aa239f5"]) {
  display: none !important;
}
