/* ==========================================================================
   VU3 visual system v2
   Identity sources: VU3 identity guide (logo, palette, patterns, character,
   amethyst) + VU3 profile (section art, frames, dark/pearl rhythm).

   Palette   purple #4C2F85 (dominant) / black #050708 / white #FFFFFF
             gold #DBB22F - hairline detail only (heading signature, one card
             border, footer hairline). Total gold area stays well under 1%.
   Type      Paykan (headings) + Alexandria (text / UI). Nothing else.
   Technical CSS/SVG assets (documented in VU3_VISUAL_REDESIGN_REPORT.md):
             Luxury Grid dots, logo-ring arcs, heading signature, section seams.
             Every photographic / illustrative asset comes from the Media Library.
   ========================================================================== */

:root {
  --c-purple: #4C2F85;
  --c-purple-700: #3c2569;
  --c-purple-900: #241547;
  --c-purple-tint: #8467c4;              /* purple mixed with white - readable on black */
  --c-purple-glow: rgba(132, 103, 196, .38);
  --c-black: #050708;
  --c-ink: #14121b;
  --c-white: #FFFFFF;
  --c-gold: #DBB22F;
  --c-pearl: #f6f2fc;                    /* purple 5% / white 95% */
  --c-lavender: #ebe4f7;                 /* purple 12% / white 88% */
  --c-muted: #625d70;
  --c-line: rgba(76, 47, 133, .16);
  --c-line-dark: rgba(155, 128, 214, .28);

  --font-display: 'Paykan', 'Alexandria', sans-serif;
  --font-body: 'Alexandria', 'Paykan', sans-serif;

  --container: 1240px;
  --gutter: clamp(18px, 4.5vw, 44px);
  --radius: 20px;
  --radius-lg: 32px;
  --seam: 56px;                          /* height of the arc seam between sections */
  --shadow-soft: 0 18px 50px -24px rgba(36, 21, 71, .45);
  --ease: cubic-bezier(.22, .61, .36, 1);

  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--c-black);
  color: var(--c-ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1.1em; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 900; line-height: 1.22; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 1.1rem + 3.6vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 1.1rem + 2.1vw, 2.7rem); }
h3 { font-size: clamp(1.15rem, 1rem + .6vw, 1.5rem); font-weight: 700; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link { position: absolute; inset-inline-start: -9999px; top: 0; z-index: 1000; background: var(--c-purple); color: #fff; padding: 12px 18px; }
.skip-link:focus { inset-inline-start: 0; }
:focus-visible { outline: 2px solid var(--c-purple-tint); outline-offset: 3px; border-radius: 6px; }
.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; }

/* ---------- Buttons ---------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 30px; border-radius: 999px; border: 1px solid transparent;
  font: 600 .95rem/1 var(--font-body); cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s, border-color .25s, box-shadow .25s, color .25s;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  color: #fff; background: linear-gradient(135deg, #5b3aa6 0%, var(--c-purple) 55%, var(--c-purple-700) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 12px 30px -14px rgba(76,47,133,.9);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 18px 34px -14px rgba(112,80,190,.95); }
.btn-outline { color: #fff; border-color: rgba(255,255,255,.38); background: rgba(255,255,255,.04); }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.btn-outline-dark { color: var(--c-purple); border-color: var(--c-purple); }
.btn-outline-dark:hover { background: var(--c-purple); color: #fff; }
.btn-light { color: var(--c-purple-900); background: #fff; }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -16px rgba(0,0,0,.6); }
.btn .arr { display: inline-block; transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
[dir="rtl"] .btn .arr { transform: scaleX(-1); }
[dir="rtl"] .btn:hover .arr { transform: scaleX(-1) translateX(4px); }

/* ---------- Header ------------------------------------------------------------ */
.hdr {
  position: sticky; top: 0; z-index: 100;
  background: rgba(5, 7, 8, .74); backdrop-filter: blur(16px) saturate(150%); -webkit-backdrop-filter: blur(16px) saturate(150%);
  border-bottom: 1px solid rgba(155, 128, 214, .16);
  transition: background-color .3s;
}
.hdr.is-scrolled { background: rgba(5, 7, 8, .92); }
.hdr__inner { display: flex; align-items: center; gap: 22px; padding-block: 12px; }
.hdr__logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.hdr__logo img { height: 42px; width: auto; max-width: none; }
.hdr__nav { display: none; align-items: center; gap: 2px; margin-inline-start: auto; }
.hdr__nav a {
  position: relative; padding: 10px 14px; font-size: .92rem; font-weight: 500; color: rgba(255,255,255,.82);
  border-radius: 999px; white-space: nowrap; transition: color .2s, background-color .2s;
}
.hdr__nav a::after {
  content: ''; position: absolute; inset-inline: 14px; bottom: 5px; height: 2px; border-radius: 2px;
  background: var(--c-purple-tint); transform: scaleX(0); transform-origin: center; transition: transform .3s var(--ease);
}
.hdr__nav a:hover { color: #fff; }
.hdr__nav a:hover::after, .hdr__nav a[aria-current="page"]::after { transform: scaleX(1); }
.hdr__nav a[aria-current="page"] { color: #fff; }
.hdr__actions { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; }
.hdr__cta { display: none; min-height: 42px; padding: 10px 22px; font-size: .88rem; }
.lang-switch {
  display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.28); color: #fff; font-size: .84rem; font-weight: 700; transition: border-color .2s, background-color .2s;
}
.lang-switch:hover { border-color: var(--c-purple-tint); background: rgba(132,103,196,.16); }
.menu-toggle { width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255,255,255,.26); background: transparent; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 20px; height: 2px; background: #fff; position: relative; border-radius: 2px; }
.menu-toggle span::before, .menu-toggle span::after { content: ''; position: absolute; inset-inline-start: 0; }
.menu-toggle span::before { top: -6px; } .menu-toggle span::after { top: 6px; }
.mobile-nav { display: none; flex-direction: column; padding: 6px var(--gutter) 22px; background: rgba(5,7,8,.97); border-top: 1px solid rgba(155,128,214,.18); }
.mobile-nav.is-open { display: flex; }
.mobile-nav a { padding: 14px 4px; border-bottom: 1px solid rgba(255,255,255,.08); color: rgba(255,255,255,.9); font-weight: 500; }
.mobile-nav .btn { margin-top: 16px; border: 0; }
@media (min-width: 1080px) {
  .hdr__nav { display: flex; }
  .hdr__actions { margin-inline-start: 0; }
  .hdr__cta { display: inline-flex; }
  .menu-toggle, .mobile-nav { display: none !important; }
}

/* ---------- Breadcrumbs (inside page heroes) ----------------------------------- */
.crumbs { margin-bottom: 18px; font-size: .84rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li { display: flex; align-items: center; gap: 6px; color: rgba(255,255,255,.62); }
.crumbs li:not(:last-child)::after { content: '›'; opacity: .55; }
[dir="rtl"] .crumbs li:not(:last-child)::after { content: '‹'; }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: #fff; font-weight: 600; }
.theme-light .crumbs li { color: var(--c-muted); } .theme-light .crumbs [aria-current] { color: var(--c-purple-900); } .theme-light .crumbs a:hover { color: var(--c-purple); }

/* ---------- Art layers (section_media) ------------------------------------------ */
.sec__art { position: absolute; inset: 0; overflow: hidden; z-index: 0; pointer-events: none; }
.art { position: absolute; display: block; }
.art__img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); opacity: calc(var(--op, 100) / 100); }
@media (max-width: 820px) { .art__img { object-position: var(--posm, var(--pos, 50% 50%)); } }
.art--full { inset: 0; }
/* the art is authored for one reading direction; mirror it so it sits opposite the text */
html[dir="rtl"] .art--mirror-rtl, html[dir="ltr"] .art--mirror-ltr { transform: scaleX(-1); }
.art--drift .art__img { animation: art-drift 48s ease-in-out infinite alternate; will-change: transform; }
@keyframes art-drift { from { transform: scale(1.02) translate3d(0,0,0); } to { transform: scale(1.09) translate3d(-1.2%, -1%, 0); } }
.art--start, .art--end, .art--corner-start, .art--corner-end, .art--top-end, .art--center { height: auto; }
.art--start { inset-inline-start: -2%; bottom: 0; width: min(46%, 520px); }
.art--end { inset-inline-end: 3%; bottom: 0; width: min(38%, 440px); }
.art--corner-start { inset-inline-start: -1%; bottom: -3%; width: min(30%, 380px); }
.art--corner-end { inset-inline-end: -1%; bottom: -3%; width: min(30%, 380px); }
.art--top-end { inset-inline-end: 4%; top: 7%; width: min(24%, 320px); }
.art--center { inset-inline: 0; bottom: 0; margin-inline: auto; width: min(44%, 520px); }
.art--start .art__img, .art--end .art__img, .art--corner-start .art__img, .art--corner-end .art__img, .art--top-end .art__img, .art--center .art__img { height: auto; object-fit: contain; }
.art--mobile_background { display: none; }
.art--character .art__img { filter: drop-shadow(0 22px 40px rgba(0,0,0,.55)); }
/* scrim: darkens (or, on light themes, whitens) the text side so copy stays readable */
.art__scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(5,7,8, var(--ov, 0)) 0%, rgba(5,7,8, calc(var(--ov, 0) * .55)) 42%, rgba(5,7,8,0) 78%); }
html[dir="rtl"] .art__scrim { background: linear-gradient(270deg, rgba(5,7,8, var(--ov, 0)) 0%, rgba(5,7,8, calc(var(--ov, 0) * .55)) 42%, rgba(5,7,8,0) 78%); }
.theme-light > .sec__art .art__scrim { background: linear-gradient(90deg, rgba(246,242,252, var(--ov, 0)) 0%, rgba(246,242,252, calc(var(--ov, 0) * .5)) 40%, rgba(246,242,252,0) 75%); }
html[dir="rtl"] .theme-light > .sec__art .art__scrim { background: linear-gradient(270deg, rgba(246,242,252, var(--ov, 0)) 0%, rgba(246,242,252, calc(var(--ov, 0) * .5)) 40%, rgba(246,242,252,0) 75%); }
/* video layers only: an explicit brand-colour scrim (Settings choice, not automatic) overrides the
   gradient above via an inline --ov-rgb custom property (see art.ejs) - a solid wash, not a gradient,
   since a video benefits from even, predictable contrast rather than the image scrim's one-sided fade. */
.art__scrim[style*="--ov-rgb"] { background: rgba(var(--ov-rgb), var(--ov, 0)) !important; }
@media (max-width: 820px) {
  .art--start { width: 62%; } .art--end { width: 52%; } .art--corner-start, .art--corner-end { width: 46%; } .art--top-end { width: 34%; top: 4%; }
  .art--mobile_background { display: block; }
  /* on phones the copy runs over the whole art, so the scrim is a stronger vertical wash */
  .art__scrim { background: linear-gradient(180deg, rgba(5,7,8, calc(var(--ov, 0) * .8 + .06)) 0%, rgba(5,7,8, calc(var(--ov, 0) * .9 + .2)) 100%); }
  html[dir="rtl"] .art__scrim { background: linear-gradient(180deg, rgba(5,7,8, calc(var(--ov, 0) * .8 + .06)) 0%, rgba(5,7,8, calc(var(--ov, 0) * .9 + .2)) 100%); }
  .sec--split .art__scrim, .panel .art__scrim { display: none; }
  .art__scrim[style*="--ov-rgb"] { background: rgba(var(--ov-rgb), var(--ov, 0)) !important; }
}

/* ---------- Video backgrounds (role background/foreground/... with a video-type asset) ------------- */
/* The wrapper reuses the same art/art--<placement>/art--mirror-* classes as an image layer, so position,
   full-bleed sizing and mirroring all come for free. Only the two children below are video-specific. */
.video-bg__el, .video-bg__fallback { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.video-bg__el { object-fit: var(--vfit, cover); object-position: var(--pos, 50% 50%); opacity: calc(var(--op, 100) / 100); background: #050708; }
.video-bg__fallback { display: none; object-fit: var(--vfit, cover); object-position: var(--pos, 50% 50%); }
.video-bg__fallback img { display: block; width: 100%; height: 100%; object-fit: var(--vfit, cover); object-position: var(--pos, 50% 50%); }
/* Reduced motion and "mobile: image only" both resolve to the same rule: hide the <video>, show the image -
   CSS-only, so this holds even before/without any JavaScript running. */
@media (prefers-reduced-motion: reduce) {
  .video-bg__el { display: none; }
  .video-bg__fallback { display: block; }
}
.video-bg--mobile-image-only .video-bg__el { display: none; }
.video-bg--mobile-image-only .video-bg__fallback { display: block; }
@media (min-width: 821px) {
  /* "image only on mobile" never hides the real video back on desktop */
  .video-bg--mobile-image-only .video-bg__el { display: block; }
  .video-bg--mobile-image-only .video-bg__fallback { display: none; }
}
/* JS sets this if the <video> itself fails to load/play, regardless of viewport or motion preference */
.video-bg.is-video-failed .video-bg__el { display: none; }
.video-bg.is-video-failed .video-bg__fallback { display: block; }

/* ---------- Patterns (identity: Luxury Grid, Signature Sign, arcs) ----------------- */
.luxury-grid {
  position: absolute; z-index: 1; width: 320px; height: 240px; pointer-events: none;
  background-image: radial-gradient(circle, rgba(255,255,255,.34) 1.1px, transparent 1.7px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 72%); mask-image: radial-gradient(ellipse at center, #000 20%, transparent 72%);
}
.theme-light .luxury-grid { background-image: radial-gradient(circle, rgba(76,47,133,.3) 1.1px, transparent 1.7px); }
.luxury-grid--tl { top: 24px; inset-inline-start: 0; }
.luxury-grid--br { bottom: 24px; inset-inline-end: 0; }
/* Decorative brand-mark watermark (section_media / global_artwork role "decorative_mark") - a normal CMS
   artwork layer like any other, not a hardcoded image. Its own opacity/rotation/size come from --op/--rot/--scl
   (set inline per layer, see art.ejs); position and base size are fixed per placement, same as any other role. */
.art--decorative_mark { position: absolute; z-index: 1; width: min(38vw, 520px); height: auto; pointer-events: none; }
.art--decorative_mark .art__img { object-fit: contain; transform: rotate(var(--rot, 0deg)) scale(var(--scl, 1)); transform-origin: center; }
.art--decorative_mark.art--end { inset-inline-end: -6%; bottom: -12%; top: auto; }
.art--decorative_mark.art--start { inset-inline-start: -8%; top: -10%; bottom: auto; }
.art--decorative_mark.art--center { inset-inline: 0; margin-inline: auto; top: 8%; bottom: auto; }
.art--decorative_mark.art--blend-multiply .art__img { mix-blend-mode: multiply; }
.art--decorative_mark.art--blend-screen .art__img { mix-blend-mode: screen; }
.art--decorative_mark.art--blend-soft-light .art__img { mix-blend-mode: soft-light; }
.arc-line { position: absolute; z-index: 1; pointer-events: none; fill: none; stroke: url(#arcGrad); stroke-width: 1.2; opacity: .8; }

/* ---------- Sections ---------------------------------------------------------------- */
.sec { position: relative; isolation: isolate; padding-block: calc(clamp(72px, 9vw, 132px) + var(--seam) * .4); }
.sec > .container, .sec__inner { position: relative; z-index: 2; }
.theme-dark { background: var(--c-black); color: #fff; }
.theme-light { background: linear-gradient(180deg, #fff 0%, var(--c-pearl) 100%); color: var(--c-ink); }
.theme-dark h1, .theme-dark h2, .theme-dark h3, .theme-dark h4 { color: #fff; }
.theme-light h1, .theme-light h2, .theme-light h3, .theme-light h4 { color: var(--c-black); }
.theme-dark p { color: rgba(255,255,255,.82); }
.theme-light p { color: #3f3a4d; }

/* arc seam: every section after the first rounds into the one above it, echoing the logo ring */
.sec + .sec, .site-footer { margin-top: calc(var(--seam) * -1); border-radius: 50% 50% 0 0 / var(--seam) var(--seam) 0 0; z-index: 1; }
.sec + .sec::before, .site-footer::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: var(--seam); z-index: 3; pointer-events: none;
  border-top: 1px solid var(--seam-line, rgba(155,128,214,.34)); border-radius: 50% 50% 0 0 / var(--seam) var(--seam) 0 0;
}
.theme-light { --seam-line: rgba(76,47,133,.22); }
.sec--flat { margin-top: 0 !important; border-radius: 0 !important; }
.sec--flat::before { display: none !important; }

/* eyebrow + heading signature (purple bar + short gold bar - identity heading detail) */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 16px; font: 700 .78rem/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; }
.eyebrow::before { content: ''; width: 28px; height: 2px; border-radius: 2px; background: currentColor; opacity: .8; }
.theme-dark .eyebrow { color: var(--c-purple-tint); } .theme-light .eyebrow { color: var(--c-purple); }
.sec-title { position: relative; margin-bottom: 30px; padding-bottom: 20px; }
.sec-title::after {
  content: ''; position: absolute; inset-inline-start: 0; bottom: 0; width: 76px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--sig, var(--c-purple)) 0 76%, transparent 76% 82%, var(--c-gold) 82% 100%);
}
html[dir="rtl"] .sec-title::after { background: linear-gradient(270deg, var(--sig, var(--c-purple)) 0 76%, transparent 76% 82%, var(--c-gold) 82% 100%); }
.theme-dark { --sig: #7a5fb8; }
.sec-head { max-width: 780px; margin-bottom: clamp(30px, 4vw, 52px); }
.sec-head p { font-size: 1.06rem; margin-bottom: 0; }
.lead { font-size: 1.12rem; }

/* split sections: art on one side, copy on the other */
.split-content { max-width: min(600px, 100%); margin-inline-end: auto; }
@media (min-width: 821px) { .sec--split .split-content { max-width: min(600px, 54%); } .sec--split { min-height: 640px; display: flex; align-items: center; } .sec--split > .container { width: 100%; } }
@media (max-width: 820px) {
  .sec--split .sec__art { inset: 0 0 auto 0; height: 300px; }
  .sec--split > .container { padding-top: 300px; }
  .sec--split.theme-light .sec__art::after { content: ''; position: absolute; inset: auto 0 0 0; height: 90px; background: linear-gradient(180deg, transparent, var(--c-pearl)); }
  .sec--split.theme-dark .sec__art::after { content: ''; position: absolute; inset: auto 0 0 0; height: 110px; background: linear-gradient(180deg, transparent, var(--c-black)); }
}

/* ---------- Frames (identity: thin purple frame + heavier accent edge) --------------- */
.frame {
  position: relative; padding: clamp(22px, 2.6vw, 34px); border-radius: var(--radius); border: 1px solid var(--c-purple);
  border-inline-start-width: 5px; background: rgba(255,255,255,.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.frame h3 { color: var(--c-purple) !important; margin-bottom: .45em; }
.frame p:last-child { margin-bottom: 0; }
.theme-dark .frame { border-color: var(--c-line-dark); border-inline-start-color: var(--c-purple-tint); background: linear-gradient(160deg, rgba(76,47,133,.22), rgba(255,255,255,.03)); backdrop-filter: blur(8px); }
.theme-dark .frame h3 { color: #fff !important; }

/* ---------- Reveal on scroll --------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Footer -------------------------------------------------------------------- */
.site-footer { position: relative; isolation: isolate; background: var(--c-black); color: rgba(255,255,255,.72); padding-block: calc(76px + var(--seam) * .4) 28px; z-index: 1; overflow: hidden; }
.site-footer .container { position: relative; z-index: 2; }
.footer-grid { display: grid; gap: 36px; grid-template-columns: 1fr; margin-bottom: 46px; }
@media (min-width: 820px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; } }
.site-footer h4 { color: #fff; font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 16px; }
.footer-logo { display: inline-block; }
.footer-logo img { height: 46px; width: auto; max-width: none; margin-bottom: 18px; }
.site-footer > .sec__art { z-index: 0; }
.footer-tagline { max-width: 36ch; color: rgba(255,255,255,.6); font-size: .93rem; }
.footer-grid li + li { margin-top: 10px; }
.footer-grid a { color: rgba(255,255,255,.72); transition: color .2s; } .footer-grid a:hover { color: #fff; }
.footer-bottom { position: relative; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: space-between; font-size: .82rem; color: rgba(255,255,255,.5); border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom::before { content: ''; position: absolute; top: -1px; inset-inline-start: 0; width: 84px; height: 1px; background: linear-gradient(90deg, var(--c-purple-tint), var(--c-gold)); }
html[dir="rtl"] .footer-bottom::before { background: linear-gradient(270deg, var(--c-purple-tint), var(--c-gold)); }

/* ---------- Forms ---------------------------------------------------------------------- */
.form-grid { display: grid; gap: 4px 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-grid-2 { grid-template-columns: 1fr 1fr; } }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; margin-bottom: 8px; font-weight: 600; font-size: .9rem; color: var(--c-black); }
.form-field .req { color: var(--c-purple); }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; min-height: 50px; padding: 13px 16px; font: inherit; color: var(--c-ink); background: #fff;
  border: 1px solid rgba(76,47,133,.26); border-radius: 14px; transition: border-color .2s, box-shadow .2s;
}
.form-field textarea { min-height: 150px; resize: vertical; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { border-color: var(--c-purple); box-shadow: 0 0 0 4px rgba(76,47,133,.14); outline: none; }
.form-field .error-msg { display: none; margin: 6px 0 0; color: #a3123b; font-size: .82rem; }
.form-field.has-error input, .form-field.has-error textarea, .form-field.has-error select { border-color: #a3123b; }
.form-field.has-error .error-msg { display: block; }
/* The consent checkbox (.checkbox-field is also a .form-field) was inheriting the generic text-input
   rule above - width:100%, min-height:50px, padding:13px 16px, a border and 14px radius - which stretched
   it into a huge, oddly-shaped box instead of a normal small checkbox. Reset it back down to ~1/4 that size. */
.checkbox-field input[type="checkbox"] {
  width: 14px; min-height: 0; height: 14px; padding: 0; margin: 0; border-radius: 3px; flex: none;
}
.form-success { padding: 18px 20px; border-radius: 14px; background: #edf7ee; border: 1px solid #bfe4c2; color: #1f5a25; font-weight: 600; }
.form-fail { padding: 18px 20px; border-radius: 14px; background: #fdecec; border: 1px solid #f3b4b4; color: #7a1d1d; font-weight: 600; margin-bottom: 18px; }

/* ---------- Reduced motion ------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
