:root {
  --color-primary: #7C3AED;
  --color-secondary: #A78BFA;
  --color-accent: #CA8A04;
  --color-neutral-dark: #4C1D95;
  --color-neutral-light: #FAF5FF;
  --color-text: #1F1B33;
  --color-muted: #6B5F86;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius: 10px;
  --shadow-sm: 0 2px 6px rgba(76, 29, 149, 0.08);
  --shadow-md: 0 12px 28px -12px rgba(76, 29, 149, 0.25);
}

/* === Base === */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-neutral-light);
}
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-neutral-dark);
  line-height: 1.2;
  font-weight: 600;
  margin: 0 0 .8rem;
}
p { margin: 0 0 1rem; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-inline: 1.25rem;
}
.container.narrow { max-width: 720px; }

/* === Header === */
.site-header {
  position: sticky;
  top: 0;
  background: var(--color-neutral-light);
  border-bottom: 1px solid rgba(76, 29, 149, 0.1);
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: .75rem;
  gap: 1rem;
}
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle {
  background: transparent;
  border: 0;
  color: var(--color-neutral-dark);
  padding: .5rem;
  cursor: pointer;
}
.primary-nav {
  display: none;
  flex-direction: column;
  gap: .25rem;
  width: 100%;
  padding-block: .5rem 1rem;
}
.primary-nav.is-open { display: flex; }
.primary-nav a {
  color: var(--color-neutral-dark);
  font-weight: 500;
  padding: .5rem .25rem;
  border-bottom: 1px solid rgba(76,29,149,0.08);
}
.primary-nav a[aria-current="page"] { color: var(--color-primary); }

@media (min-width: 820px) {
  .header-inner { flex-wrap: nowrap; padding-block: 1rem; }
  .logo img { height: 96px; }
  .nav-toggle { display: none; }
  .primary-nav {
    display: flex;
    flex-direction: row;
    gap: 1.75rem;
    width: auto;
    padding: 0;
  }
  .primary-nav a { border: 0; padding: .25rem 0; }
}

/* === Hero === */
.hero {
  text-align: center;
  padding-block: 3.5rem 3rem;
}
.hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .8rem;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 1rem;
}
.hero h1 {
  font-size: clamp(2.25rem, 5vw, 4rem);
  max-width: 28ch;
  margin: 0 auto 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.hero .lede {
  font-size: 1.125rem;
  color: var(--color-muted);
  max-width: 48ch;
  margin: 0 auto 1.75rem;
}
.cta-row { margin-top: 1.5rem; }
.hero-figure {
  margin: 3rem 0 0;
}
.hero-figure img {
  width: 100%;
  border-radius: 14px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  box-shadow: var(--shadow-md);
}
@media (min-width: 768px) {
  .hero { padding-block: 6rem 4rem; }
}

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

/* === Sections === */
.intro {
  padding-block: 3rem;
}
.intro.alt { background: rgba(167, 139, 250, 0.08); }
.intro h2 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  text-align: center;
  margin-bottom: 1.25rem;
}
.intro p { font-size: 1.05rem; }
.inline-figure { margin: 1.5rem 0 2rem; }
.inline-figure img {
  width: 100%;
  border-radius: 12px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}

.section-head { text-align: center; margin-bottom: 2.5rem; }
.section-head h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
.section-head p { color: var(--color-muted); max-width: 55ch; margin: 0 auto; }

.highlights { padding-block: 3.5rem; }

/* === Grid + Cards === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}
.card {
  background: #fff;
  border: 1px solid rgba(76, 29, 149, 0.1);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}
.card h3 { font-size: 1.25rem; margin-bottom: .6rem; }
.card p { color: var(--color-muted); margin: 0; font-size: .98rem; }
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(124, 58, 237, 0.1);
  color: var(--color-primary);
  margin-bottom: 1rem;
}
a.card-link { color: inherit; display: block; }
a.card-link:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-md); }
a.card-link h3 { color: var(--color-primary); }

/* === Testimonial === */
.testimonial { padding-block: 3rem; text-align: center; }
.testimonial h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); margin-bottom: 1.5rem; }
.testimonial blockquote {
  margin: 0;
  padding: 0 1rem;
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--color-neutral-dark);
  font-family: var(--font-heading);
  font-style: italic;
}
.testimonial cite {
  display: block;
  margin-top: 1rem;
  font-family: var(--font-body);
  font-style: normal;
  font-size: .95rem;
  color: var(--color-muted);
}

/* === CTA band === */
.cta-band {
  background: var(--color-primary);
  color: #fff;
  text-align: center;
  padding-block: 3.5rem;
}
.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: 55ch; margin: 0 auto 1.25rem; }
.cta-band .contact-line { font-size: .95rem; }

/* === Article detail === */
.article-detail {
  max-width: 65ch;
  margin-inline: auto;
  padding: 3rem 1rem 4rem;
}
.article-detail .eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .8rem;
  color: var(--color-primary);
  font-weight: 600;
}
.article-detail h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  margin: .5rem 0 1.25rem;
}
.article-detail .lede {
  font-size: 1.25rem;
  color: var(--color-muted);
  margin-bottom: 1.5rem;
}
.article-hero img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  margin-block: 2rem;
}
.article-detail p {
  font-size: 1.125rem;
  line-height: 1.75;
  margin-block: 1.25rem;
}
.article-foot { margin-top: 2.5rem; }
.back-link {
  display: inline-block;
  color: var(--color-primary);
  font-weight: 600;
}

/* === Contact === */
.contact-block { padding-block: 3rem; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 820px) {
  .contact-grid { grid-template-columns: 1fr 1.2fr; }
}
.hours { width: 100%; border-collapse: collapse; margin-top: .5rem; }
.hours th, .hours td {
  padding: .5rem .75rem;
  text-align: left;
  border-bottom: 1px solid rgba(76,29,149,0.08);
  font-size: .95rem;
}
.hours th { font-weight: 500; color: var(--color-neutral-dark); }
address { font-style: normal; line-height: 1.7; }

.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.contact-form label { display: flex; flex-direction: column; gap: .35rem; font-size: .9rem; color: var(--color-neutral-dark); font-weight: 500; }
.contact-form input, .contact-form textarea {
  font: inherit;
  padding: .7rem .85rem;
  border-radius: 8px;
  border: 1px solid rgba(76,29,149,0.2);
  background: #fff;
  color: var(--color-text);
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 1px;
}
.form-consent {
  flex-direction: row !important;
  align-items: flex-start;
  gap: .6rem !important;
  font-weight: 400 !important;
  font-size: .88rem !important;
  color: var(--color-muted) !important;
}
.form-consent input { margin-top: .2rem; }
.contact-form button { align-self: flex-start; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: rgba(255,255,255,0.85);
  padding-block: 3rem 1.5rem;
  margin-top: 3rem;
}
.site-footer a { color: #fff; }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: .8rem; font-family: var(--font-body); text-transform: uppercase; letter-spacing: .08em; }
.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  margin-bottom: 2rem;
}
.site-footer .logo img { height: 72px; filter: brightness(0) invert(1); }
.site-footer .tagline { color: rgba(255,255,255,0.7); margin-top: .75rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .4rem; }
.legal-links { margin-top: 1rem; font-size: .9rem; }
.copyright {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 1rem;
  font-size: .85rem;
  color: rgba(255,255,255,0.6);
}
@media (min-width: 820px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1.4fr; }
}

/* === Eyebrow === */
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .8rem;
  color: var(--color-primary);
  font-weight: 600;
}

/* === 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;
  border-radius: 12px;
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.35);
  max-width: 560px;
}
.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__actions button {
  font: inherit;
  padding: .55rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.3);
  background: transparent;
  color: var(--color-neutral-light);
  cursor: pointer;
  font-weight: 500;
}
.cookie-banner__actions button[data-cookie-accept] {
  background: var(--color-accent);
  border-color: 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; gap: .5rem; align-items: center; }
.cookie-banner__prefs button {
  align-self: flex-start;
  margin-top: .5rem;
  padding: .5rem 1rem;
  border-radius: 999px;
  border: 0;
  background: var(--color-accent);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 500;
}
