:root {
  --color-primary: #7C3AED;
  --color-secondary: #A78BFA;
  --color-accent: #06B6D4;
  --color-neutral-dark: #1E1B4B;
  --color-neutral-light: #FAF5FF;
  --color-line: rgba(30, 27, 75, 0.12);
  --font-heading: 'Lora', Georgia, serif;
  --font-body: 'Source Sans 3', system-ui, sans-serif;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-card: 0 30px 60px -30px rgba(30, 27, 75, 0.35);
}

/* === Base === */
* { 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 .75em; font-weight: 600; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.125rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: 1.25rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* === Header === */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 245, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-line);
}
.site-header__row { display: flex; align-items: center; justify-content: space-between; padding-block: .9rem; gap: 1rem; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; }
@media (min-width: 768px) { .logo img { height: 96px; } }
.logo--footer img { height: 60px; }

.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px;
  background: transparent; border: 1px solid var(--color-line); border-radius: 10px; cursor: pointer;
  padding: 0 10px;
}
.nav-toggle__bar { display: block; width: 22px; height: 2px; background: var(--color-neutral-dark); border-radius: 2px; }
.primary-nav { display: none; }
.primary-nav.is-open { display: block; position: absolute; left: 0; right: 0; top: 100%; background: var(--color-neutral-light); border-bottom: 1px solid var(--color-line); padding: 1rem 1.25rem; }
.primary-nav ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .75rem; }
.primary-nav a { color: var(--color-neutral-dark); font-weight: 600; }
.primary-nav a[aria-current="page"] { color: var(--color-primary); }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav { display: block !important; position: static; padding: 0; background: none; border: 0; }
  .primary-nav ul { flex-direction: row; gap: 2rem; }
}

/* === Hero card === */
.hero-card-section { padding-block: 3rem 2rem; background: radial-gradient(1200px 500px at 50% -100px, rgba(124, 58, 237, 0.10), transparent 60%); }
.hero-card {
  max-width: 880px; margin-inline: auto;
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-line);
  text-align: left;
}
@media (min-width: 768px) { .hero-card { padding: 4rem; } }
.hero-card .eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; color: var(--color-primary); font-weight: 700; margin-bottom: 1rem; }
.hero-card h1 { max-width: 22ch; }
.hero-card .lede { font-size: 1.15rem; color: rgba(30,27,75,.75); max-width: 55ch; margin-bottom: 1.75rem; }
.hero-card__image { margin: 2rem 0 0; }
.hero-card__image img { border-radius: var(--radius); aspect-ratio: 16/9; object-fit: cover; width: 100%; }

/* === Buttons === */
.btn { display: inline-block; padding: .8rem 1.5rem; border-radius: 999px; font-weight: 700; font-family: var(--font-body); font-size: 1rem; border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--color-primary); color: #fff; }
.btn--primary:hover { background: #6d28d9; }
.btn--accent { background: var(--color-accent); color: var(--color-neutral-dark); }
.btn--accent:hover { background: #0891b2; color: #fff; }

/* === Sections === */
.section { padding-block: 3.5rem; }
@media (min-width: 768px) { .section { padding-block: 5rem; } }
.section--narrow .container { max-width: 720px; }
.section--alt { background: rgba(167, 139, 250, 0.08); }
.section-head { text-align: center; margin-bottom: 2.5rem; }
.section-head h2 { margin-bottom: .5rem; }
.section-head p { color: rgba(30,27,75,.7); max-width: 55ch; margin-inline: auto; }

/* === Grid & Cards === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } }
.card {
  background: #fff; border-radius: var(--radius);
  padding: 1.75rem; border: 1px solid var(--color-line);
  box-shadow: 0 12px 30px -22px rgba(30,27,75,.25);
  display: flex; flex-direction: column; gap: .5rem;
}
.card h3 { margin: 0 0 .35em; }
.card p { color: rgba(30,27,75,.8); margin: 0; }
.card__icon { color: var(--color-primary); margin-bottom: .5rem; }
.card-link { color: inherit; text-decoration: none; transition: transform .15s ease, box-shadow .2s ease; }
.card-link:hover { transform: translateY(-2px); text-decoration: none; box-shadow: 0 20px 40px -22px rgba(30,27,75,.35); }
.card-link:hover h3 { color: var(--color-primary); }

/* === Quote === */
.section--quote { background: var(--color-neutral-dark); color: var(--color-neutral-light); padding-block: 4rem; }
.pull-quote { max-width: 780px; margin-inline: auto; text-align: center; }
.pull-quote p { font-family: var(--font-heading); font-size: clamp(1.25rem, 2.4vw, 1.7rem); line-height: 1.4; margin-bottom: 1.25rem; color: var(--color-neutral-light); }
.pull-quote cite { font-style: normal; letter-spacing: .1em; text-transform: uppercase; font-size: .8rem; color: var(--color-secondary); }

/* === CTA band === */
.cta-band { background: linear-gradient(135deg, var(--color-primary), #4c1d95); color: #fff; padding-block: 3rem; }
.cta-band__inner { display: flex; flex-direction: column; gap: 1.5rem; align-items: flex-start; }
@media (min-width: 768px) { .cta-band__inner { flex-direction: row; align-items: center; justify-content: space-between; } }
.cta-band h2 { color: #fff; margin-bottom: .35em; }
.cta-band p { color: rgba(255,255,255,.85); margin: 0; max-width: 60ch; }
.cta-band__meta { font-size: .95rem; margin-top: .75rem !important; }

/* === Article detail === */
.article-detail { max-width: 65ch; margin-inline: auto; padding: 3rem 1.25rem 1rem; }
.article-detail header { margin-bottom: 1.5rem; }
.article-detail .eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; color: var(--color-primary); font-weight: 700; margin: 0 0 .75rem; }
.article-detail h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.15; margin-bottom: 1.25rem; }
.article-sub { font-size: 1.2rem; color: rgba(30,27,75,.7); }
.article-hero-img { margin: 2rem 0; }
.article-hero-img img { aspect-ratio: 16/9; object-fit: cover; border-radius: var(--radius); width: 100%; }
.article-detail > 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 var(--color-line); }
.back-link { font-weight: 600; }

/* === Contact === */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.3fr 1fr; } }
.contact-form { display: flex; flex-direction: column; gap: 1rem; background: #fff; padding: 1.75rem; border-radius: var(--radius); border: 1px solid var(--color-line); box-shadow: 0 12px 30px -22px rgba(30,27,75,.25); }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field label { font-weight: 600; font-size: .95rem; }
.field input, .field textarea {
  font-family: inherit; font-size: 1rem; padding: .7rem .85rem;
  border: 1px solid var(--color-line); border-radius: 10px; background: #fff; color: var(--color-neutral-dark);
}
.field input:focus, .field 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: .6rem; font-size: .9rem; color: rgba(30,27,75,.8); line-height: 1.4; }
.form-consent input { margin-top: .25rem; flex-shrink: 0; }
.contact-info h2 { margin-top: 0; }
.hours { width: 100%; border-collapse: collapse; font-size: .95rem; margin-top: 1rem; }
.hours caption { text-align: left; font-weight: 600; margin-bottom: .5rem; }
.hours th, .hours td { text-align: left; padding: .5rem .75rem; border-bottom: 1px solid var(--color-line); }
.hours th { font-weight: 500; color: rgba(30,27,75,.8); }

/* === FAQ === */
.faq details { border: 1px solid var(--color-line); border-radius: 12px; padding: 1rem 1.25rem; background: #fff; margin-bottom: .75rem; }
.faq summary { cursor: pointer; font-weight: 600; font-family: var(--font-heading); font-size: 1.05rem; list-style: none; }
.faq summary::marker { display: none; }
.faq summary::after { content: '+'; float: right; color: var(--color-primary); font-size: 1.5rem; line-height: 1; }
.faq details[open] summary::after { content: '−'; }
.faq details[open] { border-color: var(--color-primary); }
.faq p { margin-top: .75rem; margin-bottom: 0; color: rgba(30,27,75,.85); }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: #d8d4f0; padding: 3.5rem 0 1.5rem; margin-top: 2rem; }
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 2.25rem; }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1.2fr; } }
.site-footer h2.footer-heading { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1rem; font-family: var(--font-body); font-weight: 700; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .5rem; }
.site-footer a { color: #d8d4f0; }
.site-footer a:hover { color: #fff; }
.site-footer address { font-style: normal; line-height: 1.7; margin-bottom: 1rem; }
.footer-legal { margin-top: 1rem !important; font-size: .9rem; }
.tagline { color: var(--color-secondary); margin-top: .75rem; }
.copyright { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; color: #a29fc0; }

/* === 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: 14px;
  box-shadow: 0 20px 50px -10px rgba(0,0,0,.4);
  max-width: 640px; margin-inline: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 .9rem; font-size: .95rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner__actions button { font-family: inherit; font-size: .9rem; padding: .55rem 1rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); background: transparent; color: var(--color-neutral-light); cursor: pointer; font-weight: 600; }
.cookie-banner__actions button[data-cookie-accept] { background: var(--color-accent); color: var(--color-neutral-dark); border-color: var(--color-accent); }
.cookie-banner__actions button:hover { background: rgba(255,255,255,.1); }
.cookie-banner__actions button[data-cookie-accept]:hover { background: #22d3ee; color: var(--color-neutral-dark); }
.cookie-banner__prefs { display: flex; flex-direction: column; gap: .5rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.15); }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; font-size: .9rem; }
.cookie-banner__prefs button { align-self: flex-start; padding: .5rem 1rem; border-radius: 999px; border: 1px solid var(--color-accent); background: var(--color-accent); color: var(--color-neutral-dark); font-weight: 600; cursor: pointer; margin-top: .5rem; }

.site-disclaimer { position: relative; z-index: 1000; background: #f4f6f8; border-bottom: 2px solid #64748b; color: #33404d; padding: 0.875rem 1.5rem; }
.site-disclaimer p { max-width: 68rem; margin: 0 auto; font-size: 0.8125rem; line-height: 1.6; text-align: center; }
.site-disclaimer strong { text-transform: uppercase; letter-spacing: 0.04em; }
.site-disclaimer__icon { font-size: 1rem; }
