/* ==========================================================================
   MyFurj website styles
   1. Design tokens   2. Base   3. Layout & buttons   4. Header   5. Hero
   6. Sections        7. Registration form   8. Team   9. Footer   10. Motion
   Change the palette in one place: the :root block below.
   ========================================================================== */

/* 1. Design tokens ------------------------------------------------------- */
:root {
  /* Official brand palette (exact values) */
  --c-lavender: #B985F5;
  --c-ink: #19151F;
  --c-ivory: #FAF7EF;
  --c-lilac: #E9D9FF;
  --c-violet: #65408C;

  /* Supporting tints derived from the palette (not new brand colours) */
  --c-lilac-50: #F5EEFD;   /* lilac mixed toward ivory */
  --c-surface: #FFFDF9;    /* ivory, one step lighter, for cards and inputs */
  --c-ink-70: #524B5B;     /* ink softened for secondary text (7:1 on ivory) */
  --c-line: #E6E0EC;       /* hairline borders */
  --c-line-strong: #CFC7D6;/* outlines on buttons and inputs */
  --c-error: #B3261E;      /* functional error state only */

  /* Semantic roles */
  --bg: var(--c-ivory);
  --bg-alt: var(--c-lilac-50);
  --text: var(--c-ink);
  --text-2: var(--c-ink-70);
  --accent: var(--c-lavender);
  --accent-strong: var(--c-violet);
  --border: var(--c-line);

  /* Typography */
  --font-display: "Sora", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --fs-h1: clamp(2.25rem, 1.35rem + 3.4vw, 3.5rem);
  --fs-h2: clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem);
  --fs-h3: 1.25rem;
  --fs-lead: clamp(1rem, 0.94rem + 0.3vw, 1.0625rem);
  --fs-small: 0.875rem;

  /* Radii */
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: clamp(18px, 2.3vw, 30px);
  --r-pill: 999px;

  /* Layout */
  --container: 1200px;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --header-h: 5rem;

  /* Spacing scale */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4rem;
  --s-9: 6rem;

  /* Motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --t-fast: 150ms;
  --t-med: 240ms;

  color-scheme: light;
}

/* 2. Base ---------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); line-height: 1.1; }
h2 { font-size: var(--fs-h2); line-height: 1.15; }
h3 { font-size: var(--fs-h3); line-height: 1.3; letter-spacing: -0.01em; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--c-violet);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: var(--s-4);
  top: -4rem;
  z-index: 100;
  padding: var(--s-3) var(--s-4);
  background: var(--c-ink);
  color: var(--c-ivory);
  border-radius: var(--r-sm);
  transition: top var(--t-fast) var(--ease);
}
.skip-link:focus { top: var(--s-3); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* 3. Layout & buttons ---------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(4rem, 8vw, 7.5rem); }
.section--alt { background: var(--bg-alt); }
[id] { scroll-margin-top: calc(var(--header-h) + 1rem); }

.section-head { max-width: 40rem; margin-bottom: var(--s-7); }
.section-head p { margin-top: var(--s-4); color: var(--text-2); font-size: var(--fs-lead); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  height: 3rem;
  padding: 0 var(--s-5);
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font: 500 0.9375rem/1 var(--font-body);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease),
    border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: var(--c-ink); }
.btn--primary:hover { background: var(--c-violet); color: var(--c-ivory); }
.btn--outline { background: transparent; border-color: var(--c-line-strong); color: var(--text); }
.btn--outline:hover { border-color: var(--c-ink); background: var(--c-surface); }
.btn--sm { height: 2.5rem; padding: 0 var(--s-5); font-size: var(--fs-small); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.6; cursor: not-allowed; }
@media (pointer: coarse) { .btn--sm { height: 2.75rem; } }

.on-dark :focus-visible { outline-color: var(--c-lavender); }
.btn--on-dark { background: var(--c-lavender); color: var(--c-ink); }
.btn--on-dark:hover { background: var(--c-ivory); color: var(--c-ink); }

.icon { width: 1.5rem; height: 1.5rem; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.btn .icon { width: 1.125rem; height: 1.125rem; }

/* 4. Header -------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-med) var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--border); }

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--header-h);
}
.brand { justify-self: start; display: inline-flex; border-radius: 6px; }
.brand img { width: 5.3rem; height: auto; }

.nav__list { display: flex; gap: clamp(1.5rem, 3vw, 2.75rem); }
.nav__list a {
  position: relative;
  display: inline-block;
  padding-block: var(--s-2);
  font-size: 0.875rem;
  font-weight: 450;
  text-decoration: none;
  color: var(--text);
}
.nav__list a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-med) var(--ease);
}
.nav__list a:hover::after,
.nav__list a[aria-current="page"]::after { transform: scaleX(1); }

.header-actions { justify-self: end; display: flex; align-items: center; gap: var(--s-3); }

.menu-toggle {
  display: none;
  width: 2.75rem; height: 2.75rem;
  padding: 0;
  border: 1px solid var(--c-line-strong);
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  place-items: center;
}
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }
.nav__extra { display: none; }

@media (max-width: 56rem) {
  .header-inner { grid-template-columns: 1fr auto; }
  .menu-toggle { display: grid; }
  .nav {
    position: absolute;
    left: 0; right: 0;
    top: var(--header-h);
    padding: var(--s-4) var(--gutter) var(--s-6);
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 18px 24px -20px rgba(25, 21, 31, 0.25);
  }
  .nav:not(.is-open) { display: none; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a { display: block; padding: var(--s-4) 0; font-size: 1rem; border-bottom: 1px solid var(--border); }
  .nav__list a::after { display: none; }
  .nav__extra { display: flex; margin-top: var(--s-5); }
  .nav__extra .btn { width: 100%; }
}

/* 5. Hero ---------------------------------------------------------------- */
.hero { padding-block: clamp(1.5rem, 4vw, 3.5rem) clamp(3.5rem, 7vw, 6.5rem); }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}
.hero__copy h1 span { display: block; }
.hero__lead {
  margin-top: var(--s-5);
  max-width: 27rem;
  color: var(--text-2);
  font-size: var(--fs-lead);
  line-height: 1.65;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }

.stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.stat { display: grid; gap: var(--s-1); padding-inline: clamp(1rem, 2.4vw, 2rem); border-left: 1px solid var(--c-line-strong); }
.stat:first-child { padding-left: 0; border-left: 0; }
.stat .icon { width: 1.25rem; height: 1.25rem; color: var(--c-violet); margin-bottom: var(--s-1); }
.stat__title { font: 600 1rem/1.25 var(--font-display); letter-spacing: -0.01em; white-space: nowrap; }
.stat__label { font-size: 0.8125rem; color: var(--text-2); }

/* Collage: percentages come from the 273 x 260 reference composition */
.collage { position: relative; width: 100%; max-width: 36rem; margin-inline: auto; aspect-ratio: 273 / 260; }
.collage__card {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--c-lilac);
}
.collage__card img { width: 100%; height: 100%; object-fit: cover; }
.collage__card--1 { left: 7.7%; top: 6%; width: 44.7%; height: 51%; }
.collage__card--2 { left: 55%; top: 19%; width: 45%; height: 47%; }
.collage__card--3 { left: 0; top: 60%; width: 59.7%; height: 40%; }
.collage__card--1 img { object-position: 50% 30%; }
.collage__card--2 img { object-position: 50% 30%; }
.collage__card--3 img { object-position: 50% 40%; }

.deco { position: absolute; pointer-events: none; }
.deco--badge {
  left: 44.5%; top: -2%;
  width: 15%; aspect-ratio: 1;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--c-lilac);
  color: var(--c-violet);
  box-shadow: 0 0 0 clamp(5px, 1.2vw, 9px) var(--bg);
  z-index: 3;
}
.deco--badge svg { width: 42%; height: 42%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.deco--dot { left: 89%; top: 8%; width: 4%; aspect-ratio: 1; border-radius: 50%; background: var(--c-lavender); }
.deco--sparkle { color: var(--c-violet); }
.deco--sparkle-1 { left: -2%; top: 38%; width: 7%; aspect-ratio: 1; }
.deco--sparkle-2 { left: 71%; top: 76%; width: 7%; aspect-ratio: 1; color: var(--c-lavender); }
.deco--sparkle svg { width: 100%; height: 100%; fill: currentColor; }
.deco--circle { left: 84%; top: 86%; width: 6%; aspect-ratio: 1; border-radius: 50%; background: var(--c-lilac); }
.deco--pill {
  left: 35%; top: 48%;
  width: 26%; height: 14.6%;
  display: grid; place-items: center;
  border-radius: var(--r-pill);
  background: var(--c-lavender);
  color: var(--c-ivory);
  box-shadow: 0 0 0 clamp(4px, 1vw, 8px) var(--bg);
  z-index: 3;
}
.deco--pill svg { width: 62%; height: 52%; fill: none; stroke: currentColor; stroke-width: 2; }

@media (max-width: 56rem) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: var(--s-8); }
}
@media (max-width: 34rem) {
  .hero__actions .btn { flex: 1 1 auto; }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stat { padding-inline: var(--s-3); }
  .stat__title { font-size: 0.875rem; white-space: normal; }
  .stat__label { font-size: 0.75rem; }
  .deco--dot, .deco--sparkle-2, .deco--circle { display: none; }
}

/* 6. Sections ------------------------------------------------------------ */
.programs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17.5rem), 1fr)); gap: var(--s-5); }
.program {
  display: flex; flex-direction: column; gap: var(--s-3);
  padding: var(--s-6);
  background: var(--c-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: border-color var(--t-med) var(--ease), transform var(--t-med) var(--ease);
}
.program:hover { border-color: var(--c-lavender); transform: translateY(-3px); }
.icon-chip { width: 3rem; height: 3rem; display: grid; place-items: center; border-radius: 50%; background: var(--c-lilac); color: var(--c-violet); margin-bottom: var(--s-2); }
.program p { color: var(--text-2); }
.badge {
  align-self: flex-start;
  padding: 0.2rem 0.65rem;
  border-radius: var(--r-pill);
  background: var(--c-lilac-50);
  border: 1px solid var(--c-lilac);
  color: var(--c-violet);
  font-size: 0.75rem;
  font-weight: 500;
}
.program__cta { margin-top: auto; padding-top: var(--s-4); }

.value { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.value__head p { margin-top: var(--s-4); color: var(--text-2); font-size: var(--fs-lead); max-width: 28rem; }
.points li { display: grid; grid-template-columns: auto 1fr; gap: var(--s-5); padding-block: var(--s-5); border-top: 1px solid var(--c-lilac); }
.points li:last-child { border-bottom: 1px solid var(--c-lilac); }
.points h3 { margin-bottom: var(--s-1); }
.points p { color: var(--text-2); }
.points .icon-chip { background: var(--c-surface); }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-6); }
.step { position: relative; display: grid; align-content: start; gap: var(--s-3); }
.step__node {
  width: 3rem; height: 3rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--c-violet);
  color: var(--c-ivory);
  font: 600 1.0625rem/1 var(--font-display);
}
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 1.4375rem; left: 3.75rem; right: -1.25rem;
  height: 2px;
  background: var(--c-lilac);
}
.step h3 { margin-top: var(--s-2); }
.step p { color: var(--text-2); max-width: 22rem; }

@media (max-width: 56rem) {
  .value { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 40rem) {
  .steps { grid-template-columns: minmax(0, 1fr); gap: var(--s-6); }
  .step { grid-template-columns: auto 1fr; column-gap: var(--s-5); row-gap: var(--s-1); }
  .step__node { grid-row: 1 / span 2; }
  .step h3 { margin-top: var(--s-3); }
  .step:not(:last-child)::after { top: 3.75rem; bottom: -1.25rem; left: 1.4375rem; right: auto; width: 2px; height: auto; }
}

.cta { position: relative; overflow: hidden; padding-block: clamp(3.5rem, 7vw, 6rem); background: var(--c-violet); color: var(--c-ivory); }
.cta::before, .cta::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.cta::before { width: 22rem; height: 22rem; right: -7rem; top: -11rem; background: var(--c-lavender); opacity: 0.35; }
.cta::after { width: 7rem; height: 7rem; right: 18%; bottom: -3.5rem; border: 2px solid var(--c-lavender); opacity: 0.7; }
.cta__inner { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-6); }
.cta__copy { max-width: 36rem; }
.cta h2 { color: var(--c-ivory); }
.cta p { margin-top: var(--s-4); color: var(--c-lilac); font-size: var(--fs-lead); }

/* Page intro used on Register and Team */
.page-hero { padding-block: clamp(2.5rem, 6vw, 5rem) 0; }
.page-hero h1 { font-size: clamp(2rem, 1.3rem + 2.8vw, 3.25rem); max-width: 20ch; }
.page-hero p { margin-top: var(--s-4); max-width: 36rem; color: var(--text-2); font-size: var(--fs-lead); }

/* 7. Registration form --------------------------------------------------- */
.reg { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; padding-block: clamp(2rem, 5vw, 4rem) clamp(4rem, 8vw, 7rem); }
.reg__aside { display: grid; gap: var(--s-6); }
.reg__aside > p { color: var(--text-2); font-size: var(--fs-lead); }
.process { display: grid; gap: var(--s-4); counter-reset: step; }
.process li { display: grid; grid-template-columns: auto 1fr; gap: var(--s-4); align-items: start; counter-increment: step; }
.process li::before {
  content: counter(step);
  display: grid; place-items: center;
  width: 2rem; height: 2rem;
  border-radius: 50%;
  background: var(--c-lilac);
  color: var(--c-violet);
  font: 600 0.875rem/1 var(--font-display);
}
.process strong { display: block; font-weight: 600; }
.process span { color: var(--text-2); font-size: 0.9375rem; }
.privacy { padding: var(--s-5); border-radius: var(--r-md); background: var(--bg-alt); }
.privacy h2 { font-size: 1.0625rem; letter-spacing: -0.01em; margin-bottom: var(--s-2); }
.privacy p { color: var(--text-2); font-size: 0.9375rem; }

.form-card { padding: clamp(1.5rem, 4vw, 2.5rem); background: var(--c-surface); border: 1px solid var(--border); border-radius: var(--r-lg); }
.form-card h2 { font-size: 1.375rem; margin-bottom: var(--s-5); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5) var(--s-4); }
.field { display: grid; gap: 0.375rem; align-content: start; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-size: var(--fs-small); font-weight: 500; }
.req { color: var(--c-violet); }
.hint { font-size: 0.8125rem; color: var(--text-2); }

.input {
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem var(--s-4);
  border: 1px solid var(--c-line-strong);
  border-radius: var(--r-sm);
  background: var(--c-surface);
  color: var(--text);
  font: 400 1rem/1.4 var(--font-body);
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.input::placeholder { color: #8A8294; }
.input:hover { border-color: var(--c-ink-70); }
.input:focus { outline: none; border-color: var(--c-violet); box-shadow: 0 0 0 3px var(--c-lilac); }
select.input {
  appearance: none;
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2365408C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.875rem center;
  background-size: 1.25rem;
}
textarea.input { min-height: 7rem; resize: vertical; }

.field.has-error .input { border-color: var(--c-error); }
.field.has-error .input:focus { box-shadow: 0 0 0 3px rgba(179, 38, 30, 0.18); }
.error-text { display: none; align-items: flex-start; gap: 0.375rem; color: var(--c-error); font-size: 0.8125rem; line-height: 1.4; }
.has-error .error-text { display: flex; }

.check { display: grid; grid-template-columns: auto 1fr; gap: var(--s-3); align-items: start; }
.check input { width: 1.25rem; height: 1.25rem; margin: 0.15rem 0 0; accent-color: var(--c-violet); }
.check label { font-size: 0.9375rem; font-weight: 400; color: var(--text-2); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.notice { padding: var(--s-4); margin-bottom: var(--s-5); border: 1px solid var(--c-lilac); border-radius: var(--r-sm); background: var(--c-lilac-50); font-size: 0.9375rem; }
.notice strong { color: var(--c-violet); }
.form-error { padding: var(--s-4); margin-bottom: var(--s-5); border: 1px solid var(--c-error); border-radius: var(--r-sm); color: var(--c-error); font-size: 0.9375rem; }
.form-error[hidden], .success[hidden], [data-form][hidden] { display: none; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4); margin-top: var(--s-6); }

.success { display: grid; gap: var(--s-4); justify-items: start; padding-block: var(--s-4); }
.success .icon-chip { width: 3.5rem; height: 3.5rem; background: var(--c-lilac); }
.success p { color: var(--text-2); }

@media (max-width: 56rem) { .reg { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 34rem) {
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .form-actions .btn { width: 100%; }
}

/* 8. Team ---------------------------------------------------------------- */
.team-section { padding-block: clamp(2.5rem, 5vw, 4rem) clamp(4rem, 8vw, 7rem); }
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-7) var(--s-5); }
@media (max-width: 56rem) { .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 30rem) { .team-grid { grid-template-columns: minmax(0, 1fr); } }
.member { display: grid; gap: var(--s-4); align-content: start; }
.member__photo { margin: 0; overflow: hidden; aspect-ratio: 4 / 4.6; border-radius: var(--r-md); background: var(--c-lilac); }
.member__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; transition: transform 500ms var(--ease); }
.member:hover .member__photo img { transform: scale(1.03); }
.member h2, .member h3 { font-size: 1.125rem; line-height: 1.3; }
.member__role { margin-top: var(--s-1); color: var(--text-2); font-size: 0.9375rem; }
.member__bio { color: var(--text-2); font-size: 0.9375rem; }
.member__link { font-size: var(--fs-small); font-weight: 500; color: var(--c-violet); }

/* 9. Footer -------------------------------------------------------------- */
.site-footer { background: var(--c-ink); color: var(--c-lilac); padding-block: clamp(3rem, 6vw, 5rem) var(--s-6); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: var(--s-7) var(--s-6); }
.footer__brand img { width: 6.25rem; height: auto; margin-bottom: var(--s-4); }
.footer__brand p { max-width: 22rem; font-size: 0.9375rem; color: #CBBBE0; }
.site-footer h2 { margin-bottom: var(--s-4); font: 600 0.8125rem/1 var(--font-body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-ivory); }
.footer__links { display: grid; gap: var(--s-3); }
.site-footer a { text-decoration: none; color: var(--c-lilac); font-size: 0.9375rem; }
.site-footer a:hover { color: var(--c-ivory); text-decoration: underline; text-underline-offset: 3px; }
.site-footer :focus-visible { outline-color: var(--c-lavender); }
.footer__contact p { font-size: 0.9375rem; color: #CBBBE0; }
.footer__contact p + p { margin-top: var(--s-2); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-3) var(--s-5); margin-top: var(--s-8); padding-top: var(--s-5); border-top: 1px solid rgba(233, 217, 255, 0.18); font-size: 0.8125rem; color: #B9A9CF; }
.footer__bottom a { font-size: 0.8125rem; }

@media (max-width: 56rem) { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 30rem) { .footer__grid { grid-template-columns: minmax(0, 1fr); } }

/* 10. Motion ------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .program:hover, .btn:active { transform: none; }
}
