/* Author: VIVI x Codex */
:root {
  --bg: #f4efe2;
  --paper: rgba(255, 250, 242, 0.9);
  --paper-strong: #fff9ef;
  --ink: #211a14;
  --muted: #63584f;
  --accent: #d15e32;
  --berry: #8f4ee8;
  --teal: #1f8f8a;
  --gold: #d5a444;
  --line: rgba(33, 26, 20, 0.11);
  --shadow: 0 26px 70px rgba(51, 36, 28, 0.13);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Noto Sans SC", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 18%, rgba(209, 94, 50, 0.18), transparent 22%),
    radial-gradient(circle at 82% 10%, rgba(143, 78, 232, 0.16), transparent 24%),
    radial-gradient(circle at 78% 76%, rgba(31, 143, 138, 0.18), transparent 20%),
    linear-gradient(180deg, #fbf5ea 0%, #f1ebde 100%);
}

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

.poster-shell {
  width: min(980px, calc(100% - 28px));
  margin: 0 auto;
  padding: 32px 0 48px;
}

.hero-panel,
.timeline-panel,
.quote-panel,
.cta-panel,
.meta-card {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-panel,
.timeline-panel,
.quote-panel,
.cta-panel {
  position: relative;
  overflow: hidden;
  background: var(--paper);
  backdrop-filter: blur(18px);
}

.hero-panel {
  padding: 28px;
  border-radius: 34px;
}

.hero-panel::before,
.timeline-panel::before,
.cta-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.28) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.24) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent);
  opacity: 0.4;
}

.topline,
.section-tag,
.quote-badge,
.card-label,
.meta-label,
.qr-caption {
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.08em;
}

.topline {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 1.1rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(250px, 0.9fr);
  gap: 18px;
  align-items: stretch;
}

.title-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.date-stamp {
  width: fit-content;
  margin: 0;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 249, 239, 0.95);
  border: 1px solid rgba(33, 26, 20, 0.12);
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
}

h1,
h2 {
  margin: 0;
}

h1 {
  display: grid;
  gap: 2px;
}

.title-kicker {
  font-family: "Noto Serif SC", serif;
  font-size: clamp(2.1rem, 4.4vw, 3.6rem);
  line-height: 1;
}

.title-main {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(4.2rem, 11vw, 8rem);
  line-height: 0.9;
  color: var(--accent);
}

.title-sub {
  font-family: "Noto Serif SC", serif;
  font-size: clamp(1.7rem, 4vw, 3rem);
  line-height: 1.04;
}

.hero-lede {
  max-width: 26ch;
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.24rem);
  line-height: 1.85;
  color: var(--muted);
}

.intro-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  padding: 18px;
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(143, 78, 232, 0.9), rgba(69, 43, 120, 0.96));
  color: #fff7fb;
}

.card-label {
  margin: 0;
  font-size: 1rem;
}

.card-big {
  margin: 0;
  font-family: "Noto Serif SC", serif;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  line-height: 1.2;
}

.card-copy {
  margin: 0;
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255, 247, 251, 0.86);
}

.meta-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.meta-card {
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 252, 246, 0.96);
}

.meta-card--warm {
  background:
    linear-gradient(135deg, rgba(209, 94, 50, 0.95), rgba(223, 171, 80, 0.92));
  color: #fffaf6;
}

.meta-label {
  margin: 0 0 8px;
  font-size: 0.95rem;
}

.meta-value {
  margin: 0;
  font-family: "Noto Serif SC", serif;
  font-size: clamp(1.2rem, 2.3vw, 1.7rem);
  line-height: 1.35;
}

.meta-note {
  margin: 10px 0 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: inherit;
  opacity: 0.84;
}

.timeline-panel,
.cta-panel {
  margin-top: 16px;
  padding: 24px;
  border-radius: 30px;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px 18px;
  margin-bottom: 18px;
}

.section-tag {
  margin: 0;
  font-size: 1rem;
  color: var(--muted);
}

.section-head h2,
.cta-copy h2 {
  font-family: "Noto Serif SC", serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.08;
}

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

.agenda-item {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(33, 26, 20, 0.08);
}

.agenda-time {
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(33, 26, 20, 0.05);
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
}

.agenda-title {
  margin: 0;
  font-family: "Noto Serif SC", serif;
  font-size: 1.26rem;
}

.agenda-copy {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.quote-panel {
  margin-top: 16px;
  padding: 24px 24px 26px;
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(31, 143, 138, 0.95), rgba(20, 58, 77, 0.96));
  color: #f7fffd;
}

.quote-badge {
  width: fit-content;
  margin: 0 0 12px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 0.98rem;
}

.quote-copy {
  margin: 0;
  max-width: 32ch;
  font-family: "Noto Serif SC", serif;
  font-size: clamp(1.45rem, 3vw, 2.35rem);
  line-height: 1.58;
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 260px;
  gap: 18px;
  align-items: center;
}

.cta-lede {
  margin: 12px 0 0;
  max-width: 30ch;
  color: var(--muted);
  line-height: 1.85;
}

.cta-points {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
  color: var(--muted);
}

.cta-points li {
  padding-left: 1.2em;
  position: relative;
  line-height: 1.75;
}

.cta-points li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.cta-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 18px;
  padding: 13px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff8f0;
  text-decoration: none;
  font-weight: 700;
}

.qr-card {
  padding: 18px;
  border-radius: 28px;
  background: var(--paper-strong);
  border: 1px solid rgba(33, 26, 20, 0.08);
}

.qr-card img {
  width: 100%;
  border-radius: 18px;
  background: white;
  padding: 10px;
}

.qr-caption {
  margin: 12px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.96rem;
}

@media (max-width: 860px) {
  .poster-shell {
    width: min(100% - 20px, 720px);
    padding-top: 20px;
  }

  .hero-grid,
  .cta-panel,
  .meta-strip {
    grid-template-columns: 1fr;
  }

  .agenda-item {
    grid-template-columns: 1fr;
  }

  .quote-copy,
  .hero-lede,
  .cta-lede {
    max-width: none;
  }
}

@media (max-width: 560px) {
  .hero-panel,
  .timeline-panel,
  .quote-panel,
  .cta-panel,
  .meta-card {
    border-radius: 22px;
  }

  .hero-panel,
  .timeline-panel,
  .quote-panel,
  .cta-panel {
    padding: 18px;
  }

  .title-main {
    font-size: clamp(3.6rem, 18vw, 5.5rem);
  }

  .date-stamp,
  .agenda-time {
    font-size: 1rem;
  }
}
