:root {
  --color-primary: #7C3AED;
  --color-secondary: #A78BFA;
  --color-accent: #22C55E;
  --color-neutral-dark: #4C1D95;
  --color-neutral-light: #FAF5FF;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  --measure: 65ch;
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-neutral-dark);
  background: var(--color-neutral-light);
  line-height: 1.6;
  font-size: 17px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); line-height: 1.2; margin: 0 0 1rem; font-weight: 600; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); margin-bottom: 1rem; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }

/* === Layout === */
.container { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: 1.25rem; }
.container.narrow { max-width: 720px; }
.container.split { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
.center { text-align: center; }
.eyebrow { font-family: var(--font-body); font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-primary); margin-bottom: 1rem; font-weight: 600; }
.lede { font-size: 1.15rem; color: var(--color-primary); margin-bottom: 1.5rem; }
.section { padding-block: 4rem; }
.section-alt { background: #fff; }
.section-head { max-width: 720px; margin: 0 auto 2.5rem; text-align: center; }

/* === Header === */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(250, 245, 255, 0.92); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(76, 29, 149, 0.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.75rem; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle { background: none; border: 0; color: var(--color-neutral-dark); cursor: pointer; padding: 0.5rem; }
.primary-nav { display: none; gap: 1.75rem; }
.primary-nav a { color: var(--color-neutral-dark); font-weight: 500; font-size: 0.98rem; }
.primary-nav a[aria-current="page"] { color: var(--color-primary); }
.primary-nav.is-open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 1.25rem 1.5rem; border-bottom: 1px solid rgba(76, 29, 149, 0.08); gap: 0.9rem; }

/* === Hero fullscreen === */
.hero-fullscreen { position: relative; min-height: 82vh; display: flex; align-items: center; justify-content: center; overflow: hidden; color: var(--color-neutral-light); }
.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(76, 29, 149, 0.55), rgba(30, 10, 60, 0.75)); z-index: 1; }
.hero-content { position: relative; z-index: 2; text-align: center; max-width: 780px; padding-block: 5rem; }
.hero-content .eyebrow { color: var(--color-secondary); }
.hero-content h1 { color: #fff; margin-bottom: 1.25rem; }
.hero-sub { color: rgba(250, 245, 255, 0.9); font-size: 1.15rem; margin-bottom: 2rem; max-width: 56ch; margin-inline: auto; }

/* === Buttons === */
.btn { display: inline-block; padding: 0.9rem 1.75rem; border-radius: 6px; font-weight: 600; font-size: 1rem; cursor: pointer; border: 0; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: var(--color-neutral-dark); text-decoration: none; }
.btn-accent { background: var(--color-accent); color: #fff; }
.btn-accent:hover { filter: brightness(0.95); text-decoration: none; }

/* === Grids === */
.grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }

/* === Cards === */
.card { background: #fff; padding: 1.75rem; border-radius: 12px; border: 1px solid rgba(76, 29, 149, 0.08); box-shadow: 0 1px 2px rgba(76, 29, 149, 0.04); }
.card h3 { margin-bottom: 0.5rem; }
.card p { color: #4b3a6e; margin: 0; }
.card-icon { color: var(--color-primary); margin-bottom: 0.75rem; }
.card-link { color: inherit; display: block; text-decoration: none; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.card-link:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -12px rgba(76, 29, 149, 0.2); text-decoration: none; }
.read-more { display: inline-block; margin-top: 1rem; color: var(--color-primary); font-weight: 600; }

/* === Quote === */
.quote { margin: 0; padding: 2rem 0; font-family: var(--font-heading); font-size: 1.35rem; line-height: 1.5; color: var(--color-neutral-dark); border-top: 1px solid rgba(76, 29, 149, 0.12); border-bottom: 1px solid rgba(76, 29, 149, 0.12); }
.quote cite { display: block; margin-top: 1rem; font-family: var(--font-body); font-style: normal; font-size: 0.95rem; color: var(--color-primary); font-weight: 500; }

/* === CTA band === */
.cta-band { background: var(--color-primary); color: #fff; padding-block: 3.5rem; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.9); max-width: 56ch; margin-inline: auto; margin-bottom: 1.5rem; }
.contact-inline { font-size: 0.95rem; }

/* === Figure === */
.figure img { border-radius: 12px; }

/* === Article detail === */
.article-detail { max-width: 65ch; margin: 3rem auto; padding-inline: 1rem; }
.article-detail header { margin-bottom: 1.5rem; }
.article-detail h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.15; margin-bottom: 1rem; }
.article-sub { font-size: 1.2rem; color: var(--color-primary); margin-bottom: 1.5rem; }
.article-hero { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; margin-block: 2rem; }
.article-detail p { font-size: 1.1rem; 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 { font-weight: 600; }

/* === Contact === */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.contact-card { background: #fff; padding: 1.5rem; border-radius: 12px; border: 1px solid rgba(76, 29, 149, 0.08); }
.contact-card h3 { margin-bottom: 0.5rem; color: var(--color-primary); }
.hours { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.hours th { text-align: left; font-weight: 500; padding: 0.35rem 0; color: var(--color-neutral-dark); }
.hours td { text-align: right; padding: 0.35rem 0; color: #4b3a6e; }

/* === Form === */
.contact-form { background: #fff; padding: 2rem; border-radius: 12px; border: 1px solid rgba(76, 29, 149, 0.08); }
.form-row { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.25rem; }
.form-row label { font-weight: 500; font-size: 0.95rem; }
.form-row input, .form-row textarea { font-family: inherit; font-size: 1rem; padding: 0.75rem 0.9rem; border: 1px solid rgba(76, 29, 149, 0.18); border-radius: 6px; background: #fff; color: var(--color-neutral-dark); }
.form-row input:focus, .form-row textarea:focus { outline: 2px solid var(--color-primary); outline-offset: 1px; border-color: var(--color-primary); }
.form-consent { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.9rem; margin-bottom: 1.25rem; line-height: 1.5; }
.form-consent input { margin-top: 0.2rem; }

/* === Thank you === */
.thank-you-hero { padding-block: 5rem 3rem; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(250, 245, 255, 0.85); padding-block: 3rem 1.5rem; margin-top: 3rem; }
.site-footer h3 { color: #fff; font-family: var(--font-body); font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; margin-bottom: 1rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-bottom: 2rem; }
.footer-nav { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-nav a, .footer-contact a { color: rgba(250, 245, 255, 0.85); }
.footer-nav a:hover, .footer-contact a:hover { color: #fff; }
.footer-contact p { margin-bottom: 0.5rem; font-size: 0.95rem; }
.footer-legal { margin-top: 1rem; font-size: 0.9rem; }
.logo-footer img { height: 60px; }
.logo-footer { display: inline-block; margin-bottom: 1rem; background: #fff; padding: 0.4rem 0.8rem; border-radius: 6px; }
.copyright { border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 1.25rem; font-size: 0.85rem; color: rgba(250, 245, 255, 0.65); }
.copyright 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: 10px; box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.35); max-width: 640px; }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: 0.95rem; color: var(--color-neutral-light); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner button { font-family: inherit; font-size: 0.9rem; padding: 0.55rem 1rem; border-radius: 6px; border: 0; cursor: pointer; font-weight: 500; }
.cookie-banner [data-cookie-accept] { background: var(--color-accent); color: #fff; }
.cookie-banner [data-cookie-reject] { background: rgba(255, 255, 255, 0.12); color: var(--color-neutral-light); }
.cookie-banner [data-cookie-settings] { background: transparent; color: var(--color-neutral-light); text-decoration: underline; }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.9rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: 0.5rem; }
.cookie-banner [data-cookie-save] { background: var(--color-accent); color: #fff; margin-top: 0.5rem; align-self: flex-start; }

/* === Responsive === */
@media (min-width: 768px) {
  body { font-size: 18px; }
  .logo img { height: 96px; }
  .nav-toggle { display: none; }
  .primary-nav { display: flex; }
  .primary-nav.is-open { position: static; flex-direction: row; padding: 0; background: transparent; border: 0; }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .container.split { grid-template-columns: 1fr 1fr; gap: 3.5rem; }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr; }
  .section { padding-block: 5rem; }
}

@media (min-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}
