/* === Tokens === */
:root {
  --color-primary: #7C3AED;
  --color-secondary: #A78BFA;
  --color-accent: #22C55E;
  --color-neutral-dark: #4C1D95;
  --color-neutral-light: #FAF5FF;
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Lato', 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 { -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: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--color-neutral-dark); }

h1, h2, h3 {
  font-family: var(--font-heading);
  color: var(--color-neutral-dark);
  line-height: 1.15;
  font-weight: 600;
  margin: 0 0 1rem;
}
h1 { font-size: clamp(2.25rem, 5vw, 4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1rem; }

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

/* === Header === */
.site-header {
  background: var(--color-neutral-light);
  border-bottom: 1px solid rgba(76,29,149,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1rem;
  gap: 1rem;
}
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle {
  background: none;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  width: 26px; height: 2px;
  background: var(--color-neutral-dark);
  display: block;
  transition: transform .2s;
}
.primary-nav {
  display: none;
  width: 100%;
  order: 3;
}
.primary-nav.is-open { display: block; }
.primary-nav ul {
  list-style: none;
  margin: 0;
  padding: 1rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.primary-nav a {
  text-decoration: none;
  color: var(--color-neutral-dark);
  font-weight: 600;
  font-size: 1.05rem;
}
.primary-nav a[aria-current="page"] { color: var(--color-primary); }

@media (min-width: 768px) {
  .logo img { height: 96px; }
  .nav-toggle { display: none; }
  .primary-nav { display: block; width: auto; order: 0; }
  .primary-nav ul {
    flex-direction: row;
    padding: 0;
    gap: 1.75rem;
  }
}

/* === Hero === */
.hero {
  text-align: center;
  padding-block: 3.5rem 3rem;
  background: linear-gradient(180deg, var(--color-neutral-light) 0%, #F3EAFE 100%);
}
.hero h1 { max-width: 22ch; margin-inline: auto; }
.hero__sub {
  max-width: 48ch;
  margin: 0 auto 1.5rem;
  font-size: 1.15rem;
  color: #5b3aa8;
}
.hero__cta { margin-bottom: 2.5rem; }
.hero__figure {
  margin: 0 auto;
  max-width: 100%;
}
.hero__figure img {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 16/9;
  object-fit: cover;
  box-shadow: var(--shadow-soft);
}
@media (min-width: 768px) {
  .hero { padding-block: 6rem 5rem; }
}

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: transform .15s, background .15s;
  cursor: pointer;
  border: 0;
}
.btn--primary { background: var(--color-primary); color: #fff; }
.btn--primary:hover { background: var(--color-neutral-dark); color: #fff; }
.btn--accent { background: var(--color-accent); color: #05320f; }
.btn--accent:hover { transform: translateY(-1px); color: #05320f; }

/* === Sections === */
.section { padding-block: 3.5rem; }
.section--narrow .container { max-width: 720px; }
.section--narrow h2 { text-align: center; }
.section--narrow p { font-size: 1.1rem; }
.section--tint { background: #F3EAFE; }
.section__sub {
  max-width: 55ch;
  margin: 0 auto 2rem;
  text-align: center;
  color: #5b3aa8;
  font-size: 1.05rem;
}
.section h2 { text-align: center; }

/* === Cards === */
.cards {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
  .cards--two { grid-template-columns: repeat(2, 1fr); }
  .cards--three { grid-template-columns: repeat(3, 1fr); }
}
.card {
  background: var(--color-neutral-light);
  border: 1px solid rgba(76,29,149,0.1);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform .2s, box-shadow .2s;
}
.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;
}
.card h3 { margin-bottom: 0.5rem; }
.card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.card-link:hover { color: var(--color-neutral-dark); }
.card:has(.card-link:hover),
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

/* === Quote === */
.section--quote { padding-block: 4rem; background: var(--color-neutral-light); }
.section--quote blockquote {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  line-height: 1.4;
  color: var(--color-neutral-dark);
  position: relative;
  padding-inline: 1rem;
}
.section--quote blockquote p { margin-bottom: 1.25rem; }
.section--quote cite {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.95rem;
  color: #5b3aa8;
  letter-spacing: 0.02em;
}

/* === CTA band === */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff;
  text-align: center;
  padding-block: 4rem;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.9); max-width: 55ch; margin-inline: auto; }
.cta-band a:not(.btn) { color: #fff; }

/* === Article === */
.article {
  max-width: 65ch;
  margin-inline: auto;
  padding: 3rem 1.25rem 4rem;
}
.article__header { margin-bottom: 1.5rem; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.article h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
.article__sub {
  font-size: 1.2rem;
  color: #5b3aa8;
  line-height: 1.5;
}
.article__hero { margin: 2rem 0; }
.article__hero img {
  aspect-ratio: 16/9;
  object-fit: cover;
  width: 100%;
  border-radius: var(--radius);
}
.article p {
  font-size: 1.125rem;
  line-height: 1.75;
  margin-block: 1.25rem;
}
.article__footer { margin-top: 3rem; }
.back-link {
  display: inline-block;
  font-weight: 600;
  text-decoration: none;
  color: var(--color-primary);
}
.back-link:hover { text-decoration: underline; }

/* === Contact === */
.contact-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 1fr 1.2fr; align-items: start; }
}
.hours {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
  font-size: 0.95rem;
}
.hours caption {
  text-align: left;
  font-weight: 700;
  padding-bottom: 0.5rem;
  color: var(--color-neutral-dark);
}
.hours th, .hours td {
  padding: 0.5rem 0.25rem;
  border-bottom: 1px solid rgba(76,29,149,0.12);
  text-align: left;
}
.hours th { font-weight: 500; }

.contact-form {
  background: var(--color-neutral-light);
  border: 1px solid rgba(76,29,149,0.1);
  border-radius: var(--radius);
  padding: 2rem;
}
.contact-form h2 { text-align: left; }
.contact-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(76,29,149,0.2);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  background: #fff;
  color: var(--color-neutral-dark);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 1px;
}
.form-consent {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  font-size: 0.9rem;
  font-weight: 400;
  margin: 1rem 0;
}
.form-consent input { width: auto; margin-top: 0.25rem; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: #E9DDFA;
  padding: 3rem 0 1.5rem;
  margin-top: 3rem;
}
.site-footer h3 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
}
.site-footer a { color: #E9DDFA; }
.site-footer a:hover { color: #fff; }
.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
.footer-grid .logo img { filter: brightness(0) invert(1); height: 60px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid ul li { margin-bottom: 0.4rem; }
.footer-grid address { font-style: normal; margin-bottom: 1rem; }
.legal-links { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1rem; font-size: 0.9rem; }
.copyright {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 1.25rem;
  margin-top: 2rem;
  font-size: 0.85rem;
  text-align: center;
  color: rgba(255,255,255,0.7);
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1.3fr; }
}

/* === 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);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: 0 20px 50px -15px rgba(0,0,0,0.4);
  max-width: 640px;
  margin-inline: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 0.75rem; font-size: 0.95rem; }
.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.cookie-banner__actions button {
  border: 0;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.9rem;
}
.cookie-banner__actions button[data-cookie-accept] {
  background: var(--color-accent);
  color: #05320f;
}
.cookie-banner__actions button[data-cookie-reject] {
  background: rgba(255,255,255,0.15);
  color: var(--color-neutral-light);
}
.cookie-banner__actions button[data-cookie-settings] {
  background: transparent;
  color: var(--color-neutral-light);
  text-decoration: underline;
}
.cookie-banner__prefs {
  margin-top: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.9rem;
}
.cookie-banner__prefs label { display: flex; gap: 0.5rem; align-items: center; }
.cookie-banner__prefs button {
  align-self: flex-start;
  background: var(--color-primary);
  color: #fff;
  border: 0;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 0.25rem;
}
