/* ============================================================
   Simpósio Priorit Portugal — Autismo em Foco
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Brand — Priorit */
  --blue: #4DABE0;
  --blue-deep: #2F8CC2;
  --blue-darker: #1E6FA0;
  --coral: #F4A57F;
  --coral-deep: #E0855D;

  /* Neutrals */
  --ink: #0F2540;          /* near-navy for body & headings */
  --ink-soft: #3E5572;
  --muted: #6B7C94;
  --line: #E5ECF3;
  --line-strong: #C9D7E6;

  /* Surfaces */
  --paper: #FFFFFF;
  --bone: #FBF8F3;         /* warm off-white */
  --cream: #F6EFE3;        /* warmer cream */
  --mist: #EEF5FA;         /* pale blue */

  /* Type */
  --font-sans: 'Ubuntu', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Domine', 'Iowan Old Style', Georgia, serif;

  /* Spacing scale (4px base) */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px;
  --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px;
  --s-9: 96px; --s-10: 128px;

  /* Radii */
  --r-sm: 8px; --r-md: 14px; --r-lg: 22px; --r-pill: 999px;

  /* Shadows */
  --sh-sm: 0 1px 2px rgba(15, 37, 64, 0.06);
  --sh-md: 0 8px 24px -8px rgba(15, 37, 64, 0.12);
  --sh-lg: 0 24px 48px -16px rgba(15, 37, 64, 0.18);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 140ms;
  --dur: 220ms;
  --dur-slow: 420ms;

  /* Layout */
  --container: 1200px;

  /* Breakpoints — keep @media values in sync
     xs: 480px | sm: 560px | md: 680px | tablet: 768px | lg: 980px */
}

/* ---------- Reset + base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bone);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: color var(--dur) var(--ease); }
button { font: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.15;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); letter-spacing: -0.025em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.2rem, 1.9vw, 1.5rem); }
p { margin: 0 0 1em; color: var(--ink-soft); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--blue); color: white; }

/* ---------- Reusable ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 40px);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-deep);
  margin: 0 0 var(--s-4);
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.section { padding-block: clamp(72px, 9vw, 128px); }
.section-tight { padding-block: clamp(56px, 7vw, 96px); }
.section--cream { background: var(--cream); }
.section--mist  { background: var(--mist); }
.section--ink   { background: var(--ink); color: white; }
.section--ink h2,
.section--ink h3 { color: white; }
.section--ink p  { color: rgba(255,255,255,0.78); }

.section-head { max-width: 760px; margin-bottom: var(--s-7); }
.section-head p { font-size: 1.1rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.005em;
  border: 1.5px solid transparent;
  transition: transform var(--dur-fast) var(--ease),
              background var(--dur) var(--ease),
              color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
  cursor: pointer;
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn--primary {
  background: var(--blue);
  color: white;
  box-shadow: 0 8px 20px -8px rgba(77, 171, 224, 0.55);
}
.btn--primary:hover { background: var(--blue-deep); box-shadow: 0 12px 28px -10px rgba(77, 171, 224, 0.7); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost:hover { border-color: var(--blue); color: var(--blue-deep); }
.btn--coral {
  background: var(--coral);
  color: #4A2410;
  box-shadow: 0 8px 20px -8px rgba(244, 165, 127, 0.55);
}
.btn--coral:hover { background: var(--coral-deep); color: white; }
.btn--lg { padding: 20px 36px; font-size: 1.05rem; }
.btn--sm { padding: 10px 16px; font-size: 0.88rem; gap: 8px; }
.btn .ic { width: 18px; height: 18px; }

.u-desktop { display: none; }
.u-mobile { display: inline; }
@media (min-width: 980px) {
  .u-desktop { display: inline; }
  .u-mobile { display: none; }
}

body.is-nav-open { overflow: hidden; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease);
}
.header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(251, 248, 243, 0.85);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  pointer-events: none;
  transition: background var(--dur) var(--ease);
}
.header.is-scrolled {
  border-bottom-color: var(--line);
}
.header.is-scrolled::before {
  background: rgba(255, 255, 255, 0.92);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  padding-block: var(--s-3);
}
@media (min-width: 980px) {
  .header__inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "brand nav actions";
    align-items: center;
    gap: var(--s-6);
  }
  .brand { grid-area: brand; }
  .nav { grid-area: nav; }
  .header__actions { grid-area: actions; justify-self: end; }
}
.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  min-height: 52px;
}
.brand__mark {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
}
.brand__mark img {
  --logo-h: 52px;
  display: block;
  height: var(--logo-h);
  width: auto;
  max-width: none;
}
@media (min-width: 768px) {
  .brand { gap: 18px; }
  .brand__mark img { --logo-h: 60px; }
}
@media (min-width: 980px) {
  .brand__mark img { --logo-h: 72px; }
}
.brand__sub {
  display: none;
  flex-direction: column;
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.25;
  border-left: 1px solid var(--line);
  padding-left: 14px;
}
.brand__sub strong { color: var(--ink); font-weight: 600; font-size: 0.85rem; }
@media (min-width: 768px) { .brand__sub { display: flex; } }

.header__actions {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  flex-shrink: 0;
  position: relative;
  z-index: 72;
}
.header__cta {
  display: inline-flex;
  padding: 10px 14px;
  font-size: 0.84rem;
  gap: 6px;
}
.header__cta .ic { width: 16px; height: 16px; }
@media (min-width: 480px) {
  .header__cta { padding: 10px 18px; font-size: 0.88rem; }
}
@media (min-width: 980px) {
  .header__cta {
    padding: 16px 28px;
    font-size: 0.98rem;
    gap: 10px;
  }
  .header__cta .ic { width: 18px; height: 18px; }
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: white;
  color: var(--ink);
  flex-shrink: 0;
  transition: border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.nav-toggle:hover { border-color: var(--blue); }
.nav-toggle__bar {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--dur) var(--ease), opacity var(--dur-fast) var(--ease);
}
.header.is-nav-open .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header.is-nav-open .nav-toggle__bar:nth-child(2) { opacity: 0; }
.header.is-nav-open .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 980px) { .nav-toggle { display: none; } }

.nav {
  display: flex;
  align-items: center;
  gap: var(--s-6);
}
.nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  white-space: nowrap;
}
.nav a:hover { color: var(--blue-deep); }
.nav__cta { display: none; }

@media (max-width: 979px) {
  .brand {
    position: relative;
    z-index: 72;
  }
  .nav {
    position: fixed;
    inset: 0;
    z-index: 70;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    padding:
      calc(var(--s-7) + env(safe-area-inset-top, 0px))
      var(--s-5)
      calc(var(--s-5) + env(safe-area-inset-bottom, 0px));
    background: var(--paper);
    box-shadow: none;
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform var(--dur-slow) var(--ease), visibility var(--dur-slow) var(--ease);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .header.is-nav-open .nav {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }
  .nav a {
    padding: var(--s-4) 0;
    font-size: 1.02rem;
    border-bottom: 1px solid var(--line);
  }
  .nav a:last-of-type { border-bottom: none; }
  .nav__cta {
    display: inline-flex;
    margin-top: var(--s-5);
    width: 100%;
    justify-content: center;
  }
}

/* Tablet drawer — partial width; mobile above is full screen */
@media (max-width: 767px) {
  .nav {
    padding-top: calc(var(--s-8) + var(--s-5) + env(safe-area-inset-top, 0px));
  }
}

@media (min-width: 768px) and (max-width: 979px) {
  .nav {
    inset: 0 0 0 auto;
    width: min(360px, 88vw);
    box-shadow: var(--sh-lg);
  }
}

@media (min-width: 980px) {
  .nav {
    position: static;
    justify-content: center;
    width: auto;
    height: auto;
    padding: 0;
    background: none;
    box-shadow: none;
    transform: none;
    visibility: visible;
    pointer-events: auto;
    overflow: visible;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(36px, 4.5vw, 72px);
  padding-bottom: clamp(80px, 10vw, 144px);
  background:
    radial-gradient(60% 80% at 90% 0%, rgba(244, 165, 127, 0.12) 0%, transparent 60%),
    radial-gradient(50% 70% at 0% 100%, rgba(77, 171, 224, 0.12) 0%, transparent 60%),
    var(--bone);
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-8);
  align-items: center;
  position: relative;
  z-index: 2;
}
@media (min-width: 980px) {
  .hero__inner { grid-template-columns: 1.25fr 1fr; gap: var(--s-9); }
}

.hero__date {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 8px 16px 8px 8px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: var(--s-5);
  box-shadow: var(--sh-sm);
}
.hero__date-chip {
  background: var(--blue);
  color: white;
  border-radius: var(--r-pill);
  padding: 5px 12px;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
}
.hero__date .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--coral);
  display: inline-block;
}
.hero h1 .accent {
  background: linear-gradient(110deg, var(--blue-deep) 30%, var(--blue) 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero h1 .br-desktop { display: none; }
@media (min-width: 980px) {
  .hero h1 .br-desktop { display: inline; }
}
.hero h1 .underline {
  position: relative;
}
@media (min-width: 980px) {
  .hero h1 .underline { white-space: nowrap; }
}
.hero h1 .underline::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: 0.06em;
  height: 0.32em;
  background: var(--coral);
  opacity: 0.5;
  z-index: -1;
  border-radius: 2px;
}
.hero__lead {
  font-size: clamp(1.05rem, 1.3vw, 1.18rem);
  color: var(--ink-soft);
  max-width: 560px;
  margin-top: var(--s-5);
  line-height: 1.6;
}
.hero__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-top: var(--s-6);
}
.hero__meta {
  margin-top: var(--s-7);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-3);
  max-width: 560px;
}
@media (min-width: 680px) {
  .hero__meta { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.hero__meta-item {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 14px 16px;
}
.hero__meta-label { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.hero__meta-value { font-size: 0.95rem; font-weight: 600; color: var(--ink); line-height: 1.3; }

/* Hero visual */
.hero__visual {
  position: relative;
  aspect-ratio: 1 / 1.05;
  max-width: 520px;
  justify-self: end;
  width: 100%;
}
.hero__card {
  position: absolute;
  background: white;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  padding: var(--s-5);
  border: 1px solid var(--line);
}
.hero__card--main {
  inset: 6% 8% 6% 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    radial-gradient(110% 60% at 0% 0%, rgba(77, 171, 224, 0.18) 0%, transparent 55%),
    radial-gradient(120% 60% at 100% 100%, rgba(244, 165, 127, 0.22) 0%, transparent 55%),
    white;
}
.hero__card--main .splat { position: absolute; opacity: 0.95; overflow: visible; }
.hero__card--main .splat.s1 { top: 12%; right: 8%; width: 95px; }
.hero__card--main .splat.s2 { top: 28%; right: 30%; width: 76px; }
.hero__card--main .splat.s3 { top: 42%; right: 14%; width: 64px; }

.hero__card-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.35;
  color: var(--ink);
  max-width: 78%;
}
.hero__card-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s-3);
}
.hero__card-bignum {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 3.6rem;
  line-height: 0.95;
  color: var(--blue);
  letter-spacing: -0.04em;
}
.hero__card-bignum span { color: var(--coral); }
.hero__card-cap {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 500;
  max-width: 140px;
  text-align: right;
}
.hero__card--small {
  right: 0;
  bottom: 0;
  width: min(74%, 17.5rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px 15px;
}
.hero__card--small .av {
  display: flex;
  align-items: center;
}
.hero__card--small .av span {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 2.5px solid white;
  margin-left: -9px;
  background: var(--cream);
  overflow: hidden;
  flex-shrink: 0;
}
.hero__card--small .av span:first-child { margin-left: 0; }
.hero__card--small .av span img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.hero__card--small .lbl {
  font-size: 0.84rem;
  line-height: 1.3;
  min-width: 0;
  width: 100%;
}
.hero__card--small .lbl strong {
  display: block;
  color: var(--ink);
  font-size: 0.82rem;
  line-height: 1.25;
}
.hero__card-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3px 12px;
  margin-top: 4px;
}
.hero__card-specs span {
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.25;
}

@media (max-width: 979px) {
  .hero__visual { max-width: 420px; justify-self: center; }
}
@media (max-width: 559px) {
  .hero__visual { display: none; }
}

/* Floating decorative splats in hero */
.hero__splat {
  position: absolute;
  pointer-events: none;
  overflow: visible;
  z-index: 0;
  opacity: 0.4;
}
.hero__splat.a { top: 10%; left: 45%; width: 110px; color: var(--coral); }
.hero__splat.b { bottom: 8%; left: 5%; width: 90px; color: var(--blue); opacity: 0.25; }

/* ---------- Marquee / strip ---------- */
.strip {
  background: white;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: var(--s-5);
}
.strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-5) var(--s-7);
  justify-content: space-between;
}
@media (max-width: 479px) {
  .strip__inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--s-4);
    justify-content: stretch;
  }
  .strip__item { font-size: 0.86rem; }
}
.strip__item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--ink-soft);
  font-weight: 500;
}
.strip__item .ic {
  width: 22px; height: 22px;
  color: var(--blue);
  flex-shrink: 0;
}

/* ---------- About / Two-column ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-8);
  align-items: start;
}
@media (min-width: 980px) {
  .two-col { grid-template-columns: 0.95fr 1.05fr; gap: var(--s-9); }
}
.about__quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.15rem, 1.5vw, 1.32rem);
  color: var(--ink);
  border-left: 3px solid var(--coral);
  padding-left: var(--s-5);
  margin-top: var(--s-6);
  line-height: 1.5;
}
.about__body p {
  font-size: 1.05rem;
}
.about__body p + p { margin-top: 1em; }

/* ---------- Audience / Topics grid ---------- */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--s-4);
}
.tile {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--s-6);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
  position: relative;
  overflow: hidden;
}
.tile:hover {
  transform: translateY(-2px);
  box-shadow: var(--sh-md);
  border-color: var(--line-strong);
}
.tile__num {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 400;
  color: var(--blue);
  line-height: 1;
  margin-bottom: var(--s-3);
  font-feature-settings: 'lnum';
}
.tile--coral .tile__num { color: var(--coral-deep); }
.tile h3 { font-size: 1.12rem; margin-bottom: var(--s-2); }
.tile p { font-size: 0.96rem; color: var(--ink-soft); }

.icon-tile {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--s-5);
  display: flex;
  gap: var(--s-4);
  align-items: flex-start;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.icon-tile:hover { border-color: var(--blue); transform: translateY(-2px); }
.icon-tile__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--mist);
  color: var(--blue-deep);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.icon-tile:nth-child(even) .icon-tile__icon {
  background: rgba(244, 165, 127, 0.18);
  color: var(--coral-deep);
}
.icon-tile__icon .ic { width: 22px; height: 22px; }
.icon-tile h3 { font-size: 1rem; margin-bottom: 6px; }
.icon-tile p { font-size: 0.92rem; margin: 0; }

/* ---------- Program / Schedule ---------- */
.program {
  display: grid;
  gap: var(--s-7);
}
@media (min-width: 980px) {
  .program { grid-template-columns: 1fr 1fr; gap: var(--s-8); }
}
.program__block {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s-6);
}
.program__block-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s-4);
  padding-bottom: var(--s-5);
  margin-bottom: var(--s-5);
  border-bottom: 1px dashed var(--line-strong);
}
.program__title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--ink);
}
.program__period {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--blue-deep);
  font-size: 1.05rem;
  font-weight: 400;
}
.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.timeline li {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: var(--s-5);
  padding: var(--s-4) 0;
  position: relative;
  border-bottom: 1px solid var(--line);
}
.timeline li:last-child { border-bottom: none; }
.timeline__time {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--blue-deep);
  font-size: 0.96rem;
  letter-spacing: 0.01em;
}
.timeline__title { font-weight: 600; color: var(--ink); font-size: 1rem; margin-bottom: 2px; line-height: 1.35; }
.timeline__by { font-size: 0.86rem; color: var(--muted); }
.timeline__by .by-pill {
  display: inline-block;
  background: var(--mist);
  color: var(--blue-deep);
  font-weight: 500;
  padding: 2px 8px;
  border-radius: var(--r-pill);
  margin-right: 6px;
  font-size: 0.78rem;
}
.timeline li.is-break .timeline__title { color: var(--coral-deep); font-style: italic; font-weight: 500; }

/* ---------- Speakers ---------- */
.speakers {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
}
@media (min-width: 640px) { .speakers { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .speakers { grid-template-columns: repeat(4, 1fr); } }

.speaker {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.speaker:hover { transform: translateY(-3px); box-shadow: var(--sh-lg); }
.speaker__portrait {
  aspect-ratio: 5 / 4;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}
.speaker__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.speaker:nth-child(3) .speaker__photo {
  object-position: center 42%;
}
.speaker__portrait-tag {
  position: absolute;
  bottom: 14px; left: 14px;
  background: rgba(255,255,255,0.92);
  color: var(--ink);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--r-pill);
}
.speaker__body { padding: var(--s-5) var(--s-5) var(--s-6); flex: 1; display: flex; flex-direction: column; }
.speaker__name { font-size: 1.18rem; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.speaker__role { font-size: 0.92rem; color: var(--blue-deep); font-weight: 500; margin-bottom: var(--s-4); }
.speaker__bio { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.55; }

/* ---------- Stats / Priorit section ---------- */
.priorit-band {
  background:
    radial-gradient(50% 60% at 100% 0%, rgba(77, 171, 224, 0.18) 0%, transparent 60%),
    radial-gradient(50% 60% at 0% 100%, rgba(244, 165, 127, 0.12) 0%, transparent 60%),
    var(--ink);
  color: white;
  position: relative;
  overflow: hidden;
}
.priorit-band .splat-bg {
  position: absolute;
  pointer-events: none;
  overflow: visible;
  opacity: 0.08;
}
.priorit-band .splat-bg.x1 { top: -40px; right: -40px; width: 280px; color: var(--blue); }
.priorit-band .splat-bg.x2 { bottom: -60px; left: 5%; width: 220px; color: var(--coral); opacity: 0.12; }
.priorit-band h2 { color: white; }
.priorit-band p { color: rgba(255,255,255,0.78); }
.priorit-band .eyebrow { color: var(--coral); }
.stats {
  margin-top: var(--s-7);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-5);
}
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: var(--s-5);
}
.stat__num {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(2.6rem, 4.5vw, 3.6rem);
  letter-spacing: -0.04em;
  color: white;
  line-height: 1;
  margin-bottom: var(--s-3);
}
.stat__num .sup { color: var(--coral); font-size: 0.55em; vertical-align: super; font-weight: 500; }
.stat__lbl { font-size: 0.92rem; color: rgba(255,255,255,0.75); line-height: 1.4; }

/* ---------- FAQ ---------- */
.faq {
  display: grid;
  gap: 10px;
  max-width: 880px;
  margin: 0 auto;
}
.faq__item {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.faq__item[open] {
  border-color: var(--blue);
  box-shadow: var(--sh-sm);
}
.faq__item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
  padding: var(--s-5) var(--s-6);
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
  font-size: 1.02rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+';
  font-weight: 400;
  font-size: 1.6rem;
  color: var(--blue);
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  transition: transform var(--dur) var(--ease);
  flex-shrink: 0;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__body {
  padding: 0 var(--s-6) var(--s-6);
  color: var(--ink-soft);
  font-size: 0.96rem;
  line-height: 1.6;
}

/* ---------- Form ---------- */
.form-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-8);
}
@media (min-width: 980px) {
  .form-wrap { grid-template-columns: 1fr 1.2fr; gap: var(--s-9); }
}
.form-side h2 { margin-bottom: var(--s-5); }
.form-side ul {
  list-style: none;
  padding: 0;
  margin: var(--s-5) 0 0;
  display: grid;
  gap: 14px;
}
.form-side ul li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.98rem;
  color: var(--ink-soft);
  line-height: 1.45;
}
.form-side ul li .ic {
  width: 22px; height: 22px;
  color: var(--blue);
  flex-shrink: 0;
  margin-top: 2px;
}
.form-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(24px, 3.5vw, 40px);
  box-shadow: var(--sh-md);
}
.form-card h3 { font-size: 1.3rem; margin-bottom: var(--s-2); }
.form-card .form-sub { color: var(--ink-soft); font-size: 0.94rem; margin-bottom: var(--s-5); }

.field { margin-bottom: var(--s-4); }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
@media (max-width: 679px) { .field--row { grid-template-columns: 1fr; } }
.field label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
  letter-spacing: 0.005em;
}
.field label .req { color: var(--coral-deep); }
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 0.98rem;
  padding: 13px 14px;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--line);
  background: var(--bone);
  color: var(--ink);
  transition: border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--line-strong); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: white;
  box-shadow: 0 0 0 4px rgba(77, 171, 224, 0.15);
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%234DABE0' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }

.phone-group { display: grid; grid-template-columns: 84px 1fr; gap: 8px; }
.phone-group select {
  width: 100%;
  min-width: 0;
  padding: 13px 22px 13px 8px;
  font-size: 0.88rem;
  background-position: right 6px center;
}
.phone-group input { width: 100%; min-width: 0; }
@media (max-width: 420px) { .phone-group { grid-template-columns: 1fr; } }

.checks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
@media (max-width: 479px) { .checks { grid-template-columns: 1fr; } }
.check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--bone);
  cursor: pointer;
  font-size: 0.92rem;
  transition: border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.check input { accent-color: var(--blue); width: 16px; height: 16px; }
.check:hover { border-color: var(--line-strong); }
.check:has(input:checked) { border-color: var(--blue); background: var(--mist); }

.consent {
  display: flex;
  gap: 10px;
  margin-top: var(--s-5);
  align-items: flex-start;
  font-size: 0.86rem;
  color: var(--ink-soft);
  line-height: 1.45;
}
.consent input { margin-top: 3px; accent-color: var(--blue); }
.form-card .submit-row {
  margin-top: var(--s-6);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--s-3);
}
.form-card .submit-row .btn { width: 100%; }
.form-card .small {
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
}

.form-success,
.form-error {
  display: none;
  padding: var(--s-5);
  border-radius: var(--r-md);
  font-size: 0.96rem;
  margin-bottom: var(--s-5);
}
.form-success { background: rgba(78, 186, 128, 0.12); border: 1px solid rgba(78, 186, 128, 0.4); color: #2A6B45; }
.form-error { background: rgba(240, 96, 112, 0.1); border: 1px solid rgba(240, 96, 112, 0.4); color: #A4374A; }
.form-card.is-success .form-success { display: block; }
.form-card.is-success .form-grid { display: none; }
.form-card.is-error .form-error { display: block; }

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.8);
  padding-block: var(--s-8) var(--s-5);
}
.footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-6);
  padding-bottom: var(--s-7);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (min-width: 768px) { .footer__top { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer__logo { display: inline-block; line-height: 0; }
.footer__logo img {
  height: 88px;
  width: auto;
  max-width: none;
  filter: brightness(0) invert(1);
}
@media (min-width: 768px) {
  .footer__logo img { height: 96px; }
}
.footer__about { margin-top: var(--s-4); max-width: 380px; color: rgba(255,255,255,0.7); font-size: 0.92rem; line-height: 1.55; }
.footer h4 { font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; color: white; margin-bottom: var(--s-4); font-weight: 600; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 0.92rem; }
.footer ul a:hover { color: var(--coral); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-3);
  padding-top: var(--s-5);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
}
.footer__credit {
  color: rgba(255,255,255,0.55);
  transition: color var(--dur) var(--ease);
}
.footer__credit:hover { color: var(--coral); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .nav { transition: none; }
  .nav-toggle__bar { transition: none; }
}
