:root {
  --bg: #07040f;
  --bg-soft: #0b0718;
  --panel: #120d24;
  --panel-2: #181132;
  --panel-3: #0b0815;
  --line: rgba(117, 88, 255, 0.22);
  --line-strong: rgba(123, 92, 255, 0.38);
  --text: #fbfaff;
  --muted: #b2accd;
  --muted-strong: #d9d5f0;
  --primary: #7a43ff;
  --primary-2: #9a57ff;
  --cyan: #11d8ff;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --radius: 28px;
  --radius-lg: 36px;
  --container: min(1240px, calc(100% - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  background:
    radial-gradient(circle at top left, rgba(122, 67, 255, 0.16), transparent 22%),
    radial-gradient(circle at 80% 8%, rgba(17, 216, 255, 0.08), transparent 18%),
    linear-gradient(180deg, #090511 0%, #06030c 42%, #0a0612 100%);
  overflow-x: hidden;
}

.skip-link {
  position: absolute;
  top: 0.85rem;
  left: 1rem;
  z-index: 120;
  padding: 0.8rem 1rem;
  border-radius: 14px;
  background: rgba(7, 4, 15, 0.98);
  color: #ffffff;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
}

body::before,
body::after {
  content: '';
  position: fixed;
  inset: auto;
  z-index: -1;
  pointer-events: none;
}

body::before {
  top: -8rem;
  right: -9rem;
  width: 28rem;
  height: 28rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(122, 67, 255, 0.14), transparent 66%);
  filter: blur(18px);
}

body::after {
  bottom: -4rem;
  left: -6rem;
  width: 22rem;
  height: 22rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(17, 216, 255, 0.1), transparent 68%);
  filter: blur(12px);
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

h1,
 h2,
 h3,
 h4 {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

p {
  margin: 0;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.section {
  padding: 7.25rem 0;
}

.section--alt {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(9, 6, 18, 0.9), rgba(8, 5, 15, 0.96));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(117, 88, 255, 0.18);
  background: rgba(7, 4, 15, 0.82);
  backdrop-filter: blur(18px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 78px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
}

.site-brand__image {
  width: auto;
  height: 44px;
  object-fit: contain;
}

.site-brand--active .site-brand__image,
.site-brand:hover .site-brand__image {
  filter: drop-shadow(0 10px 22px rgba(122, 67, 255, 0.28));
}

.site-brand__icon {
  width: 14px;
  height: 28px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--primary-2), rgba(122, 67, 255, 0.14));
  box-shadow: 0 0 30px rgba(122, 67, 255, 0.48);
  transform: skew(-16deg);
}

.site-brand__text {
  margin-left: 0.85rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.45rem;
}

.site-nav .menu {
  display: flex;
  align-items: center;
  gap: 1.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  font-size: 0.95rem;
  color: rgba(251, 250, 255, 0.78);
}

.site-nav .menu > li {
  position: relative;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav .current-menu-item > a,
.site-nav .current-menu-ancestor > a,
.site-nav .current-menu-parent > a {
  color: #ffffff;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: transparent;
  color: var(--text);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 1.45rem;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button--solid {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 18px 40px rgba(122, 67, 255, 0.3);
}

.button--ghost {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
  color: #ede9ff;
}

.button--white {
  color: #1a1234;
  background: #fff;
}

.button--small {
  min-height: 46px;
  padding: 0 1.2rem;
}

.button--full {
  width: 100%;
}

.hero {
  padding: 0;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 0;
  border-bottom: 1px solid var(--line);
}

.hero__content,
.hero__visual-shell,
.service-card,
.ai-card,
.project-card,
.process-card,
.contact-form,
.sidebar-card,
.entry-card,
.metric-pill,
.feature-bar__inner {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.6rem 3rem 2.1rem;
  border-radius: 0;
  border-left: 0;
  border-top: 0;
  border-bottom: 0;
  background:
    linear-gradient(180deg, rgba(11, 7, 22, 0.96), rgba(7, 5, 16, 0.98)),
    radial-gradient(circle at top left, rgba(122, 67, 255, 0.12), transparent 26%);
}

.eyebrow,
.section-intro__eyebrow,
.project-card__tag,
.entry-card__meta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: fit-content;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(130, 95, 255, 0.6);
  background: rgba(122, 67, 255, 0.08);
  color: #cdbdff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.hero__title {
  display: grid;
  gap: 0.06em;
  margin-top: 1.2rem;
  max-width: 10.5ch;
  font-size: clamp(2.55rem, 4.75vw, 4.75rem);
}

.hero__title span:last-child {
  max-width: 9.5ch;
}

.hero__title strong,
.cta-band__inner strong {
  color: var(--primary-2);
}

.hero__description,
.section-intro p,
.page-hero p,
.contact-copy p,
.single-project__hero p {
  max-width: 34rem;
  margin-top: 1.15rem;
  color: var(--muted);
  font-size: 1.04rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.55rem;
}

.hero__microcopy {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1rem;
  color: rgba(235, 230, 248, 0.74);
  font-size: 0.96rem;
}

.hero__microcopy a {
  color: var(--cyan);
  font-weight: 700;
}

.hero__visual {
  display: flex;
}

.hero__visual-shell {
  position: relative;
  flex: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 0;
  border-right: 0;
  border-top: 0;
  border-bottom: 0;
  background:
    radial-gradient(circle at 52% 16%, rgba(255, 255, 255, 0.12), transparent 18%),
    radial-gradient(circle at 50% 48%, rgba(122, 67, 255, 0.2), transparent 42%),
    linear-gradient(180deg, #15102d 0%, #0e091d 100%);
}

.hero__visual-shell::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.03), transparent 15%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 36%);
}

.hero__visual-aura {
  position: absolute;
  inset: auto auto 8% 50%;
  width: 22rem;
  height: 22rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(106, 71, 255, 0.4), rgba(106, 71, 255, 0.1) 45%, transparent 72%);
  transform: translateX(-50%);
  filter: blur(18px);
}

.hero__visual-shell img {
  position: relative;
  width: min(90%, 610px);
  max-height: min(82vh, 740px);
  object-fit: contain;
  filter: drop-shadow(0 26px 50px rgba(3, 1, 12, 0.7));
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: auto;
  padding-top: 2.5rem;
}

.stat-card {
  min-height: 98px;
  padding: 1.2rem 1.05rem;
  border-radius: 16px;
  border: 1px solid rgba(17, 216, 255, 0.08);
  background: linear-gradient(180deg, rgba(27, 19, 58, 0.92), rgba(20, 14, 40, 0.98));
}

.stat-card strong {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.95rem;
  font-weight: 700;
  line-height: 0.95;
}

.stat-card span {
  display: block;
  margin-top: 0.38rem;
  color: rgba(234, 232, 245, 0.72);
  font-size: 0.86rem;
}

.section-intro {
  max-width: 46rem;
  margin-bottom: 2.1rem;
}

.section-intro h2,
.page-hero h1,
.cta-band__inner h2,
.single-project__hero h1 {
  margin-top: 1rem;
  font-size: clamp(2.75rem, 4.5vw, 4.45rem);
}

.service-grid,
.ai-grid,
.project-grid,
.process-grid,
.post-grid {
  display: grid;
  gap: 1.25rem;
}

.service-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card,
.ai-card,
.process-card,
.entry-card {
  padding: 1.7rem 1.45rem 1.35rem;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(22, 16, 44, 0.96), rgba(14, 11, 28, 0.98));
}

.service-card__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: rgba(233, 239, 255, 0.82);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(122, 67, 255, 0.08));
}

.service-card__icon svg {
  width: 24px;
  height: 24px;
}

.service-card__label {
  display: block;
  margin-top: 1.1rem;
  color: rgba(223, 217, 252, 0.7);
  font-size: 0.8rem;
  min-height: 1.2em;
}

.service-card h3,
.ai-card h3,
.process-card h3,
.entry-card h2,
.project-card__body h3,
.project-card__body h2,
.sidebar-card h3 {
  margin-top: 0.85rem;
  font-size: 1.45rem;
}

.service-card p,
.ai-card p,
.process-card p,
.entry-card p,
.project-card__body p,
.sidebar-card p,
.feature-bar p,
.site-footer__tagline,
.site-footer__meta {
  margin-top: 0.85rem;
  color: var(--muted);
}

.service-card a,
.entry-card__cta,
.project-card__cta,
.feature-bar a,
.section-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.15rem;
  color: var(--primary-2);
  font-weight: 700;
  font-size: 0.95rem;
}

.feature-bar {
  padding: 0 0 2rem;
}

.feature-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.2rem 1.7rem;
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  background: linear-gradient(90deg, rgba(31, 23, 60, 0.98), rgba(26, 18, 54, 0.98));
}

.feature-bar__inner h3 {
  font-size: 1.5rem;
}

.ai-lab {
  display: grid;
  gap: 2rem;
}

.ai-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ai-card {
  position: relative;
  min-height: 220px;
  background:
    linear-gradient(180deg, rgba(19, 14, 40, 0.96), rgba(10, 8, 21, 0.98)),
    radial-gradient(circle at top right, rgba(17, 216, 255, 0.1), transparent 26%);
}

.ai-card__count,
.process-card__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  min-height: 52px;
  border-radius: 14px;
  border: 1px solid rgba(132, 98, 255, 0.45);
  background: rgba(122, 67, 255, 0.1);
  color: #d9c9ff;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
}

.project-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-card {
  overflow: hidden;
  min-height: 100%;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(16, 11, 31, 0.98), rgba(7, 5, 15, 0.98));
}

.project-card__link {
  display: grid;
  min-height: 100%;
}

.project-card__media {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 260px;
  overflow: hidden;
  background: linear-gradient(135deg, #171036, #0a0716);
}

.project-card__media::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(180deg, transparent, rgba(2, 1, 8, 0.32));
  pointer-events: none;
}

.project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-card__media--contain img {
  width: auto;
  height: 86%;
  object-fit: contain;
}

.project-card__media--brand img {
  width: 58%;
  height: auto;
  object-fit: contain;
}

.project-card__body {
  padding: 1.4rem 1.35rem 1.5rem;
  background: linear-gradient(180deg, rgba(8, 6, 16, 0.9), rgba(5, 4, 12, 0.98));
}

.project-card__tag {
  padding: 0.4rem 0.8rem;
  font-size: 0.7rem;
}

.project-card--gradient .project-card__media {
  background:
    radial-gradient(circle at 80% 14%, rgba(17, 216, 255, 0.12), transparent 18%),
    linear-gradient(135deg, #1c1747 0%, #0c091b 100%);
}

.project-card--dark .project-card__media {
  background:
    radial-gradient(circle at center, rgba(122, 67, 255, 0.08), transparent 36%),
    linear-gradient(135deg, #04030b 0%, #090612 100%);
}

.project-card--light .project-card__media {
  background: linear-gradient(180deg, rgba(222, 228, 255, 0.96), rgba(177, 188, 255, 0.82));
}

.process-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.process-card {
  min-height: 170px;
  background: linear-gradient(180deg, rgba(22, 17, 46, 0.96), rgba(13, 10, 29, 0.98));
}

.cta-band {
  padding-top: 1.5rem;
}

.cta-band__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  overflow: hidden;
  padding: 3.4rem 3rem;
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  background:
    radial-gradient(circle at 20% 40%, rgba(124, 64, 255, 0.92), transparent 30%),
    linear-gradient(90deg, #6f33ff 0%, #4a23b5 38%, #1a1332 68%, #160f2b 100%);
}

.cta-band__inner::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 38%;
  height: 100%;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 35%),
    linear-gradient(45deg, rgba(8, 6, 22, 0.7), rgba(8, 6, 22, 0.25)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.05) 18px, transparent 18px, transparent 42px);
  opacity: 0.8;
}

.cta-band__inner > * {
  position: relative;
  z-index: 1;
}

.cta-band__inner h2 {
  display: grid;
  gap: 0.06em;
}

.cta-band__inner p {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.78);
}

.contact-grid,
.single-project__hero,
.single-project__content {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(320px, 1.16fr);
  gap: 2rem;
  align-items: start;
}

.contact-form {
  padding: 1.9rem;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(20, 15, 40, 0.96), rgba(8, 7, 20, 0.98));
}

.contact-list {
  display: grid;
  gap: 0.8rem;
  padding: 0;
  margin: 1.4rem 0 0;
  list-style: none;
}

.contact-list a,
.site-footer__links a {
  color: #ece9ff;
}

.form-fallback {
  padding: 1.2rem;
  border-radius: 18px;
  border: 1px dashed rgba(132, 98, 255, 0.44);
}

.wpcf7-form {
  display: grid;
  gap: 1rem;
}

.wpcf7-form label {
  display: grid;
  gap: 0.45rem;
  color: #e6e2f8;
  font-weight: 600;
}

.wpcf7-form-control:not(.wpcf7-submit) {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 0.92rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.wpcf7-submit {
  min-height: 54px;
  border: 0;
  border-radius: 14px;
  cursor: pointer;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 18px 38px rgba(122, 67, 255, 0.28);
}

.page-hero {
  padding: 5.5rem 0 1rem;
}

.page-hero--compact {
  padding-bottom: 0;
}

.metric-pill {
  display: inline-flex;
  margin-top: 1.3rem;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: rgba(122, 67, 255, 0.1);
}

.single-project__media {
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(221, 228, 255, 0.98), rgba(187, 196, 255, 0.82));
  box-shadow: var(--shadow);
}

.single-project__media img {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
}

.single-project__main,
.prose {
  color: #e5e2f1;
}

.single-project__main p,
.prose p {
  margin-bottom: 1.15rem;
}

.single-project__sidebar {
  display: grid;
  gap: 1rem;
}

.sidebar-card {
  padding: 1.3rem;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(22, 16, 43, 0.96), rgba(10, 8, 22, 0.98));
}

.post-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.entry-card {
  padding: 0;
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(20, 15, 40, 0.96), rgba(10, 8, 20, 0.98));
}

.entry-card__link {
  display: block;
  min-height: 100%;
}

.entry-card__media {
  min-height: 240px;
  overflow: hidden;
  background: linear-gradient(135deg, #1c1747 0%, #0c091b 100%);
}

.entry-card__media--journal {
  min-height: 0;
  aspect-ratio: 16 / 9;
}

.entry-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.entry-card__media--journal img {
  object-position: center top;
}

.entry-card__body {
  padding: 1.45rem 1.45rem 1.35rem;
}

.single-post__media {
  overflow: hidden;
  margin-bottom: 2rem;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow);
}

.single-post__media img {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
}

.prose h2,
.prose h3 {
  margin: 2rem 0 0.9rem;
  line-height: 1.1;
}

.prose ul,
.prose ol {
  margin: 1rem 0 1.4rem 1.15rem;
  color: #e5e2f1;
}

.prose li {
  margin-bottom: 0.55rem;
}

.prose a {
  color: var(--primary-2);
}

.prose strong {
  color: #ffffff;
}

.pagination,
.nav-links {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 2rem;
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  min-height: 46px;
  padding: 0 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: #f4f0ff;
  background: rgba(255, 255, 255, 0.03);
}

.page-numbers.current {
  border-color: rgba(17, 216, 255, 0.45);
  background: rgba(17, 216, 255, 0.12);
}

.site-footer {
  padding: 2.7rem 0 3.2rem;
  border-top: 1px solid var(--line);
  background: rgba(4, 3, 10, 0.96);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr) auto;
  gap: 2rem;
  align-items: start;
}

.site-brand--footer .site-brand__image {
  height: 56px;
}

.site-footer__links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem;
}

.site-footer__label {
  display: block;
  margin-bottom: 0.85rem;
  color: #d4cdf6;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.92rem;
}

.site-footer__links a {
  display: block;
  margin-bottom: 0.55rem;
}

.site-footer__meta {
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal--delay {
  transition-delay: 0.08s;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-proof {
  padding: 1rem 0 3rem;
}

.hero-proof__panel {
  display: grid;
  gap: 0.95rem;
}

.hero-proof__points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-proof__point {
  min-height: 68px;
  display: flex;
  align-items: center;
  padding: 1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(17, 12, 33, 0.96), rgba(10, 8, 20, 0.98));
  color: rgba(242, 238, 255, 0.88);
  box-shadow: var(--shadow);
  font-weight: 600;
}

.stat-grid--hero {
  margin-top: 0;
  padding-top: 0;
}

.stat-grid--hero .stat-card {
  min-height: 92px;
}

@media (max-width: 1100px) {
  .hero__grid,
  .contact-grid,
  .single-project__hero,
  .single-project__content,
  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .hero__grid {
    min-height: auto;
  }

  .hero__content,
  .hero__visual-shell {
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
  }

  .hero__content {
    border-top: 0;
    border-bottom: 0;
  }

  .hero__visual-shell {
    min-height: 560px;
  }

  .hero-proof__points,
  .service-grid,
  .project-grid,
  .process-grid,
  .post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ai-grid {
    grid-template-columns: 1fr;
  }

  .feature-bar__inner,
  .cta-band__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-band__inner::after {
    width: 100%;
    height: 42%;
    top: auto;
    bottom: 0;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 24px;
    right: 24px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 1rem;
    border-radius: 24px;
    border: 1px solid var(--line);
    background: rgba(10, 7, 20, 0.98);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav .menu {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .site-nav__cta {
    width: 100%;
  }

  .container {
    width: min(100% - 32px, 1240px);
  }

  .section {
    padding: 5.5rem 0;
  }

  .hero__content,
  .hero__visual-shell,
  .contact-form,
  .cta-band__inner {
    padding: 1.6rem;
  }

  .hero__visual-shell {
    min-height: 460px;
  }

  .hero-proof {
    padding: 0.9rem 0 2.5rem;
  }

  .stat-grid,
  .hero-proof__points,
  .service-grid,
  .project-grid,
  .process-grid,
  .post-grid,
  .site-footer__links {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .hero__title,
  .section-intro h2,
  .page-hero h1,
  .cta-band__inner h2,
  .single-project__hero h1 {
    letter-spacing: -0.055em;
  }

  .button,
  .button--small,
  .wpcf7-submit {
    width: 100%;
  }

  .hero__actions {
    flex-direction: column;
  }

  .site-brand__image {
    height: 38px;
  }
}

/* Design pass: archives, singles, cards, and mobile polish */
.site-nav {
  transition: opacity 0.24s ease, transform 0.24s ease;
}

body.nav-open {
  overflow: hidden;
}

.page-hero__panel {
  position: relative;
  overflow: hidden;
  padding: 2.4rem 2.5rem;
  border: 1px solid var(--line);
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgba(17, 216, 255, 0.12), transparent 18%),
    radial-gradient(circle at bottom left, rgba(122, 67, 255, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(14, 10, 30, 0.98), rgba(8, 6, 18, 0.98));
  box-shadow: var(--shadow);
}

.page-hero__panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.045), transparent 14%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.025) 14px, transparent 14px, transparent 36px);
  opacity: 0.34;
  pointer-events: none;
}

.page-hero__copy,
.page-hero__panel > * {
  position: relative;
  z-index: 1;
}

.page-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.6rem;
}

.page-chip {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 1rem;
  border-radius: 999px;
  border: 1px solid rgba(130, 95, 255, 0.34);
  color: rgba(241, 236, 255, 0.84);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.88rem;
  font-weight: 600;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  color: rgba(236, 231, 255, 0.78);
  font-weight: 700;
  font-size: 0.95rem;
}

.back-link::before {
  content: '<';
  color: var(--cyan);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.article-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(130, 95, 255, 0.32);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(236, 231, 255, 0.88);
  font-weight: 600;
}

.section--journal,
.section--article,
.section--page,
.section--related {
  position: relative;
}

.post-grid--journal {
  align-items: stretch;
}

.post-grid--journal:not(.search-grid) .entry-card:first-child {
  grid-column: span 2;
}

.post-grid--journal:not(.search-grid) .entry-card:first-child .entry-card__link {
  display: block;
}

.post-grid--journal:not(.search-grid) .entry-card:first-child .entry-card__media {
  min-height: 0;
}

.post-grid--journal:not(.search-grid) .entry-card:first-child .entry-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
}

.post-grid--journal:not(.search-grid) .entry-card:first-child h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.entry-card,
.project-card {
  transition: transform 0.28s ease, border-color 0.28s ease;
}

.entry-card:hover,
.project-card:hover {
  transform: translateY(-5px);
  border-color: rgba(17, 216, 255, 0.24);
}

.entry-card__media--brand {
  display: grid;
  place-items: center;
  padding: 2rem;
  background:
    radial-gradient(circle at 80% 14%, rgba(17, 216, 255, 0.14), transparent 18%),
    linear-gradient(135deg, #1b1742 0%, #0d091b 100%);
}

.entry-card__media--brand img {
  width: min(100%, 320px);
  height: auto;
  object-fit: contain;
}

.entry-card__meta-row,
.project-card__meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
}

.entry-card__eyebrow,
.project-card__live {
  color: rgba(236, 230, 255, 0.68);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.entry-card h2,
.project-card__body h2,
.project-card__body h3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.entry-card p,
.project-card__body p {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.project-card__body {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.project-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-top: auto;
  padding-top: 1rem;
}

.project-card__metric {
  color: rgba(235, 231, 255, 0.72);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.article-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.article-aside,
.single-project__sidebar {
  position: sticky;
  top: 104px;
}

.article-aside {
  display: grid;
  gap: 1rem;
}

.article-aside__card,
.project-overview__card {
  padding: 1.2rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(18, 14, 38, 0.98), rgba(9, 7, 19, 0.98)),
    radial-gradient(circle at top right, rgba(17, 216, 255, 0.08), transparent 24%);
  box-shadow: var(--shadow);
}

.article-aside__label,
.project-overview__label {
  display: block;
  margin-bottom: 0.6rem;
  color: rgba(209, 202, 239, 0.72);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-aside__card strong,
.project-overview__card strong {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  line-height: 1.1;
}

.article-aside__card--cta p {
  margin: 0.7rem 0 1rem;
  color: var(--muted);
}

.single-project__intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.single-project__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.project-overview {
  padding: 0.9rem 0 0;
}

.project-overview__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.single-project__main,
.prose--article,
.prose--page {
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(14, 11, 29, 0.97), rgba(9, 7, 18, 0.98)),
    radial-gradient(circle at top right, rgba(17, 216, 255, 0.06), transparent 22%);
  box-shadow: var(--shadow);
}

.single-project__main p,
.single-project__main li,
.prose p,
.prose li {
  margin-bottom: 1.15rem;
}

.single-project__main h2,
.single-project__main h3,
.single-project__main h4,
.prose h2,
.prose h3,
.prose h4 {
  margin: 2.15rem 0 1rem;
  line-height: 1.06;
}

.single-project__main h2,
.prose h2 {
  font-size: clamp(1.85rem, 3vw, 2.5rem);
}

.single-project__main h3,
.prose h3 {
  font-size: clamp(1.35rem, 2.3vw, 1.8rem);
}

.single-project__main ul,
.single-project__main ol,
.prose ul,
.prose ol {
  margin: 1rem 0 1.45rem 1.15rem;
  padding-left: 0.45rem;
  color: #e5e2f1;
}

.single-project__main a,
.prose a {
  color: var(--primary-2);
}

.single-project__main strong,
.prose strong {
  color: #ffffff;
}

.single-project__main img,
.prose img {
  border-radius: 22px;
}

.single-project__main figure,
.prose figure {
  margin: 1.5rem 0 1.8rem;
}

.prose aside,
.prose article {
  margin-bottom: 1.6rem;
}

.prose .side-menu {
  display: grid;
  gap: 0.65rem;
  padding: 1.2rem 1.2rem 1.2rem 1.4rem;
  border: 1px solid rgba(17, 216, 255, 0.16);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.025);
  list-style: decimal;
}

.prose .side-menu a,
.prose .in-ol-link {
  color: var(--cyan);
}

.prose .article-big-image {
  width: 100%;
  border-radius: 24px;
}

@media (max-width: 1100px) {
  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-aside,
  .single-project__sidebar {
    position: static;
  }

  .article-aside {
    order: 2;
  }

  .project-overview__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .site-nav {
    position: fixed;
    top: 88px;
    left: 16px;
    right: 16px;
    max-height: calc(100vh - 104px);
    overflow-y: auto;
  }

  .page-hero__panel,
  .single-project__main,
  .prose--article,
  .prose--page {
    padding: 1.6rem;
  }

  .post-grid--journal .entry-card:first-child {
    grid-column: auto;
  }

  .post-grid--journal:not(.search-grid) .entry-card:first-child .entry-card__link {
    display: block;
  }

  .project-overview__grid {
    grid-template-columns: 1fr;
  }

  .single-project__actions,
  .article-meta,
  .page-hero__chips {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .page-hero {
    padding-top: 4.3rem;
  }

  .entry-card__media,
  .project-card__media {
    min-height: 210px;
  }

  .entry-card__body,
  .project-card__body,
  .page-hero__panel {
    padding: 1.2rem;
  }

  .project-card__footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-header__inner {
    min-height: 72px;
    gap: 1rem;
  }
}

/* Reference alignment: full-site polish, W-pattern CTA, archives, pages, mobile */
::selection {
  color: #ffffff;
  background: rgba(122, 67, 255, 0.48);
}

.site-header {
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.24);
}

.site-header__inner {
  min-height: 82px;
}

.site-brand__image {
  filter: drop-shadow(0 8px 18px rgba(122, 67, 255, 0.18));
}

.site-nav .menu > li > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
}

.site-nav .menu > li.menu-item-has-children {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.site-nav .menu > li.menu-item-has-children > a {
  padding-right: 0;
}

.submenu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  min-width: 42px;
  height: 42px;
  margin-left: 0.3rem;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: rgba(245, 241, 255, 0.86);
}

.submenu-toggle span {
  width: 0.5rem;
  height: 0.5rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.22s ease;
}

.submenu-toggle:hover,
.submenu-toggle:focus-visible,
.site-nav .menu > li.is-submenu-open > .submenu-toggle {
  color: #ffffff;
  border-color: rgba(17, 216, 255, 0.22);
  background: rgba(122, 67, 255, 0.12);
}

.site-nav .menu > li.is-submenu-open > .submenu-toggle span,
.site-nav .menu > li:hover > .submenu-toggle span,
.site-nav .menu > li:focus-within > .submenu-toggle span {
  transform: rotate(225deg);
}

.site-nav .menu > li > a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.24s ease;
}

.site-nav .menu > li > a:hover::after,
.site-nav .menu > li.current-menu-item > a::after,
.site-nav .menu > li.current-menu-ancestor > a::after {
  transform: scaleX(1);
}

.site-nav .sub-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: -1rem;
  z-index: 30;
  min-width: 280px;
  display: grid;
  gap: 0.4rem;
  padding: 1rem;
  margin: 0;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, rgba(17, 216, 255, 0.08), transparent 20%),
    linear-gradient(180deg, rgba(16, 12, 31, 0.98), rgba(8, 6, 18, 0.98));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}

.site-nav .sub-menu li {
  width: 100%;
}

.site-nav .sub-menu a {
  display: block;
  width: 100%;
  min-height: 46px;
  padding: 0.8rem 0.95rem;
  border-radius: 14px;
  color: rgba(245, 241, 255, 0.86);
  background: rgba(255, 255, 255, 0.025);
}

.site-nav .sub-menu a:hover,
.site-nav .sub-menu a:focus-visible,
.site-nav .sub-menu .current-menu-item > a {
  color: #ffffff;
  background: rgba(122, 67, 255, 0.14);
}

.site-nav .menu > li:hover > .sub-menu,
.site-nav .menu > li:focus-within > .sub-menu,
.site-nav .menu > li.is-submenu-open > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-toggle {
  background: rgba(255, 255, 255, 0.03);
}

.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 45;
  border: 0;
  padding: 0;
  background: rgba(5, 3, 11, 0.68);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.24s ease;
}

.nav-scrim.is-visible {
  opacity: 1;
}

.service-card,
.ai-card,
.process-card,
.entry-card,
.project-card,
.article-aside__card,
.project-overview__card,
.single-project__main,
.prose--article,
.prose--page {
  backdrop-filter: blur(8px);
}

.section-intro h2,
.page-hero h1,
.cta-band__inner h2,
.single-project__hero h1 {
  max-width: 14ch;
}

.page-hero--archive .page-hero__panel,
.page-hero--article .page-hero__panel {
  padding-right: clamp(2rem, 13vw, 17rem);
}

.page-hero--content .page-hero__panel {
  padding-right: 2.5rem;
}

.page-hero--archive .page-hero__panel::after,
.page-hero--article .page-hero__panel::after {
  content: '';
  position: absolute;
  top: 18px;
  right: 18px;
  bottom: 18px;
  width: clamp(148px, 22vw, 250px);
  border-radius: 24px;
  border: 1px solid rgba(117, 88, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(35, 23, 71, 0.92), rgba(15, 11, 30, 0.98)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.05) 20px, transparent 20px, transparent 56px);
  opacity: 0.92;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.page-hero--content .page-hero__panel::after {
  display: none;
}

.page-hero--archive .page-hero__copy,
.page-hero--article .page-hero__copy {
  max-width: 52rem;
}

.page-hero--content .page-hero__copy {
  max-width: 100%;
}

.page-hero p {
  max-width: 38rem;
}

.entry-card__body,
.project-card__body {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.entry-card__eyebrow {
  margin-bottom: 0.8rem;
  color: var(--cyan);
}

.entry-card__meta-row {
  margin-bottom: 0.95rem;
}

.entry-card__reading {
  color: rgba(236, 230, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.entry-card__cta,
.project-card__cta {
  margin-top: auto;
  padding-top: 1rem;
}

.entry-card__cta::after,
.project-card__cta::after,
.section-link::after,
.feature-bar a::after,
.service-card a::after {
  content: '>';
  font-size: 0.82em;
}

.project-card__live {
  color: var(--cyan);
}

.project-card__metric {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  max-width: min(100%, 17rem);
  padding: 0 0.85rem;
  border: 1px solid rgba(130, 95, 255, 0.26);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.project-grid--archive .project-card:first-child {
  grid-column: span 2;
}

.project-grid--archive .project-card:first-child .project-card__link {
  grid-template-columns: minmax(300px, 0.98fr) minmax(0, 1.02fr);
}

.project-grid--archive .project-card:first-child .project-card__media {
  min-height: 100%;
}

.project-grid--archive .project-card:first-child .project-card__body {
  padding: 1.85rem;
}

.project-grid--archive .project-card:first-child h2 {
  font-size: clamp(2rem, 3vw, 2.9rem);
}

.article-aside__card p {
  margin: 0.7rem 0 1rem;
  color: var(--muted);
}

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 1.5rem;
  align-items: start;
}

.stack-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.2rem;
}

.stack-chip {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(130, 95, 255, 0.34);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(241, 236, 255, 0.86);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.metric-pill {
  border: 1px solid rgba(130, 95, 255, 0.36);
  color: #f6f3ff;
  font-weight: 700;
}

.single-project__hero {
  gap: 1.5rem;
}

.single-project__intro {
  padding-right: 0.5rem;
}

.single-project__media {
  min-height: 100%;
}

.single-project__media img {
  height: 100%;
}

.single-project__main blockquote,
.prose blockquote {
  margin: 1.8rem 0;
  padding: 1rem 1rem 1rem 1.25rem;
  border-left: 3px solid var(--cyan);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  color: #f5f2ff;
}

.single-project__main table,
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.6rem 0;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--line);
}

.single-project__main th,
.single-project__main td,
.prose th,
.prose td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
}

.single-project__main tr:last-child td,
.prose tr:last-child td {
  border-bottom: 0;
}

.single-project__main pre,
.prose pre {
  overflow-x: auto;
  margin: 1.5rem 0;
  padding: 1.1rem 1.2rem;
  border: 1px solid rgba(130, 95, 255, 0.18);
  border-radius: 18px;
  background: rgba(5, 4, 12, 0.82);
}

.single-project__main code,
.prose code {
  font-family: 'Space Mono', 'Courier New', monospace;
}

.single-project__main iframe,
.prose iframe {
  width: 100%;
  min-height: 360px;
  border: 0;
  border-radius: 22px;
}

.prose .setup-checklist__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.8rem 0;
}

.prose .setup-checklist__card,
.prose .setup-checklist__panel {
  padding: 1.2rem 1.25rem;
  border: 1px solid rgba(130, 95, 255, 0.18);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
}

.prose .setup-checklist__card h2,
.prose .setup-checklist__panel h2 {
  margin-top: 0;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
}

.prose .setup-checklist__card p:last-child,
.prose .setup-checklist__panel p:last-child {
  margin-bottom: 0;
}

.prose .setup-checklist__links {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.prose .setup-checklist__links li {
  margin-bottom: 0.8rem;
}

.prose .setup-checklist__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.25rem;
}

.prose .setup-checklist__actions .button {
  margin: 0;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 2.2rem;
  border: 1px dashed rgba(130, 95, 255, 0.32);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.02);
}

.empty-state h2 {
  font-size: 2rem;
}

.empty-state p {
  margin-top: 0.8rem;
  color: var(--muted);
}

.search-tools {
  margin-bottom: 1.25rem;
}

.search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  width: min(100%, 720px);
}

.search-form label {
  display: block;
}

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

:where(a[href], button, input, select, textarea, summary):focus-visible {
  outline: 2px solid rgba(17, 216, 255, 0.92);
  outline-offset: 3px;
}

.screen-reader-text:focus,
.skip-link:focus {
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

.search-field {
  width: 100%;
  min-height: 56px;
  padding: 0 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.search-submit {
  min-height: 56px;
  padding: 0 1.25rem;
  border: 0;
  border-radius: 16px;
  cursor: pointer;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 18px 38px rgba(122, 67, 255, 0.28);
}

.cta-band__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  min-height: clamp(300px, 26vw, 390px);
  padding: 3.4rem 3rem;
  padding-right: clamp(3rem, 8vw, 7rem);
  background:
    radial-gradient(circle at 15% 34%, rgba(136, 79, 255, 0.72) 0, rgba(136, 79, 255, 0.28) 24%, transparent 46%),
    radial-gradient(circle at 56% 48%, rgba(120, 75, 255, 0.18), transparent 34%),
    linear-gradient(98deg, #7340ff 0%, #5f36dd 24%, #3a2866 58%, #18132d 100%);
}

.cta-band__inner > div {
  max-width: 52rem;
  padding: 0;
}

.cta-band__inner > a {
  align-self: flex-start;
  margin-top: 1.8rem;
}

.cta-band__inner::before {
  content: none;
}

.cta-band__inner::after {
  content: none;
}

.cta-band__inner h2,
.cta-band__inner p,
.cta-band__inner .button {
  position: relative;
  z-index: 1;
}

.cta-band__inner h2 {
  max-width: 14.5ch;
  text-wrap: balance;
}

.cta-band__inner p {
  max-width: 40rem;
  color: rgba(255, 255, 255, 0.86);
}

.cta-band__inner strong {
  color: #c495ff;
  text-shadow: 0 0 28px rgba(140, 86, 255, 0.2);
}

.site-footer__inner {
  gap: 2.5rem;
}

@media (max-width: 1100px) {
  .page-layout {
    grid-template-columns: 1fr;
  }

  .project-grid--archive .project-card:first-child {
    grid-column: auto;
  }

  .project-grid--archive .project-card:first-child .project-card__link {
    grid-template-columns: 1fr;
  }

  .cta-band__inner {
    min-height: 0;
    padding: 2.8rem 2.4rem;
    padding-right: 2.4rem;
  }

  .cta-band__inner > div {
    max-width: 38rem;
  }
}

@media (max-width: 860px) {
  .site-nav {
    top: 86px;
    left: 12px;
    right: 12px;
    padding: 1.1rem;
    border-radius: 28px;
  }

  .site-nav .menu {
    gap: 0.7rem;
    align-items: stretch;
  }

  .site-nav .menu > li,
  .site-nav .menu > li > a {
    width: 100%;
  }

  .site-nav .menu > li > a {
    min-height: 54px;
    padding: 0 1rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
  }

  .site-nav .menu > li > a::after {
    display: none;
  }

  .site-nav .menu > li.menu-item-has-children {
    width: 100%;
    align-items: flex-start;
  }

  .site-nav .menu > li.menu-item-has-children > a {
    flex: 1 1 auto;
    padding-right: 1rem;
  }

  .submenu-toggle {
    flex: 0 0 44px;
    width: 44px;
    min-width: 44px;
    min-height: 44px;
    margin-left: 0.5rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
  }

  .site-nav .sub-menu {
    position: static;
    display: none;
    width: 100%;
    min-width: 0;
    gap: 0.55rem;
    padding: 0.65rem 0 0 0.65rem;
    margin-top: 0.45rem;
    margin-left: 0;
    border: 0;
    border-left: 1px solid rgba(130, 95, 255, 0.24);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .site-nav .menu > li.is-submenu-open > .sub-menu {
    display: grid;
  }

  .site-nav .sub-menu a {
    min-height: 44px;
    padding: 0.7rem 0.95rem;
    background: rgba(255, 255, 255, 0.02);
  }

  .page-hero--archive .page-hero__panel,
  .page-hero--content .page-hero__panel,
  .page-hero--article .page-hero__panel {
    padding-right: 1.6rem;
  }

  .page-hero--archive .page-hero__panel::after,
  .page-hero--content .page-hero__panel::after,
  .page-hero--article .page-hero__panel::after {
    display: none;
  }

  .project-card__metric {
    max-width: 100%;
  }

  .search-form {
    grid-template-columns: 1fr;
  }

  .cta-band__inner {
    padding: 2.2rem 1.6rem 1.8rem;
    padding-right: 1.6rem;
  }

  .cta-band__inner > a {
    margin-top: 1.5rem;
  }

  .cta-band__inner::before,
  .cta-band__inner::after {
    top: auto;
    right: 1rem;
    bottom: 1rem;
    height: 38%;
    width: 46%;
  }
}

@media (max-width: 560px) {
  .site-brand__image {
    height: 34px;
  }

  .page-hero__chips,
  .stack-chip-list,
  .article-meta {
    gap: 0.55rem;
  }

  .page-chip,
  .stack-chip,
  .project-card__metric,
  .article-meta span {
    min-height: 36px;
    font-size: 0.78rem;
  }

  .single-project__actions .button,
  .search-submit {
    width: 100%;
  }

  .cta-band__inner::before,
  .cta-band__inner::after {
    display: none;
  }
}

/* Service pages */
.page-hero--service {
  padding-bottom: 0;
}

.page-hero--service .page-hero__panel::after {
  display: none;
}

.service-hero__panel {
  padding: 2rem;
}

.service-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(320px, 1.04fr);
  gap: 1.5rem;
  align-items: stretch;
}

.service-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-hero__copy h1,
.page-template-template-service-page .section-intro h2 {
  max-width: 13ch;
}

.service-hero__visual,
.service-fit-card,
.service-capability-card,
.service-proof__card,
.service-faq {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.service-hero__visual {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100%;
  padding: 1.75rem;
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(17, 216, 255, 0.14), transparent 22%),
    radial-gradient(circle at 24% 24%, rgba(122, 67, 255, 0.18), transparent 30%),
    linear-gradient(180deg, rgba(19, 14, 40, 0.98), rgba(9, 7, 19, 0.98));
}

.service-hero__visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 32%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.035) 18px, transparent 18px, transparent 52px);
  opacity: 0.42;
  pointer-events: none;
}

.service-hero__visual > * {
  position: relative;
  z-index: 1;
}

.service-hero__visual-eyebrow,
.service-fit-card__eyebrow,
.service-proof__card-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(130, 95, 255, 0.34);
  background: rgba(255, 255, 255, 0.03);
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.service-hero__visual h2 {
  margin-top: 1rem;
  max-width: 12ch;
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.service-hero__visual p {
  margin-top: 1rem;
  max-width: 34rem;
  color: rgba(236, 231, 255, 0.76);
}

.service-hero__token-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.35rem;
}

.service-hero__token {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(130, 95, 255, 0.28);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(242, 238, 255, 0.88);
  font-size: 0.84rem;
  font-weight: 700;
}

.service-hero__visual--web-development {
  background:
    radial-gradient(circle at top right, rgba(17, 216, 255, 0.12), transparent 20%),
    linear-gradient(180deg, rgba(21, 16, 45, 0.98), rgba(9, 7, 19, 0.98));
}

.service-hero__visual--wordpress-development {
  background:
    radial-gradient(circle at top right, rgba(17, 216, 255, 0.08), transparent 22%),
    linear-gradient(180deg, rgba(15, 20, 45, 0.98), rgba(8, 10, 22, 0.98));
}

.service-hero__visual--react-nextjs-development {
  background:
    radial-gradient(circle at 80% 18%, rgba(17, 216, 255, 0.14), transparent 18%),
    linear-gradient(180deg, rgba(12, 17, 35, 0.98), rgba(6, 10, 20, 0.98));
}

.service-hero__visual--automation {
  background:
    radial-gradient(circle at 20% 20%, rgba(122, 67, 255, 0.22), transparent 24%),
    linear-gradient(180deg, rgba(19, 13, 43, 0.98), rgba(8, 7, 18, 0.98));
}

.service-hero__visual--management {
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.08), transparent 18%),
    linear-gradient(180deg, rgba(17, 14, 35, 0.98), rgba(8, 7, 18, 0.98));
}

.service-hero__visual--paid-marketing {
  background:
    radial-gradient(circle at 82% 18%, rgba(17, 216, 255, 0.14), transparent 18%),
    radial-gradient(circle at 22% 28%, rgba(122, 67, 255, 0.2), transparent 24%),
    linear-gradient(180deg, rgba(22, 15, 46, 0.98), rgba(9, 7, 19, 0.98));
}

.service-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1.7rem;
}

.service-stat-card {
  min-height: 104px;
  padding: 1.05rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(130, 95, 255, 0.2);
  background: rgba(255, 255, 255, 0.03);
}

.service-stat-card strong {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  line-height: 1.05;
}

.service-stat-card span {
  display: block;
  margin-top: 0.5rem;
  color: rgba(236, 231, 255, 0.72);
  font-size: 0.86rem;
}

.service-jump-nav {
  margin-top: 1.4rem;
}

.service-fit-grid,
.service-capability-grid,
.service-faq-grid {
  display: grid;
  gap: 1rem;
}

.service-fit-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-fit-card,
.service-capability-card,
.service-proof__card,
.service-faq {
  padding: 1.45rem;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(16, 12, 33, 0.98), rgba(8, 7, 18, 0.98)),
    radial-gradient(circle at top right, rgba(17, 216, 255, 0.06), transparent 24%);
}

.service-fit-card--muted {
  background:
    linear-gradient(180deg, rgba(13, 10, 27, 0.98), rgba(7, 6, 15, 0.98)),
    radial-gradient(circle at top right, rgba(122, 67, 255, 0.08), transparent 24%);
}

.service-fit-card ul,
.service-proof__list {
  display: grid;
  gap: 0.9rem;
  margin: 1.15rem 0 0;
  padding-left: 1.2rem;
  color: var(--muted-strong);
}

.service-fit-card li,
.service-proof__list li {
  margin: 0;
}

.service-capability-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-capability-grid--wide {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-capability-card h3,
.service-proof__card h3 {
  font-size: 1.35rem;
}

.service-capability-card p,
.service-proof__card p,
.service-fit-card p,
.service-faq__body p,
.service-contact__copy p {
  margin-top: 0.8rem;
  color: var(--muted);
}

.service-proof__panel,
.service-contact__panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(320px, 1.04fr);
  gap: 1.5rem;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(12, 9, 25, 0.98), rgba(7, 5, 15, 0.98)),
    radial-gradient(circle at top right, rgba(17, 216, 255, 0.08), transparent 22%);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.service-proof__panel::before,
.service-contact__panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.03), transparent 28%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.025) 22px, transparent 22px, transparent 60px);
  opacity: 0.32;
  pointer-events: none;
}

.service-contact__panel::after {
  content: '';
  position: absolute;
  top: 1.3rem;
  right: 1.3rem;
  bottom: 1.3rem;
  width: clamp(180px, 28%, 320px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
  clip-path: polygon(0 0, 13% 0, 28% 56%, 42% 0, 55% 56%, 70% 0, 84% 56%, 100% 0, 100% 16%, 84% 100%, 69% 43%, 54% 100%, 39% 43%, 24% 100%, 0 16%);
  opacity: 0.26;
  pointer-events: none;
}

.service-proof__copy,
.service-proof__card,
.service-contact__copy,
.service-contact__form {
  position: relative;
  z-index: 1;
}

.service-proof__copy .button {
  margin-top: 1.3rem;
}

.service-faq-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-faq summary {
  cursor: pointer;
  list-style: none;
  padding-right: 2rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.15;
  position: relative;
}

.service-faq summary::-webkit-details-marker {
  display: none;
}

.service-faq summary::after {
  content: '+';
  position: absolute;
  top: 0;
  right: 0;
  color: var(--cyan);
  font-size: 1.25rem;
}

.service-faq[open] summary::after {
  content: '-';
}

.service-faq__body {
  margin-top: 0.9rem;
}

.service-contact__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 34rem;
}

.service-contact__copy .button {
  margin-top: 1.35rem;
  width: fit-content;
}

.service-contact__resource {
  margin-top: 1.2rem;
  padding: 1.15rem;
  border: 1px solid rgba(132, 98, 255, 0.24);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.03);
}

.service-contact__resource-eyebrow {
  color: #d0c3ff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-contact__resource-title {
  display: block;
  margin-top: 0.7rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  line-height: 1.15;
}

.service-contact__resource-actions {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.service-contact__resource-actions .button {
  width: 100%;
  margin-top: 0;
}

.service-contact__form {
  background: rgba(11, 8, 20, 0.7);
}

@media (max-width: 1180px) {
  .service-hero__grid,
  .service-proof__panel,
  .service-contact__panel,
  .service-capability-grid--wide {
    grid-template-columns: 1fr 1fr;
  }

  .service-capability-grid--wide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .prose .setup-checklist__grid {
    grid-template-columns: 1fr;
  }

  .service-hero__panel,
  .service-proof__panel,
  .service-contact__panel {
    padding: 1.4rem;
  }

  .service-hero__grid,
  .service-fit-grid,
  .service-capability-grid,
  .service-capability-grid--wide,
  .service-proof__panel,
  .service-contact__panel,
  .service-faq-grid {
    grid-template-columns: 1fr;
  }

  .service-contact__panel::after {
    width: 46%;
    bottom: 1rem;
    top: auto;
    height: 34%;
  }

  .service-contact__copy .button {
    width: 100%;
  }

  .hero__microcopy {
    flex-direction: column;
  }

  .service-stat-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .service-hero__visual,
  .service-fit-card,
  .service-capability-card,
  .service-proof__card,
  .service-faq,
  .service-contact__form {
    padding: 1.2rem;
  }

  .service-hero__token-list,
  .service-jump-nav {
    gap: 0.55rem;
  }

  .service-contact__panel::after {
    display: none;
  }
}

/* B2B positioning pass */
.site-nav .menu {
  gap: 1.4rem;
}

.hero__support-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.2rem;
}

.hero__support-pill,
.logo-chip {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(130, 95, 255, 0.26);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(243, 239, 255, 0.88);
  font-size: 0.88rem;
  font-weight: 600;
}

.section--trust {
  padding-top: 4.5rem;
  padding-bottom: 5rem;
}

.about-grid,
.trust-layout,
.resource-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: 1.35rem;
  align-items: start;
}

.about-story-grid {
  margin-top: 1.35rem;
}

.stat-grid--about {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 0;
  padding-top: 0;
}

.trust-panel,
.audience-card,
.guide-panel,
.solution-card,
.services-hub__intro {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.trust-panel,
.services-hub__intro,
.solution-card {
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(17, 216, 255, 0.08), transparent 18%),
    linear-gradient(180deg, rgba(20, 14, 40, 0.96), rgba(9, 7, 18, 0.98));
}

.trust-panel {
  display: grid;
  gap: 1.35rem;
  padding: 1.8rem;
}

.trust-panel__block {
  display: grid;
  gap: 0.95rem;
}

.trust-panel__label,
.solution-card__eyebrow,
.guide-panel__eyebrow {
  color: #d0c3ff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.logo-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.trust-point-list,
.guide-panel__list,
.solution-card__stats {
  display: grid;
  gap: 0.75rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.trust-point-list li,
.guide-panel__list li,
.solution-card__stats li {
  position: relative;
  padding-left: 1.25rem;
  color: rgba(236, 232, 249, 0.88);
}

.trust-point-list li::before,
.guide-panel__list li::before,
.solution-card__stats li::before {
  content: '';
  position: absolute;
  top: 0.6rem;
  left: 0;
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--primary-2));
}

.audience-grid,
.decision-grid,
.services-hub__grid,
.resource-grid {
  display: grid;
  gap: 1.25rem;
}

.audience-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.decision-grid,
.services-hub__grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.resource-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.audience-card {
  padding: 1.6rem;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(18, 13, 36, 0.96), rgba(8, 6, 18, 0.98));
}

.audience-card__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  min-height: 52px;
  border-radius: 14px;
  border: 1px solid rgba(132, 98, 255, 0.45);
  background: rgba(122, 67, 255, 0.1);
  color: #d9c9ff;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
}

.audience-card h3,
.guide-panel h3,
.solution-card h2 {
  margin-top: 1rem;
  font-size: 1.65rem;
}

.audience-card p,
.guide-panel p,
.solution-card p {
  margin-top: 0.85rem;
  color: var(--muted);
}

.guide-panel {
  position: sticky;
  top: 102px;
  padding: 1.9rem;
  border-radius: 28px;
  background:
    radial-gradient(circle at 18% 12%, rgba(17, 216, 255, 0.16), transparent 22%),
    radial-gradient(circle at 80% 18%, rgba(122, 67, 255, 0.22), transparent 30%),
    linear-gradient(180deg, rgba(25, 17, 52, 0.98), rgba(12, 9, 25, 0.98));
}

.guide-panel__actions {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.35rem;
}

.guide-panel__actions .button {
  width: 100%;
}

.solution-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.15rem;
}

.solution-card__chips .page-chip {
  min-height: 38px;
  font-size: 0.82rem;
}

.solution-card .entry-card__cta {
  margin-top: 1.2rem;
}

.services-hub__intro {
  margin-bottom: 1.35rem;
  padding: 1.55rem;
}

.services-hub__intro p:last-child {
  margin-bottom: 0;
}

@media (max-width: 1180px) {
  .about-grid,
  .trust-layout,
  .resource-shell {
    grid-template-columns: 1fr;
  }

  .resource-grid,
  .audience-grid,
  .services-hub__grid,
  .decision-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guide-panel {
    position: static;
  }
}

@media (max-width: 860px) {
  .site-nav .menu {
    gap: 1rem;
  }

  .trust-panel,
  .audience-card,
  .guide-panel,
  .solution-card,
  .services-hub__intro {
    padding: 1.35rem;
  }

  .resource-grid,
  .audience-grid,
  .services-hub__grid,
  .decision-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .stat-grid--about {
    grid-template-columns: 1fr;
  }

  .hero__support-list,
  .logo-chip-list,
  .solution-card__chips {
    gap: 0.55rem;
  }

  .hero__support-pill,
  .logo-chip {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .guide-panel h3,
  .solution-card h2,
  .audience-card h3 {
    font-size: 1.45rem;
  }
}

/* UI refinement pass */
:root {
  --surface-stroke: rgba(141, 108, 255, 0.16);
  --surface-stroke-strong: rgba(17, 216, 255, 0.26);
  --surface-glow: rgba(122, 67, 255, 0.22);
  --shadow-soft: 0 18px 48px rgba(0, 0, 0, 0.34);
  --shadow-strong: 0 26px 72px rgba(0, 0, 0, 0.44);
  --focus-ring: 0 0 0 2px rgba(7, 4, 15, 0.96), 0 0 0 4px rgba(17, 216, 255, 0.22);
}

:where(
  .button,
  .wpcf7-submit,
  .search-submit,
  .page-numbers,
  .site-nav a,
  .entry-card__cta,
  .section-link,
  .nav-toggle,
  .search-field,
  .wpcf7-form-control:not(.wpcf7-submit),
  .service-faq summary
):focus-visible {
  outline: 0;
  box-shadow: var(--focus-ring);
}

.site-header {
  background: linear-gradient(180deg, rgba(9, 6, 18, 0.94), rgba(7, 4, 15, 0.8));
  border-bottom-color: rgba(141, 108, 255, 0.14);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.site-header::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(17, 216, 255, 0.55), transparent);
  opacity: 0.38;
  pointer-events: none;
}

.site-header__inner {
  min-height: 84px;
}

.site-nav .menu > li > a {
  font-weight: 600;
  transition: color 0.22s ease, text-shadow 0.22s ease;
}

.site-nav .menu > li > a:hover,
.site-nav .menu > li > a:focus-visible,
.site-nav .menu > li.current-menu-item > a,
.site-nav .menu > li.current-menu-ancestor > a {
  text-shadow: 0 0 22px rgba(122, 67, 255, 0.2);
}

.site-nav .sub-menu {
  border-color: var(--surface-stroke);
  box-shadow: var(--shadow-strong);
}

.site-nav__cta {
  box-shadow: 0 18px 40px rgba(122, 67, 255, 0.24);
}

.button,
.wpcf7-submit,
.search-submit {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    color 0.25s ease;
}

.button::after,
.wpcf7-submit::after,
.search-submit::after {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0));
  opacity: 0.48;
  pointer-events: none;
  z-index: -1;
}

.button--solid,
.wpcf7-submit,
.search-submit {
  border-color: rgba(154, 87, 255, 0.36);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 20px 42px rgba(122, 67, 255, 0.28);
}

.button--ghost {
  border-color: rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
}

.button--ghost:hover,
.button--ghost:focus-visible {
  border-color: rgba(17, 216, 255, 0.24);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(122, 67, 255, 0.06));
  box-shadow: var(--shadow-soft);
}

.button--white {
  border-color: rgba(255, 255, 255, 0.36);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 18px 38px rgba(5, 3, 12, 0.22);
}

.hero__content,
.hero__visual-shell,
.feature-bar__inner,
.hero-proof__panel,
.trust-panel,
.guide-panel,
.services-hub__intro,
.page-hero__panel,
.service-proof__panel,
.service-contact__panel,
.contact-form,
.sidebar-card,
.article-aside__card,
.project-overview__card,
.single-project__main,
.prose--article,
.prose--page {
  border-color: var(--surface-stroke);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    var(--shadow-soft);
}

.service-card,
.ai-card,
.process-card,
.entry-card,
.project-card,
.audience-card,
.solution-card,
.service-fit-card,
.service-capability-card,
.service-proof__card,
.service-faq {
  position: relative;
  overflow: hidden;
  border-color: var(--surface-stroke);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.045),
    var(--shadow-soft);
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
}

.service-card::before,
.ai-card::before,
.process-card::before,
.entry-card::before,
.project-card::before,
.audience-card::before,
.solution-card::before,
.service-fit-card::before,
.service-capability-card::before,
.service-proof__card::before,
.service-faq::before {
  content: '';
  position: absolute;
  top: 0;
  left: 1.2rem;
  right: 1.2rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(17, 216, 255, 0.52), transparent);
  opacity: 0.34;
  pointer-events: none;
}

.service-card:hover,
.ai-card:hover,
.process-card:hover,
.entry-card:hover,
.project-card:hover,
.audience-card:hover,
.solution-card:hover,
.service-fit-card:hover,
.service-capability-card:hover,
.service-proof__card:hover,
.service-faq:hover {
  transform: translateY(-6px);
  border-color: var(--surface-stroke-strong);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    var(--shadow-strong);
}

.hero__visual-shell {
  place-items: end center;
}

.hero__visual-shell img {
  width: min(86%, 590px);
}

.hero-proof {
  padding: 1.1rem 0 3.25rem;
}

.hero-proof__panel {
  padding: 1.1rem;
  gap: 1rem;
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(17, 216, 255, 0.08), transparent 18%),
    linear-gradient(180deg, rgba(13, 10, 27, 0.98), rgba(8, 6, 18, 0.98));
}

.hero-proof__point {
  gap: 0.7rem;
  min-height: 72px;
  border-color: rgba(130, 95, 255, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 16px 34px rgba(0, 0, 0, 0.24);
}

.hero-proof__point::before {
  content: '';
  flex: 0 0 auto;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--primary-2));
  box-shadow: 0 0 18px rgba(17, 216, 255, 0.24);
}

.stat-card {
  position: relative;
  overflow: hidden;
  border-color: rgba(17, 216, 255, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 18px 38px rgba(0, 0, 0, 0.22);
}

.stat-card::before {
  content: '';
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, rgba(17, 216, 255, 0.9), rgba(122, 67, 255, 0.18));
}

.service-card__icon {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 16px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}

.service-card:hover .service-card__icon,
.ai-card:hover .ai-card__count,
.process-card:hover .process-card__number,
.audience-card:hover .audience-card__count {
  transform: translateY(-3px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 18px 34px rgba(122, 67, 255, 0.16);
}

.ai-card__count,
.process-card__number,
.audience-card__count {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.entry-card__media,
.project-card__media {
  position: relative;
}

.entry-card__media::before,
.project-card__media::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 22%),
    radial-gradient(circle at 82% 12%, rgba(17, 216, 255, 0.12), transparent 18%);
  z-index: 1;
  pointer-events: none;
}

.entry-card__media img,
.project-card__media img {
  transition: transform 0.65s ease, filter 0.3s ease;
}

.entry-card:hover .entry-card__media img,
.project-card:hover .project-card__media img {
  transform: scale(1.04);
  filter: saturate(1.05);
}

.entry-card__meta-row,
.project-card__meta-row {
  margin-bottom: 1rem;
  padding-bottom: 0.95rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.project-card__footer {
  padding-top: 1.05rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.project-card__metric,
.stack-chip,
.page-chip,
.logo-chip,
.hero__support-pill {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
}

.feature-bar__inner {
  border-top-color: rgba(17, 216, 255, 0.14);
  border-bottom-color: rgba(141, 108, 255, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    var(--shadow-soft);
}

.feature-bar__inner h3,
.trust-panel h3,
.services-hub__intro h2 {
  text-wrap: balance;
}

.guide-panel {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    var(--shadow-strong);
}

.cta-band__inner {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    var(--shadow-strong);
}

.cta-band__inner > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cta-band__inner p {
  max-width: 34rem;
}

.wpcf7-form-control:not(.wpcf7-submit),
.search-field {
  transition: border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.wpcf7-form-control:not(.wpcf7-submit):hover,
.search-field:hover {
  border-color: rgba(130, 95, 255, 0.24);
  background: rgba(255, 255, 255, 0.04);
}

.wpcf7-form-control:not(.wpcf7-submit):focus,
.search-field:focus {
  border-color: rgba(17, 216, 255, 0.26);
  background: rgba(255, 255, 255, 0.05);
}

@media (max-width: 860px) {
  .site-header__inner {
    min-height: 74px;
  }

  .site-nav {
    background: linear-gradient(180deg, rgba(10, 7, 20, 0.98), rgba(7, 5, 15, 0.98));
    box-shadow: var(--shadow-strong);
  }

  .hero-proof__panel {
    padding: 0.9rem;
    border-radius: 24px;
  }

  .hero-proof__point,
  .stat-card {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  .button,
  .button--small,
  .wpcf7-submit,
  .search-submit {
    min-height: 52px;
    border-radius: 16px;
  }

  .hero-proof__panel {
    gap: 0.8rem;
  }

  .service-card,
  .ai-card,
  .process-card,
  .entry-card,
  .project-card,
  .audience-card,
  .solution-card,
  .service-fit-card,
  .service-capability-card,
  .service-proof__card,
  .service-faq {
    border-radius: 20px;
  }

  .service-card::before,
  .ai-card::before,
  .process-card::before,
  .entry-card::before,
  .project-card::before,
  .audience-card::before,
  .solution-card::before,
  .service-fit-card::before,
  .service-capability-card::before,
  .service-proof__card::before,
  .service-faq::before {
    left: 1rem;
    right: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal,
  .reveal.is-visible {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }
}

@media (prefers-contrast: more) {
  :root {
    --line: rgba(255, 255, 255, 0.34);
    --line-strong: rgba(255, 255, 255, 0.48);
  }

  :where(a[href], button, input, select, textarea, summary):focus-visible {
    outline-color: #ffffff;
  }

  .site-nav a,
  .entry-card__reading,
  .stat-card span,
  .service-stat-card span,
  .service-hero__visual p,
  .service-capability-card p,
  .service-fit-card p,
  .service-faq__body p,
  .service-contact__copy p,
  .prose p,
  .prose li {
    color: #f5f2ff;
  }
}
