/* ==========================================================================
   louisebaker.co.uk  |  single site stylesheet
   --------------------------------------------------------------------------
   Every colour, font and spacing value is a token at the top. Change the look
   here; the HTML pages carry only class names.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Palette (from the approved design) */
  --cream:        #FAF6F0;   /* page background */
  --cream-2:      #F1ECE2;   /* tinted sections */
  --cream-3:      #F7F1E4;   /* light button on dark */
  --card:         #FFFFFF;
  --input-bg:     #FDFBF8;

  --ink:          #29252E;   /* headings, strong text */
  --ink-2:        #4E4858;   /* body text in prose blocks */
  --muted:        #5E5768;   /* body text in cards, intros */
  --muted-2:      #6B6474;   /* nav links */
  --muted-3:      #7A7386;   /* footnotes */

  --plum:         #5F4F97;   /* primary button */
  --plum-dark:    #4C3E80;   /* primary button hover */
  --plum-deep:    #453A73;   /* CTA band gradient end, light-button text */
  --violet:       #6B5C9E;   /* eyebrows, accents, bullets */
  --link:         #574A87;
  --link-hover:   #3F356A;
  --lavender:     #B7ADE0;   /* eyebrows on dark */
  --lavender-2:   #C9C3DE;   /* muted text on dark */
  --lavender-3:   #CFC9E4;   /* body text on dark */
  --lavender-4:   #EDEAF5;   /* base text on dark */
  --white-soft:   #FBF9FF;   /* headings on dark */

  --night:        #2C2848;   /* dark sections */
  --night-2:      #221F2E;   /* footer */

  --gold:         #C6A15B;
  --gold-light:   #D9B877;

  --line:         #E7E0D5;   /* section borders, header border */
  --line-2:       #EBE4D9;   /* card borders */
  --line-3:       #E1D8CB;   /* input borders */
  --line-4:       #D7CDBB;   /* decorative frame */
  --line-5:       #C9C0D4;   /* ghost button border */
  --line-6:       #D6CCE4;   /* card hover border, notes */
  --line-7:       #E4DAC8;   /* chips on tint */

  /* Type */
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Layout */
  --wrap:         1200px;
  --wrap-mid:     1120px;
  --wrap-narrow:  820px;
  --wrap-text:    760px;
  --gutter:       1.5rem;
  --radius:       16px;
  --radius-lg:    18px;
  --radius-xl:    22px;

  /* Shadows */
  --shadow-card:  0 24px 50px -40px rgba(44,40,72,0.45);
  --shadow-media: 0 34px 70px -44px rgba(44,40,72,0.5);
  --shadow-hero:  0 40px 80px -40px rgba(44,40,72,0.55);
  --shadow-btn:   0 14px 30px -16px rgba(95,79,151,0.95);
  --shadow-panel: 0 30px 60px -44px rgba(44,40,72,0.5);

  /* Motion */
  --ease:         cubic-bezier(.22,.61,.36,1);
}

/* ---------- 2. Reset and base ---------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

img { max-width: 100%; display: block; }

a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-hover); }

::selection { background: #DBD3F0; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; color: var(--ink); margin: 0; }

p { margin: 0; }

ul { margin: 0; padding: 0; list-style: none; }

strong { color: var(--ink); font-weight: 600; }

/* Keyboard focus */
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: 0.6rem 1rem; z-index: 100; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

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

/* ---------- 3. Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--mid { max-width: var(--wrap-mid); }
.wrap--narrow { max-width: var(--wrap-narrow); }
.wrap--text { max-width: var(--wrap-text); }
.wrap--quote { max-width: 800px; }
.wrap--charity { max-width: 740px; }
.wrap--chips { max-width: 1000px; }

.center { text-align: center; }

.section { padding: clamp(4rem, 8vw, 6rem) 0; }
.section--hero { position: relative; padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(2.5rem, 5vw, 4rem); }
.section--hero-home { padding-bottom: clamp(3rem, 6vw, 5rem); }
.section--hero-form { padding-bottom: clamp(2rem, 4vw, 3rem); }
.section--tint { background: var(--cream-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--tint-top { border-bottom: 0; }
.section--tint-form { background: var(--cream-2); border-top: 1px solid var(--line); padding: clamp(3.5rem, 7vw, 5.5rem) 0 clamp(4rem, 8vw, 6rem); }
.section--dark { position: relative; background: var(--night); color: var(--lavender-4); overflow: hidden; }
.section--stats { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.section--intro { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section--flush-top { padding-top: 0; }

/* Soft radial glows behind hero and dark sections */
.section--hero::before,
.section--dark::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
}
.section--hero::before { background: radial-gradient(1000px 480px at 78% -10%, rgba(139,127,192,0.16), transparent 60%); }
.section--dark::before { background: radial-gradient(700px 400px at 12% 0%, rgba(139,127,192,0.22), transparent 62%); }
.section--dark-centre::before { background: radial-gradient(700px 400px at 50% 0%, rgba(139,127,192,0.2), transparent 62%); }
.section--hero > .wrap, .section--dark > .wrap { position: relative; }

/* Grids */
.split {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.grid-2 {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.grid-cards { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-cards--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-cards--tight { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.section-head { margin-bottom: 2rem; }
.section-head--centre { text-align: center; margin-bottom: 3rem; }

/* ---------- 4. Typography ---------- */
.eyebrow {
  font-family: var(--font-body); text-transform: uppercase; letter-spacing: 0.2em;
  font-size: 0.76rem; font-weight: 600; color: var(--violet); margin: 0 0 1rem;
}
.eyebrow--hero { margin-bottom: 1.25rem; }
.eyebrow--light { color: var(--lavender); }

.h-hero { font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 0.5em; }
.h-hero--home { font-size: clamp(2.6rem, 5.4vw, 4.3rem); line-height: 1.04; }
.h-hero--soft { font-size: clamp(2.4rem, 4.7vw, 3.8rem); line-height: 1.06; }
.h-section { font-size: clamp(1.9rem, 3.5vw, 2.6rem); letter-spacing: -0.015em; line-height: 1.12; }
.h-section--lg { font-size: clamp(1.9rem, 3.7vw, 2.8rem); }
.h-section--md { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.h-section--narrow { max-width: 16ch; }
.h-section { margin-bottom: 0.7em; }
.section-head .h-section { margin-bottom: 0; }
.prose .h-section { margin-bottom: 0.8em; }
.h-section + .chips { margin-top: 0; }
.h-card { font-size: 1.45rem; letter-spacing: -0.01em; margin-bottom: 0.55em; }
.h-card--lg { font-size: 1.5rem; }
.h-card--sm { font-size: 1.3rem; margin-bottom: 0.5em; }
.h-card--md { font-size: 1.35rem; }
.h-card--list { font-size: 1.35rem; margin-bottom: 1.1rem; }
.h-card--wide { font-size: 1.4rem; }
.section--dark .h-section { color: var(--white-soft); }

.lead { font-size: 1.24rem; line-height: 1.6; color: var(--muted); max-width: 60ch; }
.lead--hero { font-size: 1.28rem; max-width: 36ch; }
.lead--about { font-size: 1.25rem; max-width: 38ch; }
.lead--intro { font-size: 1.2rem; line-height: 1.65; max-width: 62ch; }
.lead--form { font-size: 1.22rem; max-width: 62ch; }
.lead--dark { font-size: 1.2rem; color: var(--lavender-3); max-width: 56ch; margin-left: auto; margin-right: auto; }
.lead--centre { margin-left: auto; margin-right: auto; }
.lead + .actions { margin-top: 2rem; }
.lead + .btn { margin-top: 2rem; display: inline-block; }

.prose p { font-size: 1.12rem; line-height: 1.7; color: var(--ink-2); }
.prose p + p { margin-top: 1.2em; }
.prose--sm p { font-size: 1.08rem; }
.prose--sm p + p { margin-top: 1.1em; }
.prose--xs p { font-size: 1.06rem; }
.prose + .dots { margin-top: 1.2rem; }
.prose + .actions { margin-top: 1.6rem; }
.section--dark .prose p { color: var(--lavender-3); font-size: 1.1rem; }
.section--dark strong { color: #F1EEFA; }
.section--dark .prose + .btn { margin-top: 2rem; }
.prose--engagements p { margin-top: 1.6rem; font-size: 1.08rem; }

.squiggle {
  width: 130px; height: 16px; margin: 0 0 1.5rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='130' height='16' viewBox='0 0 130 16' fill='none'%3E%3Cpath d='M0 8 Q10.8 0 21.6 8 T43.3 8 T65 8 T86.6 8 T108.3 8 T130 8' stroke='%23C6A15B' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain;
}
.squiggle--centre { margin-left: auto; margin-right: auto; margin-bottom: 1.6rem; }
.squiggle--hero { margin-bottom: 1.6rem; }

.rule { display: block; width: 26px; height: 2px; background: var(--gold); border-radius: 2px; margin: 0.85rem 0 1.1rem; }
.rule--top { margin-top: 0; }

.footnote { font-size: 0.98rem; line-height: 1.6; color: var(--muted-3); font-style: italic; margin-top: 1.6rem; max-width: 70ch; }

/* Bulleted lists with a violet dot */
.dots li {
  display: flex; gap: 0.7rem; align-items: flex-start;
  margin: 0 0 0.8rem; font-size: 1.05rem; line-height: 1.5; color: var(--ink-2);
}
.dots li::before {
  content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%;
  background: var(--violet); margin-top: 0.55em;
}
.dots--sm li { font-size: 1rem; }
.dots--xs li { font-size: 1.02rem; margin-bottom: 0.7rem; }

/* ---------- 5. Buttons ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.actions--centre { justify-content: center; margin-top: 2rem; }

.btn {
  display: inline-block; font-family: var(--font-body); font-weight: 600; font-size: 1rem;
  padding: 0.9rem 1.7rem; border-radius: 999px; border: 0; cursor: pointer; line-height: 1.4;
  transition: background .2s, transform .15s, border-color .2s, color .2s;
}
.btn--primary { color: #fff; background: var(--plum); box-shadow: var(--shadow-btn); }
.btn--primary:hover { background: var(--plum-dark); color: #fff; transform: translateY(-2px); }
.btn--primary:disabled { opacity: 0.7; cursor: default; transform: none; }
.btn--ghost { color: var(--ink); background: transparent; border: 1.5px solid var(--line-5); }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.btn--light { color: var(--plum-deep); background: var(--cream-3); padding: 0.9rem 1.9rem; }
.btn--light:hover { background: #fff; color: var(--plum-deep); transform: translateY(-2px); }
.btn--sm { padding: 0.85rem 1.6rem; }

/* ---------- 6. Header and navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(250,246,240,0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  max-width: var(--wrap); margin: 0 auto; padding: 0.95rem var(--gutter);
}
.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand__mark {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  background: radial-gradient(circle at 32% 30%, #8B7FC0, #4C3E80 78%);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px -6px rgba(76,62,128,0.7);
}
.brand__mark::after { content: ""; width: 11px; height: 11px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.85); }
.brand__name { font-family: var(--font-display); font-size: 1.32rem; font-weight: 500; letter-spacing: -0.01em; color: var(--ink); line-height: 1; }
.brand__name span { color: var(--violet); }

.nav__links { display: flex; align-items: center; gap: 1.7rem; }
.nav__link {
  font-weight: 500; font-size: 0.95rem; white-space: nowrap; color: var(--muted-2);
  padding-bottom: 3px; border-bottom: 2px solid transparent; transition: color .2s;
}
.nav__link:hover { color: var(--ink); }
.nav__link[aria-current="page"] { color: var(--ink); border-bottom-color: var(--violet); }
.nav__cta {
  font-weight: 600; font-size: 0.95rem; color: #fff; background: var(--plum);
  padding: 0.62rem 1.25rem; border-radius: 999px; box-shadow: 0 8px 20px -12px rgba(95,79,151,0.9);
  transition: background .2s, transform .15s;
}
.nav__cta:hover { background: var(--plum-dark); color: #fff; transform: translateY(-1px); }

.nav__toggle {
  display: none; background: none; border: 0; cursor: pointer; color: var(--ink);
  font-size: 1.7rem; line-height: 1; padding: 0.2rem;
}
.nav__mobile {
  display: none; border-top: 1px solid var(--line); background: var(--cream);
  padding: 0.75rem var(--gutter) 1.25rem; flex-direction: column; gap: 0.35rem;
}
.nav__mobile.is-open { display: flex; }
.nav__mobile a { font-weight: 500; font-size: 1.02rem; padding: 0.5rem 0; color: var(--ink); border-bottom: 1px solid var(--line-2); }
.nav__mobile a[aria-current="page"] { color: var(--plum); }
.nav__mobile .nav__mobile-cta {
  margin-top: 0.6rem; text-align: center; font-weight: 600; font-size: 0.98rem; color: #fff;
  background: var(--plum); padding: 0.72rem 1.25rem; border-radius: 999px; border-bottom: 0;
}

@media (max-width: 879px) {
  .nav__links { display: none; }
  .nav__toggle { display: inline-block; }
}

/* ---------- 7. Media (image slots) ---------- */
/* .media is the frame; it holds either a real <img> or, until photos arrive, a labelled placeholder. */
.media {
  position: relative; aspect-ratio: 5 / 4; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-media); background: linear-gradient(160deg, #5A5386, #332E52);
}
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--portrait { aspect-ratio: 4 / 5; background: linear-gradient(160deg, #4A4270, #2C2848); box-shadow: var(--shadow-hero); }
.media--first { order: -1; }
.media--inline { max-width: 460px; margin: 0 auto; }
.media__placeholder {
  position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 1.1rem 1.2rem;
  font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.55);
}

/* Portrait with an offset decorative frame (home and about heroes) */
.portrait { position: relative; max-width: 440px; width: 100%; justify-self: center; }
.portrait--about { max-width: 420px; }
.portrait::before {
  content: ""; position: absolute; inset: -14px -14px 22px 22px;
  border: 1px solid var(--line-4); border-radius: 20px; z-index: 0;
}
.portrait--about::before { inset: -14px 22px 22px -14px; }
.portrait .media { z-index: 1; }
.portrait__badge {
  position: absolute; z-index: 2; left: -18px; bottom: 34px;
  background: rgba(255,255,255,0.94); backdrop-filter: blur(6px);
  border: 1px solid var(--line); border-radius: 14px; padding: 0.85rem 1.1rem;
  box-shadow: 0 18px 40px -22px rgba(44,40,72,0.5);
}
.portrait__badge-title { font-family: var(--font-display); font-size: 1.15rem; color: var(--ink); line-height: 1; }
.portrait__badge-sub { font-size: 0.82rem; color: var(--violet); margin-top: 0.3rem; letter-spacing: 0.02em; }

@media (max-width: 520px) {
  .portrait__badge { left: 8px; bottom: 12px; }
}

/* ---------- 8. Cards ---------- */
.card {
  display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line-2); border-radius: var(--radius);
  padding: 2rem 1.9rem; box-shadow: var(--shadow-card);
}
.card--pad-lg { padding: 2.1rem 1.9rem; }
.card--pad-xl { padding: 2.1rem 1.95rem; }
.card__tag { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--violet); font-weight: 600; }
.card__tag + .rule { margin-top: 0.8rem; margin-bottom: 1rem; }
.card p { font-size: 1rem; line-height: 1.62; color: var(--muted); }
.card--wide p { font-size: 1.02rem; }
.card__cta { margin-top: auto; padding-top: 1.3rem; font-weight: 600; font-size: 0.95rem; color: var(--link); }

/* Linked cards (the three pillars) */
a.card { color: inherit; transition: transform .25s ease, box-shadow .25s ease, border-color .25s; }
a.card:hover {
  transform: translateY(-5px); color: inherit;
  box-shadow: 0 34px 60px -34px rgba(44,40,72,0.5); border-color: var(--line-6);
}

/* Books strip (About) */
.books { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.book { display: flex; gap: 1.4rem; align-items: flex-start; margin: 0; }
.book__cover { flex: none; width: 128px; border-radius: 6px; overflow: hidden; box-shadow: var(--shadow-card); background: var(--card); }
.book__cover img { width: 100%; height: auto; }
.book figcaption p { font-size: 0.98rem; line-height: 1.6; color: var(--muted); }

/* ---------- 9. Stats strip ---------- */
.stats { display: flex; flex-wrap: wrap; gap: 2rem 3rem; align-items: flex-start; justify-content: center; text-align: center; }
.stat { min-width: 120px; }
.stat__num { font-family: var(--font-display); font-weight: 500; font-size: 2.5rem; line-height: 1; color: var(--gold-light); }
.stat__lbl { font-size: 0.9rem; color: var(--lavender-2); margin: 0.5rem auto 0; max-width: 16ch; }

/* ---------- 10. Quote ---------- */
.quote {
  font-family: var(--font-display); font-weight: 400; font-style: italic;
  font-size: clamp(1.55rem, 3.2vw, 2.2rem); line-height: 1.32; color: var(--ink);
  margin: 0 0 1.1rem; letter-spacing: -0.01em;
}
.quote__cite { font-style: normal; color: var(--violet); font-size: 0.95rem; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; }

/* ---------- 11. CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; text-align: center; color: #fff;
  background: linear-gradient(135deg, var(--plum) 0%, var(--plum-deep) 100%);
  border-radius: var(--radius-xl); padding: clamp(2.75rem, 6vw, 4rem);
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(600px 340px at 85% 120%, rgba(198,161,91,0.22), transparent 60%);
}
.cta-band > * { position: relative; }
.cta-band h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); color: #fff; letter-spacing: -0.015em; margin-bottom: 0.5em; }
.cta-band p { font-size: 1.18rem; line-height: 1.6; color: rgba(255,255,255,0.88); max-width: 54ch; margin: 0 auto 2rem; }
.section--cta { padding: 0 0 clamp(4rem, 8vw, 6rem); }
.section--cta-padded { padding: clamp(4rem, 8vw, 6rem) 0; }

/* ---------- 12. Chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 0.65rem; }
.chip { background: var(--card); border: 1px solid var(--line-7); border-radius: 999px; padding: 0.5rem 1.05rem; font-size: 0.92rem; color: var(--ink-2); }
.section--dark .chip { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.2); padding: 0.5rem 1rem; font-size: 0.9rem; color: #E4DFF2; }

/* ---------- 13. Forms ---------- */
.contact-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(2rem, 5vw, 3.5rem); align-items: start;
}
.panel {
  background: var(--card); border: 1px solid var(--line-2); border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3vw, 2.5rem); box-shadow: var(--shadow-panel);
}
.panel h2 { font-size: 1.7rem; margin-bottom: 0.35em; }
.panel__intro { font-size: 1rem; color: var(--muted); margin-bottom: 1.5rem; }

.panel--dark {
  background: var(--night); color: var(--lavender-4);
  padding: clamp(1.75rem, 3vw, 2.4rem); box-shadow: 0 30px 60px -44px rgba(44,40,72,0.6); border: 0;
}
.panel--dark h3 { font-size: 1.4rem; color: var(--white-soft); margin-bottom: 0.5em; }
.panel--dark .panel__intro { color: var(--lavender-2); font-size: 0.98rem; margin-bottom: 1.4rem; }
.links { display: flex; flex-direction: column; gap: 1rem; }
.links li { border-bottom: 1px solid rgba(255,255,255,0.12); padding-bottom: 0.9rem; }
.links__label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--lavender); margin-bottom: 0.2rem; }
.links a { color: #F1EEFA; font-size: 1rem; }
.links a:hover { color: var(--gold-light); }
.panel__foot { margin-top: 1.4rem; font-size: 0.9rem; color: #B4AECB; }

.form { display: flex; flex-direction: column; gap: 1.1rem; }
.form__honeypot { position: absolute; left: -9999px; top: -9999px; }
.label { display: block; font-weight: 600; font-size: 0.88rem; color: var(--ink); margin-bottom: 0.4rem; }
.field {
  width: 100%; padding: 0.8rem 0.95rem; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  border: 1.5px solid var(--line-3); border-radius: 10px; background: var(--input-bg);
}
.field:focus { outline: none; border-color: var(--violet); }
textarea.field { min-height: 140px; resize: vertical; }

.note {
  margin: 1rem 0 0; color: var(--ink-2); font-size: 0.92rem;
  background: #EDEAF5; border: 1px solid var(--line-6); border-radius: 10px; padding: 0.75rem 0.95rem;
}
.note--error { color: #7A2E2E; background: #F9ECEC; border-color: #E8C9C9; }

/* ---------- 14. Footer ---------- */
.site-footer { background: var(--night-2); color: #C9C3D8; padding: clamp(3rem, 6vw, 4rem) 0 2rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2.5rem; margin-bottom: 2.75rem; }
.footer-brand { min-width: 220px; }
.footer-brand .brand { margin-bottom: 0.9rem; }
.footer-brand .brand__mark { width: 30px; height: 30px; box-shadow: none; }
.footer-brand .brand__mark::after { width: 9px; height: 9px; border-width: 1.4px; }
.footer-brand .brand__name { font-size: 1.4rem; color: #fff; }
.footer-brand p { max-width: 34ch; font-size: 0.95rem; color: #B4AECB; line-height: 1.6; }
.footer-head { font-family: var(--font-body); color: #fff; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.14em; margin: 0 0 1rem; font-weight: 600; }
.footer-links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a { color: #D7D2E4; font-size: 0.95rem; }
.footer-links a:hover { color: #fff; }
.footer-bar {
  border-top: 1px solid rgba(255,255,255,0.13); padding-top: 1.5rem; font-size: 0.85rem; color: #8F89A6;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem;
}

/* ---------- 15. Motion ---------- */
@keyframes riseIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
[data-reveal] { opacity: 0; }
[data-reveal].shown { animation: riseIn .8s var(--ease) forwards; }
.no-js [data-reveal] { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; animation: none !important; }
  html { scroll-behavior: auto; }
  .btn, a.card, .nav__cta { transition: none; }
}

/* ---------- 16. Utility pages ---------- */
.error-page { text-align: center; padding: clamp(5rem, 12vw, 9rem) 0; }
.error-page h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin-bottom: 0.4em; }
.error-page p { margin-bottom: 2rem; }
