:root {
  --bg: #faf7f0;
  --bg-soft: #f1eadf;
  --text: #1f1f1f;
  --muted: #66615a;
  --accent: #e85d2a;
  --accent-dark: #b9421d;
  --accent-soft: #ffe0d2;
  --card: #ffffff;
  --border: #e3dccf;

  --max-width: 1120px;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 12px 30px rgba(0, 0, 0, 0.08);

  --font-main:
    system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ---------- Base styles ---------- */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-main);
  font-size: 18px;
  line-height: 1.6;
}

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

a {
  color: var(--accent-dark);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent);
}

p {
  margin-top: 0;
}

section {
  scroll-margin-top: 90px;
}

/* ---------- Layout helpers ---------- */

.container {
  width: min(100% - 32px, var(--max-width));
  margin-inline: auto;
}

.section {
  padding: 72px 0;
}

.section--soft {
  background: var(--bg-soft);
}

.section__header {
  max-width: 760px;
  margin-bottom: 32px;
}

.eyebrow {
  margin-bottom: 8px;
  color: var(--accent-dark);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.1;
  margin: 0 0 16px;
}

h1 {
  font-size: clamp(2.7rem, 8vw, 5.8rem);
  letter-spacing: -0.06em;
}

h2 {
  font-size: clamp(2rem, 5vw, 3.6rem);
  letter-spacing: -0.04em;
}

h3 {
  font-size: 1.35rem;
}

.lede {
  color: var(--muted);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  max-width: 720px;
}

/* ---------- Header / nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250, 247, 240, 0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.nav {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.logo {
  color: var(--text);
  font-weight: 900;
  font-size: 1rem;
  text-decoration: none;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
  margin-left: auto;
}

.nav__links a:not(.button) {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.nav__links a:not(.button):hover {
  color: var(--accent);
}

/* ---------- Buttons ---------- */

.button,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button:hover,
button:hover {
  background: var(--accent-dark);
  color: white;
}

.button--secondary {
  background: var(--text);
}

.button--secondary:hover {
  background: #000;
}

.button--ghost {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--border);
}

.button--ghost:hover {
  background: var(--bg-soft);
  color: var(--text);
}

.lang-toggle {
  min-height: 28px;
  padding: 0 10px;
  font-size: 0.72rem;
  letter-spacing: 0.03em;
}

/* ---------- Hero ---------- */

.hero {
  padding: 64px 0 80px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 48px;
}

.hero__meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--card);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero__image {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transform: rotate(1deg);
}

.hero__image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

/* ---------- Cards ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.card p:last-child {
  margin-bottom: 0;
}

.card__icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-weight: 900;
}

/* ---------- Feature split sections ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 42px;
}

.split__image {
  overflow: hidden;
  border-radius: var(--radius);
}

.split__image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* ---------- Photo grid ---------- */

.photo-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  grid-auto-rows: 220px;
  gap: 16px;
}

.photo-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.photo-grid img:first-child {
  grid-row: span 2;
}

/* ---------- Schedule ---------- */

#schedule.section {
  padding: 48px 0;
}

#schedule .section__header {
  margin-bottom: 20px;
}

.schedule {
  display: grid;
  gap: 9px;
}

.schedule-item {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 14px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  align-items: center;
}

.schedule-item__time {
  color: var(--accent-dark);
  font-weight: 900;
  font-size: 0.93rem;
  line-height: 1.2;
}

.schedule-item h3 {
  margin-bottom: 0;
  font-size: 1.12rem;
  line-height: 1.15;
}

.schedule-item p {
  color: var(--muted);
  margin-bottom: 0;
}

/* ---------- Media embeds ---------- */

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

.media-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
}

.media-card__body {
  padding: 18px;
}

.video-wrapper {
  position: relative;
  height: 0;
  padding-bottom: 56.25%;
  background: #111;
}

.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* ---------- FAQ ---------- */

.faq {
  display: grid;
  gap: 14px;
}

.faq details {
  padding: 20px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
}

.faq summary {
  font-weight: 900;
  cursor: pointer;
}

.faq p {
  margin: 14px 0 0;
  color: var(--muted);
}

/* ---------- CTA band ---------- */

.cta {
  padding: 56px;
  border-radius: calc(var(--radius) + 10px);
  background: var(--text);
  color: white;
  text-align: center;
}

.cta h2 {
  color: white;
}

.cta p {
  max-width: 640px;
  margin-inline: auto;
  color: rgba(255, 255, 255, 0.78);
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  color: var(--muted);
}

.footer__grid {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  text-align: center;
}

.footer__links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer__links a {
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
}

.footer__links a:hover {
  color: var(--accent);
}

/* ---------- Utility classes ---------- */

.center {
  text-align: center;
}

.muted {
  color: var(--muted);
}

.rounded {
  border-radius: var(--radius);
}

.shadow {
  box-shadow: var(--shadow);
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  body {
    font-size: 17px;
  }

  .hero__grid,
  .split {
    grid-template-columns: 1fr;
  }

  .hero__image {
    transform: none;
  }

  .card-grid,
  .media-grid {
    grid-template-columns: 1fr 1fr;
  }

  .speaker-grid {
    grid-template-columns: 1fr 1fr;
  }

  .photo-grid {
    grid-template-columns: 1fr 1fr;
  }

  .photo-grid img:first-child {
    grid-column: span 2;
    grid-row: span 1;
  }

  .schedule-item {
    grid-template-columns: 112px 1fr;
    gap: 10px;
    padding: 9px 12px;
  }

  #schedule.section {
    padding: 40px 0;
  }

  #schedule .section__header {
    margin-bottom: 16px;
  }
}

@media (max-width: 650px) {
  .nav {
    align-items: center;
    flex-direction: row;
    padding: 12px 0;
  }

  .nav__links {
    gap: 6px;
  }

  .section {
    padding: 52px 0;
  }

  .hero {
    padding: 40px 0 56px;
  }

  .card-grid,
  .media-grid,
  .speaker-grid,
  .photo-grid {
    grid-template-columns: 1fr;
  }

  .photo-grid {
    grid-auto-rows: auto;
  }

  .photo-grid img,
  .photo-grid img:first-child {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 4 / 3;
  }

  .cta {
    padding: 36px 22px;
  }
}
