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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }

:root {
  --primary: #4338ca;
  --primary-dark: #312e9e;
  --primary-soft: #eef0fb;
  --accent: #f97316;
  --accent-dark: #d95c06;
  --bg: #f5f6fb;
  --tint: #e9edfb;
  --light: #f7f8fa;
  --white: #ffffff;
  --ink: #12142b;
  --ink-soft: #262a4d;
  --muted: #5f6484;
  --line: #e5e8f3;
  --radius: 18px;
  --radius-img: 14px;
  --shadow-sm: 0 10px 26px rgba(18, 20, 43, .07);
  --shadow: 0 22px 48px rgba(18, 20, 43, .10);
  --wrap: 1200px;
  --head-h: 78px;
}

.container {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .02em;
  transition: transform .28s ease, box-shadow .28s ease, background .28s ease, color .28s ease;
  white-space: nowrap;
}

.btn i { font-size: 14px; }

.btn:hover { transform: translateY(-3px); }

.btn[data-variant="solid"] {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 12px 26px rgba(249, 115, 22, .32);
}

.btn[data-variant="solid"]:hover {
  background: var(--accent-dark);
  box-shadow: 0 16px 32px rgba(249, 115, 22, .4);
}

.btn[data-variant="ghost"] {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, .5);
}

.btn[data-variant="ghost"]:hover {
  background: rgba(255, 255, 255, .14);
  border-color: var(--white);
}

.btn[data-variant="dark"] {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 12px 26px rgba(67, 56, 202, .3);
}

.btn[data-variant="dark"]:hover { background: var(--primary-dark); }

/* ============ header ============ */
#site-head {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 90;
  background: rgba(14, 16, 38, .88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .09);
  transition: background .3s ease, box-shadow .3s ease;
}

#site-head[data-scrolled="true"] {
  background: rgba(11, 13, 32, .96);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .28);
}

#site-head .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: var(--head-h);
}

#site-head .container > a {
  display: flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
}

#site-head .container > a img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 6px 16px rgba(249, 115, 22, .3);
}

#site-head .container > a span {
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1.4;
  color: var(--white);
  letter-spacing: .01em;
  max-width: 240px;
}

#site-nav ul {
  display: flex;
  align-items: center;
  gap: 6px;
}

#site-nav li { position: relative; }

#site-nav a {
  display: block;
  padding: 9px 14px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, .78);
  transition: color .25s ease, background .25s ease;
}

#site-nav a:hover,
#site-nav a[data-active="true"] {
  color: var(--white);
  background: rgba(255, 255, 255, .1);
}

#site-nav a[data-active="true"]::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}

#site-head .container > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

#site-head .container > div .btn { padding: 10px 20px; font-size: 14px; }

#nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .2);
  color: var(--white);
  font-size: 18px;
}

/* ============ hero ============ */
#hero {
  position: relative;
  min-height: 660px;
  display: flex;
  align-items: center;
  padding: calc(var(--head-h) + 70px) 0 90px;
  overflow: hidden;
  background: #0c0e22;
}

#hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

#hero-slides img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.4s ease, transform 8s linear;
}

#hero-slides img[data-active="true"] {
  opacity: 1;
  transform: scale(1.12);
}

#hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(1200px 620px at 15% 30%, rgba(67, 56, 202, .55), transparent 62%),
    linear-gradient(180deg, rgba(9, 11, 28, .82) 0%, rgba(9, 11, 28, .68) 45%, rgba(9, 11, 28, .92) 100%);
}

#hero .container {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
}

#hero .container > span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  color: #ffd9b8;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .06em;
}

#hero h1 {
  margin: 26px 0 0;
  font-size: clamp(32px, 5.4vw, 62px);
  line-height: 1.18;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -.01em;
}

#hero h1 em {
  font-style: normal;
  background: linear-gradient(92deg, var(--accent) 0%, #ffd166 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

#hero .container > p {
  margin: 22px auto 0;
  max-width: 720px;
  font-size: 17px;
  color: rgba(255, 255, 255, .8);
}

#hero .container > div {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

#hero .container > ul {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  padding-top: 26px;
}

#hero .container > ul li strong {
  display: block;
  font-size: 28px;
  font-weight: 900;
  color: var(--white);
}

#hero .container > ul li span {
  font-size: 13.5px;
  color: rgba(255, 255, 255, .62);
}

#hero-dots {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  display: flex;
  gap: 9px;
}

#hero-dots button {
  width: 30px;
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, .32);
  transition: background .3s ease, width .3s ease;
}

#hero-dots button[data-active="true"] {
  width: 48px;
  background: var(--accent);
}

/* ============ page banner ============ */
#page-banner {
  position: relative;
  padding: calc(var(--head-h) + 76px) 0 72px;
  background: #0c0e22;
  overflow: hidden;
  text-align: center;
}

#page-banner > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .35;
}

#page-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 11, 28, .86), rgba(9, 11, 28, .78));
}

#page-banner .container { position: relative; z-index: 2; }

#page-banner h1 {
  font-size: clamp(28px, 4.4vw, 48px);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 14px;
}

#page-banner .container > p {
  color: rgba(255, 255, 255, .74);
  max-width: 720px;
  margin: 0 auto;
}

#page-banner .container > p:last-of-type {
  margin-top: 22px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, .6);
}

#page-banner .container > p:last-of-type a { color: var(--accent); font-weight: 700; }

/* ============ block rhythm ============ */
.story-q4m, .expertise-q4m, .edge-q4m, .showcase-q4m, .journey-q4m, .crew-q4m,
.voices-q4m, .queries-q4m, .allies-q4m, .laurels-q4m, .reach-q4m, .cta-q4m,
.updates-q4m, .listing-q4m, .reading-q4m {
  padding: 92px 0;
}

.story-q4m { background: var(--tint); }
.expertise-q4m { background: var(--white); }
.edge-q4m { background: var(--white); }
.showcase-q4m { background: var(--light); }
.updates-q4m { background: var(--white); }
.journey-q4m { background: var(--tint); }
.laurels-q4m { background: var(--white); }
.crew-q4m { background: var(--tint); }
.allies-q4m { background: var(--white); }
.voices-q4m { background: var(--tint); }
.queries-q4m { background: var(--white); }
.reach-q4m { background: var(--tint); }

.story-q4m header, .expertise-q4m header, .edge-q4m header, .showcase-q4m header,
.updates-q4m header, .journey-q4m header, .crew-q4m header, .voices-q4m header,
.queries-q4m header, .allies-q4m header, .laurels-q4m header, .reach-q4m header,
.listing-q4m header {
  max-width: 760px;
  margin: 0 auto 46px;
  text-align: center;
}

.story-q4m header > p:first-child, .expertise-q4m header > p:first-child,
.edge-q4m header > p:first-child, .showcase-q4m header > p:first-child,
.updates-q4m header > p:first-child, .journey-q4m header > p:first-child,
.crew-q4m header > p:first-child, .voices-q4m header > p:first-child,
.queries-q4m header > p:first-child, .allies-q4m header > p:first-child,
.laurels-q4m header > p:first-child, .reach-q4m header > p:first-child,
.listing-q4m header > p:first-child {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.story-q4m header h2, .expertise-q4m header h2, .edge-q4m header h2,
.showcase-q4m header h2, .updates-q4m header h2, .journey-q4m header h2,
.crew-q4m header h2, .voices-q4m header h2, .queries-q4m header h2,
.allies-q4m header h2, .laurels-q4m header h2, .reach-q4m header h2,
.listing-q4m header h2 {
  font-size: clamp(25px, 3.4vw, 38px);
  font-weight: 900;
  line-height: 1.32;
  color: var(--ink);
  letter-spacing: -.01em;
}

.story-q4m header > p:last-child, .expertise-q4m header > p:last-child,
.edge-q4m header > p:last-child, .showcase-q4m header > p:last-child,
.updates-q4m header > p:last-child, .journey-q4m header > p:last-child,
.crew-q4m header > p:last-child, .voices-q4m header > p:last-child,
.queries-q4m header > p:last-child, .allies-q4m header > p:last-child,
.laurels-q4m header > p:last-child, .reach-q4m header > p:last-child,
.listing-q4m header > p:last-child {
  margin-top: 16px;
  font-size: 16px;
  color: var(--muted);
}

/* ============ story ============ */
.story-q4m .container > div {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: center;
}

.story-q4m .container > div > figure img {
  width: 100%;
  border-radius: var(--radius-img);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.story-q4m .container > div > div h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 14px;
}

.story-q4m .container > div > div p {
  color: var(--muted);
  margin-bottom: 20px;
}

.story-q4m .container > div > div ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 20px;
  margin-bottom: 28px;
}

.story-q4m .container > div > div ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--ink-soft);
}

.story-q4m .container > div > div ul li i {
  margin-top: 5px;
  color: var(--primary);
  font-size: 15px;
}

/* ============ expertise ============ */
.expertise-q4m ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.expertise-q4m ul li {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.expertise-q4m ul li:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: rgba(67, 56, 202, .3);
}

.expertise-q4m ul li i {
  width: 54px;
  height: 54px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 21px;
  margin-bottom: 18px;
}

.expertise-q4m ul li:nth-child(even) i {
  background: rgba(249, 115, 22, .12);
  color: var(--accent);
}

.expertise-q4m ul li h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--ink);
}

.expertise-q4m ul li p {
  font-size: 14.5px;
  color: var(--muted);
}

/* ============ edge ============ */
.edge-q4m ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.edge-q4m ul li {
  position: relative;
  padding: 34px 28px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--white) 0%, #f3f4fd 100%);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}

.edge-q4m ul li::after {
  content: "";
  position: absolute;
  right: -30px;
  top: -30px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: rgba(67, 56, 202, .07);
}

.edge-q4m ul li:hover { transform: translateY(-8px); box-shadow: var(--shadow); }

.edge-q4m ul li i {
  position: relative;
  font-size: 24px;
  color: var(--accent);
  margin-bottom: 16px;
  display: block;
}

.edge-q4m ul li h3 {
  position: relative;
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 10px;
}

.edge-q4m ul li p {
  position: relative;
  font-size: 14.5px;
  color: var(--muted);
}

/* ============ showcase ============ */
.showcase-q4m ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.showcase-q4m ul li {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .32s ease, box-shadow .32s ease;
}

.showcase-q4m ul li:hover { transform: translateY(-8px); box-shadow: var(--shadow); }

.showcase-q4m ul li > figure { position: relative; overflow: hidden; }

.showcase-q4m ul li > figure img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius-img);
  transition: transform .6s ease;
}

.showcase-q4m ul li:hover > figure img { transform: scale(1.07); }

.showcase-q4m ul li > figure span {
  position: absolute;
  left: 16px;
  top: 16px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(12, 14, 34, .76);
  color: var(--white);
  font-size: 12.5px;
  font-weight: 700;
  backdrop-filter: blur(4px);
}

.showcase-q4m ul li > div { padding: 22px 24px 26px; }

.showcase-q4m ul li > div h3 {
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 10px;
}

.showcase-q4m ul li > div > p:first-of-type {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 12px;
}

.showcase-q4m ul li > div > p:first-of-type span { display: inline-flex; align-items: center; gap: 6px; }

.showcase-q4m ul li > div > p:last-of-type {
  font-size: 14.5px;
  color: var(--muted);
  margin-bottom: 16px;
}

.showcase-q4m ul li > div > a {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.showcase-q4m ul li > div > a i { transition: transform .3s ease; }

.showcase-q4m ul li > div > a:hover i { transform: translateX(5px); }

/* ============ updates ============ */
.updates-q4m ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.updates-q4m ul li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .32s ease, box-shadow .32s ease;
}

.updates-q4m ul li:hover { transform: translateY(-8px); box-shadow: var(--shadow); }

.updates-q4m ul li > figure { overflow: hidden; }

.updates-q4m ul li > figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-img);
  transition: transform .6s ease;
}

.updates-q4m ul li:hover > figure img { transform: scale(1.07); }

.updates-q4m ul li > div { padding: 22px 24px 26px; }

.updates-q4m ul li > div h3 {
  font-size: 18.5px;
  font-weight: 800;
  margin-bottom: 10px;
}

.updates-q4m ul li > div > p:first-of-type {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 12px;
}

.updates-q4m ul li > div > p:first-of-type span { display: inline-flex; align-items: center; gap: 6px; }

.updates-q4m ul li > div > p:last-of-type {
  font-size: 14.5px;
  color: var(--muted);
}

/* ============ journey ============ */
.journey-q4m ol {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  counter-reset: step;
}

.journey-q4m ol li {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 22px 26px;
  border: 1px solid var(--line);
  text-align: center;
  counter-increment: step;
}

.journey-q4m ol li::before {
  content: counter(step, decimal-leading-zero);
  width: 58px;
  height: 58px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--white);
  font-weight: 900;
  font-size: 18px;
  box-shadow: 0 10px 22px rgba(67, 56, 202, .28);
}

.journey-q4m ol li:nth-child(even)::before {
  background: var(--accent);
  box-shadow: 0 10px 22px rgba(249, 115, 22, .3);
}

.journey-q4m ol li h3 { font-size: 17.5px; font-weight: 800; margin-bottom: 9px; }

.journey-q4m ol li p { font-size: 14px; color: var(--muted); }

/* ============ laurels ============ */
.laurels-q4m ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.laurels-q4m ul li {
  text-align: center;
  padding: 34px 22px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--line);
  transition: transform .3s ease, box-shadow .3s ease;
}

.laurels-q4m ul li:hover { transform: translateY(-7px); box-shadow: var(--shadow-sm); }

.laurels-q4m ul li i {
  font-size: 26px;
  color: var(--accent);
  display: block;
  margin-bottom: 14px;
}

.laurels-q4m ul li strong {
  display: block;
  font-size: 38px;
  font-weight: 900;
  line-height: 1.2;
  color: var(--primary);
}

.laurels-q4m ul li h3 {
  margin-top: 8px;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink);
}

.laurels-q4m ul li span {
  display: block;
  margin-top: 6px;
  font-size: 13.5px;
  color: var(--muted);
}

/* ============ crew ============ */
.crew-q4m ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.crew-q4m ul li {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 26px;
  text-align: center;
  border: 1px solid var(--line);
  transition: transform .3s ease, box-shadow .3s ease;
}

.crew-q4m ul li:hover { transform: translateY(-8px); box-shadow: var(--shadow); }

.crew-q4m ul li > figure {
  width: 118px;
  height: 118px;
  margin: 0 auto 18px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--white);
  box-shadow: 0 12px 26px rgba(67, 56, 202, .18);
}

.crew-q4m ul li > figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.crew-q4m ul li h3 { font-size: 18.5px; font-weight: 800; margin-bottom: 5px; }

.crew-q4m ul li > span {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 10px;
}

.crew-q4m ul li > p { font-size: 14px; color: var(--muted); margin-bottom: 16px; }

.crew-q4m ul li > div {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.crew-q4m ul li > div a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 14px;
  transition: background .3s ease, color .3s ease, transform .3s ease;
}

.crew-q4m ul li > div a:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}

/* ============ allies ============ */
.allies-q4m ul {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.allies-q4m ul li {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.allies-q4m ul li:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(67, 56, 202, .28);
}

.allies-q4m ul li img {
  max-height: 46px;
  width: auto;
  object-fit: contain;
}

/* ============ voices ============ */
.voices-q4m ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.voices-q4m ul li {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 28px;
  border: 1px solid var(--line);
  transition: transform .3s ease, box-shadow .3s ease;
}

.voices-q4m ul li:hover { transform: translateY(-6px); box-shadow: var(--shadow-sm); }

.voices-q4m ul li > div:first-child {
  display: flex;
  gap: 4px;
  color: var(--accent);
  font-size: 14px;
  margin-bottom: 14px;
}

.voices-q4m ul li > p {
  font-size: 15px;
  color: var(--ink-soft);
  margin-bottom: 20px;
}

.voices-q4m ul li > div:last-child {
  display: flex;
  align-items: center;
  gap: 13px;
}

.voices-q4m ul li > div:last-child img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
}

.voices-q4m ul li > div:last-child h3 { font-size: 16px; font-weight: 800; }

.voices-q4m ul li > div:last-child span { font-size: 13px; color: var(--muted); }

/* ============ queries ============ */
.queries-q4m .container > div {
  max-width: 880px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.queries-q4m .container > div > div {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow .3s ease;
}

.queries-q4m .container > div > div[data-open="true"] { box-shadow: var(--shadow-sm); }

.queries-q4m .container > div > div > button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  text-align: left;
  font-size: 16.5px;
  font-weight: 700;
  color: var(--ink);
}

.queries-q4m .container > div > div > button i {
  font-size: 15px;
  color: var(--primary);
  transition: transform .3s ease;
}

.queries-q4m .container > div > div[data-open="true"] > button i { transform: rotate(45deg); }

.queries-q4m .container > div > div > div {
  max-height: 0;
  overflow: hidden;
  transition: max-height .38s ease;
}

.queries-q4m .container > div > div > div > p {
  padding: 0 24px 22px;
  font-size: 14.8px;
  color: var(--muted);
}

/* ============ reach ============ */
.reach-q4m .container > div {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 46px;
  align-items: start;
}

.reach-q4m .container > div > div ul { display: grid; gap: 18px; }

.reach-q4m .container > div > div ul li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--white);
  border-radius: 14px;
  padding: 20px 22px;
  border: 1px solid var(--line);
}

.reach-q4m .container > div > div ul li > i {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-soft);
  color: var(--primary);
}

.reach-q4m .container > div > div ul li h3 { font-size: 15.5px; font-weight: 800; margin-bottom: 3px; }

.reach-q4m .container > div > div ul li p { font-size: 14.5px; color: var(--muted); }

.reach-q4m form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: 16px;
}

.reach-q4m form > div {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.reach-q4m form label {
  display: grid;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-soft);
}

.reach-q4m form input,
.reach-q4m form textarea,
.reach-q4m form select {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg);
  font-size: 14.5px;
  transition: border-color .25s ease, box-shadow .25s ease;
}

.reach-q4m form input:focus,
.reach-q4m form textarea:focus,
.reach-q4m form select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(67, 56, 202, .14);
}

.reach-q4m form textarea { resize: vertical; min-height: 120px; }

.reach-q4m form > .btn { justify-self: start; }

/* ============ cta ============ */
.cta-q4m {
  background: linear-gradient(120deg, #1a1d3f 0%, #312e9e 55%, #4338ca 100%);
  overflow: hidden;
}

.cta-q4m::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(249, 115, 22, .22);
}

.cta-q4m .container {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 820px;
}

.cta-q4m h2 {
  font-size: clamp(24px, 3.6vw, 40px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.34;
}

.cta-q4m .container > p {
  margin: 18px auto 30px;
  max-width: 640px;
  color: rgba(255, 255, 255, .78);
  font-size: 16px;
}

.cta-q4m .container > div {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.cta-q4m .btn[data-variant="ghost"] { background: rgba(255, 255, 255, .12); }

/* ============ listing ============ */
.listing-q4m { background: var(--bg); }

.listing-q4m ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.listing-q4m ul li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .32s ease, box-shadow .32s ease;
}

.listing-q4m ul li:hover { transform: translateY(-8px); box-shadow: var(--shadow); }

.listing-q4m ul li > figure { overflow: hidden; }

.listing-q4m ul li > figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-img);
  transition: transform .6s ease;
}

.listing-q4m ul li:hover > figure img { transform: scale(1.06); }

.listing-q4m ul li > div {
  padding: 24px 26px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.listing-q4m ul li > div > div {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 12px;
}

.listing-q4m ul li > div > div span { display: inline-flex; align-items: center; gap: 6px; }

.listing-q4m ul li > div h3 {
  font-size: 19px;
  font-weight: 800;
  line-height: 1.5;
  margin-bottom: 12px;
}

.listing-q4m ul li > div > p {
  font-size: 14.5px;
  color: var(--muted);
  margin-bottom: 18px;
}

.listing-q4m ul li > div > a {
  margin-top: auto;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ============ reading ============ */
.reading-q4m { background: var(--bg); }

.reading-q4m article {
  max-width: 860px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 46px 50px 52px;
  box-shadow: var(--shadow-sm);
}

.reading-q4m article > header h1 {
  font-size: clamp(24px, 3.4vw, 38px);
  font-weight: 900;
  line-height: 1.36;
  color: var(--ink);
}

.reading-q4m article > header > div {
  margin: 20px 0 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-size: 13.5px;
  color: var(--muted);
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.reading-q4m article > header > div span { display: inline-flex; align-items: center; gap: 7px; }

.reading-q4m article > figure img {
  width: 100%;
  border-radius: var(--radius-img);
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin-bottom: 30px;
}

.reading-q4m article > div h2 {
  font-size: 22px;
  font-weight: 800;
  margin: 30px 0 12px;
  color: var(--ink);
}

.reading-q4m article > div h3 {
  font-size: 18px;
  font-weight: 800;
  margin: 24px 0 10px;
}

.reading-q4m article > div p {
  font-size: 15.5px;
  color: var(--ink-soft);
  margin-bottom: 16px;
}

.reading-q4m article > div ul {
  list-style: disc;
  padding-left: 22px;
  margin-bottom: 18px;
}

.reading-q4m article > div ul li {
  font-size: 15.5px;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.reading-q4m article > div blockquote {
  border-left: 4px solid var(--accent);
  background: var(--bg);
  padding: 18px 22px;
  border-radius: 0 12px 12px 0;
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 20px;
}

.reading-q4m article > nav {
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.reading-q4m article > nav a {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
  display: grid;
  gap: 6px;
  transition: border-color .3s ease, transform .3s ease;
}

.reading-q4m article > nav a:hover { border-color: var(--primary); transform: translateY(-3px); }

.reading-q4m article > nav a span {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--accent);
  text-transform: uppercase;
}

.reading-q4m article > nav a strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.5;
}

/* ============ footer ============ */
#site-foot {
  background: #0c0e22;
  color: rgba(255, 255, 255, .62);
  padding: 66px 0 0;
}

#site-foot .container > div:first-child {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 46px;
}

#site-foot .container > div:first-child > div:first-child img {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  object-fit: cover;
  margin-bottom: 16px;
}

#site-foot .container > div:first-child > div:first-child strong {
  display: block;
  color: var(--white);
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 12px;
}

#site-foot .container > div:first-child > div:first-child p { font-size: 14px; line-height: 1.85; }

#site-foot h4 {
  color: var(--white);
  font-size: 15.5px;
  font-weight: 800;
  margin-bottom: 18px;
}

#site-foot .container > div:first-child > div:nth-child(2) ul li,
#site-foot .container > div:first-child > div:nth-child(3) ul li { margin-bottom: 11px; }

#site-foot .container > div:first-child > div:nth-child(2) ul a,
#site-foot .container > div:first-child > div:nth-child(3) ul a {
  font-size: 14px;
  transition: color .25s ease, padding-left .25s ease;
}

#site-foot .container > div:first-child > div:nth-child(2) ul a:hover,
#site-foot .container > div:first-child > div:nth-child(3) ul a:hover {
  color: var(--accent);
  padding-left: 6px;
}

#site-foot .container > div:first-child > div:nth-child(4) ul li {
  display: flex;
  gap: 11px;
  margin-bottom: 14px;
  font-size: 14px;
}

#site-foot .container > div:first-child > div:nth-child(4) ul li i {
  color: var(--accent);
  margin-top: 5px;
}

#site-foot .container > div:last-child {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 22px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
}

#site-foot .container > div:last-child nav { display: flex; flex-wrap: wrap; gap: 20px; }

#site-foot .container > div:last-child a:hover { color: var(--accent); }

#to-top {
  position: fixed;
  right: 24px;
  bottom: 28px;
  z-index: 80;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 26px rgba(67, 56, 202, .35);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease, transform .3s ease;
}

#to-top[data-show="true"] { opacity: 1; visibility: visible; }

#to-top:hover { background: var(--accent); transform: translateY(-4px); }

/* ============ reveal ============ */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}

[data-reveal][data-shown="true"] {
  opacity: 1;
  transform: none;
}

/* ============ responsive ============ */
@media (max-width: 1080px) {
  .expertise-q4m ul { grid-template-columns: repeat(2, 1fr); }
  .allies-q4m ul { grid-template-columns: repeat(4, 1fr); }
  .journey-q4m ol { grid-template-columns: repeat(3, 1fr); }
  .laurels-q4m ul { grid-template-columns: repeat(2, 1fr); }
  #site-foot .container > div:first-child { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  #site-head .container > div .btn { display: none; }

  #nav-toggle { display: flex; align-items: center; justify-content: center; }

  #site-nav {
    position: absolute;
    top: var(--head-h);
    left: 16px;
    right: 16px;
    background: rgba(11, 13, 32, .98);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 16px;
    padding: 12px;
    display: none;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .4);
  }

  #site-nav[data-open="true"] { display: block; }

  #site-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }

  #site-nav a { padding: 12px 14px; }

  #site-nav a[data-active="true"]::after { display: none; }

  .story-q4m .container > div,
  .reach-q4m .container > div { grid-template-columns: 1fr; }

  .showcase-q4m ul,
  .updates-q4m ul,
  .listing-q4m ul { grid-template-columns: repeat(2, 1fr); }

  .crew-q4m ul { grid-template-columns: repeat(2, 1fr); }

  .edge-q4m ul { grid-template-columns: repeat(2, 1fr); }

  .voices-q4m ul { grid-template-columns: 1fr; }

  #hero .container > ul { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .container { padding: 0 18px; }

  .story-q4m, .expertise-q4m, .edge-q4m, .showcase-q4m, .journey-q4m, .crew-q4m,
  .voices-q4m, .queries-q4m, .allies-q4m, .laurels-q4m, .reach-q4m, .cta-q4m,
  .updates-q4m, .listing-q4m, .reading-q4m { padding: 66px 0; }

  #site-head .container > a span { font-size: 12px; max-width: 170px; }

  #hero { min-height: 560px; padding-top: calc(var(--head-h) + 40px); }

  #hero .container > div .btn { width: 100%; }

  .showcase-q4m ul,
  .updates-q4m ul,
  .listing-q4m ul,
  .expertise-q4m ul,
  .edge-q4m ul,
  .crew-q4m ul,
  .journey-q4m ol,
  .laurels-q4m ul,
  .allies-q4m ul { grid-template-columns: 1fr; }

  .story-q4m .container > div > div ul { grid-template-columns: 1fr; }

  .reach-q4m form > div { grid-template-columns: 1fr; }

  .reading-q4m article { padding: 30px 22px 34px; }

  .reading-q4m article > nav { grid-template-columns: 1fr; }

  #site-foot .container > div:first-child { grid-template-columns: 1fr; gap: 30px; }

  #site-foot .container > div:last-child { flex-direction: column; align-items: flex-start; }
}
