:root {
  --ink: #17191f;
  --muted: #69707d;
  --line: #d8dde6;
  --paper: #f7f3ea;
  --surface: #ffffff;
  --accent: #9d3345;
  --accent-dark: #642532;
  --sage: #55786f;
  --blue: #2d5c7f;
  --gold: #b8873f;
  --shadow: 0 18px 55px rgba(23, 25, 31, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 286px;
  padding: 38px 30px;
  color: #f8f2e8;
  background: #20242b;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.monogram {
  display: grid;
  width: 78px;
  height: 78px;
  margin-bottom: 24px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  color: #fff8ed;
  text-decoration: none;
  font-size: 1.35rem;
  letter-spacing: 0;
}

.sidebar h1 {
  margin: 0;
  font-size: 1.42rem;
  line-height: 1.2;
}

.sidebar p {
  margin: 14px 0 32px;
  color: #c9d0d4;
  font-family: Inter, Arial, sans-serif;
  font-size: 0.92rem;
}

.sidebar nav {
  display: grid;
  gap: 8px;
}

.sidebar nav a {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  color: #f7f3ea;
  font-family: Inter, Arial, sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

main {
  width: min(1180px, calc(100% - 286px));
  margin-left: 286px;
}

.hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fffdf8;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(9, 12, 18, 0.12), rgba(9, 12, 18, 0.84)),
    url("assets/img/hero-poesie-appliquee.png") center/cover;
  transform: scale(1.01);
}

.hero-copy {
  position: relative;
  width: min(780px, calc(100% - 48px));
  padding: 0 0 58px 54px;
}

.kicker {
  margin: 0 0 10px;
  color: var(--accent);
  font-family: Inter, Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .kicker {
  color: #f2c978;
}

.hero h2 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(2.45rem, 6vw, 5.7rem);
  line-height: 0.98;
}

.hero p:not(.kicker) {
  max-width: 680px;
  margin: 22px 0 0;
  color: #f2eee7;
  font-family: Inter, Arial, sans-serif;
  font-size: 1.02rem;
}

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

.hero-actions a,
.contact-panel a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 11px 16px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 6px;
  color: #fffdf8;
  font-family: Inter, Arial, sans-serif;
  font-weight: 700;
  text-decoration: none;
}

.hero-actions a:first-child {
  border-color: #f2c978;
  background: #f2c978;
  color: #1c1f25;
}

.notice-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
  background: #fffdf8;
}

.notice-band article {
  padding: 28px 34px;
  border-right: 1px solid var(--line);
}

.notice-band span {
  display: block;
  color: var(--accent-dark);
  font-size: 2.35rem;
  line-height: 1;
}

.notice-band p {
  margin: 8px 0 0;
  color: var(--muted);
  font-family: Inter, Arial, sans-serif;
}

.section-heading {
  padding: 58px 54px 20px;
}

.section-heading h2,
.contact-panel h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.08;
}

.section-heading p:not(.kicker),
.contact-panel p:not(.kicker) {
  max-width: 720px;
  color: var(--muted);
  font-family: Inter, Arial, sans-serif;
}

.cards {
  display: grid;
  gap: 18px;
  padding: 0 54px 26px;
}

.three-columns {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.archive-grid article {
  min-height: 100%;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(23, 25, 31, 0.05);
}

.card header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.card h3,
.archive-grid h3 {
  margin: 0;
  font-size: 1.22rem;
  line-height: 1.24;
}

.badge {
  flex: 0 0 auto;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(85, 120, 111, 0.14);
  color: var(--sage);
  font-family: Inter, Arial, sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
}

.card p,
.archive-grid p,
.timeline p,
.accepted-table span {
  color: var(--muted);
  font-family: Inter, Arial, sans-serif;
  font-size: 0.94rem;
}

.meta {
  display: grid;
  gap: 5px;
  margin-top: 18px;
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  font-size: 0.9rem;
}

.timeline {
  display: grid;
  gap: 0;
  padding: 0 54px 26px;
}

.feature-panel,
.sponsor-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.6fr);
  gap: 30px;
  margin: 32px 54px 18px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
  box-shadow: var(--shadow);
}

.feature-panel h2,
.sponsor-panel h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3.6vw, 3.4rem);
  line-height: 1.05;
}

.feature-panel p,
.sponsor-panel p,
.sponsor-panel li {
  color: var(--muted);
  font-family: Inter, Arial, sans-serif;
}

.feature-panel strong,
.sponsor-panel strong {
  color: var(--accent-dark);
}

.feature-panel aside {
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 22px;
  border-left: 3px solid var(--gold);
  background: rgba(184, 135, 63, 0.1);
}

.feature-panel aside span {
  color: var(--muted);
  font-family: Inter, Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feature-panel aside strong {
  margin-bottom: 12px;
  font-size: 1.08rem;
}

.sponsor-panel {
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  background: #f4f9f7;
}

.sponsor-panel ul {
  display: grid;
  align-content: center;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sponsor-panel li {
  padding: 12px 14px;
  border: 1px solid rgba(85, 120, 111, 0.28);
  border-radius: 6px;
  background: #ffffff;
}

.timeline article {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  gap: 22px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.timeline time {
  color: var(--blue);
  font-family: Inter, Arial, sans-serif;
  font-weight: 800;
}

.timeline h3 {
  margin: 0;
}

.timeline .place {
  color: var(--gold);
  font-family: Inter, Arial, sans-serif;
  font-weight: 800;
}

.accepted-table {
  margin: 0 54px 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fffdf8;
}

.table-header,
.table-row {
  display: grid;
  grid-template-columns: 100px 1.55fr 1fr 150px;
  gap: 16px;
  padding: 16px 18px;
  align-items: center;
}

.table-header {
  background: #20242b;
  color: #fffdf8;
  font-family: Inter, Arial, sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.table-row + .table-row {
  border-top: 1px solid var(--line);
}

.table-row strong {
  font-size: 1.02rem;
}

.decision {
  width: max-content;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(157, 51, 69, 0.12);
  color: var(--accent-dark) !important;
  font-weight: 800;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 0 54px 50px;
}

.contact-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 42px 54px;
  color: #fffdf8;
  background: #20242b;
}

.contact-panel .kicker {
  color: #f2c978;
}

.contact-panel p:not(.kicker) {
  color: #d9dee4;
}

@media (max-width: 980px) {
  .sidebar {
    position: static;
    width: 100%;
    padding: 26px 24px;
  }

  .sidebar nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  main {
    width: 100%;
    margin-left: 0;
  }

  .hero-copy,
  .section-heading,
  .cards,
  .timeline,
  .feature-panel,
  .sponsor-panel,
  .archive-grid,
  .contact-panel {
    padding-right: 24px;
    padding-left: 24px;
  }

  .feature-panel,
  .sponsor-panel {
    grid-template-columns: 1fr;
    margin-right: 24px;
    margin-left: 24px;
    padding: 24px;
  }

  .three-columns,
  .archive-grid {
    grid-template-columns: 1fr;
  }

  .timeline article {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .accepted-table {
    margin-right: 24px;
    margin-left: 24px;
  }

  .table-header {
    display: none;
  }

  .table-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .contact-panel {
    display: grid;
  }
}

@media (max-width: 620px) {
  .sidebar nav {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 690px;
  }

  .hero-copy {
    width: 100%;
    padding-bottom: 38px;
  }

  .notice-band {
    grid-template-columns: 1fr;
  }

  .notice-band article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}
