:root {
  --ink: #273044;
  --muted: #6f7b8e;
  --line: #e6edf3;
  --mint: #d9f3eb;
  --peach: #ffe2d2;
  --sky: #dcecff;
  --lemon: #fff1b8;
  --rose: #ffdce8;
  --accent: #f28b74;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 10%, rgba(255, 226, 210, .7), transparent 30%),
    radial-gradient(circle at 85% 0%, rgba(217, 243, 235, .8), transparent 34%),
    linear-gradient(180deg, #fffefa 0%, #f7fbff 45%, #fff8f4 100%);
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
}

a {
  color: inherit;
}

.top-ribbon {
  height: 8px;
  background: linear-gradient(90deg, var(--mint), var(--sky), var(--peach), var(--lemon), var(--rose));
}

.site-header {
  background: rgba(255, 255, 255, .86);
  border-bottom: 1px solid rgba(230, 237, 243, .9);
  position: sticky;
  top: 0;
  z-index: 20;
}

.navbar {
  padding: 18px 15px;
}

.navbar-brand {
  align-items: center;
  color: var(--ink) !important;
  display: flex;
  font-weight: 700;
  gap: 10px;
  letter-spacing: 0;
}

.brand-mark {
  align-items: center;
  background: linear-gradient(135deg, #f8b6a8, #aee7d9);
  border-radius: 8px;
  color: var(--ink);
  display: inline-flex;
  font-size: 14px;
  height: 40px;
  justify-content: center;
  width: 40px;
}

.navbar-nav {
  gap: 8px;
}

.menu-item a,
.nav-link {
  color: var(--muted) !important;
  display: block;
  font-weight: 600;
  padding: .5rem;
}

.hero-section {
  padding: 76px 0 32px;
}

.eyebrow {
  color: #e47c66;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

h1,
h2 {
  letter-spacing: 0;
}

h1 {
  font-size: clamp(30px, 4.2vw, 50px);
  font-weight: 700;
  line-height: 1.08;
  margin-bottom: 18px;
}

h2 {
  font-size: 32px;
  font-weight: 700;
  margin: 0;
}

.hero-copy,
.preview-lead {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
  max-width: 650px;
}

.today-panel,
.calendar-shell,
.name-detail-preview {
  background: rgba(255, 255, 255, .84);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(86, 104, 129, .1);
}

.today-panel {
  align-items: center;
  display: flex;
  gap: 22px;
  margin-top: 34px;
  max-width: 620px;
  padding: 22px;
}

.date-chip {
  background: var(--sky);
  border-radius: 8px;
  min-width: 128px;
  padding: 18px 20px;
  text-align: center;
}

.date-chip span,
.small-label {
  color: var(--muted);
  display: block;
  font-size: 13px;
  font-weight: 700;
}

.date-chip strong {
  display: block;
  font-size: 30px;
  line-height: 1.1;
  margin-top: 6px;
}

.today-name {
  color: #e86f58;
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 700;
  line-height: 1.05;
  margin-top: 4px;
  overflow-wrap: anywhere;
}

.ad-strip-wrap {
  padding-bottom: 18px;
}

.ad-slot {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .58)),
    repeating-linear-gradient(45deg, rgba(111, 123, 142, .08) 0 10px, transparent 10px 20px);
  border: 1px dashed rgba(111, 123, 142, .42);
  border-radius: 8px;
  color: #8a95a6;
  display: flex;
  font-weight: 700;
  justify-content: center;
  min-height: 120px;
  padding: 18px;
  text-align: center;
}

.ad-slot-large {
  min-height: 300px;
}

.ad-slot-wide {
  min-height: 96px;
}

.ad-slot-sticky {
  min-height: 600px;
  position: sticky;
  top: 96px;
}

.ad-slot-content {
  min-height: 250px;
}

.content-section,
.name-preview-section {
  padding: 58px 0;
}

.name-detail-preview {
  padding: 28px;
}

.preview-stats {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 24px 0 26px;
}

.preview-stats div {
  background: #f9fbfd;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}

.preview-stats span {
  color: var(--muted);
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.preview-stats strong {
  display: block;
  font-size: 18px;
  font-weight: 700;
}

.timeline-list {
  display: grid;
  gap: 12px;
}

.timeline-item {
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 14px;
  grid-template-columns: 94px 1fr;
  padding: 16px;
}

.timeline-year {
  background: var(--mint);
  border-radius: 8px;
  color: var(--ink);
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  padding: 8px 10px;
}

.timeline-type {
  color: #e86f58;
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.timeline-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.timeline-text {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
}

.section-heading {
  margin-bottom: 24px;
}

.upcoming-carousel {
  margin-left: -10px;
  margin-right: -10px;
}

.upcoming-slide {
  padding: 0 10px 18px;
}

.name-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(86, 104, 129, .08);
  display: block;
  height: 100%;
  padding: 20px;
  text-decoration: none;
}

.name-card-link:hover {
  text-decoration: none;
}

.card-date {
  background: var(--mint);
  border-radius: 8px;
  color: var(--ink);
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
  padding: 8px 10px;
}

.card-name {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 8px;
}

.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  padding: 26px 0;
}

@media (max-width: 991.98px) {
  .hero-section {
    padding-top: 48px;
  }

  .ad-slot-sticky {
    min-height: 220px;
    position: static;
  }

  .preview-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .today-panel {
    align-items: stretch;
    flex-direction: column;
  }

  .date-chip {
    min-width: 0;
  }

  .name-detail-preview {
    padding: 20px;
  }

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

