:root {
  --bg-top: #f7edf2;
  --bg-bottom: #f2e4ed;
  --ink: #341726;
  --ink-soft: #6b4056;
  --ink-strong: #3a1a2e;
  --brand: #5a2a4a;
  --brand-soft: #8c4673;
  --accent: #a73b7e;
  --accent-strong: #d71d78;
  --accent-bright: #e8409a;
  --card-bg: rgba(255, 255, 255, 0.88);
  --card-border: rgba(167, 59, 126, 0.12);
  --card-shadow: 0 10px 30px rgba(90, 42, 74, 0.08);
  --card-shadow-hover: 0 14px 36px rgba(90, 42, 74, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 100%);
  color: var(--ink);
  padding-bottom: 64px;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

.top-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(90, 42, 74, 0.95);
  backdrop-filter: blur(12px);
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.top-bar__logo {
  display: inline-block;
  line-height: 0;
}

.top-bar__logo img {
  height: 28px;
  vertical-align: middle;
}

.top-bar__nav-wrap {
  position: relative;
}

.hamburger {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  z-index: 200;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #e8c4d8;
  border-radius: 2px;
  transition: all 0.3s;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: rgba(70, 28, 58, 0.98);
  backdrop-filter: blur(12px);
  border-radius: 0 0 12px 12px;
  min-width: 220px;
  padding: 8px 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.nav-menu.open {
  display: block;
}

.nav-menu a {
  display: block;
  padding: 14px 24px;
  color: #e8c4d8;
  text-decoration: none;
  font-size: 15px;
  transition: background 0.2s;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.nav-menu .nav-cta {
  margin: 8px 16px;
  display: block;
  background: linear-gradient(90deg, var(--accent-strong), var(--accent-bright));
  color: #fff;
  text-align: center;
  padding: 12px;
  border-radius: 50px;
  font-weight: 700;
  font-family: Georgia, serif;
  font-size: 14px;
}

main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 56px 24px 72px;
}

.hero {
  text-align: center;
  margin-bottom: 40px;
}

.hero-logo {
  margin-bottom: 28px;
}

.hero-logo img {
  height: 52px;
}

h1,
h2,
h3 {
  font-family: Georgia, serif;
}

h1 {
  margin: 0 0 12px;
  font-size: clamp(36px, 6vw, 58px);
  line-height: 1.05;
  color: var(--brand);
}

.intro {
  max-width: 700px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.card {
  display: block;
  text-decoration: none;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  overflow: hidden;
  color: inherit;
  box-shadow: var(--card-shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.card:hover,
.card:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--card-shadow-hover);
}

.card-img-wrap {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #dbbdd0 0%, #a73b7e 100%);
}

.card-img-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 35%, rgba(58, 26, 46, 0.14) 100%);
  pointer-events: none;
}

.card-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.card-body {
  padding: 16px 18px 20px;
}

.slug {
  display: block;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.days-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(90deg, var(--accent), var(--accent-strong));
  border-radius: 20px;
  padding: 3px 10px;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.title {
  display: block;
  font-family: Georgia, serif;
  font-size: 20px;
  line-height: 1.2;
  color: var(--ink-strong);
}

.article-main {
  max-width: 920px;
}

.article-hero {
  margin-bottom: 28px;
}

.article-shell {
  max-width: 760px;
  margin: 0 auto;
}

.article-backlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 14px;
  color: var(--ink-soft);
  text-decoration: none;
}

.article-backlink::before {
  content: "\2190";
  font-size: 16px;
}

.article-backlink:hover,
.article-backlink:focus-visible {
  color: var(--brand);
}

.article-kicker {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.article-ingress {
  max-width: 680px;
  margin: 18px auto 0;
  font-size: 20px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.article-cover {
  margin: 34px auto 36px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--card-border);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.32), rgba(167, 59, 126, 0.16));
}

.article-cover img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
}

.article-content {
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(167, 59, 126, 0.1);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 18px 38px rgba(90, 42, 74, 0.06);
}

.article-content h2 {
  margin: 34px 0 14px;
  font-size: clamp(28px, 4vw, 36px);
  line-height: 1.12;
  color: var(--brand);
}

.article-content h2:first-child {
  margin-top: 0;
}

.article-content p {
  margin: 0 0 18px;
  font-size: 18px;
  line-height: 1.9;
  color: var(--ink);
}

.article-content > p:first-child {
  font-size: 19px;
  color: var(--ink-strong);
}

.article-content a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.article-content strong {
  color: var(--ink-strong);
}

.article-content em {
  font-style: italic;
}

.article-cta {
  margin-top: 28px;
  padding: 26px 28px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(167, 59, 126, 0.14);
  box-shadow: var(--card-shadow);
}

.article-cta-label {
  display: block;
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.article-cta h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 34px);
  line-height: 1.1;
  color: var(--ink-strong);
}

.article-cta p {
  margin: 0 0 18px;
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.cta-button {
  display: inline-block;
  background: linear-gradient(90deg, var(--accent-strong), var(--accent-bright));
  color: #fff;
  font-family: Georgia, serif;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  padding: 12px 26px;
  border-radius: 999px;
}

.sticky-bottom {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(140, 70, 115, 0.97);
  backdrop-filter: blur(12px);
  padding: 12px 24px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.sticky-bottom-text .line1 {
  font-size: 13px;
  color: #e8c4d8;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.line2-inline {
  font-size: 12px;
  color: #c89eb8;
  margin-top: 2px;
}

.cta-btn-sm {
  display: inline-block;
  background: linear-gradient(90deg, var(--accent-strong), var(--accent-bright));
  color: #fff;
  font-family: Georgia, serif;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  padding: 10px 28px;
  border-radius: 50px;
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .sticky-bottom {
    gap: 24px;
    padding-inline: 16px;
  }

  .article-content {
    padding: 24px;
  }
}

@media (max-width: 640px) {
  .top-bar {
    padding-inline: 16px;
  }

  main {
    padding-inline: 16px;
    padding-top: 40px;
  }

  .hero-logo img {
    height: 44px;
  }

  .intro,
  .article-ingress,
  .article-content p {
    font-size: 17px;
  }

  .article-content,
  .article-cta {
    padding: 22px 18px;
    border-radius: 20px;
  }

  .sticky-bottom {
    justify-content: space-between;
  }

  .sticky-bottom-text {
    min-width: 0;
  }

  .sticky-bottom-text .line1 {
    font-size: 11px;
  }

  .line2-inline {
    display: none;
  }

  .cta-btn-sm {
    padding-inline: 20px;
  }
}
