/* =========================================================
   VEYORA — Corporate site styles
   Purple leads, gold accents, white space.
   ========================================================= */

:root {
  --purple: #4b0878;
  --purple-700: #3a0560;
  --purple-800: #2a0442;
  --violet: #6b168e;
  --gold: #e5a900;
  --gold-soft: #f6c94b;
  --gold-deep: #b98500;
  --white: #ffffff;
  --lavender: #f6f1fa;
  --lavender-2: #ede3f5;
  --ink: #292333;
  --ink-soft: #5b5464;
  --line: #e7dcef;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 26px;
  --radius-xl: 36px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 10px rgba(41, 35, 51, .05);
  --shadow: 0 18px 40px -18px rgba(75, 8, 120, .22), 0 2px 8px rgba(41, 35, 51, .04);
  --shadow-lg: 0 40px 80px -40px rgba(42, 4, 66, .45);
  --gold-glow: 0 10px 26px -8px rgba(229, 169, 0, .55);

  --font-display: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-body: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, Helvetica, Arial, sans-serif;

  --wrap: 1220px;
  --gutter: clamp(18px, 5vw, 56px);
  --section-y: clamp(64px, 8vw, 118px);
  --nav-h: 78px;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; display: block; }
a { color: var(--purple); text-decoration: none; }
a:hover { color: var(--violet); }
button { font: inherit; }
ul { margin: 0; padding: 0; }
hr { border: 0; border-top: 1px solid var(--line); }
figure, blockquote { margin: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.018em;
  color: var(--purple);
  margin: 0 0 .5em;
  font-variation-settings: "SOFT" 0, "WONK" 0;
}

h1 { font-size: clamp(2.6rem, 5.4vw, 4.35rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3.05rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
h4 { font-size: 1.12rem; letter-spacing: -.01em; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

::selection { background: rgba(229, 169, 0, .28); color: var(--purple-800); }

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

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 78px); }
.section--lavender { background: var(--lavender); }
.section--white { background: var(--white); }
.section--ink { background: var(--purple-800); color: #efe4f7; }
.section--ink h2, .section--ink h3 { color: #fff; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--gold); color: var(--purple-800);
  padding: 10px 18px; border-radius: 0 0 10px 10px; font-weight: 800;
}
.skip-link:focus { top: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .72rem; font-weight: 800; letter-spacing: .19em;
  text-transform: uppercase; color: var(--violet);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--gold); border-radius: 2px;
}
.eyebrow--light { color: var(--gold-soft); }
.eyebrow--center { justify-content: center; }

.lede { font-size: clamp(1.02rem, 1.4vw, 1.16rem); color: var(--ink-soft); max-width: 62ch; }
.section--ink .lede { color: rgba(255,255,255,.76); }

.section-head { max-width: 760px; margin-bottom: clamp(34px, 4vw, 58px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-bottom: .35em; }
.section-head--center .lede { margin-inline: auto; }

.gold-italic { font-style: italic; color: var(--gold-deep); }
.section--ink .gold-italic { color: var(--gold-soft); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--purple);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 700; font-size: .94rem; letter-spacing: .01em;
  border: 1.5px solid transparent;
  cursor: pointer; text-align: center; white-space: nowrap;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease, color .22s ease, border-color .22s ease;
}
.btn:hover { transform: translateY(-2px); color: var(--btn-fg); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn--gold {
  --btn-bg: var(--gold); --btn-fg: #3b0a5c;
  box-shadow: var(--gold-glow);
  font-weight: 800;
}
.btn--gold:hover { --btn-bg: #f0b711; box-shadow: 0 16px 34px -10px rgba(229, 169, 0, .65); }

.btn--purple { --btn-bg: var(--purple); --btn-fg: #fff; box-shadow: 0 14px 30px -14px rgba(75, 8, 120, .6); }
.btn--purple:hover { --btn-bg: var(--purple-700); }

.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--purple);
  border-color: rgba(75, 8, 120, .28);
}
.btn--ghost:hover { --btn-bg: rgba(75, 8, 120, .06); border-color: var(--purple); }

.btn--ghost-light {
  --btn-bg: transparent; --btn-fg: #fff;
  border-color: rgba(255, 255, 255, .45);
}
.btn--ghost-light:hover { --btn-bg: rgba(255, 255, 255, .12); border-color: #fff; }

.btn--white { --btn-bg: #fff; --btn-fg: var(--purple); }
.btn--lg { padding: 18px 34px; font-size: 1.02rem; }
.btn--sm { padding: 10px 18px; font-size: .84rem; }
.btn--block { width: 100%; }

.btn--join { font-size: 1rem; padding: 16px 30px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; color: var(--purple); font-size: .92rem;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .22s ease; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Announcement bar ---------- */
.topbar {
  background: var(--purple-800);
  color: rgba(255,255,255,.86);
  font-size: .8rem;
  letter-spacing: .02em;
}
.topbar__inner {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 40px; text-align: center; flex-wrap: wrap;
}
.topbar strong { color: var(--gold-soft); font-weight: 800; }
.topbar a { color: var(--gold-soft); text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }
.topbar a:hover { color: #fff; }

/* ---------- Header / nav ---------- */
.header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(231, 220, 239, .8);
  transition: box-shadow .25s ease, background .25s ease;
}
.header.is-stuck { box-shadow: 0 12px 30px -22px rgba(42, 4, 66, .5); background: rgba(255,255,255,.97); }
.nav {
  display: flex; align-items: center; gap: 22px;
  min-height: var(--nav-h);
}
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand img { height: 46px; width: auto; }
.brand:hover { opacity: .88; }

.nav__links {
  display: flex; align-items: center; gap: 4px;
  margin-left: auto; list-style: none;
}
.nav__links a {
  display: inline-block;
  padding: 10px 13px;
  font-size: .9rem; font-weight: 600; color: #3f3648;
  border-radius: 8px;
  position: relative;
}
.nav__links a::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 5px;
  height: 2px; background: var(--gold); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform .22s ease;
}
.nav__links a:hover { color: var(--purple); }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.nav__links a[aria-current="page"] { color: var(--purple); font-weight: 800; }

.nav__cta { flex: none; }
.nav__toggle {
  display: none;
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--lavender); border: 1px solid var(--line); color: var(--purple);
  align-items: center; justify-content: center; cursor: pointer;
}
.nav__toggle svg { width: 22px; height: 22px; }
.nav__cta-mobile { display: none; }

.mobile-menu {
  display: none;
  position: fixed; inset: 0; z-index: 120;
  background: rgba(42, 4, 66, .55);
  opacity: 0; pointer-events: none; transition: opacity .25s ease;
}
.mobile-menu.is-open { opacity: 1; pointer-events: auto; }
.mobile-menu__panel {
  position: absolute; right: 0; top: 0; bottom: 0;
  width: min(380px, 88vw);
  background: #fff; padding: 22px;
  display: flex; flex-direction: column; gap: 6px;
  transform: translateX(100%); transition: transform .3s cubic-bezier(.4,0,.2,1);
  border-radius: 22px 0 0 22px; overflow-y: auto;
}
.mobile-menu.is-open .mobile-menu__panel { transform: translateX(0); }
.mobile-menu__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.mobile-menu__head img { height: 36px; }
.mobile-menu__close {
  width: 40px; height: 40px; border-radius: 10px; border: 0; background: var(--lavender);
  color: var(--purple); display: grid; place-items: center; cursor: pointer;
}
.mobile-menu__close svg { width: 20px; height: 20px; }
.mobile-menu__panel a.m-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 6px; border-bottom: 1px solid var(--line);
  font-weight: 700; color: #3a3243; font-size: 1rem;
}
.mobile-menu__panel a.m-link svg { width: 17px; height: 17px; color: var(--gold); }
.mobile-menu__panel .btn { margin-top: 18px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(900px 520px at 88% -8%, rgba(107, 22, 142, .10), transparent 62%),
    radial-gradient(700px 500px at -10% 100%, rgba(229, 169, 0, .12), transparent 60%),
    linear-gradient(180deg, #fbf8fd 0%, #ffffff 68%);
  overflow: hidden;
  padding-block: clamp(38px, 5vw, 66px) clamp(56px, 7vw, 96px);
}
.hero__grid {
  display: grid; grid-template-columns: 1.06fr .94fr;
  gap: clamp(28px, 5vw, 70px); align-items: center;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  padding: 8px 16px 8px 10px; border-radius: var(--radius-pill);
  font-size: .78rem; font-weight: 700; color: var(--purple);
  letter-spacing: .03em; margin-bottom: 22px;
}
.hero__badge .dot {
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(229, 169, 0, .18); display: grid; place-items: center; color: var(--gold-deep);
}
.hero__badge .dot svg { width: 13px; height: 13px; }

.hero h1 { margin-bottom: .42em; color: var(--purple); }
.hero h1 em {
  font-style: italic; color: var(--violet);
  position: relative; white-space: nowrap;
}
.hero h1 em {
  background-image: linear-gradient(180deg, transparent 64%, rgba(229, 169, 0, .32) 64%, rgba(229, 169, 0, .32) 92%, transparent 92%);
}
.hero__text { font-size: clamp(1rem, 1.35vw, 1.12rem); color: #514859; max-width: 55ch; margin-bottom: 16px; }
.hero__sub {
  font-size: .95rem; color: var(--violet); font-weight: 600;
  border-left: 3px solid var(--gold); padding-left: 16px; margin: 0 0 30px;
  max-width: 46ch;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.hero__media { position: relative; }
.hero__frame {
  position: relative; border-radius: 220px 220px 34px 34px;
  overflow: hidden; box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 4.7; background: var(--lavender-2);
}
.hero__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 52% 38%; }
.hero__frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(42,4,66,0) 55%, rgba(42,4,66,.42) 100%);
}
.hero__arc {
  position: absolute; inset: -34px -26px auto auto; width: 62%; z-index: -1; opacity: .9;
  pointer-events: none;
}
.hero__star {
  position: absolute; left: -22px; top: 46px; width: 58px; color: var(--gold);
  filter: drop-shadow(0 8px 16px rgba(229,169,0,.4));
  animation: floaty 7s ease-in-out infinite;
}
@keyframes floaty { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-12px) rotate(4deg); } }

.hero__card {
  position: absolute; left: -26px; bottom: 34px;
  background: #fff; border-radius: 18px; padding: 16px 20px;
  box-shadow: 0 24px 50px -24px rgba(42,4,66,.5);
  display: flex; align-items: center; gap: 13px; max-width: 250px;
  border: 1px solid rgba(231,220,239,.9);
}
.hero__card .ic {
  width: 42px; height: 42px; border-radius: 12px; flex: none;
  background: linear-gradient(140deg, var(--purple), var(--violet));
  color: var(--gold-soft); display: grid; place-items: center;
}
.hero__card .ic svg { width: 21px; height: 21px; }
.hero__card b { display: block; font-family: var(--font-display); font-size: 1.32rem; color: var(--purple); line-height: 1; }
.hero__card span { font-size: .74rem; color: var(--ink-soft); font-weight: 600; letter-spacing: .02em; }

.hero__foot {
  margin-top: clamp(34px, 4vw, 52px);
  display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px;
  border-top: 1px solid var(--line); padding-top: 24px;
}
.hero__foot p { margin: 0; font-size: .76rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; color: #8b8098; }
.hero__pills { display: flex; flex-wrap: wrap; gap: 9px; }
.hero__pills span {
  font-size: .78rem; font-weight: 700; color: var(--purple);
  background: rgba(107,22,142,.07); border: 1px solid rgba(107,22,142,.12);
  border-radius: var(--radius-pill); padding: 6px 13px;
}

/* ---------- Stats strip ---------- */
.stats-strip {
  background: var(--purple);
  color: #fff; position: relative; overflow: hidden;
}
.stats-strip::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(600px 240px at 12% 0%, rgba(229,169,0,.18), transparent 70%),
    radial-gradient(500px 260px at 92% 110%, rgba(107,22,142,.6), transparent 70%);
}
.stats-strip__grid {
  position: relative;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 8px; padding-block: clamp(30px, 4vw, 46px);
}
.stat { text-align: center; padding: 10px 14px; position: relative; }
.stat + .stat::before {
  content: ""; position: absolute; left: 0; top: 18%; bottom: 18%;
  width: 1px; background: rgba(255,255,255,.16);
}
.stat b {
  display: block; font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.9rem, 3.2vw, 2.9rem); line-height: 1;
  color: var(--gold-soft); letter-spacing: -.02em;
}
.stat span {
  display: block; margin-top: 9px; font-size: .78rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.8);
}

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(30px, 5vw, 72px); align-items: center; }
.about__media { position: relative; }
.about__media img { width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow); aspect-ratio: 4/4.4; object-fit: cover; object-position: 64% center; }
.about__media .badge-float {
  position: absolute; right: -18px; bottom: -22px;
  background: var(--purple); color: #fff; border-radius: 20px;
  padding: 18px 22px; box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.12);
  text-align: center; max-width: 190px;
}
.about__media .badge-float b { display: block; font-family: var(--font-display); font-size: 1.7rem; color: var(--gold-soft); line-height: 1; }
.about__media .badge-float span { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.75); font-weight: 700; }

.about__copy p { color: var(--ink-soft); }
.about__copy strong { color: var(--ink); }

.pillars { display: grid; gap: 14px; margin-top: 28px; }
.pillar {
  display: grid; grid-template-columns: 46px 1fr; gap: 16px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px; box-shadow: var(--shadow-sm);
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}
.pillar:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: rgba(229,169,0,.5); }
.pillar .ic {
  width: 46px; height: 46px; border-radius: 14px;
  background: linear-gradient(150deg, rgba(75,8,120,1), rgba(107,22,142,1));
  color: var(--gold-soft); display: grid; place-items: center;
}
.pillar .ic svg { width: 22px; height: 22px; }
.pillar h3 { font-size: 1.08rem; margin-bottom: 4px; font-family: var(--font-body); font-weight: 800; letter-spacing: 0; color: var(--purple); }
.pillar p { font-size: .93rem; color: var(--ink-soft); margin: 0; }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(18px, 2.2vw, 28px); }
.service {
  position: relative; background: #fff; border-radius: var(--radius-lg);
  border: 1px solid var(--line); overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.service:hover { transform: translateY(-6px); box-shadow: 0 34px 60px -34px rgba(75,8,120,.4); border-color: rgba(107,22,142,.28); }
.service__media { position: relative; aspect-ratio: 16/9.4; overflow: hidden; }
.service__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.service:hover .service__media img { transform: scale(1.05); }
.service__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(42,4,66,.05) 0%, rgba(42,4,66,.5) 100%);
}
.service__no {
  position: absolute; top: 16px; left: 18px; z-index: 2;
  font-family: var(--font-display); font-size: .86rem; font-weight: 700;
  color: var(--purple-800); background: var(--gold); border-radius: var(--radius-pill);
  padding: 5px 12px; letter-spacing: .08em;
}
.service__icon {
  position: relative; z-index: 2; margin: -52px 0 8px 22px;
  width: 58px; height: 58px; border-radius: 18px;
  background: #fff; color: var(--purple);
  display: grid; place-items: center;
  box-shadow: 0 16px 30px -16px rgba(42,4,66,.55);
  border: 1px solid var(--line);
}
.service__icon svg { width: 26px; height: 26px; }
.service__body { padding: 18px clamp(20px, 2.4vw, 30px) 26px; display: flex; flex-direction: column; flex: 1; }
.service__body h3 { margin-bottom: 10px; font-size: clamp(1.18rem, 1.6vw, 1.42rem); }
.service__body > p { color: var(--ink-soft); font-size: .95rem; }
.service__acts { list-style: none; display: grid; gap: 7px; margin: 16px 0 22px; }
.service__acts li {
  display: flex; gap: 9px; align-items: flex-start;
  font-size: .875rem; color: #4a4353;
}
.service__acts li svg { width: 15px; height: 15px; color: var(--gold-deep); flex: none; margin-top: 4px; }
.service .link-arrow { margin-top: auto; }

/* ---------- Why Veyora ---------- */
.why { position: relative; overflow: hidden; }
.why__grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(34px, 6vw, 84px); align-items: start; }
.why__lead p { color: rgba(255,255,255,.78); }
.why__quote {
  margin-top: 30px; padding: 22px 24px; border-radius: var(--radius);
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  border-left: 3px solid var(--gold);
}
.why__quote p { font-family: var(--font-display); font-size: 1.16rem; font-style: italic; color: #fff; margin: 0; line-height: 1.5; }
.why__list { display: grid; gap: 0; }
.why__item {
  display: grid; grid-template-columns: 34px 1fr; gap: 16px;
  padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.12);
}
.why__item:first-child { padding-top: 0; }
.why__item .chk {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(229,169,0,.16); color: var(--gold-soft);
  display: grid; place-items: center; flex: none;
}
.why__item .chk svg { width: 17px; height: 17px; }
.why__item h3 {
  font-family: var(--font-body); font-weight: 800; font-size: 1rem;
  letter-spacing: 0; color: #fff; margin: 4px 0 4px;
}
.why__item p { font-size: .9rem; color: rgba(255,255,255,.68); margin: 0; }

/* ---------- Join CTA ---------- */
.join-cta {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #40066a 0%, #4b0878 45%, #6b168e 100%);
  color: #fff;
}
.join-cta::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(700px 380px at 92% 6%, rgba(229,169,0,.22), transparent 62%),
    radial-gradient(520px 320px at 6% 96%, rgba(255,255,255,.1), transparent 65%);
}
.join-cta__grid {
  position: relative; display: grid; grid-template-columns: 1.15fr .85fr;
  gap: clamp(34px, 5vw, 70px); align-items: center;
}
.join-cta h2 { color: #fff; font-size: clamp(2.1rem, 4vw, 3.4rem); }
.join-cta p { color: rgba(255,255,255,.82); max-width: 48ch; }
.join-cta__media { position: relative; }
.join-cta__media img {
  width: 100%; height: auto; border-radius: 180px 180px 26px 26px;
  aspect-ratio: 4/4.4; object-fit: cover; object-position: 50% 22%;
  box-shadow: 0 40px 70px -30px rgba(0,0,0,.55);
  border: 1px solid rgba(255,255,255,.16);
}
.join-cta__tag {
  position: absolute; left: -18px; top: 24px;
  background: var(--gold); color: #3b0a5c; font-weight: 800;
  font-size: .74rem; letter-spacing: .1em; text-transform: uppercase;
  padding: 9px 16px; border-radius: var(--radius-pill);
  box-shadow: 0 14px 26px -12px rgba(229,169,0,.7);
}
.join-cta__points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 24px 0 30px; }
.join-cta__points span { display: inline-flex; align-items: center; gap: 8px; font-size: .87rem; color: rgba(255,255,255,.86); }
.join-cta__points svg { width: 16px; height: 16px; color: var(--gold-soft); }

.join-reg { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 5vw, 64px); align-items: start; }
.join-reg__aside { position: sticky; top: calc(var(--nav-h) + 28px); }
.join-reg__points { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.join-reg__points li { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; color: #4c4459; }
.join-reg__points svg { width: 18px; height: 18px; color: var(--violet); flex: none; margin-top: 2px; }
.join-reg__quote {
  margin-top: 30px; padding: 22px 24px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--gold);
  box-shadow: var(--shadow-sm);
}
.join-reg__quote p { font-family: var(--font-display); font-style: italic; font-size: 1.18rem; color: var(--purple); margin: 0 0 6px; line-height: 1.45; }
.join-reg__quote span { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: #8b8098; font-weight: 700; }
@media (max-width: 940px) {
  .join-reg { grid-template-columns: 1fr; }
  .join-reg__aside { position: static; }
}

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testi {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; display: flex; flex-direction: column; gap: 14px;
  box-shadow: var(--shadow-sm); position: relative;
}
.testi::before {
  content: "“"; position: absolute; right: 20px; top: 2px;
  font-family: var(--font-display); font-size: 4.5rem; color: rgba(229,169,0,.28); line-height: 1;
}
.testi__stars { display: flex; gap: 3px; color: var(--gold); }
.testi__stars svg { width: 15px; height: 15px; }
.testi p { font-size: .95rem; color: #484152; margin: 0; }
.testi__who { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 6px; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: linear-gradient(140deg, var(--lavender-2), #fff);
  border: 1px solid rgba(107,22,142,.16);
  color: var(--purple); font-weight: 800; font-size: .9rem;
}
.testi__who b { display: block; font-size: .9rem; color: var(--purple); }
.testi__who span { font-size: .78rem; color: var(--ink-soft); }

/* ---------- Partners ---------- */
.partners { border-top: 1px solid var(--line); }
.partners__row {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; align-items: center;
}
.partner {
  display: grid; place-items: center; text-align: center;
  padding: 20px 12px; border-radius: 14px; border: 1px dashed var(--line);
  color: #7d7288; font-weight: 800; font-size: .82rem; letter-spacing: .06em;
  text-transform: uppercase; min-height: 82px;
  transition: border-color .25s ease, color .25s ease, background .25s ease;
}
.partner:hover { border-color: rgba(229,169,0,.6); color: var(--purple); background: #fff; }
.partner small { display: block; font-size: .66rem; letter-spacing: .12em; color: #a79cb2; font-weight: 700; margin-top: 4px; }

/* ---------- News / blog cards ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 28px); }
.post-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease;
}
.post-card:hover { transform: translateY(-5px); box-shadow: 0 30px 55px -32px rgba(75,8,120,.38); }
.post-card__media { aspect-ratio: 16/10; overflow: hidden; position: relative; background: var(--lavender-2); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.post-card:hover .post-card__media img { transform: scale(1.045); }
.post-card__cat {
  position: absolute; left: 14px; top: 14px;
  background: rgba(255,255,255,.95); color: var(--purple);
  font-size: .68rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase;
  padding: 6px 12px; border-radius: var(--radius-pill);
}
.post-card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card__meta { display: flex; align-items: center; gap: 10px; font-size: .75rem; color: #8b8098; font-weight: 600; }
.post-card__meta .dot { width: 3px; height: 3px; border-radius: 50%; background: #c8bdd3; }
.post-card h3 { font-size: 1.12rem; margin: 0; line-height: 1.28; letter-spacing: -.008em; }
.post-card h3 a { color: inherit; }
.post-card h3 a:hover { color: var(--violet); }
.post-card p { font-size: .88rem; color: var(--ink-soft); margin: 0; }
.post-card .link-arrow { margin-top: auto; padding-top: 8px; }

.featured-post {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 0;
  border-radius: var(--radius-xl); overflow: hidden;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
  margin-bottom: clamp(34px, 4vw, 56px);
}
.featured-post__media { position: relative; min-height: 320px; }
.featured-post__media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.featured-post__body { padding: clamp(26px, 3.4vw, 46px); display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.featured-post__flag {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 7px;
  background: rgba(229,169,0,.14); color: var(--gold-deep);
  font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 12px; border-radius: var(--radius-pill);
}
.featured-post__flag svg { width: 13px; height: 13px; }
.featured-post h2 { font-size: clamp(1.6rem, 2.6vw, 2.35rem); margin: 0; }
.featured-post h2 a { color: var(--purple); }
.featured-post p { color: var(--ink-soft); font-size: .96rem; }

/* ---------- Blog toolbar ---------- */
.blog-tools {
  display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between;
  margin-bottom: 28px;
}
.search-box {
  position: relative; flex: 1 1 280px; max-width: 380px;
}
.search-box input {
  width: 100%; padding: 12px 16px 12px 42px;
  border: 1px solid var(--line); border-radius: var(--radius-pill);
  background: #fff; font: inherit; font-size: .92rem; color: var(--ink);
}
.search-box input:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(107,22,142,.12); }
.search-box svg {
  position: absolute; left: 15px; top: 50%; transform: translateY(-50%);
  width: 17px; height: 17px; color: #a294ae; pointer-events: none;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1px solid var(--line); background: #fff; color: #4c4356;
  padding: 9px 16px; border-radius: var(--radius-pill);
  font-size: .82rem; font-weight: 700; cursor: pointer;
  transition: all .2s ease;
}
.chip:hover { border-color: var(--violet); color: var(--purple); }
.chip.is-active { background: var(--purple); border-color: var(--purple); color: #fff; }
.chip.is-active:hover { color: #fff; }

.empty-state {
  text-align: center; padding: 60px 20px; border: 1px dashed var(--line);
  border-radius: var(--radius-lg); background: var(--lavender);
}
.empty-state h3 { margin-bottom: 6px; }
.empty-state p { color: var(--ink-soft); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--lavender); border-top: 1px solid var(--line); }
.cta-band__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap;
  background: #fff; border-radius: var(--radius-xl); padding: clamp(24px, 3.4vw, 42px);
  box-shadow: var(--shadow); border: 1px solid var(--line);
}
.cta-band h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin: 0 0 6px; }
.cta-band p { margin: 0; color: var(--ink-soft); font-size: .95rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 64px); align-items: start; }
.contact-card {
  background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line);
  padding: clamp(24px, 3vw, 38px); box-shadow: var(--shadow);
}
.contact-info { display: grid; gap: 4px; margin-top: 26px; }
.contact-row {
  display: grid; grid-template-columns: 42px 1fr; gap: 14px; align-items: start;
  padding: 15px 0; border-bottom: 1px solid var(--line);
}
.contact-row:last-child { border-bottom: 0; }
.contact-row .ic {
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--lavender); color: var(--purple); display: grid; place-items: center;
}
.contact-row .ic svg { width: 19px; height: 19px; }
.contact-row b { display: block; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: #8b8098; margin-bottom: 3px; }
.contact-row a, .contact-row span.v { color: var(--ink); font-weight: 600; font-size: .95rem; }
.contact-row a:hover { color: var(--violet); }

.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.social {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--lavender); color: var(--purple);
  border: 1px solid var(--line);
  transition: all .22s ease;
}
.social:hover { background: var(--purple); color: #fff; border-color: var(--purple); transform: translateY(-2px); }
.social svg { width: 18px; height: 18px; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: .8rem; font-weight: 700; color: #4a4155; letter-spacing: .02em;
  display: flex; align-items: center; gap: 6px;
}
.field label .req { color: var(--gold-deep); }
.field label .opt { color: #9b90a6; font-weight: 600; font-size: .74rem; }
.field .hint { font-size: .74rem; color: #8b8098; }

.input, .select, .textarea {
  width: 100%; font: inherit; font-size: .93rem; color: var(--ink);
  padding: 12px 15px; border: 1px solid var(--line); border-radius: 12px;
  background: #fff; transition: border-color .2s ease, box-shadow .2s ease;
}
.textarea { min-height: 118px; resize: vertical; line-height: 1.55; }
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%234B0878' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  padding-right: 38px;
}
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(107,22,142,.12);
}
.input.is-error, .select.is-error, .textarea.is-error {
  border-color: #c0392b; box-shadow: 0 0 0 3px rgba(192,57,43,.1);
}
.err { font-size: .76rem; color: #b3261e; font-weight: 600; display: none; }
.err.is-visible { display: block; }

.check {
  display: grid; grid-template-columns: 20px 1fr; gap: 10px;
  align-items: start; font-size: .85rem; color: #514859;
}
.check input {
  appearance: none; width: 20px; height: 20px; margin: 1px 0 0;
  border: 1.5px solid #cbbcd8; border-radius: 6px; background: #fff; cursor: pointer;
  display: grid; place-content: center;
}
.check input:checked { background: var(--purple); border-color: var(--purple); }
.check input:checked::after {
  content: ""; width: 10px; height: 6px;
  border-left: 2px solid #fff; border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translateY(-1px);
}
.check a { text-decoration: underline; text-underline-offset: 2px; }

.form-note {
  display: flex; gap: 10px; align-items: flex-start;
  background: var(--lavender); border-radius: 12px; padding: 12px 14px;
  font-size: .8rem; color: #5a5064;
}
.form-note svg { width: 16px; height: 16px; color: var(--violet); flex: none; margin-top: 2px; }

.form-alert {
  display: none; gap: 10px; align-items: flex-start;
  padding: 13px 16px; border-radius: 12px; font-size: .87rem; font-weight: 600;
  margin-bottom: 6px;
}
.form-alert.is-visible { display: flex; }
.form-alert--error { background: #fdecea; color: #a3221a; border: 1px solid #f6cdc8; }
.form-alert--ok { background: #eaf6ee; color: #1c6b3b; border: 1px solid #c9e8d5; }
.form-alert svg { width: 18px; height: 18px; flex: none; margin-top: 1px; }

/* file upload */
.upload {
  border: 1.5px dashed #d6c7e2; border-radius: 14px; background: #fdfbff;
  padding: 18px; text-align: center; cursor: pointer; transition: all .2s ease;
  display: grid; gap: 4px; place-items: center;
}
.upload:hover { border-color: var(--violet); background: var(--lavender); }
.field label.upload { display: grid; grid-template-columns: 1fr; place-items: center; gap: 5px; text-align: center; font-size: .86rem; color: var(--purple); }
.field label.upload__preview { display: flex; text-align: left; }
.upload svg { width: 22px; height: 22px; color: var(--violet); }
.upload b { font-size: .86rem; color: var(--purple); }
.upload small { font-size: .74rem; color: #8b8098; }
.upload input { display: none; }
.upload__preview { display: flex; align-items: center; gap: 12px; text-align: left; padding: 4px; }
.upload__preview img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }

/* ---------- Modal ---------- */
.modal {
  position: fixed; inset: 0; z-index: 150; display: none;
  align-items: center; justify-content: center; padding: 18px;
  background: rgba(30, 5, 46, .62); backdrop-filter: blur(6px);
}
.modal.is-open { display: flex; }
/* inline (page-embedded) registration form on join.html */
.modal--inline { position: static; display: block; inset: auto; padding: 0; z-index: auto; background: none; backdrop-filter: none; }
.modal--inline .modal__dialog {
  width: 100%; max-width: 100%; max-height: none; overflow: visible;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); animation: none;
}
.modal--inline .modal__head { position: static; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.modal--inline .modal__close { display: none; }
.modal--inline .success-panel { padding-bottom: 32px; }

.modal__dialog {
  position: relative; background: #fff; border-radius: 24px;
  width: min(720px, 100%); max-height: 92vh; overflow-y: auto;
  box-shadow: 0 50px 100px -40px rgba(0,0,0,.6);
  animation: modalIn .32s cubic-bezier(.2,.9,.25,1);
}
@keyframes modalIn { from { opacity: 0; transform: translateY(18px) scale(.985); } to { opacity: 1; transform: none; } }
.modal__head {
  position: sticky; top: 0; z-index: 3;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 18px;
  padding: 26px clamp(20px, 3.4vw, 36px) 18px;
  background: #fff; border-bottom: 1px solid var(--line);
}
.modal__head h2 { font-size: clamp(1.45rem, 2.6vw, 1.95rem); margin: 0 0 4px; }
.modal__head p { margin: 0; font-size: .87rem; color: var(--ink-soft); }
.modal__close {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--lavender); color: var(--purple); display: grid; place-items: center;
  cursor: pointer; flex: none;
}
.modal__close svg { width: 18px; height: 18px; }
.modal__body { padding: clamp(20px, 3vw, 32px) clamp(20px, 3.4vw, 36px); }
.modal__body .form-grid { gap: 14px; }
.modal__foot {
  display: flex; gap: 12px; align-items: center; justify-content: space-between;
  margin-top: 22px; flex-wrap: wrap;
}
.modal__foot .meta { font-size: .76rem; color: #8b8098; max-width: 40ch; }

/* success screen */
.success-panel { text-align: center; padding: 10px 6px 24px; display: none; }
.success-panel.is-visible { display: block; }
.success-panel .tick {
  width: 78px; height: 78px; border-radius: 50%; margin: 8px auto 20px;
  background: linear-gradient(140deg, var(--purple), var(--violet));
  color: var(--gold-soft); display: grid; place-items: center;
  box-shadow: 0 20px 40px -18px rgba(75,8,120,.6);
}
.success-panel .tick svg { width: 36px; height: 36px; }
.success-panel h2 { margin-bottom: 8px; }
.success-panel p { color: var(--ink-soft); max-width: 44ch; margin-inline: auto; }
.success-panel .btn { margin-top: 22px; }

/* ---------- Toast ---------- */
.toast-stack { position: fixed; right: 18px; bottom: 18px; z-index: 220; display: grid; gap: 10px; }
.toast {
  display: flex; gap: 10px; align-items: flex-start;
  background: var(--purple-800); color: #fff;
  padding: 13px 18px; border-radius: 12px; font-size: .86rem; font-weight: 600;
  box-shadow: 0 20px 40px -18px rgba(0,0,0,.6);
  animation: toastIn .3s ease;
  max-width: 340px;
}
.toast svg { width: 17px; height: 17px; color: var(--gold-soft); flex: none; margin-top: 1px; }
.toast--gold { background: var(--gold); color: #3b0a5c; }
.toast--gold svg { color: #3b0a5c; }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- Footer ---------- */
.footer { background: var(--purple-800); color: rgba(255,255,255,.72); padding-top: clamp(48px, 6vw, 76px); position: relative; overflow: hidden; }
.footer::before {
  content: ""; position: absolute; inset: auto -10% -40% auto; width: 620px; height: 420px;
  background: radial-gradient(closest-side, rgba(107,22,142,.55), transparent);
  pointer-events: none;
}
.footer__grid {
  position: relative;
  display: grid; grid-template-columns: 1.5fr .85fr .95fr 1.15fr;
  gap: clamp(24px, 3.6vw, 48px);
  padding-bottom: clamp(34px, 4vw, 48px);
}
.footer__brand img { height: 46px; margin-bottom: 18px; }
.footer__brand p { font-size: .88rem; color: rgba(255,255,255,.66); max-width: 34ch; }
.footer__slogan {
  font-family: var(--font-display); font-style: italic; font-size: 1.02rem;
  color: var(--gold-soft); margin-top: 16px;
}
.footer h4 {
  font-family: var(--font-body); font-size: .76rem; font-weight: 800;
  letter-spacing: .16em; text-transform: uppercase; color: #fff;
  margin: 0 0 16px;
}
.footer ul { list-style: none; display: grid; gap: 9px; }
.footer ul a { color: rgba(255,255,255,.68); font-size: .88rem; }
.footer ul a:hover { color: var(--gold-soft); }
.footer__contact { display: grid; gap: 10px; font-size: .87rem; }
.footer__contact a, .footer__contact span { color: rgba(255,255,255,.68); display: flex; gap: 9px; align-items: flex-start; }
.footer__contact svg { width: 16px; height: 16px; color: var(--gold); flex: none; margin-top: 3px; }
.footer__contact a:hover { color: var(--gold-soft); }
.footer .socials { margin-top: 18px; }
.footer .social { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); color: #fff; }
.footer .social:hover { background: var(--gold); border-color: var(--gold); color: var(--purple-800); }
.footer__cta { margin-top: 18px; }
.footer__bottom {
  position: relative;
  border-top: 1px solid rgba(255,255,255,.13);
  padding-block: 20px 26px;
  display: flex; flex-wrap: wrap; gap: 12px 26px; align-items: center; justify-content: space-between;
  font-size: .79rem; color: rgba(255,255,255,.5);
}
.footer__legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer__legal a { color: rgba(255,255,255,.6); }
.footer__legal a:hover { color: var(--gold-soft); }

/* ---------- Inner page hero ---------- */
.page-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(700px 400px at 88% 0%, rgba(229,169,0,.13), transparent 62%),
    linear-gradient(180deg, #f9f5fc, #fff);
  padding-block: clamp(40px, 5vw, 68px) clamp(34px, 4vw, 52px);
  border-bottom: 1px solid var(--line);
}
.page-hero__inner { max-width: 830px; }
.page-hero h1 { font-size: clamp(2.3rem, 4.4vw, 3.5rem); margin-bottom: .3em; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: .78rem; color: #8b8098; margin-bottom: 18px; font-weight: 600; }
.breadcrumb a { color: var(--violet); }
.breadcrumb svg { width: 13px; height: 13px; color: #b7a9c4; }

/* ---------- Article ---------- */
.article-head { max-width: 820px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; font-size: .82rem; color: #7d7288; margin-top: 20px; }
.article-meta .who { display: flex; align-items: center; gap: 9px; }
.article-meta .who .avatar { width: 34px; height: 34px; font-size: .74rem; }
.article-hero { margin-top: clamp(24px, 3vw, 38px); }
.article-hero img {
  width: 100%; height: auto; aspect-ratio: 21/9; object-fit: cover;
  border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(30px, 5vw, 64px); align-items: start; }
.prose { font-size: 1.03rem; color: #3e3748; max-width: 72ch; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { font-size: clamp(1.45rem, 2.2vw, 1.9rem); margin-top: 1.9em; }
.prose h3 { font-size: 1.24rem; margin-top: 1.5em; }
.prose p { margin: 0; }
.prose ul, .prose ol { padding-left: 1.25em; display: grid; gap: .5em; }
.prose li { padding-left: .2em; }
.prose li::marker { color: var(--gold-deep); font-weight: 700; }
.prose blockquote {
  margin: 1.6em 0; padding: 18px 24px; border-left: 3px solid var(--gold);
  background: var(--lavender); border-radius: 0 14px 14px 0;
  font-family: var(--font-display); font-size: 1.16rem; font-style: italic; color: var(--purple);
}
.prose img { border-radius: var(--radius); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--ink); }
.prose .tag-row { margin-top: 2em; }

.tag {
  display: inline-block; font-size: .74rem; font-weight: 700;
  background: var(--lavender); color: var(--violet);
  border: 1px solid var(--line); border-radius: var(--radius-pill);
  padding: 5px 12px; margin: 0 6px 6px 0;
}
.tag:hover { background: var(--purple); color: #fff; border-color: var(--purple); }

.share { display: flex; gap: 9px; align-items: center; flex-wrap: wrap; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.share span { font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #8b8098; margin-right: 4px; }

.article-side { position: sticky; top: calc(var(--nav-h) + 20px); display: grid; gap: 18px; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.side-card h4 { font-family: var(--font-body); font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #8b8098; margin: 0 0 14px; }
.side-card .mini { display: grid; gap: 14px; }
.side-card .mini a { display: grid; grid-template-columns: 62px 1fr; gap: 11px; align-items: center; }
.side-card .mini img { width: 62px; height: 62px; border-radius: 10px; object-fit: cover; }
.side-card .mini b { font-size: .84rem; color: var(--ink); line-height: 1.35; display: block; font-weight: 700; }
.side-card .mini a:hover b { color: var(--violet); }
.side-card .mini small { font-size: .72rem; color: #8b8098; }
.side-card--join { background: linear-gradient(150deg, var(--purple), var(--violet)); border: 0; color: #fff; }
.side-card--join h4 { color: var(--gold-soft); }
.side-card--join p { font-size: .88rem; color: rgba(255,255,255,.82); }
.side-card--join .btn { margin-top: 14px; }

/* ---------- Values grid (about) ---------- */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.values-grid--2 { grid-template-columns: repeat(2, 1fr); }
.value-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm);
}
.value-card .ic {
  width: 44px; height: 44px; border-radius: 12px; margin-bottom: 16px;
  background: rgba(107,22,142,.08); color: var(--violet);
  display: grid; place-items: center;
}
.value-card .ic svg { width: 21px; height: 21px; }
.value-card h3 { font-family: var(--font-body); font-weight: 800; font-size: 1rem; letter-spacing: 0; margin-bottom: 6px; }
.value-card p { font-size: .89rem; color: var(--ink-soft); margin: 0; }

.vision-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.vision-card {
  border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line); background: #fff; position: relative; overflow: hidden;
}
.vision-card--purple { background: linear-gradient(150deg, var(--purple), var(--violet)); border: 0; color: #fff; }
.vision-card--purple h3 { color: #fff; }
.vision-card--purple p { color: rgba(255,255,255,.82); }
.vision-card .kicker {
  font-size: .7rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-deep); margin-bottom: 12px; display: block;
}
.vision-card--purple .kicker { color: var(--gold-soft); }
.vision-card p { font-family: var(--font-display); font-size: 1.16rem; line-height: 1.5; margin: 0; }
.vision-card h3 { font-size: 1.3rem; }

/* ---------- Timeline ---------- */
.timeline { display: grid; gap: 0; margin-top: 10px; }
.tl-item { display: grid; grid-template-columns: 88px 1fr; gap: 20px; padding: 20px 0; border-top: 1px solid var(--line); }
.tl-item b { font-family: var(--font-display); font-size: 1.3rem; color: var(--gold-deep); }
.tl-item h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 800; letter-spacing: 0; margin-bottom: 4px; }
.tl-item p { font-size: .9rem; color: var(--ink-soft); margin: 0; }

/* ---------- Impact page ---------- */
.impact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.impact-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 8px;
}
.impact-card b { font-family: var(--font-display); font-size: 2.2rem; color: var(--purple); line-height: 1; }
.impact-card h3 { font-family: var(--font-body); font-size: .95rem; font-weight: 800; letter-spacing: 0; margin: 0; }
.impact-card p { font-size: .86rem; color: var(--ink-soft); margin: 0; }

.bar-list { display: grid; gap: 18px; }
.bar-row { display: grid; gap: 7px; }
.bar-row .top { display: flex; justify-content: space-between; font-size: .87rem; font-weight: 700; color: #453c50; }
.bar-row .top span:last-child { color: var(--purple); }
.bar { height: 9px; border-radius: 99px; background: rgba(107,22,142,.1); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--purple), var(--violet) 70%, var(--gold)); width: 0; transition: width 1.1s cubic-bezier(.2,.8,.2,1); }

/* ---------- Prose page (legal) ---------- */
.legal { max-width: 74ch; }
.legal h2 { font-size: 1.6rem; margin-top: 1.8em; }
.legal p, .legal li { color: #4a4353; font-size: .96rem; }
.legal ul { padding-left: 1.2em; display: grid; gap: .4em; margin-bottom: 1.1em; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav__links { gap: 0; }
  .nav__links a { padding: 10px; font-size: .85rem; }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer__col--contact { grid-column: 1 / -1; }
  .article-layout { grid-template-columns: 1fr; }
  .article-side { position: static; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 940px) {
  :root { --nav-h: 70px; }
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav__cta-mobile { display: inline-flex; margin-left: auto; }
  .nav { gap: 12px; }
  .brand img { height: 36px; }

  .hero__grid { grid-template-columns: 1fr; gap: 34px; }
  .hero__media { order: -1; max-width: 520px; margin-inline: auto; width: 100%; }
  .hero__frame { aspect-ratio: 4/3.4; border-radius: 160px 160px 28px 28px; }
  .hero__card { left: 8px; bottom: 14px; padding: 12px 16px; }
  .hero__star { left: auto; right: -8px; top: 10px; width: 42px; }

  .about__grid, .why__grid, .contact-grid, .join-cta__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 560px; }
  .about__media .badge-float { right: 10px; bottom: -18px; }
  .join-cta__media { max-width: 420px; margin-inline: auto; }
  .join-cta__media img { aspect-ratio: 4/4; }

  .services { grid-template-columns: 1fr; }
  .testi-grid, .values-grid, .impact-grid { grid-template-columns: 1fr 1fr; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .featured-post { grid-template-columns: 1fr; }
  .featured-post__media { min-height: 240px; aspect-ratio: 16/9; }
  .featured-post__media img { position: static; height: 100%; }
  .stats-strip__grid { grid-template-columns: 1fr 1fr; gap: 18px 0; }
  .stat:nth-child(3)::before { display: none; }
  .partners__row { grid-template-columns: repeat(3, 1fr); }
  .vision-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .topbar__inner { font-size: .74rem; padding-block: 6px; }
  .brand img { height: 32px; }
  .nav__cta-mobile .btn { padding: 11px 16px; font-size: .84rem; }
  .nav__cta-mobile .btn svg { width: 15px; height: 15px; }
  .mobile-menu__panel { width: 100%; border-radius: 0; }

  .hero { padding-block: 18px 44px; }
  .hero h1 { font-size: clamp(2.1rem, 9vw, 2.8rem); }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__sub { font-size: .9rem; }
  .hero__foot { gap: 12px; }

  .form-grid { grid-template-columns: 1fr; }
  .testi-grid, .values-grid, .impact-grid, .news-grid { grid-template-columns: 1fr; }
  .partners__row { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__col--contact { grid-column: auto; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .cta-band__inner .btn { width: 100%; }
  .modal { padding: 0; align-items: flex-end; }
  .modal__dialog { border-radius: 22px 22px 0 0; max-height: 94vh; }
  .article-hero img { aspect-ratio: 16/10; }
  .article-side { grid-template-columns: 1fr; }
  .blog-tools { flex-direction: column; align-items: stretch; }
  .search-box { max-width: none; }
  .chips { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .chip { flex: none; }
  .stats-strip__grid { grid-template-columns: 1fr 1fr; }
  .stat b { font-size: 1.7rem; }
  .tl-item { grid-template-columns: 62px 1fr; gap: 14px; }
}

/* ---------- Layout utilities ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 64px); align-items: start; }
.split > img { border-radius: var(--radius-lg); box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; width: 100%; height: auto; }
@media (min-width: 941px) { .order-2 { order: 2; } }
@media (max-width: 940px) {
  .split { grid-template-columns: 1fr; }
  .order-2 { order: 0; }
}
@media (max-width: 640px) {
  .values-grid--2 { grid-template-columns: 1fr; }
}

/* chips must never widen the viewport */
.blog-tools { min-width: 0; }
.chips { max-width: 100%; }
@media (max-width: 640px) { .chips { width: 100%; min-width: 0; } }
