/* SqualaDesign 2026 - HTML design system (modern refresh)
   Brand accents: violet #822b70 · pink #cc5fa3 (hero, CTAs, puzzles)
   Neutrals: charcoal / ink / light grey carry most UI chrome
   Display: Augie · Body: Work Sans
   Recreate in Elementor; this folder is the visual source of truth. */

@font-face {
  font-family: "Augie";
  src: url("../logo/fonts/augie-webfont.woff2") format("woff2"),
    url("../logo/fonts/augie-webfont.woff") format("woff"),
    url("../logo/fonts/augie.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --sq-violet: #822b70;
  --sq-violet-dark: #6d2161;
  --sq-violet-deep: #4f1546;
  --sq-pink: #cc5fa3;
  --sq-pink-dark: #b64699;
  --sq-purple: #8d598f;
  --sq-ink: #1a1a1a;
  --sq-charcoal: #2a2a2a;
  --sq-muted: #4a4a4a;
  --sq-grey: #6e6e6e;
  --sq-line: rgba(26, 26, 26, 0.1);
  --sq-mist: #f3f3f4;
  --sq-fog: #e8e8ea;
  --sq-white: #ffffff;
  --sq-font-display: "Augie", "Work Sans", system-ui, sans-serif;
  --sq-font: "Work Sans", system-ui, sans-serif;
  --sq-max: 1480px;
  --sq-pad: clamp(1rem, 3.6vw, 3.5rem);
  --sq-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: clamp(3.75rem, 8vw, 4.25rem);
  --radius: 0.65rem;
  --btn-radius: 0.55rem;
  --sq-nav-break: 960px;
}

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

html {
  scroll-behavior: smooth;
  /* Fluid root - scales type with viewport without fixed 120% jump */
  font-size: clamp(100%, 0.35vw + 0.92rem, 118%);
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--sq-font);
  font-size: clamp(1rem, 0.25vw + 0.95rem, 1.08rem);
  font-weight: 400;
  color: var(--sq-ink);
  background: var(--sq-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  min-width: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--sq-font-display);
  font-weight: normal;
  color: var(--sq-ink);
  line-height: 1.2;
  margin: 0 0 0.85rem;
  overflow-wrap: anywhere;
  word-break: break-word;
}

img,
video,
svg,
canvas {
  max-width: 100%;
  height: auto;
}

img {
  display: block;
}

a {
  color: var(--sq-charcoal);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--sq-violet-dark);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--sq-violet-dark);
  color: var(--sq-white);
  padding: 0.75rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

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

.wrap {
  width: min(100% - (var(--sq-pad) * 2), var(--sq-max));
  margin-inline: auto;
}

.wrap--full {
  width: min(100% - (var(--sq-pad) * 2), 1600px);
}

/* --- Header --- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--header-h);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--sq-line);
}

/* Opaque while mega is open - stops hero CTAs bleeding through blur */
.site-header:has(.nav__item--mega.is-open),
.site-header.is-mega-open {
  background: #fff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.site-header__inner {
  position: relative;
  width: min(100% - (var(--sq-pad) * 2), var(--sq-max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  padding: 0.4rem 0;
}

.logo-link img {
  width: auto;
  height: clamp(2.35rem, 4.5vw, 3.1rem);
  max-width: min(14rem, 52vw);
  object-fit: contain;
}

.nav-toggle {
  display: none;
  position: relative;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 2.65rem;
  height: 2.65rem;
  background: transparent;
  border: 1.5px solid var(--sq-violet);
  border-radius: 0.45rem;
  padding: 0;
  cursor: pointer;
  color: var(--sq-violet);
  z-index: 80;
}

.nav-toggle span {
  display: block;
  width: 1.15rem;
  height: 2px;
  border-radius: 2px;
  background: var(--sq-violet);
  transition: transform 0.25s var(--sq-ease), opacity 0.2s var(--sq-ease);
  transform-origin: center;
}

.nav-toggle[aria-expanded="true"] {
  border-color: var(--sq-violet);
}

/* Overview card - mobile popup only (never in desktop bar) */
.nav__overview {
  display: none !important;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 0.35rem 2.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__list > li {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav__list > li > a:not(.btn):not(.nav__mega-link):not(.nav__home):not(.nav__cta) {
  color: var(--sq-ink);
  text-decoration: none;
  font-weight: 400;
  font-size: 1.22rem;
  letter-spacing: 0.015em;
  white-space: nowrap;
}

.nav__list > li > a:not(.btn):not(.nav__mega-link):not(.nav__home):not(.nav__cta):hover {
  color: var(--sq-grey);
}

.nav__list > li > a:not(.btn):not(.nav__mega-link):not(.nav__home):not(.nav__cta)[aria-current="page"] {
  color: var(--sq-violet);
  font-weight: 600;
}

.nav__home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--sq-ink);
  line-height: 1;
  height: 1.55rem;
  margin-top: 0.05rem; /* optical align with menu type */
}

.nav__home:hover {
  color: var(--sq-violet);
}

.nav__home[aria-current="page"] {
  color: var(--sq-violet);
}

.nav__home-icon {
  display: block;
  width: 1.55rem;
  height: 1.55rem;
  flex-shrink: 0;
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.05rem;
  border-radius: var(--btn-radius);
  background: var(--sq-charcoal);
  color: var(--sq-white) !important;
  font-weight: 500 !important;
  font-size: 1.1rem;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.25s var(--sq-ease), transform 0.25s var(--sq-ease);
}

.nav__cta:hover {
  background: var(--sq-violet-dark);
  transform: translateY(-1px);
}

/* --- Mega menu: What we do --- */

.nav__item--mega {
  position: static;
}

.nav__mega-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
}

.nav__mega-link {
  color: var(--sq-ink);
  text-decoration: none;
  font-weight: 400;
  font-size: 1.22rem;
  letter-spacing: 0.015em;
}

.nav__mega-link:hover {
  color: var(--sq-grey);
}

.nav__mega-link[aria-current="page"] {
  color: var(--sq-violet);
  font-weight: 600;
}

.nav__mega-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.55rem;
  height: 1.55rem;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0.35rem;
  background: transparent;
  color: var(--sq-ink);
  cursor: pointer;
}

.nav__item--mega.is-open .nav__mega-btn {
  color: var(--sq-violet);
}

.nav__item--mega.is-open .nav__mega-btn svg {
  transform: rotate(180deg);
}

.nav__mega-btn svg {
  transition: transform 0.2s var(--sq-ease);
}

.mega-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 60;
  /* Escape translucent header compositing */
  transform: translateZ(0);
}

.mega-menu[hidden] {
  display: none !important;
}

.mega-menu__panel {
  background: #fff;
  border-bottom: 1px solid var(--sq-line);
  box-shadow: 0 18px 40px rgba(26, 26, 26, 0.12);
  padding: 1.5rem 0 1.75rem;
  isolation: isolate;
  /* Force opaque paint so page content never shows through */
  background-clip: padding-box;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.mega-menu__inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(12rem, 0.9fr);
  gap: 1.5rem 1.75rem;
  align-items: start;
  width: min(100% - (var(--sq-pad) * 2), var(--sq-max));
  margin-inline: auto;
  box-sizing: border-box;
}

.mega-menu__heading {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sq-grey);
}

.mega-menu__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.mega-menu__list a {
  display: block;
  color: var(--sq-charcoal) !important;
  text-decoration: none !important;
  font-size: 0.98rem !important;
  font-weight: 500 !important;
  line-height: 1.35;
  padding: 0.15rem 0;
}

.mega-menu__list a:hover,
.mega-menu__list a:focus-visible,
.mega-menu__list a[aria-current="page"] {
  color: var(--sq-violet) !important;
}

.mega-menu__aside {
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  background: var(--sq-mist);
  border: 1px solid var(--sq-fog);
  display: grid;
  gap: 0.75rem;
  align-content: start;
}

.mega-menu__blurb {
  margin: 0;
  font-size: 0.95rem;
  color: var(--sq-muted);
  line-height: 1.45;
}

.mega-menu__aside .btn {
  justify-self: stretch;
  width: 100%;
  font-size: 0.95rem;
  padding: 0.65rem 1.15rem;
  text-align: center;
  text-decoration: none !important;
  font-weight: 500 !important;
  border-radius: var(--btn-radius);
  letter-spacing: 0;
  line-height: 1.25;
}

.mega-menu__aside a.btn-violet,
.mega-menu__aside a.btn.btn-violet {
  background: var(--sq-violet) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border: none !important;
  box-shadow: 0 8px 20px rgba(130, 43, 112, 0.28);
}

.mega-menu__aside a.btn-violet:hover,
.mega-menu__aside a.btn-violet:focus-visible,
.mega-menu__aside a.btn.btn-violet:hover,
.mega-menu__aside a.btn.btn-violet:focus-visible {
  background: var(--sq-violet-dark) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.mega-menu__aside a.btn-pink,
.mega-menu__aside a.btn.btn-pink {
  background: var(--sq-pink) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border: none !important;
  box-shadow: 0 8px 20px rgba(204, 95, 163, 0.28);
}

.mega-menu__aside a.btn-pink:hover,
.mega-menu__aside a.btn-pink:focus-visible,
.mega-menu__aside a.btn.btn-pink:hover,
.mega-menu__aside a.btn.btn-pink:focus-visible {
  background: var(--sq-violet-dark) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* --- Service detail pages --- */

.service-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2rem 2.5rem;
  align-items: center;
}

.service-detail__sublabel {
  margin-top: 1.75rem;
}

.service-detail__bullets {
  margin: 0.5rem 0 1.5rem;
  padding-left: 1.15rem;
  color: var(--sq-muted);
  line-height: 1.55;
  max-width: 36rem;
}

.service-detail__bullets li {
  margin-bottom: 0.4rem;
}

.service-detail__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.service-detail__shot {
  margin: 0;
  border-radius: calc(var(--radius) + 0.2rem);
  overflow: hidden;
  background: var(--sq-mist);
  border: 1px solid var(--sq-fog);
  aspect-ratio: 16 / 10;
}

.service-detail__shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.integrations-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem 1.35rem;
  aspect-ratio: auto;
  min-height: 16rem;
  background:
    linear-gradient(145deg, rgba(130, 43, 112, 0.06), rgba(204, 95, 163, 0.05)),
    var(--sq-mist);
}

.integrations-panel__label {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sq-grey);
}

.integrations-panel__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem 0.85rem;
}

.integrations-panel__list li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.7rem;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--sq-fog);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--sq-ink);
}

.integrations-panel__list img {
  width: 1.55rem;
  height: 1.55rem;
  object-fit: contain;
  flex-shrink: 0;
}

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

.integrations-grid__item {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.15rem 1.2rem;
  border-radius: calc(var(--radius) + 0.15rem);
  background: #fff;
  border: 1px solid var(--sq-fog);
}

.integrations-grid__item img {
  width: 2rem;
  height: 2rem;
  object-fit: contain;
}

.integrations-grid__item strong {
  font-size: 1.02rem;
  color: var(--sq-ink);
}

.integrations-grid__item span {
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--sq-muted);
}

.integrations-grid__item--wide {
  grid-column: 1 / -1;
  background:
    linear-gradient(145deg, rgba(130, 43, 112, 0.05), rgba(204, 95, 163, 0.04)),
    #fff;
}

.services__showcase--integrations {
  display: grid;
  place-items: center;
  align-self: center;
  padding: 1.25rem;
  aspect-ratio: auto;
  max-height: none;
  overflow: visible;
  min-height: 0;
  height: auto;
  background:
    linear-gradient(145deg, rgba(130, 43, 112, 0.06), rgba(204, 95, 163, 0.05)),
    var(--sq-mist);
}

.integrations-showcase {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  width: 100%;
}

.integrations-showcase li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 0.5rem;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--sq-fog);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--sq-ink);
  text-align: center;
}

.services__showcase--integrations .integrations-showcase img,
.integrations-showcase img {
  display: block;
  width: 2rem;
  height: 2rem;
  object-fit: contain;
  object-position: center;
}

.hosting-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem 1.35rem;
  aspect-ratio: auto;
  min-height: 16rem;
  background:
    linear-gradient(145deg, rgba(130, 43, 112, 0.06), rgba(204, 95, 163, 0.05)),
    var(--sq-mist);
}

.hosting-panel__label {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sq-grey);
}

.hosting-panel__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.hosting-panel__list li {
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--sq-fog);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--sq-ink);
}

.hosting-panel__note {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--sq-muted);
}

.hosting-pricing-placeholder {
  margin: 1.25rem 0 0;
  max-width: 36rem;
  padding: 1.15rem 1.25rem;
  border-radius: calc(var(--radius) + 0.15rem);
  border: 1px dashed var(--sq-fog);
  background: #fff;
  color: var(--sq-muted);
  font-size: 0.98rem;
}

.hosting-pricing-actions {
  margin-top: 1.25rem;
}

.service-depth {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem 2.25rem;
  margin-top: 0.5rem;
}

.service-depth__item h3 {
  margin: 0 0 0.65rem;
  font-family: var(--sq-font);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--sq-charcoal);
  letter-spacing: 0.01em;
}

.service-depth__item p {
  margin: 0;
  color: var(--sq-muted);
  line-height: 1.55;
  font-size: 1.02rem;
}

.service-depth__item a {
  color: var(--sq-violet);
  font-weight: 500;
  text-decoration: none;
}

.service-depth__item a:hover,
.service-depth__item a:focus-visible {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .service-depth {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.service-next .about-cta {
  align-items: center;
}

.service-next .section__lead {
  max-width: 38rem;
  color: var(--sq-muted);
}

.section .about-cta .section__lead a {
  color: var(--sq-violet);
  font-weight: 500;
  text-decoration: none;
}

.section .about-cta .section__lead a:hover,
.section .about-cta .section__lead a:focus-visible {
  text-decoration: underline;
}

/* --- Buttons --- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.45rem;
  border: none;
  border-radius: var(--btn-radius);
  font-family: var(--sq-font);
  font-size: 1.08rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s var(--sq-ease), color 0.25s var(--sq-ease),
    transform 0.25s var(--sq-ease), box-shadow 0.25s var(--sq-ease);
}

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

.btn-pink {
  background: var(--sq-pink);
  color: var(--sq-white);
  box-shadow: 0 8px 22px rgba(204, 95, 163, 0.22);
}

.btn-pink:hover {
  background: var(--sq-violet-dark);
  color: var(--sq-white);
  box-shadow: 0 10px 24px rgba(42, 42, 42, 0.2);
}

.btn-dark {
  background: var(--sq-charcoal);
  color: var(--sq-white);
  box-shadow: 0 8px 22px rgba(26, 26, 26, 0.16);
}

.btn-dark:hover {
  background: var(--sq-ink);
  color: var(--sq-white);
  box-shadow: 0 10px 24px rgba(26, 26, 26, 0.22);
}

.btn-violet {
  background: var(--sq-violet);
  color: var(--sq-white);
  box-shadow: 0 8px 22px rgba(130, 43, 112, 0.28);
}

.btn-violet:hover {
  background: var(--sq-violet-dark);
  color: var(--sq-white);
  box-shadow: 0 10px 24px rgba(109, 33, 97, 0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--sq-charcoal);
  border: 1px solid var(--sq-fog);
  box-shadow: none;
}

.btn-ghost:hover {
  background: var(--sq-mist);
  color: var(--sq-ink);
  border-color: var(--sq-grey);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.1);
  color: var(--sq-white);
  border: 1px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(6px);
}

.btn-outline:hover {
  background: var(--sq-white);
  color: var(--sq-ink);
}

/* --- Hero --- */

.hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(24rem, 62vh, 36rem);
  display: grid;
  align-items: center;
  color: var(--sq-white);
  overflow: hidden;
  background:
    radial-gradient(ellipse 50% 65% at 90% 40%, rgba(204, 95, 163, 0.22), transparent 58%),
    radial-gradient(ellipse 45% 55% at 6% 88%, rgba(0, 0, 0, 0.35), transparent 55%),
    linear-gradient(125deg, #2a2428 0%, #4f1546 38%, #6d2161 72%, #7a3a6a 100%);
}

.hero__particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.95;
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: min(100% - (var(--sq-pad) * 2), var(--sq-max));
  margin: 0 auto;
  padding: 4.75rem 0 4rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 2rem;
    padding: 5.25rem 0 4.5rem;
  }

  .hero__visual {
    min-height: 24rem;
  }

  .hero-puzzle {
    width: min(100%, 32rem);
  }
}

.hero__copy {
  max-width: 34rem;
}

.hero__brand {
  font-family: var(--sq-font-display);
  font-size: clamp(2.9rem, 7.5vw, 4.5rem);
  color: var(--sq-white);
  margin: 0 0 0.75rem;
  letter-spacing: 0.01em;
  opacity: 0;
  animation: rise-up 0.85s 0.08s var(--sq-ease) both;
}

.hero__tag {
  margin: 0 0 0.85rem;
  max-width: 34rem;
  font-size: clamp(1.3rem, 2.7vw, 1.6rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.97);
  line-height: 1.45;
  opacity: 0;
  animation: rise-up 0.85s 0.22s var(--sq-ease) both;
}

.hero__support {
  margin: 0 0 1.6rem;
  max-width: 32rem;
  font-size: 1.12rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  opacity: 0;
  animation: rise-up 0.85s 0.36s var(--sq-ease) both;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  opacity: 0;
  animation: rise-up 0.85s 0.5s var(--sq-ease) both;
}

.hero__visual {
  position: relative;
  min-height: 20rem;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.9s 0.12s var(--sq-ease) both;
}

.hero-puzzle {
  position: relative;
  width: min(100%, 30rem);
  aspect-ratio: 1.05;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.28));
}

.hero-puzzle__glow {
  position: absolute;
  inset: 18% 12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.22), transparent 68%);
  pointer-events: none;
}

.hero-puzzle__p {
  position: absolute;
  width: auto;
  height: auto;
  max-width: none;
  filter: drop-shadow(0 8px 16px rgba(79, 21, 70, 0.35));
  will-change: transform, opacity;
  opacity: 0;
}

.hero-puzzle__p--1 {
  width: 38%;
  left: 8%;
  top: 10%;
  animation:
    rise-up 0.8s 0.2s var(--sq-ease) both,
    puzzle-float-a 5.5s 1.05s ease-in-out infinite;
}

.hero-puzzle__p--2 {
  width: 52%;
  right: 4%;
  top: 18%;
  animation:
    rise-up 0.8s 0.34s var(--sq-ease) both,
    puzzle-float-b 6.2s 1.2s ease-in-out infinite;
}

.hero-puzzle__p--3 {
  width: 34%;
  left: 18%;
  bottom: 8%;
  animation:
    rise-up 0.8s 0.48s var(--sq-ease) both,
    puzzle-float-c 5.8s 1.35s ease-in-out infinite;
}

.hero-puzzle__p--4 {
  width: 28%;
  right: 16%;
  bottom: 12%;
  animation:
    rise-up 0.8s 0.62s var(--sq-ease) both,
    puzzle-float-a 6.8s 1.5s ease-in-out infinite reverse;
}

@keyframes puzzle-float-a {
  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }
  50% {
    transform: translateY(-12px) rotate(2deg);
  }
}

@keyframes puzzle-float-b {
  0%,
  100% {
    transform: translateY(0) rotate(3deg);
  }
  50% {
    transform: translateY(10px) rotate(-1deg);
  }
}

@keyframes puzzle-float-c {
  0%,
  100% {
    transform: translateY(0) rotate(1deg);
  }
  50% {
    transform: translateY(-8px) rotate(-3deg);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rise-up {
  from {
    opacity: 0;
    transform: translateY(2.75rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-puzzle__p {
    animation: none !important;
    opacity: 1;
    transform: none;
  }

  .hero__brand,
  .hero__tag,
  .hero__support,
  .hero__actions,
  .hero__visual {
    animation: none !important;
    opacity: 1;
    transform: none;
  }
}

/* --- Logo carousel (after hero) --- */

.logo-rail {
  background: var(--sq-white);
  border-bottom: 1px solid var(--sq-fog);
  padding: 1.1rem 0 1.25rem;
  overflow: hidden;
}

.logo-rail__viewport {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.logo-rail__track {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  width: max-content;
  list-style: none;
  margin: 0;
  padding: 0.35rem 0;
  animation: logo-marquee 52s linear infinite;
}

.logo-rail__track:hover {
  animation-play-state: paused;
}

.logo-rail__item {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
  color: var(--sq-charcoal);
  font-size: 0.98rem;
  font-weight: 500;
  white-space: nowrap;
}

.logo-rail__item img {
  width: 1.75rem;
  height: 1.75rem;
  object-fit: contain;
  filter: grayscale(1) opacity(0.78);
  transition: filter 0.25s var(--sq-ease);
}

.logo-rail__item:hover img {
  filter: none;
}

@keyframes logo-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo-rail__track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: var(--sq-max);
    margin-inline: auto;
    padding-inline: var(--sq-pad);
    gap: 1.25rem 1.75rem;
  }

  .logo-rail__item[aria-hidden="true"] {
    display: none;
  }
}

/* --- Sections --- */

.section {
  padding: clamp(2.75rem, 7vw, 4.5rem) 0;
  width: 100%;
  min-width: 0;
}

/* Case studies - tighter gap under hero before breadcrumb */
.section--case {
  padding-top: clamp(1.375rem, 3.5vw, 2.25rem);
}

/* --- Inner page hero (all pages except Home) --- */

.page-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 42vh;
  color: var(--sq-white);
  background:
    radial-gradient(ellipse 45% 60% at 92% 30%, rgba(204, 95, 163, 0.18), transparent 55%),
    linear-gradient(125deg, #2a2428 0%, #4f1546 42%, #6d2161 78%, #7a3a6a 100%);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("../img/patterns/soft-puzzle.svg");
  background-repeat: repeat;
  background-size: 9rem 9rem;
  opacity: 0.05;
  mask-image: linear-gradient(95deg, transparent 52%, rgba(0, 0, 0, 0.35) 78%, #000 100%);
  -webkit-mask-image: linear-gradient(95deg, transparent 52%, rgba(0, 0, 0, 0.35) 78%, #000 100%);
}

.page-hero > .wrap {
  position: relative;
  z-index: 1;
  /* Keep global .wrap width (includes side gutters) - do not force 100% */
}

.page-hero__credit,
.page-hero .pc-featured__credit {
  color: rgba(255, 255, 255, 0.9);
}

.page-hero__credit .pc-tag,
.page-hero .pc-featured__credit .pc-tag {
  color: #f4c6e3;
  text-decoration-color: rgba(244, 198, 227, 0.75);
}

.page-hero__credit .pc-tag:hover,
.page-hero__credit .pc-tag:focus-visible,
.page-hero .pc-featured__credit .pc-tag:hover,
.page-hero .pc-featured__credit .pc-tag:focus-visible {
  color: #fff;
  text-decoration-color: #fff;
}

.page-hero__copy {
  position: relative;
  z-index: 1;
  padding: 1.5rem 0;
  max-width: min(48rem, 72%);
  text-align: left;
}

.page-hero__label {
  margin: 0 0 0.45rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

.page-hero__label a {
  color: inherit;
  text-decoration: none;
}

.page-hero__label a:hover,
.page-hero__label a:focus-visible {
  text-decoration: underline;
}

.page-hero__title {
  margin: 0 0 0.55rem;
  font-family: var(--sq-font-display);
  font-weight: normal;
  font-size: clamp(1.85rem, 5.2vw, 2.85rem);
  line-height: 1.15;
  color: var(--sq-white);
}

.page-hero__lead {
  margin: 0 0 1.1rem;
  font-size: clamp(1rem, 1.8vw, 1.12rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
  max-width: min(40rem, 100%);
}

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 0.9rem;
}

/* --- About page --- */

.about-today {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 2rem 2.5rem;
  align-items: center;
  margin-bottom: 0.25rem;
}

.about-today__copy .about-copy:last-child {
  margin-bottom: 0;
}

.about-today__visual {
  display: grid;
  place-items: center;
  min-height: 14rem;
}

.hero-puzzle--about {
  width: min(100%, 18.5rem);
  filter: drop-shadow(0 14px 28px rgba(79, 21, 70, 0.18));
}

.hero-puzzle--about .hero-puzzle__glow {
  background: radial-gradient(circle, rgba(130, 43, 112, 0.14), transparent 68%);
}

.hero-puzzle--about .hero-puzzle__p {
  filter: drop-shadow(0 6px 12px rgba(79, 21, 70, 0.22));
}

.about-story {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
  gap: 2.5rem 3rem;
  align-items: center;
}

.about-copy {
  margin: 0 0 1.15rem;
  font-size: 1.08rem;
  color: var(--sq-muted);
  line-height: 1.7;
  max-width: 40rem;
}

.about-copy--narrow {
  max-width: 42rem;
}

.about-copy a {
  color: var(--sq-violet);
  font-weight: 500;
}

.about-timeline {
  display: grid;
  gap: 1rem;
}

.about-timeline__item {
  padding: 1.1rem 1.2rem;
  border-radius: var(--radius);
  background: var(--sq-mist);
  border: 1px solid var(--sq-fog);
}

.about-timeline__year {
  margin: 0 0 0.25rem;
  font-family: var(--sq-font-display);
  font-size: 1.65rem;
  color: var(--sq-violet);
  line-height: 1;
}

.about-timeline__text {
  margin: 0;
  font-size: 1rem;
  color: var(--sq-muted);
  line-height: 1.4;
}

.about-lead-dark,
.about-lead-on-violet {
  color: rgba(255, 255, 255, 0.82);
}

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

.about-points li {
  padding: 1.25rem 1.3rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-points strong {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 1.05rem;
  color: var(--sq-white);
}

.about-points span {
  display: block;
  font-size: 0.98rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
}

/* Light surfaces - dark text (must follow dark defaults) */
.about-points--light {
  margin-top: 2rem;
}

.about-points--light li {
  background: var(--sq-white);
  border: 1px solid var(--sq-fog);
}

.about-points--light strong {
  color: var(--sq-ink);
}

.about-points--light span {
  color: var(--sq-muted);
}

.about-partner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  gap: 2rem 3rem;
  align-items: center;
}

.about-partner__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 8rem;
  padding: 1.5rem;
  border-radius: 1rem;
  background: #ffffff;
  text-decoration: none;
  transition: transform 0.25s var(--sq-ease), box-shadow 0.25s var(--sq-ease);
}

.about-partner__logo:hover,
.about-partner__logo:focus-visible {
  transform: none;
  box-shadow: none;
}

.about-partner__logo img {
  display: block;
  width: auto;
  max-width: 9rem;
  max-height: 5.5rem;
  height: auto;
  object-fit: contain;
}

.about-link-on-dark {
  color: #ffb8e0;
  font-weight: 500;
}

.about-link-on-dark:hover,
.about-link-on-dark:focus-visible {
  color: var(--sq-white);
}

.about-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 2rem;
}

.about-cta > div:first-child {
  flex: 1 1 min(100%, 28rem);
  min-width: 0;
}

.about-cta .section__title {
  margin-bottom: 0.65rem;
}

.about-cta .section__lead {
  margin-bottom: 0;
  max-width: 40rem;
}

.about-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.about-cta__actions .btn {
  flex: 1 1 auto;
  min-width: min(100%, 11rem);
}

.btn-outline--on-dark {
  color: var(--sq-white);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-outline--on-dark:hover,
.btn-outline--on-dark:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--sq-white);
  color: var(--sq-white);
}

/* --- What we do / services --- */

.services-intro {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.services {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.75rem;
}

.services__item {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 1.75rem 2.25rem;
  align-items: center;
  padding: 0 0 2.75rem;
  border-bottom: 1px solid var(--sq-fog);
}

.services__item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.services__heading {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.services__icon {
  width: 3.25rem;
  height: 3.25rem;
  flex: 0 0 auto;
  display: block;
  object-fit: contain;
}

.services__item a:not(.btn) {
  color: var(--sq-violet);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.services__name {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--sq-charcoal);
  line-height: 1.25;
}

.services__text {
  margin: 0 0 0.7rem;
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--sq-muted);
  line-height: 1.55;
  max-width: 38rem;
}

.services__text:last-child {
  margin-bottom: 0;
}

.services__actions {
  margin: 1.15rem 0 0;
}

.services__actions .btn {
  font-size: 0.95rem;
  padding: 0.55rem 1.35rem;
  color: var(--sq-white);
  text-decoration: none;
}

.services__actions .btn:hover,
.services__actions .btn:focus-visible {
  color: var(--sq-white);
  text-decoration: none;
}

.services__showcase {
  margin: 0;
  border-radius: calc(var(--radius) + 0.2rem);
  overflow: hidden;
  background: var(--sq-mist);
  border: 1px solid var(--sq-fog);
  min-height: 0;
  aspect-ratio: 16 / 10;
  max-height: 22rem;
}

.services__showcase img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.services__showcase--empty {
  display: grid;
  place-items: center;
  min-height: 15rem;
  background:
    linear-gradient(145deg, rgba(130, 43, 112, 0.06), rgba(204, 95, 163, 0.05)),
    var(--sq-mist);
}

.services__showcase-ph {
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--sq-grey);
}

.services-software {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 2rem 2.5rem;
  align-items: center;
}

.services-software__copy {
  max-width: 36rem;
}

.services-software .about-copy {
  max-width: none;
}

.about-copy--on-dark {
  color: rgba(255, 255, 255, 0.88);
}

.about-copy--on-dark strong {
  color: var(--sq-white);
}

.services-software__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.35rem;
}

.product-fade {
  width: 100%;
}

.product-fade__stage {
  position: relative;
  border-radius: calc(var(--radius) + 0.15rem);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.35);
  aspect-ratio: 16 / 9;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.product-fade__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.85s var(--sq-ease),
    visibility 0.85s var(--sq-ease);
  pointer-events: none;
}

.product-fade__slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}

.product-fade__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}

.product-fade .product-slideshow__nav {
  margin-top: 1rem;
}

.product-slideshow__nav--on-dark .product-slideshow__btn--on-dark {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--sq-white);
}

.product-slideshow__nav--on-dark .product-slideshow__btn--on-dark:hover,
.product-slideshow__nav--on-dark .product-slideshow__btn--on-dark:focus-visible {
  background: var(--sq-pink);
  border-color: var(--sq-pink);
  color: var(--sq-white);
}

.product-slideshow__dot--on-dark {
  background: rgba(255, 255, 255, 0.35);
}

.product-slideshow__dot--on-dark.is-active {
  background: var(--sq-pink);
}

@media (prefers-reduced-motion: reduce) {
  .product-fade__slide {
    transition: none;
  }
}

/* --- Contact page --- */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 2.5rem 3rem;
  align-items: start;
}

.contact-channels {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.contact-channels__item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius);
  background: var(--sq-mist);
  border: 1px solid var(--sq-fog);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s var(--sq-ease), background 0.2s var(--sq-ease),
    transform 0.2s var(--sq-ease);
}

.contact-channels__item:hover,
.contact-channels__item:focus-visible {
  background: #fff;
  border-color: rgba(130, 43, 112, 0.35);
  transform: translateY(-1px);
}

.contact-channels__icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.65rem;
  background: rgba(130, 43, 112, 0.1);
  color: var(--sq-violet);
}

.contact-channels__icon img {
  width: 1.25rem;
  height: 1.25rem;
  /* Tint black brand glyphs to Squala violet */
  filter: invert(22%) sepia(48%) saturate(1800%) hue-rotate(280deg) brightness(85%)
    contrast(95%);
}

.contact-channels__text {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}

.contact-channels__label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sq-grey);
}

.contact-channels__value {
  color: var(--sq-violet);
  font-weight: 500;
  word-break: break-word;
}

.contact-channels__item:hover .contact-channels__value,
.contact-channels__item:focus-visible .contact-channels__value {
  text-decoration: underline;
}

.contact-form-panel {
  position: relative;
  padding: 1.75rem 1.6rem 1.85rem;
  border-radius: 1rem;
  background: var(--sq-mist);
  border: 1px solid var(--sq-fog);
}

.contact-form-panel__title {
  margin-bottom: 1rem;
}

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

.contact-form__note {
  margin: 0 0 0.25rem;
  font-size: 0.92rem;
  color: var(--sq-muted);
  line-height: 1.45;
}

.contact-form__alert {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
  line-height: 1.45;
}

.contact-form__alert--success {
  background: #e8f5ee;
  color: #1d5c3a;
  border: 1px solid #b7dfc6;
}

.contact-form__alert--error {
  background: #fdeeee;
  color: #8a1f1f;
  border: 1px solid #f0c4c4;
}

.contact-form__hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form__note--quiet {
  font-size: 0.78rem;
  color: var(--sq-muted);
}

.contact-form__note--quiet a {
  color: inherit;
  text-decoration: underline;
}

.contact-form__field {
  display: grid;
  gap: 0.4rem;
}

.contact-form__field span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--sq-ink);
}

.contact-form__field abbr {
  text-decoration: none;
  color: var(--sq-violet);
}

.contact-form__field input,
.contact-form__field textarea {
  width: 100%;
  margin: 0;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--sq-fog);
  border-radius: var(--radius);
  background: var(--sq-white);
  font: inherit;
  color: var(--sq-ink);
  line-height: 1.4;
}

.contact-form__field input:focus,
.contact-form__field textarea:focus {
  outline: 2px solid rgba(130, 43, 112, 0.35);
  outline-offset: 1px;
  border-color: var(--sq-violet);
}

.contact-form__field textarea {
  resize: vertical;
  min-height: 8rem;
}

.contact-form .btn {
  justify-self: start;
  margin-top: 0.25rem;
}

.section--mist {
  background: var(--sq-mist);
}

.section--dark,
.section--violet,
.pc-working {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: var(--sq-white);
}

.section--dark {
  background: linear-gradient(145deg, #1c1c1e 0%, #2a2a2c 55%, #353538 100%);
}

.section--violet {
  background: linear-gradient(155deg, var(--sq-violet-deep) 0%, var(--sq-violet-dark) 48%, var(--sq-violet) 100%);
}

/* Soft puzzle tile only - one light watermark element */
.section--dark::before,
.section--violet::before,
.pc-working::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("../img/patterns/soft-puzzle.svg");
  background-repeat: repeat;
  background-size: 10rem 10rem;
}

.section--dark::before {
  opacity: 0.04;
  mask-image: linear-gradient(100deg, transparent 28%, rgba(0, 0, 0, 0.45) 78%, #000 100%);
  -webkit-mask-image: linear-gradient(100deg, transparent 28%, rgba(0, 0, 0, 0.45) 78%, #000 100%);
}

.section--violet::before,
.pc-working::before {
  opacity: 0.05;
  mask-image: linear-gradient(100deg, transparent 28%, rgba(0, 0, 0, 0.45) 78%, #000 100%);
  -webkit-mask-image: linear-gradient(100deg, transparent 28%, rgba(0, 0, 0, 0.45) 78%, #000 100%);
}

.section--dark::after,
.section--violet::after,
.pc-working::after {
  content: none;
}

.section--dark > *,
.section--violet > *,
.pc-working > * {
  position: relative;
  z-index: 1;
}

.section--dark h2,
.section--dark h3,
.section--violet h2,
.section--violet h3 {
  color: var(--sq-white);
}

.section__label {
  display: inline-block;
  margin: 0 0 0.65rem;
  font-family: var(--sq-font);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sq-grey);
}

.section--dark .section__label,
.section--violet .section__label {
  color: rgba(255, 255, 255, 0.62);
}

.section__title {
  font-size: clamp(1.85rem, 4.2vw, 2.85rem);
  margin-bottom: 0.85rem;
  color: var(--sq-violet);
}

h2.section__title {
  color: var(--sq-violet);
}

.section--dark .section__title,
.section--dark h2.section__title,
.section--violet .section__title,
.section--violet h2.section__title {
  color: var(--sq-white);
}

.section--violet .section__lead {
  color: rgba(255, 255, 255, 0.82);
}

/* --- Clients (Who we work with) - Cursor-style infinite marquee --- */

.clients-band {
  overflow: hidden;
}

.clients-band__intro {
  text-align: center;
  margin-bottom: 1.75rem;
}

.clients-band__intro .section__label {
  margin-inline: auto;
}

.clients-band__intro .section__title {
  margin-bottom: 0;
}

.clients-rail {
  width: 100%;
}

.clients-rail__viewport {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.clients-rail__track {
  display: flex;
  align-items: stretch;
  gap: 0.85rem;
  width: max-content;
  list-style: none;
  margin: 0;
  padding: 0.35rem 0 0.5rem;
  animation: clients-marquee 55s linear infinite;
}

.clients-rail__track:hover {
  animation-play-state: paused;
}

.clients-rail__track > li {
  flex-shrink: 0;
}

.clients-rail__card {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 11rem;
  height: 4.85rem;
  min-height: 4.85rem;
  padding: 0.45rem 0.65rem;
  border-radius: 0.85rem;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16);
  text-decoration: none;
  transition:
    transform 0.25s var(--sq-ease),
    box-shadow 0.25s var(--sq-ease);
}

.clients-rail__card:hover,
.clients-rail__card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.clients-rail__card--static {
  cursor: default;
  pointer-events: none;
}

.clients-rail__card img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  filter: none;
  opacity: 1;
}

@keyframes clients-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .clients-rail__track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: var(--sq-max);
    margin-inline: auto;
    padding-inline: var(--sq-pad);
    gap: 0.75rem;
  }

  .clients-rail__track > li[aria-hidden="true"] {
    display: none;
  }

  .clients-rail__viewport {
    mask-image: none;
    -webkit-mask-image: none;
  }
}

/* Legacy class kept for About partner tiles */
.section__lead {
  max-width: 42rem;
  margin: 0 0 2.5rem;
  font-size: 1.12rem;
  font-weight: 400;
  color: var(--sq-muted);
}

.section--dark .section__lead {
  color: rgba(255, 255, 255, 0.86);
}

/* --- How we work (horizontal puzzle strip from classic home) --- */

.process-board {
  display: grid;
  gap: 1.75rem;
}

.process-board__intro {
  max-width: 40rem;
}

.process-board__lead {
  margin-bottom: 0;
}

.process-strip {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: end;
  width: 100%;
  aspect-ratio: 1625 / 336;
  background: url("../img/puzzle-home.png?v=20260826c") center / 100% 100% no-repeat;
  color: #fff;
}

.process-strip__piece {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
  padding: 12% 10% 10% 8%;
  box-sizing: border-box;
}

.process-strip__piece span {
  font-family: var(--sq-font-display);
  font-size: clamp(0.78rem, 1.95vw, 1.35rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

/* --- AI band --- */

.ai {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6.5rem;
  align-items: center;
}

.ai__points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.ai__points li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  padding: 0.95rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
}

.ai__points li.reveal-on-scroll {
  transform: translate3d(0, 2.5rem, 0);
}

.ai__points li.reveal-on-scroll.is-in {
  transform: none;
}

.ai__points li:nth-child(1) {
  --reveal-delay: 0ms;
}

.ai__points li:nth-child(2) {
  --reveal-delay: 140ms;
}

.ai__points li:nth-child(3) {
  --reveal-delay: 280ms;
}

.ai__icon {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--sq-violet);
  color: var(--sq-white);
  font-size: 0.95rem;
  font-weight: 600;
  flex-shrink: 0;
}

.ai__points strong {
  display: block;
  font-size: 1.08rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.ai__points span {
  font-weight: 400;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.92);
}

/* --- Project band --- */

.project {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.25rem;
  align-items: center;
}

.project__text {
  margin: 0 0 0.95rem;
  font-size: 1.12rem;
  font-weight: 400;
  color: var(--sq-muted);
  max-width: 36rem;
}

.project__text:last-of-type {
  margin-bottom: 1.45rem;
}

.project__text a {
  color: var(--sq-violet);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.project__text a:hover {
  color: var(--sq-pink);
}

.project__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.project__visual {
  min-height: 14rem;
  border-radius: calc(var(--radius) + 0.15rem);
  background:
    linear-gradient(160deg, rgba(42, 42, 42, 0.45), rgba(26, 26, 26, 0.15)),
    url("../img/puzzle-home.png") center / cover;
  box-shadow: 0 18px 40px rgba(26, 26, 26, 0.1);
}

.project__shot {
  margin: 0;
  border-radius: calc(var(--radius) + 0.15rem);
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(26, 26, 26, 0.12);
  border: 1px solid var(--sq-fog);
  background: var(--sq-white);
}

.project__shot img {
  width: 100%;
  height: auto;
  display: block;
}

.product-title-with-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.product-title-with-logo__icon {
  width: 2.75rem;
  height: 2.75rem;
  object-fit: contain;
  flex-shrink: 0;
}

/* --- Product slideshow (About) --- */

.product-slideshow {
  margin-top: 0.5rem;
}

.product-slideshow__track {
  position: relative;
}

.product-slideshow__slide {
  display: none;
}

.product-slideshow__slide.is-active {
  display: block;
  animation: product-slide-in 0.45s var(--sq-ease);
}

.product-slideshow__kicker {
  margin-bottom: 0.35rem;
}

.product-slideshow__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.75rem;
}

.product-slideshow__btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid var(--sq-fog);
  background: var(--sq-white);
  color: var(--sq-violet);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.product-slideshow__btn:hover,
.product-slideshow__btn:focus-visible {
  background: var(--sq-violet);
  border-color: var(--sq-violet);
  color: var(--sq-white);
  outline: none;
}

.product-slideshow__dots {
  display: flex;
  gap: 0.55rem;
  align-items: center;
}

.product-slideshow__dot {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: var(--sq-fog);
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.product-slideshow__dot.is-active {
  background: var(--sq-violet);
  transform: scale(1.2);
}

.product-slideshow__dot:hover,
.product-slideshow__dot:focus-visible {
  background: var(--sq-pink);
  outline: none;
}

@keyframes product-slide-in {
  from {
    opacity: 0;
    transform: translate3d(0, 0.6rem, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-slideshow__slide.is-active {
    animation: none;
  }
}

/* --- Footer --- */

.site-footer {
  background: #1a1a1a;
  color: rgba(255, 255, 255, 0.9);
  padding: 2.75rem 0 1.5rem;
  font-size: 1.05rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

.site-footer a:hover {
  color: rgba(255, 255, 255, 0.65);
}

.footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__social {
  display: flex;
  gap: 0.55rem;
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}

.footer__social a {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.45rem;
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.2s var(--sq-ease);
}

.footer__social a:hover {
  background: rgba(255, 255, 255, 0.22);
}

.footer__social img {
  width: 1rem;
  height: 1rem;
  filter: brightness(0) invert(1);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.98rem;
  font-weight: 400;
  opacity: 0.92;
}

/* --- Responsive / elastic --- */

.section,
.page-hero,
.hero,
.site-footer {
  min-width: 0;
}

.wrap,
.site-header__inner,
.hero__inner {
  min-width: 0;
}

@media (max-width: 1100px) {
  .mega-menu__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mega-menu__aside {
    grid-column: 1 / -1;
  }

  .nav__list {
    gap: 0.35rem 1.35rem;
  }

  .nav__list > li > a:not(.btn):not(.nav__mega-link):not(.nav__home):not(.nav__cta),
  .nav__mega-link {
    font-size: 1.02rem;
  }
}

@media (max-width: 980px) {
  .ai,
  .project,
  .services-software,
  .about-story,
  .about-partner,
  .about-today,
  .contact-layout,
  .service-detail,
  .service-depth {
    grid-template-columns: 1fr;
  }

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

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

  .services__item {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }

  .services__showcase,
  .services__showcase--empty,
  .services__showcase--integrations {
    min-height: 11rem;
    order: -1;
  }

  .services__icon {
    width: 3rem;
    height: 3rem;
  }

  .about-today__visual {
    order: -1;
    min-height: 12rem;
  }

  .hero-puzzle--about {
    width: min(100%, 15rem);
  }

  .about-points {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    min-height: 18rem;
  }

  .hero-puzzle {
    width: min(100%, 24rem);
  }

  .hero__actions,
  .page-hero__actions,
  .service-detail__actions,
  .about-cta__actions {
    width: 100%;
  }

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

  .footer__nav {
    flex-wrap: wrap;
    gap: 0.65rem 1.25rem;
  }
}

@media (min-width: 961px) {
  .nav {
    display: block;
    position: static;
    inset: auto;
    width: auto;
    height: auto;
    overflow: visible;
    padding: 0;
    background: none;
    border: none;
    box-shadow: none;
    color: inherit;
  }

  .nav::before {
    content: none;
  }

  .nav__overview {
    display: none !important;
  }
}

/* Tablet + phone: dark purple popup menu */
@media (max-width: 960px) {
  .nav-toggle {
    display: flex;
  }

  /* Full-viewport header while open so the panel receives clicks
     (fixed children of a short sticky header are not hit-testable below the bar) */
  body.nav-is-open .site-header {
    position: fixed;
    inset: 0;
    height: 100%;
    height: 100dvh;
    z-index: 100;
    overflow: hidden;
    background: #fff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  /* Position nav against the full-screen header, not the short inner bar */
  body.nav-is-open .site-header__inner {
    position: static;
  }

  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-h);
    bottom: 0;
    width: 100%;
    height: auto;
    max-width: none;
    max-height: none;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 1.25rem clamp(1rem, 4vw, 1.5rem) 1.75rem;
    box-sizing: border-box;
    z-index: 1;
    border-radius: 0;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: none;
    color: var(--sq-white);
    background:
      radial-gradient(ellipse 45% 60% at 92% 12%, rgba(204, 95, 163, 0.22), transparent 55%),
      linear-gradient(155deg, var(--sq-violet-deep) 0%, var(--sq-violet-dark) 48%, var(--sq-violet) 100%);
  }

  .nav::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: url("../img/patterns/soft-puzzle.svg");
    background-repeat: repeat;
    background-size: 9rem 9rem;
    opacity: 0.07;
  }

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

  .nav.is-open {
    display: block;
  }

  body.nav-is-open {
    overflow: hidden;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    text-align: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .nav__list > li {
    width: 100%;
    max-width: 100%;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    box-sizing: border-box;
  }

  .nav__list > li > a:not(.btn):not(.nav__mega-link):not(.nav__home):not(.nav__cta),
  .nav__mega-link,
  .nav__home,
  .nav__cta {
    min-height: 2.85rem;
    padding-block: 0.5rem;
    justify-content: center;
    width: 100%;
    text-align: center;
    font-size: 1.4rem;
    color: var(--sq-white) !important;
    -webkit-text-fill-color: var(--sq-white);
  }

  .nav__list > li > a:not(.btn):not(.nav__mega-link):not(.nav__home):not(.nav__cta):hover,
  .nav__list > li > a:not(.btn):not(.nav__mega-link):not(.nav__home):not(.nav__cta)[aria-current="page"],
  .nav__mega-link:hover,
  .nav__mega-link[aria-current="page"],
  .nav__home:hover,
  .nav__home[aria-current="page"] {
    color: #fff !important;
    -webkit-text-fill-color: #fff;
    opacity: 0.88;
  }

  /* Mobile: plain What we do link; overview mist card is below Contact */
  .nav__mega-btn,
  .nav__item--mega > .mega-menu {
    display: none !important;
  }

  .nav__mega-trigger {
    width: 100%;
    justify-content: center;
  }

  .nav__home {
    margin-inline: auto;
    color: var(--sq-white);
  }

  .nav__home-icon {
    width: 1.75rem;
    height: 1.75rem;
  }

  .nav__cta {
    justify-content: center;
    width: min(100%, 16rem);
    margin-inline: auto;
    margin-top: 0.35rem;
    margin-bottom: 0.45rem;
    font-size: 1.25rem !important;
    background: rgba(255, 255, 255, 0.14) !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    box-shadow: none !important;
  }

  .nav__cta:hover,
  .nav__cta[aria-current="page"] {
    background: rgba(255, 255, 255, 0.22) !important;
    color: #fff !important;
  }

  /* Overview box after Contact - mobile only */
  .nav__overview {
    display: block !important;
    margin-top: 0.75rem;
    text-align: left;
  }

  .nav__overview .mega-menu__aside {
    box-shadow: 0 10px 28px rgba(26, 26, 26, 0.18);
  }

  .nav__overview .mega-menu__heading {
    margin-bottom: 0;
    font-size: 0.85rem;
  }

  .nav__overview .mega-menu__blurb {
    font-size: 1.05rem;
  }

  .nav__overview .mega-menu__aside .btn {
    font-size: 1.05rem;
  }
}

@media (max-width: 720px) {
  .service-detail {
    grid-template-columns: 1fr;
  }

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

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

  .process-strip {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    aspect-ratio: auto;
    min-height: 8rem;
    background-size: auto 100%;
    background-position: left center;
    background-repeat: no-repeat;
  }

  .process-strip__piece {
    flex: 0 0 7.5rem;
    width: 7.5rem;
    padding: 1.75rem 0.55rem 1.15rem 1.35rem;
  }

  .process-strip__piece span {
    font-size: 0.9rem;
    line-height: 1.2;
  }

  .hero__actions .btn,
  .page-hero__actions .btn,
  .service-detail__actions .btn {
    width: 100%;
  }

  /* Home hero puzzle - hide on phone */
  .hero__visual {
    display: none;
  }

  .section {
    padding-block: clamp(2.25rem, 8vw, 3.5rem);
  }

  .section--case {
    padding-top: clamp(1.125rem, 4vw, 1.75rem);
  }

  .btn {
    padding: 0.72rem 1.25rem;
  }
}

@media (max-width: 480px) {
  .logo-rail__item {
    padding-inline: 0.85rem;
  }

  .hero {
    min-height: 0;
  }

  .hero__inner {
    padding-block: 2.25rem 2rem;
  }
}

/* --- FAQ --- */

.faq {
  max-width: 46rem;
}

.faq__list {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.65rem;
}

.faq__item {
  border: 1px solid var(--sq-fog);
  border-radius: var(--radius);
  background: var(--sq-white);
  padding: 0.15rem 1rem;
}

.faq__question {
  cursor: pointer;
  list-style: none;
  font-family: var(--sq-font);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--sq-ink);
  padding: 0.95rem 1.75rem 0.95rem 0;
  position: relative;
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__answer {
  padding: 0;
  overflow: hidden;
  height: 0;
  opacity: 0;
}

.faq__answer p {
  margin: 0;
  padding-bottom: 1.05rem;
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.55;
  color: var(--sq-muted);
}

.faq__question::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%) rotate(0deg);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--sq-violet);
  line-height: 1;
  transition: transform 0.3s var(--sq-ease);
}

.faq__item[open] .faq__question::after {
  transform: translateY(-50%) rotate(45deg);
}

/* --- Scroll section transitions --- */

.reveal-on-scroll {
  opacity: 0;
  transform: translate3d(0, 0.85rem, 0);
  transition:
    opacity 0.55s var(--sq-ease),
    transform 0.55s var(--sq-ease);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-in {
  opacity: 1;
  transform: none;
  will-change: auto;
}

.reveal-on-scroll--hero {
  transition-duration: 0.55s;
  transform: translate3d(0, 0.7rem, 0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll,
  .reveal-on-scroll--hero {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* --- Portfolio (featured spotlight + mosaic + case study) --- */

.pc-featured {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
  gap: 2rem 2.5rem;
  align-items: center;
}

.pc-featured__tags {
  margin: 0 0 1.2rem;
  font-size: 0.9rem;
  color: var(--sq-muted);
}

.pc-featured__credit {
  margin: 0 0 0.65rem;
  font-size: 0.92rem;
  color: var(--sq-muted);
}

.pc-featured__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.pc-featured__shot {
  margin: 0;
  border-radius: calc(var(--radius) + 0.15rem);
  overflow: hidden;
  border: 1px solid var(--sq-fog);
  background: var(--sq-mist);
  display: block;
  text-decoration: none;
  color: inherit;
}

.pc-featured__shot img {
  display: block;
  width: 100%;
  height: auto;
}

.pc-breadcrumb {
  margin: 0 0 1.5rem;
}

.pc-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.88rem;
  color: var(--sq-muted);
  line-height: 1.4;
}

.pc-breadcrumb__item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.pc-breadcrumb__item:not(:last-child)::after {
  content: "/";
  color: var(--sq-grey);
  font-weight: 400;
}

.pc-breadcrumb__item a {
  color: var(--sq-violet-dark);
  text-decoration: none;
}

.pc-breadcrumb__item a:hover,
.pc-breadcrumb__item a:focus-visible {
  color: var(--sq-pink);
  text-decoration: underline;
}

.pc-breadcrumb__item[aria-current="page"] {
  color: var(--sq-ink);
  font-weight: 500;
}

.pc-study {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 3fr);
  gap: 1.75rem 2rem;
  align-items: stretch;
}

.pc-gallery {
  display: grid;
  gap: 0.75rem;
  min-width: 0;
}

.pc-gallery__stage {
  position: relative;
  display: grid;
  place-items: center;
}

.pc-gallery__main {
  margin: 0;
  width: 100%;
  border-radius: calc(var(--radius) + 0.15rem);
  overflow: hidden;
  border: 1px solid var(--sq-fog);
  background: var(--sq-mist);
}

.pc-gallery__main img {
  display: block;
  width: 100%;
  height: auto;
}

.pc-gallery__main--logo {
  display: grid;
  place-items: center;
  min-height: 14rem;
  padding: 2.5rem;
}

.pc-gallery__main--logo img {
  width: auto;
  max-width: 16rem;
  max-height: 5rem;
  object-fit: contain;
}

.pc-gallery__main--scroll {
  aspect-ratio: 16 / 10;
  max-height: min(34rem, 68vh);
  background: #0b0e1c;
}

.pc-gallery__main--scroll img {
  width: 100%;
  height: auto;
  transform: translate3d(0, 0, 0);
  transition: transform var(--pc-scroll-ms, 8s) linear;
  will-change: transform;
}

.pc-gallery__main--scroll:hover img,
.pc-gallery__main--scroll:focus-within img,
.pc-gallery__main--scroll.is-scrolling img {
  transform: translate3d(0, var(--pc-scroll-y, 0), 0);
}

.pc-gallery__thumb--scroll img {
  object-position: top center;
}

@media (prefers-reduced-motion: reduce) {
  .pc-gallery__main--scroll img {
    transition: none;
  }

  .pc-gallery__main--scroll:hover img,
  .pc-gallery__main--scroll:focus-within img,
  .pc-gallery__main--scroll.is-scrolling img {
    transform: none;
  }
}

.pc-gallery__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  appearance: none;
  margin: 0;
  width: 2.35rem;
  height: 2.35rem;
  border: 1px solid var(--sq-fog);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--sq-ink);
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 0.25rem 0.75rem rgba(26, 26, 26, 0.1);
  transition:
    background 0.2s var(--sq-ease),
    color 0.2s var(--sq-ease),
    border-color 0.2s var(--sq-ease);
}

.pc-gallery__nav:hover,
.pc-gallery__nav:focus-visible {
  background: var(--sq-violet);
  border-color: var(--sq-violet);
  color: #fff;
  outline: none;
}

.pc-gallery__nav--prev {
  left: 0.65rem;
}

.pc-gallery__nav--next {
  right: 0.65rem;
}

.pc-gallery__thumbs {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(4.5rem, 1fr);
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.15rem;
  scrollbar-width: thin;
}

.pc-gallery__thumb {
  appearance: none;
  margin: 0;
  padding: 0;
  border: 2px solid transparent;
  border-radius: calc(var(--radius) - 0.15rem);
  overflow: hidden;
  background: var(--sq-mist);
  cursor: pointer;
  aspect-ratio: 16 / 10;
  transition: border-color 0.2s var(--sq-ease);
}

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

.pc-gallery__thumb.is-active,
.pc-gallery__thumb:hover,
.pc-gallery__thumb:focus-visible {
  border-color: var(--sq-violet);
  outline: none;
}

.pc-gallery--single .pc-gallery__nav,
.pc-gallery--single .pc-gallery__thumbs {
  display: none;
}

.pc-study__shot {
  margin: 0;
  border-radius: calc(var(--radius) + 0.15rem);
  overflow: hidden;
  border: 1px solid var(--sq-fog);
  background: var(--sq-mist);
}

.pc-study__gallery {
  display: grid;
  gap: 1rem;
  min-width: 0;
}

.pc-study__gallery--multi {
  grid-template-columns: 1fr;
}

.pc-study__shot img {
  display: block;
  width: 100%;
  height: auto;
}

.pc-study__shot--logo {
  display: grid;
  place-items: center;
  min-height: 12rem;
  padding: 2.5rem;
}

.pc-study__shot--logo img {
  width: auto;
  max-width: 16rem;
  max-height: 5rem;
  object-fit: contain;
}

.pc-study__meta {
  min-width: 0;
  height: 100%;
  box-sizing: border-box;
  padding: 1.25rem 1.35rem;
  border-radius: calc(var(--radius) + 0.1rem);
  background: var(--sq-mist);
  border: 1px solid var(--sq-fog);
}

.pc-study__facts {
  margin: 0;
  display: grid;
  gap: 1.3rem;
}

.pc-study__facts dt {
  margin: 0 0 0.2rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sq-muted);
}

.pc-study__facts dd {
  margin: 0;
  color: var(--sq-ink);
  line-height: 1.45;
}

.pc-study__channels {
  margin-top: 1.5rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--sq-fog);
}

.pc-study__channels .section__title {
  margin: 0 0 0.85rem;
  font-size: clamp(1.35rem, 2.5vw, 1.7rem);
}

.pc-channels {
  display: grid;
  gap: 1rem;
  margin: 0;
}

.pc-channels__group {
  margin: 0;
}

.pc-channels__heading {
  margin: 0 0 0.35rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--sq-ink);
}

.pc-channels__list {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--sq-muted);
}

.pc-channel {
  color: var(--sq-violet-dark);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

.pc-channel:hover,
.pc-channel:focus-visible {
  color: var(--sq-pink);
}

.pc-study__story {
  margin-top: 2.25rem;
}

.pc-study__story--with-shot {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 1.75rem 2.25rem;
  align-items: start;
}

.pc-study__body {
  min-width: 0;
  margin-top: 0;
  max-width: none;
}

.pc-study__body .section__title {
  margin-top: 1.5rem;
  font-size: clamp(1.35rem, 2.5vw, 1.7rem);
}

.pc-study__body .section__title:first-child {
  margin-top: 0;
}

.pc-study__showcase {
  margin: 0;
  position: sticky;
  top: 1.25rem;
  border-radius: calc(var(--radius) + 0.15rem);
  overflow: hidden;
  border: 1px solid var(--sq-fog);
  background: var(--sq-mist);
}

.pc-study__showcase img {
  display: block;
  width: 100%;
  height: auto;
}

.pc-study__showcase-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.pc-study__showcase-link:hover img,
.pc-study__showcase-link:focus-visible img {
  opacity: 0.96;
}

.pc-study__showcase-link:focus-visible {
  outline: 2px solid var(--sq-violet-dark);
  outline-offset: 3px;
}

.pc-study__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

@media (max-width: 980px) {
  .pc-study {
    grid-template-columns: 1fr;
  }
}

.pc-mosaic {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.pc-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.35rem 0 0.15rem;
}

.pc-filters__btn {
  appearance: none;
  margin: 0;
  border: 1px solid var(--sq-fog);
  background: var(--sq-white);
  color: var(--sq-ink);
  padding: 0.55rem 0.95rem;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.2;
  border-radius: calc(var(--radius) - 0.05rem);
  cursor: pointer;
  transition:
    background 0.25s var(--sq-ease),
    border-color 0.25s var(--sq-ease),
    color 0.25s var(--sq-ease),
    transform 0.25s var(--sq-ease);
}

.pc-filters__btn:hover,
.pc-filters__btn:focus-visible {
  border-color: rgba(130, 43, 112, 0.4);
  color: var(--sq-violet-dark);
  outline: none;
}

.pc-filters__btn.is-active {
  background: var(--sq-violet-dark);
  border-color: var(--sq-violet-dark);
  color: #fff;
}

.pc-filters__btn.is-active:hover,
.pc-filters__btn.is-active:focus-visible {
  background: var(--sq-violet);
  border-color: var(--sq-violet);
  color: #fff;
}

.pc-filters__empty {
  margin: 1.25rem 0 0;
  color: var(--sq-muted);
}

.pc-mosaic__item[hidden] {
  display: none;
}

.pc-mosaic__link {
  display: grid;
  text-decoration: none;
  color: inherit;
}

.pc-mosaic__card {
  display: grid;
  height: 100%;
  background: var(--sq-white);
  border: 1px solid var(--sq-fog);
  border-radius: calc(var(--radius) + 0.1rem);
  overflow: hidden;
  transition:
    transform 0.35s var(--sq-ease),
    box-shadow 0.35s var(--sq-ease),
    border-color 0.35s var(--sq-ease);
}

.pc-mosaic__item:hover .pc-mosaic__card,
.pc-mosaic__item:focus-within .pc-mosaic__card {
  transform: translateY(-0.35rem);
  border-color: rgba(130, 43, 112, 0.35);
  box-shadow: 0 0.85rem 1.75rem rgba(79, 21, 70, 0.12);
}

.pc-mosaic__media {
  display: block;
  aspect-ratio: 16 / 10;
  background: var(--sq-mist);
  overflow: hidden;
}

.pc-mosaic__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.45s var(--sq-ease);
}

.pc-mosaic__item:hover .pc-mosaic__media img,
.pc-mosaic__item:focus-within .pc-mosaic__media img {
  transform: scale(1.05);
}

.pc-mosaic__item--contain .pc-mosaic__media img {
  object-fit: contain;
  object-position: center;
}

.pc-mosaic__item--logo .pc-mosaic__media {
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.pc-mosaic__item--logo .pc-mosaic__media img {
  width: auto;
  height: auto;
  max-width: 65%;
  max-height: 3.75rem;
  object-fit: contain;
}

.pc-mosaic__item--logo:hover .pc-mosaic__media img,
.pc-mosaic__item--logo:focus-within .pc-mosaic__media img {
  transform: scale(1.06);
}

.pc-mosaic__body {
  display: grid;
  gap: 0.4rem;
  padding: 0.9rem 0.95rem 0.35rem;
}

.pc-mosaic__name {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.25;
  transition: color 0.25s var(--sq-ease);
}

.pc-mosaic__item:hover .pc-mosaic__name,
.pc-mosaic__item:focus-within .pc-mosaic__name {
  color: var(--sq-violet-dark);
}

.pc-mosaic__summary {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--sq-muted);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.pc-mosaic__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  justify-self: start;
  width: max-content;
  max-width: 100%;
  margin-top: 0.2rem;
  padding: 0.2rem 0.55rem;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--sq-violet);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 0.35rem;
  opacity: 0;
  transform: translateY(0.15rem);
  transition:
    opacity 0.3s var(--sq-ease),
    transform 0.3s var(--sq-ease),
    color 0.25s var(--sq-ease),
    background 0.25s var(--sq-ease),
    border-color 0.25s var(--sq-ease),
    box-shadow 0.25s var(--sq-ease);
}

.pc-mosaic__cta::after {
  content: "→";
  font-size: 0.85em;
  transition: transform 0.25s var(--sq-ease);
}

.pc-mosaic__item:hover .pc-mosaic__cta,
.pc-mosaic__item:focus-within .pc-mosaic__cta {
  opacity: 1;
  transform: none;
  color: #fff;
  background: var(--sq-violet);
  border-color: var(--sq-violet);
  box-shadow: 0 0.15rem 0.4rem rgba(130, 43, 112, 0.2);
}

.pc-mosaic__item:hover .pc-mosaic__cta::after,
.pc-mosaic__item:focus-within .pc-mosaic__cta::after {
  transform: translateX(0.12rem);
}

.pc-mosaic__credit {
  margin: 0;
  padding: 0 0.95rem 0.25rem;
  font-size: 0.82rem;
  color: var(--sq-muted);
  line-height: 1.4;
}

.pc-mosaic__tags {
  margin: 0;
  padding: 0 0.95rem 1rem;
  font-size: 0.84rem;
  color: var(--sq-muted);
  line-height: 1.45;
}

@media (hover: none) {
  .pc-mosaic__cta {
    opacity: 1;
    transform: none;
    color: var(--sq-violet);
    border-color: rgba(130, 43, 112, 0.45);
    background: rgba(130, 43, 112, 0.06);
  }
}

@media (prefers-reduced-motion: reduce) {
  .pc-mosaic__card,
  .pc-mosaic__media img,
  .pc-mosaic__name,
  .pc-mosaic__cta,
  .pc-mosaic__cta::after {
    transition: none;
  }

  .pc-mosaic__item:hover .pc-mosaic__card,
  .pc-mosaic__item:focus-within .pc-mosaic__card {
    transform: none;
  }

  .pc-mosaic__item:hover .pc-mosaic__media img,
  .pc-mosaic__item:focus-within .pc-mosaic__media img {
    transform: none;
  }
}

.pc-tag {
  color: var(--sq-violet-dark);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

.pc-tag:hover,
.pc-tag:focus-visible {
  color: var(--sq-pink);
}

.pc-tag--plain {
  color: inherit;
  text-decoration: none;
}

.pc-tag-sep {
  color: var(--sq-muted);
}

@media (max-width: 980px) {
  .pc-mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pc-featured,
  .pc-study__story--with-shot {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .pc-mosaic {
    grid-template-columns: 1fr;
  }
}

/* --- Portfolio · What we are working on --- */

.pc-working {
  background:
    radial-gradient(ellipse 80% 60% at 10% 20%, rgba(204, 95, 163, 0.18), transparent 55%),
    linear-gradient(160deg, var(--sq-violet-deep) 0%, var(--sq-violet-dark) 45%, #2a0f26 100%);
  color: #f7eef5;
}

.pc-working__label {
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e8b7d8;
}

.pc-working__title {
  margin: 0 0 0.65rem;
  font-family: Augie, Georgia, serif;
  font-size: clamp(1.85rem, 3.5vw, 2.55rem);
  font-weight: 400;
  color: #fff;
}

.pc-working__lead {
  margin: 0 0 2rem;
  max-width: 38rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.55;
}

.pc-working__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.75rem;
}

.pc-working__item {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  gap: 1.75rem 2.25rem;
  align-items: center;
  padding: 1.25rem;
  border-radius: calc(var(--radius) + 0.2rem);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.pc-working__shot {
  display: block;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.pc-working__shot img {
  display: block;
  width: 100%;
  height: auto;
}

.pc-working__status {
  margin: 0 0 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--sq-pink);
}

.pc-working__name {
  margin: 0 0 0.75rem;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 600;
  color: #fff;
}

.pc-working__name a {
  color: inherit;
  text-decoration: none;
}

.pc-working__name a:hover,
.pc-working__name a:focus-visible {
  color: #ffd6ef;
}

.pc-working__summary {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.55;
}

.pc-working__tags {
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
  line-height: 1.5;
}

.pc-working .pc-tag {
  color: #ffd6ef;
}

.pc-working .pc-tag:hover,
.pc-working .pc-tag:focus-visible {
  color: #fff;
}

.pc-working .pc-tag--plain,
.pc-working .pc-tag-sep {
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 980px) {
  .pc-working__item {
    grid-template-columns: 1fr;
  }
}

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