:root {
  --color-primary: #8B5CF6;
  --color-secondary: #C4B5FD;
  --color-accent: #10B981;
  --color-neutral-dark: #4C1D95;
  --color-neutral-light: #FAF5FF;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius: 12px;
  --shadow-soft: 0 10px 30px -18px rgba(76, 29, 149, 0.35);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-neutral-dark);
  background: var(--color-neutral-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--font-heading); font-weight: 600; line-height: 1.2; margin: 0 0 .75rem; color: var(--color-neutral-dark); letter-spacing: -0.01em; }
p { margin: 0 0 1rem; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 1.25rem; }
.container--narrow { max-width: 760px; }

/* === Header === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 245, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(76, 29, 149, 0.08);
}
.site-header__inner {
  max-width: 1200px; margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: .75rem 1.25rem; gap: 1rem;
}
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; }
.logo--footer img { height: 64px; }

.primary-nav { display: none; gap: 1.5rem; align-items: center; }
.primary-nav a { color: var(--color-neutral-dark); font-weight: 500; font-size: .95rem; }
.primary-nav a[aria-current="page"] { color: var(--color-primary); }

.nav-toggle {
  display: inline-flex; flex-direction: column; gap: 5px;
  background: transparent; border: 0; padding: .5rem; cursor: pointer;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--color-neutral-dark); border-radius: 2px; }

.primary-nav.is-open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--color-neutral-light); padding: 1.25rem; border-bottom: 1px solid rgba(76, 29, 149, 0.1); }

@media (min-width: 768px) {
  .logo img { height: 96px; }
  .logo--footer img { height: 72px; }
  .primary-nav { display: flex; position: static; flex-direction: row; padding: 0; background: transparent; border: 0; }
  .nav-toggle { display: none; }
}

/* === Buttons === */
.btn {
  display: inline-block; padding: .85rem 1.6rem;
  border-radius: 999px; font-weight: 600; font-family: var(--font-body);
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  border: 0; cursor: pointer; font-size: 1rem;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow-soft); }
.btn--primary { background: var(--color-primary); color: #fff; }
.btn--accent { background: var(--color-accent); color: #fff; }

/* === Hero fullscreen === */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; color: #fff; }
.hero--short { min-height: 68vh; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(rgba(30, 10, 65, 0.55), rgba(76, 29, 149, 0.72)); z-index: 1; }
.hero__content { position: relative; z-index: 2; max-width: 820px; padding: 5rem 1.5rem; }
.hero__content h1 { color: #fff; font-size: clamp(2.25rem, 5vw, 4rem); margin-bottom: 1rem; }
.hero__sub { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: rgba(255,255,255,0.9); margin-bottom: 2rem; max-width: 42rem; margin-inline: auto; }
.hero__sub--dark { color: var(--color-neutral-dark); }

/* === Sections === */
.section { padding-block: clamp(3rem, 6vw, 5.5rem); }
.section--tint { background: #F3EBFF; }
.section--hero-plain { padding-block: clamp(4rem, 8vw, 7rem); text-align: center; }
.section--hero-plain h1 { font-size: clamp(1.9rem, 4vw, 3rem); }
.section__header { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section__header h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
.section__sub { color: rgba(76, 29, 149, 0.75); font-size: 1.05rem; }

.prose { font-size: 1.05rem; line-height: 1.75; color: rgba(76, 29, 149, 0.9); }
.container--narrow .prose { max-width: 62ch; margin-inline: auto; }

/* === Cards grid === */
.grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid--cards { grid-template-columns: repeat(3, 1fr); } .grid--two { grid-template-columns: repeat(2, 1fr); } }

.card {
  background: #fff;
  border: 1px solid rgba(76, 29, 149, 0.08);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card h3 { font-size: 1.25rem; margin-bottom: .6rem; }
.card p { color: rgba(76, 29, 149, 0.85); margin: 0; }
.card__icon { color: var(--color-primary); margin-bottom: 1rem; }
.card-link { display: block; color: inherit; }
.card-link:hover { text-decoration: none; transform: translateY(-3px); box-shadow: var(--shadow-soft); border-color: var(--color-primary); }

/* === Quote === */
.quote { border-left: 4px solid var(--color-primary); padding: 1.5rem 0 1.5rem 1.5rem; margin: 0; }
.quote p { font-family: var(--font-heading); font-size: clamp(1.15rem, 1.8vw, 1.5rem); line-height: 1.5; font-style: italic; color: var(--color-neutral-dark); }
.quote cite { display: block; font-style: normal; font-size: .95rem; color: rgba(76, 29, 149, 0.7); margin-top: 1rem; }

/* === CTA band === */
.cta-band { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; padding-block: clamp(3rem, 5vw, 4.5rem); text-align: center; }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.25rem); }
.cta-band p { color: rgba(255,255,255,0.9); max-width: 42rem; margin: 0 auto 1.75rem; }

/* === Contact === */
.contact-line { text-align: center; font-size: 1.05rem; color: var(--color-neutral-dark); }

.contact-form { display: grid; gap: 1.1rem; max-width: 620px; margin-inline: auto; }
.contact-form label { display: flex; flex-direction: column; gap: .4rem; font-weight: 500; font-size: .95rem; color: var(--color-neutral-dark); }
.contact-form input, .contact-form textarea {
  font-family: inherit; font-size: 1rem;
  padding: .8rem 1rem;
  border: 1px solid rgba(76, 29, 149, 0.2);
  border-radius: var(--radius);
  background: #fff; color: var(--color-neutral-dark);
}
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--color-primary); outline-offset: 1px; border-color: var(--color-primary); }
.form-consent { flex-direction: row !important; align-items: flex-start; gap: .6rem; font-weight: 400 !important; font-size: .85rem !important; }
.form-consent input { margin-top: .25rem; }
.form-success { background: #DCFCE7; color: #065F46; padding: 1rem; border-radius: var(--radius); margin-top: 1rem; }

/* === Article detail === */
.article { max-width: 65ch; margin-inline: auto; padding: 3rem 1.25rem 4rem; }
.article__header { margin-bottom: 2rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; color: var(--color-primary); font-weight: 600; margin-bottom: 1rem; }
.article h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.15; margin-bottom: 1.25rem; }
.article__lede { font-size: 1.25rem; color: rgba(76, 29, 149, 0.75); }
.article__hero { aspect-ratio: 16/9; object-fit: cover; width: 100%; border-radius: var(--radius); margin-block: 2rem; }
.article h2 { font-size: 1.6rem; margin-top: 2.5rem; }
.article p { font-size: 1.125rem; line-height: 1.75; margin-block: 1.25rem; }
.article__footer { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(76, 29, 149, 0.12); }
.back-link { color: var(--color-primary); font-weight: 500; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(250, 245, 255, 0.85); padding-top: 3rem; margin-top: 2rem; }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 1rem; font-family: var(--font-body); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.site-footer a { color: rgba(250, 245, 255, 0.85); }
.site-footer a:hover { color: #fff; }
.site-footer__grid { display: grid; gap: 2.25rem; grid-template-columns: 1fr; padding-bottom: 2.5rem; }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: 1fr 1fr 1.2fr; } }
.footer-nav { display: flex; flex-direction: column; gap: .5rem; }
.tagline { font-family: var(--font-heading); font-style: italic; font-size: 1.05rem; color: var(--color-secondary); margin-top: 1rem; }
.legal-links { font-size: .85rem; margin-top: .75rem; }
.site-footer__base { border-top: 1px solid rgba(255,255,255,0.12); padding-block: 1.25rem; font-size: .85rem; text-align: center; }
.site-footer__base p { margin: 0; }

/* === Cookie banner === */
.cookie-banner {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem;
  display: none; z-index: 9999;
  background: var(--color-neutral-dark); color: var(--color-neutral-light);
  padding: 1.25rem 1.5rem; border-radius: var(--radius);
  box-shadow: 0 20px 50px -10px rgba(0,0,0,0.35);
  max-width: 640px; margin-inline: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: .95rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner button { border: 0; padding: .55rem 1rem; border-radius: 999px; font-family: inherit; font-size: .9rem; font-weight: 600; cursor: pointer; background: rgba(255,255,255,0.12); color: var(--color-neutral-light); }
.cookie-banner [data-cookie-accept] { background: var(--color-accent); color: #fff; }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: .5rem; font-size: .9rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; }
.cookie-banner__prefs [data-cookie-save] { align-self: flex-start; margin-top: .5rem; background: var(--color-primary); color: #fff; }
