/* Upsurge Advisory – one-page site
   Brand: purple #36205A, gold #F0B73B */

:root {
  --purple: #36205A;
  --purple-2: #4B2C7A;
  --purple-deep: #281644;
  --purple-mid: #3F2566;
  --purple-field: #48296F;
  --lilac: #F5F1FA;
  --lilac-2: #F9F6FC;
  --lilac-3: #E9E1F4;
  --gold: #F0B73B;
  --ink: #4A3F5C;
  --muted: #6B4A9E;
  --light: #D6CCE6;
  --white: #FFFFFF;
  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  --body: 'Instrument Sans', system-ui, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--purple);
  background: var(--lilac);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: var(--purple); }
a:hover { color: var(--purple-2); }
p { margin: 0; }
h1, h2, h3 { margin: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--gold); color: var(--purple); padding: 10px 16px; border-radius: 8px;
  font-weight: 600; text-decoration: none; transition: top .2s;
}
.skip:focus { top: 16px; }

.wrap { max-width: 1240px; margin: 0 auto; }
.sec { padding: 104px 40px; }
.sec-white { background: var(--white); }
.sec-purple { background: var(--purple); color: var(--white); }

/* ---------- Type ---------- */
.eyebrow {
  font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
.eyebrow-gold { color: var(--gold); }
.mark { background: linear-gradient(transparent 62%, var(--gold) 62%); background-repeat: no-repeat; }
.gold { color: var(--gold); }
.h-display {
  text-align: center; font-family: var(--display); font-weight: 600;
  font-size: clamp(28px, 3vw, 42px); line-height: 1.08; letter-spacing: -.03em; color: var(--purple);
}
.h-sec {
  max-width: 620px; font-family: var(--display); font-weight: 600;
  font-size: clamp(32px, 3.4vw, 48px); line-height: 1.08; letter-spacing: -.03em; color: var(--purple);
}
.h-sm { font-size: clamp(30px, 2.8vw, 40px); line-height: 1.06; letter-spacing: -.03em; }
.h-lg { font-size: clamp(34px, 3.8vw, 52px); line-height: 1.06; }
.h-xl { font-size: clamp(36px, 4.2vw, 58px); line-height: 1.06; }
.h-light { color: var(--white); }
.muted-light { color: var(--light); font-size: 17px; line-height: 1.55; }
.small { font-size: 15px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 10px; border: 0;
  font: inherit; font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-pill { border-radius: 999px; }
.btn-lg { min-height: 52px; padding: 0 28px; font-size: 16px; }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 14px; }
.btn-gold { background: var(--gold); color: var(--purple); }
.btn-gold:hover { color: var(--purple); background: #F5C55A; box-shadow: 0 10px 24px -10px rgba(240, 183, 59, .8); }
.btn-purple { background: var(--purple); color: var(--white); }
.btn-purple:hover { color: var(--white); background: var(--purple-2); box-shadow: 0 12px 26px -12px rgba(54, 32, 90, .7); }
.btn-outline { min-height: 46px; padding: 0 20px; border: 1px solid var(--purple); color: var(--purple); background: transparent; }
.btn-outline:hover { background: var(--purple); color: var(--white); }
.btn-ghost-light { border: 1px solid rgba(255, 255, 255, .7); color: var(--white); background: transparent; }
.btn-ghost-light:hover { color: var(--purple); background: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-weight: 600; font-size: 16px; color: var(--purple); text-decoration: underline; text-underline-offset: 5px;
}
.link-arrow svg { transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-head {
  position: absolute; top: 0; left: 0; right: 0; z-index: 30;
  padding: 24px max(40px, calc((100% - 1240px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.site-head.is-stuck {
  position: fixed; padding-top: 12px; padding-bottom: 12px;
  background: rgba(245, 241, 250, .9);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(54, 32, 90, .08), 0 10px 30px -18px rgba(54, 32, 90, .35);
  animation: headDown .45s var(--ease-out) both;
}
@keyframes headDown { from { transform: translateY(-100%); } to { transform: translateY(0); } }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--purple); }
.brand img { height: 44px; width: auto; transition: height .3s var(--ease); }
.is-stuck .brand img { height: 38px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -.02em; color: var(--purple); }
.brand-sub { margin-top: 3px; font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.pill {
  display: flex; align-items: center; gap: 6px;
  background: var(--purple);
  border-radius: 999px; padding: 6px 6px 6px 22px;
}
.is-stuck .pill { background: var(--purple); }
.pill-links { display: flex; align-items: center; gap: 26px; margin-right: 14px; font-size: 14px; font-weight: 500; }
.pill-links a { position: relative; color: var(--white); text-decoration: none; padding: 6px 0; }
.pill-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.pill-links a:hover, .pill-links a.active { color: var(--white); }
.pill-links a:hover::after, .pill-links a.active::after { transform: scaleX(1); }
.pill .btn-pill { min-height: 44px; padding: 0 20px; font-size: 14px; }
.menu-btn {
  display: none; align-items: center; justify-content: center; width: 44px; height: 44px;
  border: 0; border-radius: 999px; background: transparent; color: var(--white); cursor: pointer;
}

.mobile-menu {
  position: fixed; inset: 0; z-index: 60; background: var(--purple); color: var(--white);
  display: flex; flex-direction: column; justify-content: center; gap: 36px; padding: 96px 32px 48px;
  opacity: 0; transition: opacity .3s var(--ease);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu.open { opacity: 1; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 8px; }
.mobile-menu nav a {
  font-family: var(--display); font-weight: 600; font-size: 36px; letter-spacing: -.02em; line-height: 1.2;
  color: var(--white); text-decoration: none;
  opacity: 0; transform: translateY(16px); transition: opacity .4s var(--ease-out), transform .4s var(--ease-out);
}
.mobile-menu.open nav a { opacity: 1; transform: none; }
.mobile-menu.open nav a:nth-child(2) { transition-delay: .05s; }
.mobile-menu.open nav a:nth-child(3) { transition-delay: .1s; }
.mobile-menu.open nav a:nth-child(4) { transition-delay: .15s; }
.mobile-menu.open nav a:nth-child(5) { transition-delay: .2s; }
.mobile-menu nav a:hover { color: var(--gold); }
.mobile-menu .btn { align-self: flex-start; }
.menu-close {
  position: absolute; top: 24px; right: 24px; width: 48px; height: 48px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .3); background: transparent; color: var(--white); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
body.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 40%; gap: 0;
  width: min(1240px, 100% - 80px); margin: 0 auto; padding: 128px 0 80px;
}
.hero-panel {
  padding: 40px 48px 40px 0;
  display: flex; flex-direction: column; justify-content: center; gap: 24px;
}
.hero-title {
  max-width: 540px; font-family: var(--display); font-weight: 600;
  font-size: clamp(40px, 4.4vw, 62px); line-height: 1.06; letter-spacing: -.03em; color: var(--purple);
}
.hero-lede { max-width: 460px; font-size: 18px; line-height: 1.6; color: var(--ink); }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 8px; }
.hero-scene { position: relative; overflow: hidden; background: #7E876C; min-height: 600px; border-radius: 32px; }
.hero-scene-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-card {
  position: absolute; z-index: 2; left: calc(60% - 150px); top: 236px; width: 300px; height: 360px;
  border-radius: 32px; overflow: hidden; background: #C9B48A; border: 6px solid var(--lilac);
  box-shadow: 0 30px 60px -30px rgba(40, 22, 68, .45);
}
.hero-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.squiggle { position: absolute; right: 28px; bottom: 100px; z-index: 2; }

/* ---------- Track record ---------- */
.record {
  background: var(--lilac-2); border-radius: 28px; padding: 72px 48px;
  display: flex; flex-direction: column; align-items: center; gap: 48px;
}
.sec-white#track-record { padding-top: 96px; padding-bottom: 96px; }
.stats { width: 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.stat {
  background: var(--lilac-3); border-radius: 16px; padding: 28px 28px 32px; min-height: 250px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .35s;
}
.stat:hover { transform: translateY(-6px); background: #E3D8F1; box-shadow: 0 22px 40px -26px rgba(54, 32, 90, .55); }
.stat-big {
  font-family: var(--display); font-weight: 700; font-size: 32px; line-height: 1.05;
  letter-spacing: -.02em; text-transform: uppercase; color: var(--purple);
}
.count { font-variant-numeric: tabular-nums; }
.stat-text { max-width: 300px; font-size: 15px; line-height: 1.5; color: var(--ink); }

/* ---------- Section heads ---------- */
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.sec-head-l { display: flex; flex-direction: column; gap: 14px; }
.sec-head-r { max-width: 380px; font-size: 17px; line-height: 1.55; color: var(--light); }
.wwd { display: flex; flex-direction: column; gap: 48px; }

/* ---------- What we do accordion ---------- */
.acc { display: flex; gap: 12px; height: 520px; }
.acc-p {
  position: relative; flex: 1 1 0; min-width: 0; border-radius: 18px; overflow: hidden; cursor: pointer;
  transition: flex .6s var(--ease);
  background: #5E6B73;
}
.acc-p.on { flex: 3.4 1 0; cursor: default; }
.acc-p > img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.06); transition: transform 1.2s var(--ease);
}
.acc-p.on > img { transform: scale(1); }
.acc-shade { position: absolute; inset: 0; background: rgba(30, 16, 52, .5); transition: background .45s var(--ease); }
.acc-p.on .acc-shade { background: linear-gradient(180deg, rgba(30, 16, 52, .15) 0%, rgba(30, 16, 52, .45) 100%); }
.acc-p:not(.on):hover .acc-shade { background: rgba(30, 16, 52, .38); }
.acc-name {
  position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center; padding: 24px;
  transition: opacity .3s var(--ease);
}
.acc-name p {
  text-align: center; font-family: var(--display); font-weight: 600; font-size: 26px; line-height: 1.1;
  letter-spacing: -.02em; color: var(--white);
}
.acc-detail {
  position: absolute; inset: 0; z-index: 2; padding: 36px;
  display: flex; flex-direction: column; justify-content: space-between;
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility 0s linear .3s;
}
.acc-p.on .acc-name { opacity: 0; }
.acc-p.on .acc-detail { opacity: 1; visibility: visible; transition: opacity .45s var(--ease) .25s, visibility 0s; }
.acc-detail h3 {
  max-width: 560px; font-family: var(--display); font-weight: 700; font-size: clamp(36px, 3.6vw, 52px);
  line-height: 1; letter-spacing: -.03em; text-transform: uppercase; color: var(--white);
  transform: translateY(14px); transition: transform .6s var(--ease-out) .25s;
}
.acc-p.on .acc-detail h3 { transform: none; }
.acc-foot {
  border-top: 1px solid rgba(255, 255, 255, .5); padding-top: 22px;
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px;
}
.acc-copy { max-width: 440px; }
.acc-stat { font-family: var(--display); font-weight: 700; font-size: 36px; line-height: 1; letter-spacing: -.03em; color: var(--gold); }
.acc-text { max-width: 420px; font-size: 17px; line-height: 1.5; color: #F6F2FA; }
.acc-text-sm { margin-top: 6px; font-size: 15px; color: #EAE4F2; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tag {
  font-size: 13px; font-weight: 500; color: var(--white); background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .4); border-radius: 999px; padding: 5px 12px;
}
.acc-foot .btn { flex: none; }

/* ---------- Services ---------- */
.svc-outer { background: var(--white); padding: 104px 40px 0; }
.svc { position: relative; display: flex; min-height: 680px; max-width: 1240px; margin: 0 auto; background: #4E3A6A; overflow: hidden; border-radius: 32px; }
.svc-photo { position: relative; flex: 1 1 56%; overflow: hidden; }
.svc-photo img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; will-change: transform; }
.svc-panel {
  flex: 0 0 46%; max-width: 600px; background: rgba(40, 22, 68, .96); color: var(--white);
  padding: 64px 56px; display: flex; flex-direction: column; justify-content: center; gap: 28px;
}
.svc-head { display: flex; flex-direction: column; gap: 16px; }
.svc-list { border-top: 1px solid rgba(255, 255, 255, .22); }
.svc-list details { border-bottom: 1px solid rgba(255, 255, 255, .22); }
.svc-list summary {
  display: flex; align-items: center; gap: 16px; min-height: 64px; list-style: none; cursor: pointer;
}
.svc-list summary::-webkit-details-marker { display: none; }
.num {
  flex: none; display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px;
  border: 1px solid rgba(255, 255, 255, .7); border-radius: 999px; font-size: 13px; font-weight: 600;
  transition: color .25s, border-color .25s, background-color .25s;
}
details[open] .num { color: var(--gold); border-color: var(--gold); }
summary:hover .num { border-color: var(--gold); }
.svc-title { flex: 1; font-family: var(--display); font-weight: 600; font-size: 21px; letter-spacing: -.015em; }
.plus { flex: none; transition: transform .3s var(--ease); }
details[open] .plus { transform: rotate(45deg); }
.svc-body { overflow: hidden; }
.svc-body p { margin: 0 0 22px 46px; max-width: 440px; font-size: 16px; line-height: 1.55; color: #E0D8EC; }
.svc-foot { display: flex; flex-direction: column; gap: 18px; }
.svc-foot p { max-width: 420px; }

/* ---------- About ---------- */
.about-panel { background: var(--lilac); border-radius: 44px; padding: 72px; }
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; align-items: center; }
.about-media { position: relative; }
.about-photo { position: relative; overflow: hidden; height: 580px; border-radius: 48px; background: var(--lilac-3); }
.about-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 45% 20%; transition: transform 1.2s var(--ease); }
.about-media:hover .about-photo img { transform: scale(1.03); }
.sprig { position: absolute; left: -44px; bottom: -36px; }
.about-copy { display: flex; flex-direction: column; gap: 36px; }
.about-block { display: flex; flex-direction: column; gap: 12px; }
.about-block p, .values p:not(.value-h) { font-size: 17px; line-height: 1.6; color: var(--ink); }
.h-about { font-family: var(--display); font-weight: 600; font-size: 32px; line-height: 1.08; letter-spacing: -.03em; color: var(--purple); }
.h-about-sm { font-family: var(--display); font-weight: 600; font-size: 24px; line-height: 1.1; letter-spacing: -.025em; color: var(--purple); }
.values-wrap { border-top: 1px solid rgba(54, 32, 90, .18); padding-top: 28px; display: flex; flex-direction: column; gap: 18px; }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.values p:not(.value-h) { font-size: 15px; line-height: 1.5; }
.value-h { margin: 0 0 6px; font-family: var(--display); font-weight: 600; font-size: 19px; letter-spacing: -.02em; color: var(--purple); }

/* ---------- Insights ---------- */
.sec-insights { padding: 24px 40px 112px; }
.sec-insights .wrap { display: flex; flex-direction: column; gap: 48px; }
.ins-intro { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; color: var(--ink); }
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.post { display: flex; flex-direction: column; gap: 16px; color: var(--purple); text-decoration: none; }
.post-img { position: relative; overflow: hidden; height: 230px; border-radius: 12px; background: #8E9A6E; }
.post-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post:hover .post-img img { transform: scale(1.06); }
.post-tag { align-self: flex-start; font-size: 13px; font-weight: 500; color: var(--ink); background: var(--lilac); padding: 5px 10px; border-radius: 6px; }
.post-title { font-family: var(--display); font-weight: 600; font-size: 21px; line-height: 1.2; letter-spacing: -.015em; }
.post.is-link:hover .post-title { text-decoration: underline; text-underline-offset: 4px; }
.post-meta {
  margin-top: auto; padding-bottom: 14px; border-bottom: 1px solid rgba(54, 32, 90, .18);
  font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #6A5A80;
}

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.contact-l { display: flex; flex-direction: column; gap: 48px; }
.contact-head { display: flex; flex-direction: column; gap: 16px; }
.contact-head .muted-light { max-width: 440px; }
.cgroups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; }
.cgroup { display: flex; flex-direction: column; gap: 10px; }
.cgroup-h { font-family: var(--display); font-weight: 500; font-size: 15px; color: var(--gold); }
.cgroup-link, .cgroup-text a {
  display: inline-flex; align-items: center; gap: 6px; color: var(--white); font-size: 16px; font-weight: 500; text-decoration: none;
  word-break: break-word;
}
.cgroup-link:hover, .cgroup-text a:hover { color: var(--gold); }
.cgroup-text { font-size: 16px; font-weight: 500; line-height: 1.5; color: var(--white); }
.cgroup-sub { color: var(--light); font-weight: 400; }

.cform {
  background: var(--purple-mid); border: 1px solid rgba(255, 255, 255, .08); border-radius: 18px; padding: 40px;
  display: flex; flex-direction: column; gap: 14px;
}
.cform-h { margin: 0 0 12px; font-family: var(--display); font-weight: 600; font-size: 24px; line-height: 1.2; letter-spacing: -.02em; color: var(--white); }
.frow { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.lbl { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 500; color: var(--gold); }
.field {
  width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid transparent; border-radius: 8px;
  background: var(--purple-field); color: var(--white); font: inherit; font-size: 15px;
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.field::placeholder { color: #A898C4; }
.field:focus { outline: none; border-color: var(--gold); background: #4F2F79; box-shadow: 0 0 0 3px rgba(240, 183, 59, .18); }
.field.bad { border-color: #FF8A80; }
textarea.field { resize: vertical; min-height: 120px; }
.select-wrap { position: relative; display: block; }
select.field { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer; }
select.field option { color: var(--purple); background: var(--white); }
.select-wrap svg { position: absolute; right: 14px; top: 17px; pointer-events: none; color: var(--gold); }
.ferr { min-height: 0; font-size: 12.5px; font-weight: 500; color: #FFB4AC; }
.ferr:empty { display: none; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.cform-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 8px; }
.consent { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 13px; color: var(--light); cursor: pointer; }
.consent input { width: 18px; height: 18px; accent-color: var(--gold); flex: none; }
.consent a { color: var(--white); }
.submit { min-height: 48px; padding: 0 24px; }
.submit[disabled] { opacity: .7; cursor: progress; transform: none; }
.submit.loading .submit-label::after { content: "…"; }
.form-msg { padding: 12px 14px; border-radius: 10px; font-size: 14px; font-weight: 500; animation: fadeIn .4s var(--ease) both; }
.form-msg.is-ok { background: rgba(240, 183, 59, .16); border: 1px solid rgba(240, 183, 59, .6); color: var(--white); }
.form-msg.is-err { background: rgba(255, 138, 128, .14); border: 1px solid rgba(255, 138, 128, .6); color: #FFE1DD; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ---------- Footer ---------- */
.foot { background: var(--purple); color: var(--white); padding: 0 40px; overflow: hidden; }
.foot-inner { border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 64px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.foot-intro { display: flex; flex-direction: column; gap: 18px; }
.foot-intro img { height: 120px; width: auto; align-self: flex-start; }
.foot-slogan { font-family: var(--display); font-weight: 600; font-size: 24px; line-height: 1.2; letter-spacing: -.02em; }
.foot-tag { max-width: 300px; font-size: 15px; line-height: 1.55; color: var(--gold); }
.foot-col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.foot-h { margin: 0 0 4px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #A897C6; }
.foot a { color: #EAE4F2; text-decoration: none; align-self: flex-start; word-break: break-word; }
.foot a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.foot-copy { margin-top: 12px; font-size: 13px; color: #A897C6; }
.foot-word { max-width: 1360px; margin: 72px auto 0; font-size: clamp(80px, 19.5vw, 300px); height: .74em; overflow: hidden; text-align: center; }
.foot-word span {
  display: block; font-family: var(--display); font-weight: 800; line-height: .92; letter-spacing: -.05em;
  color: #4A2F75; white-space: nowrap;
}

/* ---------- Legal page ---------- */
.legal-head { background: var(--lilac); padding: 160px 40px 56px; }
.legal-head h1 { font-family: var(--display); font-weight: 600; font-size: clamp(36px, 4.2vw, 54px); letter-spacing: -.03em; line-height: 1.04; }
.legal-head p { margin-top: 14px; color: var(--ink); }
.legal { background: var(--white); padding: 64px 40px 104px; }
.legal .wrap { max-width: 760px; }
.legal h2 { margin: 40px 0 12px; font-family: var(--display); font-weight: 700; font-size: 26px; letter-spacing: -.02em; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--ink); line-height: 1.65; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 22px; }
.page-legal .site-head .pill { background: var(--purple); }

/* ---------- Animations ---------- */
.js .reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 110ms);
}
.js .reveal.in { opacity: 1; transform: none; }

.js .hero-in { opacity: 0; transform: translateY(24px); animation: rise .9s var(--ease-out) forwards; animation-delay: calc(150ms + var(--d, 0) * 120ms); }
@keyframes rise { to { opacity: 1; transform: none; } }

.js .hero-title .mark { background-size: 0% 100%; animation: markIn 1s var(--ease-out) .9s forwards; }
.js #track-record .mark { background-size: 0% 100%; transition: background-size 1s var(--ease-out) .35s; }
.js #track-record .reveal.in .mark { background-size: 100% 100%; }
.js #insights .mark { background-size: 0% 100%; transition: background-size 1s var(--ease-out) .35s; }
.js #insights .reveal.in .mark { background-size: 100% 100%; }
@keyframes markIn { to { background-size: 100% 100%; } }

.js .hero-scene-img { transform: scale(1.12); animation: zoomOut 2.2s var(--ease-out) forwards; }
@keyframes zoomOut { to { transform: scale(1); } }
.js .hero-card { opacity: 0; transform: translateY(40px) rotate(-3deg); animation: cardIn 1.1s var(--ease-out) .55s forwards; }
@keyframes cardIn { to { opacity: 1; transform: none; } }
.hero-card img { animation: float 9s ease-in-out 2s infinite; }
@keyframes float { 0%, 100% { transform: scale(1.04) translateY(0); } 50% { transform: scale(1.04) translateY(-10px); } }

.js .draw { stroke-dasharray: 600; stroke-dashoffset: 600; }
.js .squiggle .draw { animation: draw 2.2s var(--ease) 1.2s forwards; }
.js .sprig.in .draw { animation: draw 1.8s var(--ease) forwards; }
.js .sprig.in .draw:nth-child(2) { animation-delay: .5s; }
.js .sprig.in .draw:nth-child(3) { animation-delay: .7s; }
.js .sprig.in .draw:nth-child(4) { animation-delay: .9s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.js .foot-word span { transform: translateY(60%); transition: transform 1.4s var(--ease-out); }
.js .foot-word.in span { transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal, .js .hero-in, .js .hero-card { opacity: 1; transform: none; }
  .js .draw { stroke-dashoffset: 0; }
  .js .mark { background-size: 100% 100% !important; }
  .hero-card img { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hero-card { width: 240px; height: 300px; left: calc(60% - 120px); top: 266px; }
  .svc-panel { padding: 64px 40px; }
  .about-panel { padding: 56px 40px; }
  .about { gap: 48px; }
  .acc-detail { padding: 28px; }
}

@media (max-width: 960px) {
  .pill-links { display: none; }
  .menu-btn { display: inline-flex; }
}

@media (max-width: 860px) {
  body { font-size: 16px; }
  .site-head { padding: 16px; }
  .site-head.is-stuck { padding: 10px 16px; }
  .brand img { height: 38px; }
  .brand-name { font-size: 19px; }
  .pill { padding: 5px; }
  .pill .btn-pill { display: none; }
  .menu-btn { background: transparent; }
  .sec { padding: 72px 16px; }

  .hero { grid-template-columns: 1fr; width: calc(100% - 32px); padding: 96px 0 24px; }
  .hero-panel { padding: 24px 0 40px; gap: 20px; }
  .hero-lede { font-size: 17px; }
  .hero-scene { height: 380px; min-height: 0; border-radius: 24px; }
  .hero-card { left: 16px; top: auto; bottom: 40px; width: 42%; height: 220px; border-radius: 24px; border-width: 5px; box-shadow: none; }
  .squiggle { display: none; }

  .record { padding: 48px 20px; border-radius: 22px; }
  #track-record { padding-top: 56px; padding-bottom: 56px; }
  .stat { min-height: 0; gap: 28px; }
  .stat-big { font-size: 28px; }

  .acc { flex-direction: column; height: auto; }
  .acc-p, .acc-p.on { flex: none; height: 420px; cursor: default; }
  .acc-p > img { transform: none; }
  .acc-name { display: none; }
  .acc-detail { opacity: 1; visibility: visible; padding: 24px; transition: none; }
  .acc-detail h3 { transform: none; font-size: 34px; }
  .acc-shade, .acc-p.on .acc-shade { background: linear-gradient(180deg, rgba(30, 16, 52, .2), rgba(30, 16, 52, .65)); }
  .acc-stat { font-size: 30px; }
  .acc-text { font-size: 15px; }

  .svc-outer { padding: 72px 16px 0; }
  .svc { flex-direction: column; min-height: 0; border-radius: 24px; }
  .svc-photo { flex: none; height: 300px; }
  .svc-panel { flex: none; max-width: none; padding: 48px 20px; }
  .svc-body p { margin-left: 0; }

  .about-panel { padding: 32px 20px; border-radius: 28px; }
  .about { grid-template-columns: 1fr; gap: 48px; }
  .about-photo { height: 400px; border-radius: 32px; }
  .sprig { left: -16px; bottom: -40px; width: 110px; height: 110px; }
  .values { grid-template-columns: 1fr; }

  .sec-insights { padding: 8px 16px 80px; }
  .posts { grid-template-columns: 1fr; gap: 36px; }

  .contact { grid-template-columns: 1fr; gap: 48px; }
  .cgroups, .frow { grid-template-columns: 1fr; }
  .cform { padding: 24px 18px; }
  .submit { width: 100%; }
  .cform-foot > div { width: 100%; }

  .foot { padding: 0 16px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .foot-intro { grid-column: 1 / -1; }
  .foot-intro img { height: 96px; }
  .legal-head { padding: 120px 20px 40px; }
}

@media (max-width: 420px) {
  .foot-grid { grid-template-columns: 1fr; }
  .hero-ctas { gap: 16px; }
}
