:root {
  --bg: #f9c1e0; --surface: #ffffff; --text: #2a1230; --muted: #5d4a63; --head: #b5185f; --accent: #61188b;
  color-scheme: light;
  font-family: "Lato", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Cormorant Garamond", "EB Garamond", Garamond, "Times New Roman", Georgia, serif;
}
[data-theme="dark"] {
  color-scheme: dark;
  --bg: #2a1030; --surface: #3a1a42; --text: #f6e9f3; --muted: #cdb4c9; --head: #ff8cc6; --accent: #e0b0ff;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); line-height: 1.55; font-size: 17px; }
a { color: inherit; }
img { max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; color: var(--head); margin: 0; }

.top { max-width: 1120px; margin: 0 auto; padding: 22px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-size: 20px; font-weight: 700; color: var(--accent); }
.top nav { display: flex; gap: 22px; }
.top nav a { text-decoration: none; font-weight: 600; color: var(--text); }
.top nav a:hover { color: var(--head); }

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

.hero { text-align: center; padding: 72px 0 96px; }
h1 { font-size: clamp(52px, 9vw, 104px); line-height: 1.05; letter-spacing: -.01em; }
.lead { font-size: 20px; color: var(--text); max-width: 30em; margin: 26px auto 32px; }
.button { display: inline-block; padding: 14px 28px; border-radius: 999px; background: var(--head); color: #fff; text-decoration: none; font-weight: 700; }
[data-theme="dark"] .button { color: #2a1030; }
.button:hover { filter: brightness(1.08); }

.block { padding: 0 0 88px; }
.block-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 32px; }
.block-head h2 { font-size: clamp(32px, 4vw, 48px); color: var(--text); font-family: var(--serif); }
.block-head p { margin: 0; color: var(--muted); font-size: 16px; }

.cards { display: grid; gap: 20px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.cards.four { grid-template-columns: repeat(4, 1fr); }
.card { display: flex; flex-direction: column; background: var(--surface); border-radius: 6px; padding: 30px 28px 26px; text-decoration: none; color: var(--text); min-height: 300px; }
.card small { font-size: 14px; font-weight: 700; color: var(--muted); margin-bottom: 10px; }
.card h3 { font-size: clamp(30px, 3vw, 40px); line-height: 1.05; color: var(--text); margin-bottom: 16px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.more { margin-top: auto; padding-top: 22px; font-weight: 700; color: var(--head); }
a.card:hover { box-shadow: 0 10px 30px rgba(97, 24, 139, .18); transform: translateY(-2px); transition: .15s; }
.card.soon { opacity: .8; }
.card.soon .more { color: var(--muted); }

.contact { text-align: center; padding: 64px 24px; margin-bottom: 64px; border-radius: 6px; background: var(--surface); }
.contact h2 { font-size: clamp(32px, 4vw, 48px); color: var(--text); margin-bottom: 10px; }
.contact p { margin: 0 0 18px; color: var(--muted); font-size: 18px; }
.mail { font-size: clamp(20px, 3vw, 28px); font-weight: 800; color: var(--head); text-decoration: none; border-bottom: 2px solid currentColor; }

.foot { max-width: 1120px; margin: 0 auto; padding: 24px; border-top: 1px solid rgba(128,128,128,.3); color: var(--muted); font-size: 14px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.foot p { margin: 0; }

@media (max-width: 960px) { .cards.four { grid-template-columns: repeat(2, 1fr); } .cards.three { grid-template-columns: 1fr; } .card { min-height: 0; } }
@media (max-width: 700px) {
  .block-head { grid-template-columns: 1fr; gap: 12px; }
  .cards.four { grid-template-columns: 1fr; }
  .hero { padding: 40px 0 64px; }
  .top nav a:first-child { display: none; }
}

.theme { display: inline-flex; gap: 4px; padding: 3px; border-radius: 999px; background: var(--surface); }
.theme button { font: inherit; font-size: 13px; font-weight: 700; border: 0; border-radius: 999px; padding: 4px 12px; cursor: pointer; background: transparent; color: var(--muted); }
.theme button[aria-pressed="true"] { background: var(--head); color: #fff; }
[data-theme="dark"] .theme button[aria-pressed="true"] { color: #2a1030; }
