/* ───────────────────────────────────────────────
   Ciutats Resilients '26 — styles
   Palette pulled from logo: black, blue, green
   Typography: Raleway (per brief)
   ─────────────────────────────────────────────── */

:root {
  /* Brand */
  --ink: #0e0e0e;
  --ink-soft: #2a2a2a;
  --paper: #f6f3ec;        /* warm off-white */
  --paper-2: #ece8de;      /* subtle band */
  --blue: #1f7fab;         /* "resilients" */
  --green: #5fa866;        /* "'26" */
  --rule: rgba(14, 14, 14, 0.12);
  --rule-soft: rgba(14, 14, 14, 0.06);
  --muted: rgba(14, 14, 14, 0.58);

  /* Leading accent (driven by Tweaks → color emphasis) */
  --lead: var(--blue);
  --lead-soft: rgba(31, 127, 171, 0.10);

  /* Type scale */
  --f-sans: "Raleway", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

/* Color-emphasis variants */
:root[data-lead="blue"]  { --lead: #1f7fab; --lead-soft: rgba(31,127,171,0.10); }
:root[data-lead="green"] { --lead: #5fa866; --lead-soft: rgba(95,168,102,0.12); }
:root[data-lead="ink"]   { --lead: #0e0e0e; --lead-soft: rgba(14,14,14,0.06); }

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-sans);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body { overflow-x: hidden; }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--lead); }

img { max-width: 100%; display: block; }

/* ─── Layout helpers ─── */
.wrap {
  width: 100%;
  max-width: 1280px;
  margin: 0 inline;
  margin-left: auto;
  margin-right: auto;
  padding: 0 32px;
}
@media (max-width: 720px) {
  .wrap { padding: 0 20px; }
}

.eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}
.eyebrow .dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lead);
  margin-right: 8px;
  vertical-align: 1px;
}

/* hide section numbers */
.section-head .num { display: none; }

/* hide city subtitles */
.city-tag { display: none; }

.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding: 96px 0 40px;
  border-top: 1px solid var(--rule);
}
.section-head .num {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.section-head h2 {
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0;
  max-width: 24ch;
  text-wrap: balance;
}
.section-head h2 em {
  font-family: var(--f-sans);
  font-style: italic;
  font-weight: 500;
  color: var(--blue);
}

/* ───────────────────────────────────────────────
   NAV
   ─────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 243, 236, 0.82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--rule-soft);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 24px;
}
.nav-logo {
  height: 28px;
  width: auto;
}
.nav-links {
  display: flex;
  gap: 26px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink-soft);
}
.nav-links a:hover { color: var(--lead); }

.lang-toggle {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 3px;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
}
.lang-toggle button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 4px 10px;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  text-transform: uppercase;
}
.lang-toggle button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
}

@media (max-width: 880px) {
  .nav-links { display: none; }
}

/* ───────────────────────────────────────────────
   HERO
   ─────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: calc(100svh - 64px);
  padding: 56px 0 80px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
}
.hero-bg svg { width: 100%; height: 100%; display: block; }

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 36px;
  grid-template-rows: auto auto;
  align-content: start;
}

.hero-top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: start;
}
.hero-meta {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.7;
}
.hero-meta .key {
  display: inline-block;
  min-width: 70px;
  color: var(--ink);
}

.hero-titleblock {
  margin-top: 28px;
}
.hero-eyebrow {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-eyebrow .pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* Wordmark — re-built typographically so it scales fluidly */
.wordmark {
  font-family: var(--f-sans);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.035em;
  font-size: clamp(56px, 9.5vw, 140px);
  margin: 0;
  /* Each line is forced onto its own row and never wraps, so the wordmark is
     always exactly 2 lines ("ciutats" / "resilients '26") at every viewport
     width and in every language. */
}
.wordmark .w-ciutats { color: var(--ink); display: block; white-space: nowrap; }
.wordmark .w-resilients {
  color: var(--blue);
  font-style: italic;
  font-weight: 600;
  display: block;
  white-space: nowrap;
  letter-spacing: -0.025em;
}
.wordmark .w-26 {
  color: var(--green);
  display: inline-block;
  font-weight: 700;
  font-style: italic;
}

.hero-subtitle {
  font-family: var(--f-sans);
  font-weight: 400;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  max-width: 22ch;
  margin: 36px 0 0;
  color: var(--ink-soft);
  text-wrap: balance;
}

/* Imagery-led hero variant */
:root[data-hero="imagery"] .wordmark { font-size: clamp(56px, 9vw, 128px); }
:root[data-hero="imagery"] .hero-bg { opacity: 1; }
:root[data-hero="imagery"] .hero-imagery {
  display: block;
}
.hero-imagery { display: none; }

/* Bottom row: countdown + scroll cue */
.hero-bottom {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
}

.countdown {
  display: flex;
  gap: clamp(20px, 4vw, 56px);
  align-items: baseline;
}
.cd-cell {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cd-num {
  font-family: var(--f-sans);
  font-weight: 600;
  font-size: clamp(40px, 5.5vw, 72px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.cd-lbl {
  font-family: var(--f-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.scroll-cue {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  appearance: none;
  background: transparent;
  border: 0;
  padding: 0;
}
.scroll-cue:hover { color: var(--lead); }
.scroll-cue svg { transition: transform .3s ease; }
.scroll-cue:hover svg { transform: translateY(4px); }

@media (max-width: 720px) {
  .hero-top { grid-template-columns: 1fr; }
  .hero-bottom { grid-template-columns: 1fr; align-items: start; }
  .hero-meta { line-height: 1.6; }
}

/* ───────────────────────────────────────────────
   INSCRIPTIONS strip
   ─────────────────────────────────────────────── */
.inscribe {
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.inscribe-inner {
  padding-top: 64px;
  padding-bottom: 64px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
.inscribe h3 {
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 12px 0 16px;
  text-wrap: balance;
}
.inscribe h3 em {
  font-style: italic;
  font-weight: 500;
  color: var(--green);
}
.inscribe p {
  color: rgba(246, 243, 236, 0.7);
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
  max-width: 42ch;
}
.inscribe .eyebrow { color: rgba(246, 243, 236, 0.5); }
.inscribe .eyebrow .dot { background: var(--green); }

.notify-form {
  display: flex;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 6px;
  transition: border-color .2s ease;
}
.notify-form:focus-within {
  border-color: var(--green);
}
.notify-form input {
  flex: 1;
  appearance: none;
  background: transparent;
  border: 0;
  color: var(--paper);
  font-family: var(--f-sans);
  font-size: 15px;
  padding: 12px 14px;
  outline: 0;
}
.notify-form input::placeholder { color: rgba(246, 243, 236, 0.4); }
.notify-form button {
  appearance: none;
  border: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 6px;
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: background .2s ease;
}
.notify-form button:hover { background: var(--green); color: var(--ink); }

.notify-success {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--green);
  margin-top: 14px;
  letter-spacing: 0.04em;
  min-height: 18px;
}
.notify-hint {
  margin-top: 18px;
  font-size: 12px;
  font-family: var(--f-mono);
  letter-spacing: 0.06em;
  color: rgba(246, 243, 236, 0.45);
  text-transform: uppercase;
}

/* Registration CTA (replaces the notify form) */
.inscribe-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.inscribe-btn {
  appearance: none;
  border: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 15px 30px;
  border-radius: 6px;
  cursor: not-allowed;
  opacity: 0.5;
}
.inscribe-soon {
  margin: 0 !important;
  max-width: none !important;
  font-family: var(--f-mono);
  font-size: 12px !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green) !important;
}
.inscribe-legal {
  margin: 0 !important;
  max-width: 46ch !important;
  font-size: 13px !important;
  color: rgba(246, 243, 236, 0.55) !important;
  line-height: 1.5;
}
.inscribe-legal a {
  color: var(--paper);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.inscribe-legal a:hover { color: var(--green); }

@media (max-width: 880px) {
  .inscribe-inner { grid-template-columns: 1fr; gap: 32px; padding-top: 48px; padding-bottom: 48px; }
}

/* ───────────────────────────────────────────────
   ABOUT
   ─────────────────────────────────────────────── */
.about {
  padding-bottom: 80px;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.about-lede {
  font-size: clamp(20px, 1.7vw, 26px);
  line-height: 1.4;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
  text-wrap: pretty;
}
.about-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink-soft);
}
.about-body p { margin: 0; }
.about-body strong { color: var(--ink); font-weight: 600; }

.about-stats {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.stat {
  background: var(--paper);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.stat-num {
  font-size: clamp(36px, 3.6vw, 48px);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--lead);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.stat-lbl {
  font-family: var(--f-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

@media (max-width: 880px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-stats { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .about-stats { grid-template-columns: 1fr; }
}

/* ───────────────────────────────────────────────
   SCHEDULE
   ─────────────────────────────────────────────── */
.schedule {
  padding-bottom: 80px;
}
.tentative-banner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  padding: 8px 14px;
  background: var(--lead-soft);
  border: 1px dashed var(--lead);
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lead);
  white-space: nowrap;
  justify-self: flex-start;
  align-self: flex-start;
  width: auto;
}

.day-switch {
  display: inline-flex;
  margin: 32px 0 24px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 3px;
  background: var(--paper);
}
.day-switch button {
  appearance: none;
  border: 0;
  background: transparent;
  font-family: var(--f-sans);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 999px;
  cursor: pointer;
  color: var(--muted);
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.day-switch button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
}

/* Timeline view */
.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.tl-row {
  display: grid;
  grid-template-columns: 110px 1fr 100px;
  gap: 32px;
  padding: 20px 0;
  border-top: 1px solid var(--rule);
  align-items: baseline;
  position: relative;
  transition: background .2s ease;
}
.tl-row:last-child { border-bottom: 1px solid var(--rule); }
.tl-row:hover { background: var(--lead-soft); }
.tl-time {
  font-family: var(--f-mono);
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}
.tl-title {
  font-size: 17px;
  line-height: 1.35;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.tl-title .tag {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  padding: 2px 8px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  margin-right: 12px;
  vertical-align: 2px;
  white-space: nowrap;
}
.tl-title .tag[data-kind="keynote"] { color: var(--green); border-color: var(--green); }
.tl-title .tag[data-kind="taula"]   { color: var(--blue); border-color: var(--blue); }
.tl-title .tag[data-kind="dialeg"]  { color: var(--ink); border-color: var(--ink); }
.tl-title .tag[data-kind="break"]   { color: var(--muted); }
.tl-dur {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--muted);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.tl-row[data-kind="break"] .tl-title { color: var(--muted); font-weight: 400; }
.tl-row[data-kind="institutional"] .tl-title { font-style: italic; color: var(--ink-soft); }

/* Table view */
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.schedule-table th {
  text-align: left;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  padding: 14px 12px;
  border-bottom: 1px solid var(--ink);
}
.schedule-table td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}
.schedule-table tr:hover td { background: var(--lead-soft); }
.schedule-table .col-time { font-family: var(--f-mono); white-space: nowrap; width: 100px; }
.schedule-table .col-dur  { font-family: var(--f-mono); color: var(--muted); width: 80px; }
.schedule-table .col-kind { width: 110px; }

/* View switching */
:root[data-schedule="table"] .timeline { display: none; }
:root[data-schedule="timeline"] .schedule-table-wrap { display: none; }

.day2-note {
  margin-top: 48px;
  padding: 32px;
  background: var(--paper-2);
  border-left: 3px solid var(--lead);
  display: grid;
  gap: 12px;
}
.day2-note h4 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.day2-note p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.55;
}

@media (max-width: 720px) {
  .tl-row { grid-template-columns: 80px 1fr; gap: 16px; }
  .tl-dur { display: none; }
  .schedule-table .col-dur, .schedule-table .col-kind { display: none; }
}

/* ───────────────────────────────────────────────
   SESSIONS
   ─────────────────────────────────────────────── */
.sessions {
  padding-bottom: 80px;
}
.sessions-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.session {
  background: var(--paper);
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 320px;
  position: relative;
  transition: background .25s ease;
}
.session:hover { background: var(--paper-2); }
.session-num {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.session-tag {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--f-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid currentColor;
  white-space: nowrap;
}
.session-tag[data-kind="keynote"] { color: var(--green); }
.session-tag[data-kind="taula"]   { color: var(--blue); }
.session-tag[data-kind="dialeg"]  { color: var(--ink); }
.session-tag[data-kind="casos"]   { color: var(--green); }
.session h3 {
  font-size: 22px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
}
.session p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
  flex: 1;
}
.session-meta {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-top: 1px solid var(--rule);
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
}

@media (max-width: 1080px) {
  .sessions-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .sessions-grid { grid-template-columns: repeat(2, 1fr); }
  .session { min-height: 280px; padding: 24px 20px; }
  .session h3 { font-size: 19px; }
}

/* ───────────────────────────────────────────────
   CITIES
   ─────────────────────────────────────────────── */
.cities {
  padding-bottom: 80px;
}
.cities-intro {
  max-width: 56ch;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 40px;
}
.cities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.city {
  background: var(--paper);
  padding: 32px 28px;
  display: grid;
  grid-template-rows: 110px auto 1fr;
  gap: 14px;
  min-height: 360px;
  transition: background .25s ease;
}
.city:hover { background: var(--paper-2); }
.city-viz {
  height: 110px;
  position: relative;
  overflow: hidden;
}
.city-viz svg { width: 100%; height: 100%; display: block; }
.city-name {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1;
}
.city-tag {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lead);
}
.city p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
}

@media (max-width: 880px) {
  .cities-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .cities-grid { grid-template-columns: 1fr; }
}

/* ───────────────────────────────────────────────
   SPEAKERS
   ─────────────────────────────────────────────── */
.speakers {
  padding-bottom: 80px;
}
.speakers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px 28px;
}
.speaker {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.sp-frame {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  overflow: hidden;
  position: relative;
}
.sp-photo {
  filter: grayscale(100%);
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sp-photo--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
}
.sp-photo--placeholder svg {
  width: 42%;
  height: 42%;
  opacity: 0.5;
}
.sp-name {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0;
}
.sp-role {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lead);
  line-height: 1.45;
}

@media (max-width: 880px) {
  .speakers-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .speakers-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ───────────────────────────────────────────────
   VENUE / PRACTICAL
   ─────────────────────────────────────────────── */
.venue {
  padding-bottom: 80px;
}
.venue-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.fact-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--rule);
}
.fact {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 32px;
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}
.fact dt {
  font-family: var(--f-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin: 0;
}
.fact dd {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--ink);
}
.fact dd em {
  font-style: italic;
  color: var(--ink-soft);
  font-size: 13.5px;
  display: block;
  margin-top: 4px;
}

.venue-map {
  position: relative;
  aspect-ratio: 1.05 / 1;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  overflow: hidden;
}
.venue-map svg { width: 100%; height: 100%; display: block; }
.venue-map-label {
  position: absolute;
  bottom: 16px;
  left: 16px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(246, 243, 236, 0.85);
  padding: 6px 10px;
}

@media (max-width: 880px) {
  .venue-grid { grid-template-columns: 1fr; }
  .fact { grid-template-columns: 1fr; gap: 4px; }
}

/* ───────────────────────────────────────────────
   COVERAGE
   ─────────────────────────────────────────────── */
.coverage {
  background: var(--paper-2);
  padding: 80px 0;
  margin-top: 40px;
}
.coverage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}
.cov-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cov-card .icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lead);
}
.cov-card h4 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.01em;
}
.cov-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
}

@media (max-width: 880px) {
  .coverage-grid { grid-template-columns: 1fr; }
}

/* ───────────────────────────────────────────────
   CONTACT
   ─────────────────────────────────────────────── */
.contact {
  padding: 96px 0;
}
.contact-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  padding: 56px;
  background: var(--ink);
  color: var(--paper);
  align-items: end;
}
.contact-card h2 {
  margin: 0;
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.contact-card h2 em {
  font-style: italic;
  font-weight: 500;
  color: var(--green);
}
.contact-details {
  display: grid;
  gap: 14px;
  font-family: var(--f-mono);
  font-size: 13px;
  line-height: 1.5;
}
.contact-details .label {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(246, 243, 236, 0.5);
  display: block;
  margin-bottom: 2px;
}
.contact-details a:hover { color: var(--green); }

@media (max-width: 880px) {
  .contact-card { grid-template-columns: 1fr; gap: 32px; padding: 36px; }
}

/* ───────────────────────────────────────────────
   FOOTER
   ─────────────────────────────────────────────── */
.footer {
  background: var(--paper);
  padding: 64px 0 40px;
  border-top: 1px solid var(--rule);
}
.partners-block {
  display: grid;
  gap: 36px;
  margin-bottom: 64px;
}
.partners-row {
  display: grid;
  gap: 24px;
}
.partners-row h5 {
  font-family: var(--f-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 500;
  margin: 0;
  color: var(--muted);
}
.partners-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 56px;
  padding-top: 8px;
  padding-bottom: 8px;
  border-top: 1px solid var(--rule);
}
.partners-logos img {
  max-height: 56px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%) contrast(0.95);
  opacity: 0.85;
  transition: filter .2s, opacity .2s;
  padding: 12px 0;
}
.partners-logos img:hover {
  filter: none;
  opacity: 1;
}
.partners-logos img.tall { max-height: 48px; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer-legal-links {
  display: flex;
  gap: 24px;
}
.footer-legal-links a {
  color: var(--muted);
  transition: color .15s ease;
}
.footer-legal-links a:hover { color: var(--lead); }

@media (max-width: 720px) {
  .partners-logos { gap: 28px; }
  .partners-logos img { max-height: 40px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ───────────────────────────────────────────────
   FX
   ─────────────────────────────────────────────── */
/* Content is visible by default. The fade-in animation is only armed once
   JS confirms it's running (html.js) — so if any script fails, nothing hides. */
.js .fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .9s ease, transform .9s ease;
}
.fade-in.in {
  opacity: 1;
  transform: translateY(0);
}

::selection {
  background: var(--green);
  color: var(--ink);
}

.tl-who{display:block;margin-top:4px;font-size:14px;font-weight:400;font-style:normal;color:var(--muted);line-height:1.45}
.session-who{font-size:13px;line-height:1.5;color:var(--ink);padding-top:12px;border-top:1px solid currentColor;border-color:rgba(0,0,0,.12)}
.day2-list{margin:0;padding-left:18px;display:grid;gap:6px;color:var(--ink)}
.day2-note .day2-foot{font-size:14px}

.sessions-grid{grid-template-columns:repeat(4,1fr)}
@media (max-width:1080px){.sessions-grid{grid-template-columns:repeat(2,1fr)}}

.partners-logos a{display:flex;align-items:center}

.speakers-grid{display:flex;flex-wrap:wrap;justify-content:center}.speakers-grid>.speaker{width:calc((100% - 3*28px)/4)}@media (max-width:880px){.speakers-grid>.speaker{width:calc((100% - 2*28px)/3)}}@media (max-width:560px){.speakers-grid>.speaker{width:calc((100% - 28px)/2)}}

.partners-logos{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;padding:0}
.partners-logos>*{display:flex;align-items:center;justify-content:center;height:104px;padding:16px 20px}
.partners-logos img{max-height:52px;max-width:100%;padding:0}
@media (max-width:720px){.partners-logos{grid-template-columns:repeat(2,minmax(0,1fr))}.partners-logos>*{height:84px}.partners-logos img{max-height:40px}}

.inscribe-btn{display:inline-block;text-decoration:none;cursor:pointer;opacity:1;transition:background-color .15s ease-out,color .15s ease-out}.inscribe-btn:hover{background:#fff;box-shadow:0 0 0 3px rgba(255,255,255,.28)}.inscribe-btn:active{transform:scale(.99)}

.inscribe-btn{display:inline-flex;align-items:center;gap:18px;font-size:24px;font-weight:700;letter-spacing:-0.01em;padding:26px 40px 26px 48px;border-radius:999px;background:var(--lead);color:#fff;box-shadow:0 0 0 0 rgba(31,127,171,.45);transition:background-color .2s ease-out,box-shadow .2s ease-out,transform .2s ease-out}
.inscribe-btn::after{content:"→";display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;background:#fff;color:var(--lead);font-size:22px;transition:transform .2s ease-out}
.inscribe-btn:hover{background:var(--lead);color:#fff;box-shadow:0 0 0 8px rgba(31,127,171,.28)}
.inscribe-btn:hover::after{transform:translateX(4px)}
.inscribe-btn:active{transform:scale(.99)}
@media (max-width:560px){.inscribe-btn{font-size:20px;padding:20px 28px 20px 34px;gap:14px}.inscribe-btn::after{width:38px;height:38px;font-size:19px}}

.inscribe-btn::after{content:"";background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f7fab' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/22px 22px no-repeat;font-size:0;line-height:0;flex:none}
@media (max-width:560px){.inscribe-btn::after{background-size:19px 19px}}
