/*
Theme Name: kube creative
Author: kube creative
Description: V2 agency design. WordPress content with React effect layers.
Version: 1.0.0
Text Domain: kube-creative
*/

:root {
  --paper:#e9e6de;
  --ink:#141414;
  --panel:#161616;
  --muted:#b9b8b3;
  --quiet:#979995;
  --line:#383c3b;
  --accent-0:#2ab7b5;
  --accent-1:#f6b41c;
  --accent-2:#ae79f5;
  --accent-3:#6c9fe8;
  --green:#00a89e;
  --radius:26px;
  --panel-radius:clamp(32px, 5vw, 64px);
  --frame:10px;
  --content:1280px;
  --section-gap:110px;
  --text:16px;
  --button-radius:7px;
  --gradient-duration:24s;
  --cube-duration:.75s;
  --arrow-offset:3px;
  --arrow-shadow:0 2px 3px var(--ink);
  --line-duration:.6s;
  --line-delay:.45s;
  --text-link-colour:#8bd0c9;
  --text-link-hover:#f5ad72;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 35px;
}
body {
  margin: 0;
  padding: var(--frame);
  background: var(--paper);
  color: var(--paper);
  font-family: "Nexa-Book", sans-serif;
  font-size: var(--text);
  line-height: 1.5;
}
a {
  color: inherit;
  text-underline-offset: 3px;
  text-decoration: underline 5% !important;
  text-decoration-color: color-mix(in srgb, currentColor, transparent 75%) !important;
  text-decoration-skip-ink: auto;
}
/* Cards, image links, navigation and button controls have their own visual affordance. */
:is(a.button,a.brand,a[role="button"],a.wp-block-button__link,.nav-links a,a.service-card,.project-card > a,a.project-image,.tags > a,.project-tags a,.blog-pagination a,a:has(> i:only-child),a:has(> img:only-child)) { text-decoration: none !important; }
a:hover { text-decoration-color: currentColor !important; }
.post-page article .project-content a:not(.button) { color: var(--text-link-hover); }
.post-page article .project-content a:not(.button):is(:hover,:focus-visible) { color: var(--text-link-colour); }
/* Carry article link colours into page content, excluding the homepage and UI controls. */
body.page:not(.home) main a:not(.button,.wp-block-button__link,[role="button"],.service-card,.project-card > a,.project-image,.tags > a,.project-tags a,.blog-pagination a,.blog-page .blog-listing h2 a,:has(> i:only-child),:has(> img:only-child)) {
  color: var(--text-link-hover) !important;
}
body.page:not(.home) main a:not(.button,.wp-block-button__link,[role="button"],.service-card,.project-card > a,.project-image,.tags > a,.project-tags a,.blog-pagination a,.blog-page .blog-listing h2 a,:has(> i:only-child),:has(> img:only-child)):is(:hover,:focus-visible) {
  color: var(--text-link-colour) !important;
}
button,
input,
textarea,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
p {
  margin: 0 0 18px;
}
h1,
h2,
h3 {
  margin: 0;
  font-weight: normal;
}
h2 {
  font-family: "Nexa-Light", sans-serif;
  font-size: clamp(28px, 3.1vw, 46px);
  line-height: 1.16;
  letter-spacing: -1.2px;
}
h2 strong {
  font-family: "Nexa-Regular", sans-serif;
  font-weight: normal;
}
h3 {
  font-family: "Nexa-Bold", sans-serif;
  line-height: 1.25;
  font-size: 21px;
}
strong {
  font-family: "Nexa-Bold", sans-serif;
  font-weight: normal;
}
button,
a,
input,
summary,
textarea,
select {
  outline-offset: 5px;
}
:focus-visible {
  outline: 2px solid var(--accent-0);
}
[hidden] {
  display: none !important;
}
.site-panel {
  background: var(--ink);
  border-radius: var(--panel-radius);
  overflow: clip;
  padding-bottom: 85px;
  min-height: 80vh;
}
.section {
  max-width: var(--content);
  width: calc(100% - 140px);
  margin: var(--section-gap) auto 0;
}
.eyebrow {
  font-family: "Nexa-Regular", sans-serif;
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--quiet);
  margin-bottom: 16px;
}
.site-header {
  max-width: var(--content);
  margin: auto;
  width: calc(100% - 140px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 36px 0 10px;
  position: relative;
  z-index: 20;
}
.brand {
  display: block;
  width: 230px;
}
.brand img {
  width: 100%;
  height: auto;
}
.site-header nav {
  position: relative;
  background: #292929;
  border-radius: 100px;
  padding: 4px;
  font-size: 14px;
}
.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0;
}
.nav-links a {
  display: block;
  padding: 10px 15px;
  border-radius: 100px;
  position: relative;
  z-index: 2;
  white-space: nowrap;
  transition: color .2s;
}
.nav-pill {
  position: absolute;
  top: 4px;
  left: 0;
  height: calc(100% - 8px);
  border-radius: 100px;
  background: var(--paper);
  opacity: 0;
  transition:
    transform .28s ease,
    width .28s ease,
    opacity .18s;
  pointer-events: none;
}
.nav-links .pill-active a {
  color: var(--ink);
}
.nav-links .menu-cta a {
  background: var(--green);
  color: var(--paper);
  font-family: "Nexa-Bold";
  padding-inline: 20px;
}
.menu-toggle {
  display: none;
}
.button {
  border: 1px solid #737773;
  border-radius: var(--button-radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: "Nexa-Regular";
  font-size: 14px;
  line-height: 1.3;
  padding: 13px 18px;
  background: var(--ink);
  color: var(--paper);
  position: relative;
  min-height: 44px;

}
.button i {
  color: var(--accent-1);
  font-size: 10px;
  transition: all .6s ease;
}
.button-light {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}
.button-light i {
  color: var(--accent-0);
}
.button:hover i {
  transform: translateX(5px);
}
.hero-track {
  position: relative;
}
.hero-sticky {
  position: relative;
  min-height: 700px;
  height: calc(100vh - 110px);
  max-height: 820px;
  display: flex;
  align-items: center;
  isolation: isolate;
}
.hero-image {
  position: absolute;
  right: 0;
  top: 0;
  width: 83%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -1;
  mix-blend-mode: lighten;
  pointer-events: none;
}
.hero-copy {
  width: calc(100% - 140px);
  max-width: var(--content);
  margin: auto;
  padding: 55px 0 75px;
}
.hero-copy .eyebrow {
  max-width: 510px;
  font-size: 11px;
  margin-bottom: 20px;
}
.hero-title {
  font-family: "Nexa-Regular";
  font-size: clamp(38px, 3.6vw, 55px);
  line-height: 1.18;
  letter-spacing: -1.8px;
  max-width: 620px;
  margin-bottom: 28px;
}
.hero-words {
  font-family: "Nexa-Light";
  font-size: clamp(36px, 3.55vw, 54px);
  line-height: 1.2;
  letter-spacing: -1.8px;
  max-width: 640px;
  margin-bottom: 28px;
}
.hero-words span:nth-of-type(1) {
  color: var(--accent-0);
}
.hero-words span:nth-of-type(2) {
  color: #efa65c;
}
.hero-words span:nth-of-type(3) {
  color: var(--accent-2);
}
.hero-words span:nth-of-type(4) {
  color: var(--accent-3);
}
.hero-body {
  max-width: 470px;
  font-size: 15px;
  line-height: 1.35;
  color: var(--muted);
  margin-bottom: 30px;
}
.hero-actions {
  display: flex;
  gap: 24px;
}
.hero-track.sequence-active {
  height: calc(100vh + 1400px);
}
.sequence-active .hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  max-height: none;
  min-height: 650px;
}
.sequence-active .hero-words span {
  opacity: var(--word-opacity,0);
}
.services {
  max-width: var(--content);
  width: calc(100% - 140px);
  margin: 80px auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  position: relative;
  z-index: 2;
}
.tone-0 {
  --tone:var(--accent-0);
}
.tone-1 {
  --tone:var(--accent-1);
}
.tone-2 {
  --tone:var(--accent-2);
}
.tone-3 {
  --tone:var(--accent-3);
}
.service-card {
  position: relative;
  padding: 28px 24px 60px;
  min-height: 244px;
  border: 1px solid #747775;
  border-radius: var(--radius);
  background:
    radial-gradient(
      at 100% 100%,
      color-mix(in srgb, var(--tone) 18%, transparent),
      transparent 60%),
    color-mix(in srgb, var(--tone) 10%, var(--ink));
  isolation: isolate;
}
.service-card:before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    radial-gradient(
      at 0 0,
      color-mix(in srgb, var(--tone) 30%, transparent),
      transparent 16%);
}
.service-card h2 {
  font: 18px/1.3 "Nexa-Regular";
  letter-spacing: -.3px;
  margin-bottom: 20px;
}
.service-number {
  font-family: "Nexa-Light";
  color: var(--muted);
}
.service-card p {
  font-size: 14px;
  line-height: 1.35;
  color: var(--muted);
}
.service-link {
  position: absolute;
  bottom: 10px;
  right: 56px;
  color: var(--tone);
  font-family: "Nexa-Bold";
  font-size: 14px;
  transition: color .6s ease, transform .6s ease;
}

.service-card:hover .service-link,
.service-card:focus-visible .service-link {
  color: color-mix(in srgb, var(--tone) 55%, var(--paper));
  transform: translateX(6px);
}
.cube-arrow {
  position: absolute;
  right: -5px;
  bottom: -7px;
  width: 44px;
  height: 48px;
  transition: filter .4s;
  isolation: isolate;
  filter: drop-shadow(0 0 10px color-mix(in srgb, var(--tone) 30%, transparent));
  z-index: 9;
}
.cube-arrow:before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--tone);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.cube-arrow:after {
  content: "";
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--tone) 65%, var(--ink));
  clip-path: polygon(50% 50%, 100% 25%, 100% 75%, 50% 100%);
}
.cube-arrow i {
  position: absolute;
  right: 2px;
  top: 24px;
  color: var(--paper);
  z-index: 1;
  font-size: 13px;
  transition: transform var(--cube-duration) ease, filter var(--cube-duration) ease;
  transform: rotate(15deg);
}
@keyframes arrow-flight {
  0% {
    transform: translate(0, 0) rotate(15deg);
  }
  45% {
    transform: translate(1px, 2px) rotate(15deg);
  }
  100% {
    transform: translate(7px, calc(7px * -0.5)) rotate(15deg);
  }
}

.service-card:hover .cube-arrow i,
.service-card:focus-visible .cube-arrow i {
  animation: arrow-flight var(--cube-duration) ease forwards;
  transform: translate(1px, calc(var(--arrow-offset) * -1)) rotate(15deg);
  filter: drop-shadow(var(--arrow-shadow));
}
.client-strip {
  padding: 52px 65px;
  display: flex;
  gap: 40px;
  justify-content: space-between;
  align-items: center;
  background: #1d1d1d;
  border-block: 1px solid #323432;
  margin-top: 5rem;
}
.client-strip img {
  width: auto;
  max-width: 130px;
  max-height: 42px;
  object-fit: contain;
}
.client-wordmark {
  font: 22px Georgia, serif;
  white-space: nowrap;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}
.text-link {
  font-size: 13px;
  white-space: nowrap;
}
.text-link i {
  font-size: 10px;
}
.bordered {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: relative;
  isolation: isolate;
}
.featured-project {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  overflow: hidden;
  background: linear-gradient(165deg, var(--ink), #172a26);
  min-height: 360px;
}
.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.featured-copy {
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
}
.featured-copy h3 {
  font: 29px/1.12 "Nexa-Regular";
  letter-spacing: -.7px;
  margin: 18px 0;
}
.featured-copy p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.4;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 10px;
}
.tags > span,
.tags > a {
  background: #234d4c;
  border: 1px solid #386a68;
  border-radius: 100px;
  padding: 3px 8px;
}
.tags > span {
  background: linear-gradient(49deg, var(--service-border-muted) 0%, var(--service-border-accent) 20.12%, var(--service-border-accent) 21.03%, var(--service-border-muted) 84.76%);
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 22px;
}
.project-card {
  overflow: hidden;
  background:
    linear-gradient(
      135deg,
      var(--ink),
      #252317);
  border-color: #5a5341;
}
.project-card:nth-child(2) {
  background:
    linear-gradient(
      135deg,
      var(--ink),
      #251a30);
}
.project-card img {
  width: 100%;
  aspect-ratio: 1.7;
  object-fit: cover;
}
.projects .project-excerpt {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 20px;
}
.project-card-copy {
  padding: 20px;
}
.project-card h3 {
  font: 21px/1.15 "Nexa-Regular";
  margin-bottom: 14px;
}
.project-card .eyebrow {
  font-size: 9px;
  margin-bottom: 9px;
}
.project-card .text-link {
  font-size: 11px;
}
.cta-bar {
  margin-top: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 35px;
  padding: 26px;
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
  border-radius: 18px;
}
.cta-bar p {
  font: 22px/1.3 "Nexa-Regular";
  margin: 0;
}
.process > p:not(.eyebrow) {
  font-size: 15px;
  margin-top: 14px;
}
.four-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 38px;
}
.line-card {
  position: relative;
  padding: 27px 24px 0 0;
}
.line-card:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--tone);
  transform-origin: left;
}
.colour-lines.motion-ready:not(.lines-visible) .line-card:before,
.line-card.motion-ready:not(.lines-visible):before {
  transform: scaleX(0);
}
.colour-lines.motion-ready.lines-visible .line-card:before,
.line-card.motion-ready.lines-visible:before {
  animation: line-in var(--line-duration) ease both;
  animation-delay: calc(var(--line-index)*var(--line-delay));
}
@keyframes line-in {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}
.step-label {
  color: var(--tone);
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 8px;
}
.line-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
}
.line-card p:not(.step-label) {
  font-size: 15px;
  line-height: 1.4;
}
.gradient-panel {
  overflow: visible;
  background: #15272b;
}
.gradient-panel:before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(
      120deg,
      #192e37,
      #182d2c,
      #283029,
      #232131);
  background-size: 220% 220%;
  animation: gradient-drift var(--gradient-duration) ease-in-out infinite alternate;
  z-index: -1;
  pointer-events: none;
}
@keyframes gradient-drift {
  from {
    background-position: 0% 20%;
  }
  to {
    background-position: 100% 80%;
  }
}
.pricing {
  text-align: center;
  padding: 40px;
}
.pricing h2 {
  font-size: clamp(28px, 3vw, 43px);
}
.pricing-intro {
  max-width: 970px;
  margin: 14px auto 0;
  line-height: 1.3;
  font-size: 16px;
}
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  margin: 50px 15px 0;
  text-align: left;
}
.plan {
  border-color: #77715c;
  padding: 30px 28px;
  background:
    linear-gradient(
      145deg,
      var(--ink) 45%,
      #2a2415);
}
.plan-popular {
  background:
    linear-gradient(
      140deg,
      #9550fd,
      #704dde 55%,
      #a548fb);
}
.popular-badge {
  position: absolute;
  top: -31px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  text-transform: uppercase;
  background: #28626a;
  border: 1px solid #4a8a93;
  border-radius: 100px;
  padding: 3px 10px;
  white-space: nowrap;
}
.plan h3 {
  font-size: 24px;
  margin-bottom: 3px;
}
.plan > p {
  font-size: 14px;
}
.plan .price {
  margin: 24px 0;
}
.price strong {
  font-family: "Nexa-ExtraBold";
  font-size: 36px;
}
.price span {
  text-transform: uppercase;
  font-size: 12px;
}
.plan ul {
  padding: 0;
  list-style: none;
  margin: 0 0 27px;
  font-size: 14px;
  line-height: 1.65;
}
.plan li:before {
  content: "\b7  ";
  font-family: "Nexa-Bold";
}
.plan .button {
  font-size: 13px;
  padding: 12px;
}
.testimonial {
  text-align: center;
  padding: 70px 50px;
  min-height: 520px;
}
.testimonial-stage {
  position: relative;
  max-width: 780px;
  min-height: 300px;
  margin: 0 auto 28px;
}
.testimonial figure {
  margin: 0;
}
.testimonial-avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 26px;
}
.avatar-placeholder {
  display: grid;
  place-items: center;
  background:
    radial-gradient(
      at 70% 30%,
      #55756d,
      #24292b);
  font-size: 30px;
  color: #c8d8d0;
}
.testimonial blockquote {
  font: 28px/1.28 "Nexa-Regular";
  letter-spacing: -.6px;
  margin: 0 0 28px;
}
.testimonial figcaption {
  font-size: 14px;
}
.testimonial figcaption span {
  display: block;
  color: var(--quiet);
  font-size: 11px;
  text-transform: uppercase;
  margin-top: 6px;
}
.testimonial-next {
  position: relative;
  z-index: 3;
}
.pixel-effect {
  position: absolute;
  left: 50px;
  right: 50px;
  top: 70px;
  height: 300px;
  pointer-events: none;
  z-index: 2;
}
.pixel-effect .testimonial-slide {
  padding: 0 50px;
}
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-top: 150px;
}
.about h2 {
  font-size: 34px;
  letter-spacing: -.6px;
}
.about p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
  margin-top: 22px;
}
.about .tags {
  margin-top: 22px;
}
.about .tags > a {
  background: #242626;
  border: 0;
  font-size: 9px;
}
.about h3 {
  font: 18px/1.3 "Nexa-Bold";
  color: #accbc6;
}
.about article:nth-child(2) h3 {
  color: #c3afd9;
}
.about article:nth-child(3) h3 {
  color: #adc5dd;
}
.about article p {
  font-size: 13px;
  line-height: 1.8;
  margin: 12px 0 24px;
}
.faq {
  max-width: 1000px;
  margin-top: 170px;
  text-align: center;
}
.faq h2 {
  font-size: 34px;
}
.faq-list {
  text-align: left;
  margin: 55px 45px 0;
}
.faq details {
  --faq-duration:650ms;
  border-bottom: 1px solid #353535;
}
.faq summary span { transition: transform var(--faq-duration,650ms) ease; }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 23px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-family: "Nexa-Regular";
  font-size: 16px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq details[open] summary span {
  transform: rotate(45deg);
}
.faq details p {
  color: var(--muted);
  font-size: 15px;
  max-width: 750px;
}
.ask {
  text-align: center;
  padding: 70px 30px;
  isolation: isolate;
}
.ask:before {
  background:
    radial-gradient(
      at 0 0,
      #2a4241,
      transparent 65%),
    radial-gradient(
      at 100% 0,
      #463520,
      transparent 60%),
    radial-gradient(
      at 50% 100%,
      #342e45,
      transparent 65%),
    #18181b;
  background-size: 150% 150%;
}
.ask h2 {
  font-size: 46px;
  line-height: 1.08;
}
.ask > p:not(.ask-contact) {
  max-width: 540px;
  margin: 28px auto;
  color: var(--muted);
}
.question-form {
  max-width: 650px;
  margin: auto;
}
.question-prompts {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 30px;
}
.prompt {
  font-size: 12px;
  padding: 9px 14px;
  min-height: 36px;
  border-radius: 100px;
  background: #302e37;
  border-color: #595760;
}
.ask-contact {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}
.ask-contact a {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.insights {
  margin-top: 80px;
}
.insights .four-grid {
  margin-top: 32px;
}
.insights h3 {
  font-family: "Nexa-ExtraBold";
  font-size: 19px;
}
.site-footer {
  --footer-link-hover:#a9d6d4;
  margin-top: var(--frame);
  border-radius: var(--panel-radius);
  background: var(--ink);
  padding: 60px 70px 25px;
}
.site-footer a:not(.brand) { transition: color .3s ease; }
.site-footer a:not(.brand):hover,
.site-footer a:not(.brand):focus-visible { color: var(--footer-link-hover); }
.site-footer i.fa-brands.fa-square-linkedin {
    font-size: 2em;
    margin-left: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.1fr;
  gap: 50px;
  max-width: var(--content);
  margin: auto;
  font-size: 13px;
  color: var(--muted);
}
.footer-grid .brand {
  width: 230px;
  margin-bottom: 20px;
}
.footer-grid a:not(.brand) {
  display: block;
  margin-bottom: 8px;
}
.footer-grid .eyebrow {
  margin-bottom: 12px;
  font-size: 10px;
}
.footer-bottom {
  max-width: var(--content);
  margin: 50px auto 0;
  display: flex;
  justify-content: space-between;
  gap: 25px;
  font-size: 10px;
  line-height: 1.7;
  color: var(--quiet);
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 30px;
  padding: 12px;
  background: var(--paper);
  color: var(--ink);
  z-index: 1000;
}
.skip-link:focus {
  top: 20px;
}
.standard-page {
  padding: 40px 0;
}
.standard-page h1:not(.project-gradient-title) {
  font: 42px/1.2 "Nexa-Regular";
  margin: 0 0 35px;
}
.standard-page article {
  margin-bottom: 60px;
}
.kc-glow-mount {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 2;
}
.kc-glow-mount .border-glow-card {
  height: 100%;
  width: 100%;
  background: transparent;
  border: 0;
  border-radius: inherit;
  box-shadow: none;
}
.kc-glow-mount .border-glow-inner {
  display: none;
}
.kc-glow-mount .border-glow-card:before {
  /* The transparent effect overlay needs a hollow ring, not the component's opaque fill. */
  background: var(--box-border-gradient, linear-gradient(49deg, var(--accent-0), var(--accent-2), var(--accent-3))) border-box;
  -webkit-mask: linear-gradient(var(--paper) 0 0) padding-box, linear-gradient(var(--paper) 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(var(--paper) 0 0) padding-box, linear-gradient(var(--paper) 0 0);
  mask-composite: exclude;
}
.kc-glow-mount .border-glow-card:after {
  display: none;
}
.kc-glow-mount .border-glow-card > .edge-light::before {
  /* Outer shadows follow the React settings without adding an interior gradient. */
  box-shadow:
    inset 0 0 0 1px var(--glow-color),
    0 0 3px var(--glow-color-60),
    0 0 calc(var(--glow-padding) * .3) var(--glow-color-40),
    0 0 var(--glow-padding) var(--glow-color-20);
}
.featured-project,
.project-card { overflow: visible; }
.featured-project .project-image { overflow: hidden; border-radius: var(--radius) 0 0 var(--radius); }
.project-card img { border-radius: var(--radius) var(--radius) 0 0; }
@media (max-width: 767px) {
  .featured-project .project-image { border-radius: var(--radius) var(--radius) 0 0; }
}
.site-panel .wpforms-container {
  font-family: "Nexa-Book";
  color: var(--paper);
}
.site-panel .wpforms-container input,
.site-panel .wpforms-container textarea,
.site-panel .wpforms-container select {
  background: var(--paper) !important;
  color: var(--ink) !important;
  border: 1px solid #747775 !important;
  border-radius: 8px !important;
  min-height: 48px;
}
.site-panel .wpforms-container .wpforms-field-label {
  color: var(--paper) !important;
  font-size: 14px !important;
}
.site-panel .wpforms-container .wpforms-field-description {
  color: var(--muted) !important;
}
.site-panel .wpforms-container button {
  border-radius: 8px !important;
  background: var(--ink) !important;
  color: var(--paper) !important;
  border: 1px solid #747775 !important;
  font-family: "Nexa-Regular" !important;
  font-size: 14px !important;
  min-height: 44px;
}
.site-panel .wpforms-container .wpforms-confirmation-container-full {
  background: #1d3834;
  color: var(--paper) !important;
  border-color: var(--accent-0);
  border-radius: 5rem;
}
.question-form .wpforms-container {
  margin: 0;
}
.question-form .wpforms-page-1 {
  position: relative;
  background: var(--paper);
  border-radius: 12px;
  padding: 5px 90px 5px 5px;
  min-height: 58px;
}
.question-form .wpforms-page-1 .wpforms-field {
  padding: 0 !important;
}
.question-form .wpforms-page-1 .wpforms-field-text input {
  max-width: 100% !important;
  border: 0 !important;
  width: 100%;
  padding: 12px 15px;
  box-shadow: none !important;
}
.question-form .wpforms-page-1 .wpforms-field-pagebreak {
  position: absolute !important;
  right: 5px;
  top: 5px;
}
.question-form .wpforms-page-1 .wpforms-pagebreak-button {
  margin: 0 !important;
}
.question-form .wpforms-field-pagebreak .wpforms-pagebreak-buttons {
  padding: 0 !important;
}
.question-form .wpforms-page-2 {
  text-align: left;
}
.question-form .wpforms-field-gdpr-checkbox label {
  color: var(--muted) !important;
}
.question-form .wpforms-field-label-inline {
  font-size: 13px !important;
}
.question-form .wpforms-error {
  font-size: 13px !important;
}
.question-form .wpforms-page-1 .wpforms-error {
  color: #8d2626 !important;
  padding-left: 15px;
}
.question-form .wpforms-page-1:has(.wpforms-error) {
  padding-bottom: 10px;
}
.question-form .wpforms-submit-container {
  padding: 12px 0 0 !important;
}
.question-form .wpforms-field-label-hide {
  position: absolute !important;
  clip: rect(0, 0, 0, 0) !important;
}
@media (min-width: 1700px) {
  :root {
    --content:1540px;
  }
  .hero-title,
  .hero-words {
    font-size: 64px;
  }
  .hero-body {
    max-width: 550px;
    font-size: 17px;
  }
  .service-card {
    min-height: 275px;
  }
  .hero-copy {
    padding-block: 100px;
  }
}
@media (max-width: 1150px) {
  .site-header,
  .section,
  .hero-copy {
    width: calc(100% - 70px);
  }
  .brand {
    width: 190px;
  }
  .nav-links a {
    padding: 9px 10px;
    font-size: 12px;
  }
  .service-card {
    padding: 22px 18px 65px;
  }
  .service-card h2 {
    font-size: 15px;
  }
  .service-card p {
    font-size: 13px;
  }
  .service-link {
    font-size: 12px;
  }
  .client-strip {
    gap: 25px;
    padding: 45px 35px;
  }
  .client-strip img {
    max-width: 90px;
    max-height: 32px;
  }
  .client-wordmark {
    font-size: 16px;
  }
  .plans {
    margin-inline: 0;
    gap: 20px;
  }
  .plan {
    padding: 25px 20px;
  }
  .about {
    gap: 45px;
  }
  .footer-grid {
    gap: 25px;
  }
  .site-footer {
    padding: 45px 35px;
  }
  .featured-project {
    grid-template-columns: 1.4fr 1fr;
  }
}
@media (max-width: 900px) {
  :root {
    --section-gap:80px;
  }
  .site-header {
    width: calc(100% - 50px);
    padding-top: 25px;
    flex-wrap: wrap;
  }
  .brand {
    width: 175px;
  }
  .menu-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border: 1px solid var(--line);
    border-radius: 100px;
    background: var(--panel);
    color: var(--paper);
    position: relative;
    min-height: 44px;
  }
  .menu-toggle i {
    font-size: 20px;
  }
  .site-header nav {
    display: none;
    width: 100%;
    /* border: 7px solid var(--paper); */
    border-radius: 28px;
    background: var(--ink);
    padding: 18px;
    margin-top: 5px;
  }
  .site-header nav.menu-open {
    display: block;
  }
  .nav-links {
    flex-direction: column;
    gap: 10px;
  }
  .nav-links li,
  .nav-links a {
    width: 100%;
    text-align: center;
  }
  .nav-links a {
    font-size: 16px;
    background: var(--paper);
    color: var(--ink);
    padding: 13px;
  }
  .nav-links .menu-cta a {
    background: var(--green);
    color: var(--paper);
  }
  .nav-pill {
    display: none;
  }
  .services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
  .hero-sticky {
    min-height: 590px;
  }
  .hero-title,
  .hero-words {
    font-size: 40px;
  }
  .hero-body {
    max-width: 380px;
  }
  .hero-image {
    width: 95%;
    opacity: .6;
  }
  .hero-copy {
    width: calc(100% - 70px);
  }
  .client-strip {
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px 35px;
  }
  .four-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 30px;
  }
  .featured-project {
    grid-template-columns: 1fr;
  }
  .featured-copy {
    padding: 30px;
  }
  .project-image img {
    aspect-ratio: 1.9;
  }
  .plans {
    gap: 14px;
  }
  .plan {
    padding: 22px 15px;
  }
  .plan h3 {
    font-size: 20px;
  }
  .plan li {
    font-size: 12px;
  }
  .about {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .question-prompts {
    gap: 8px;
  }
}
@media (max-width: 767px) {
  :root {
    --frame:7px;
    --section-gap:65px;
    --radius:20px;
  }
  html {
    scroll-behavior: auto;
  }
  body {
    font-size: 16px;
  }
  .site-panel {
    padding-bottom: 55px;
  }
  .site-header {
    gap: 15px;
  }
  .section {
    width: calc(100% - 38px);
  }
  .hero-track.sequence-active {
    height: auto !important;
  }
  .hero-sticky,
  .sequence-active .hero-sticky {
    position: relative;
    min-height: 610px;
    height: auto;
    max-height: none;
    padding: 45px 0 55px;
  }
  .hero-image {
    width: 100%;
    height: 100%;
    object-position: 62% center;
    opacity: .27;
    mix-blend-mode: normal;
    filter: brightness(.7);
  }
  .hero-copy {
    width: calc(100% - 42px);
    padding: 0;
    max-width: none;
  }
  .hero-copy .eyebrow {
    font-size: 10px;
    max-width: 320px;
    margin-bottom: 22px;
  }
  .hero-title {
    font-size: clamp(33px, 8vw, 47px);
    letter-spacing: -1px;
    margin-bottom: 24px;
  }
  .hero-words {
    font-size: clamp(32px, 8vw, 44px);
    letter-spacing: -1px;
    margin-bottom: 24px;
  }
  .hero-words span {
    opacity: 1 !important;
  }
  .hero-body {
    max-width: none;
    font-size: 15px;
    line-height: 1.5;
  }
  .hero-actions {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  .button {
    width: 100%;
    min-height: 48px;
    font-size: 15px;
  }
  .services {
    width: calc(100% - 38px);
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 10px;
  }
  .service-card {
    min-height: 210px;
    padding: 25px 24px 65px;
  }
  .service-card h2 {
    font-size: 20px;
  }
  .service-card p {
    font-size: 15px;
    max-width: 90%;
  }
  .service-link {
    font-size: 14px;
  }
  .client-strip {
    padding: 30px 20px;
    gap: 25px;
    justify-content: center;
  }
  .client-strip img {
    max-width: 90px;
    max-height: 30px;
  }
  .client-wordmark {
    font-size: 16px;
  }
  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 18px;
  }
  .section-heading .text-link {
    font-size: 14px;
  }
  .eyebrow {
    font-size: 11px;
    margin-bottom: 12px;
  }
  h2 {
    font-size: 31px;
    letter-spacing: -.7px;
  }
  .featured-project {
    min-height: 0;
  }
  .featured-copy {
    padding: 25px 22px;
  }
  .featured-copy h3 {
    font-size: 27px;
  }
  .featured-copy .button {
    margin-top: 10px;
  }
  .project-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .project-card h3 {
    font-size: 23px;
  }
  .project-card .text-link {
    font-size: 13px;
  }
  .project-card img {
    aspect-ratio: 1.6;
  }
  .project-card-copy {
    padding: 24px;
  }
  .cta-bar {
    margin-top: 65px;
    flex-direction: column;
    text-align: center;
    gap: 20px;
    padding: 25px 20px;
  }
  .cta-bar p {
    font-size: 22px;
  }
  .four-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .line-card {
    padding: 25px 0 0;
  }
  .line-card h3 {
    font-size: 22px;
  }
  .line-card p:not(.step-label) {
    font-size: 16px;
  }
  .pricing {
    padding: 30px 20px;
  }
  .pricing h2 {
    font-size: 30px;
  }
  .pricing-intro {
    font-size: 15px;
    line-height: 1.5;
  }
  .plans {
    grid-template-columns: 1fr;
    gap: 42px;
    margin-top: 40px;
  }
  .plan {
    padding: 28px 24px;
  }
  .plan h3 {
    font-size: 26px;
  }
  .plan li {
    font-size: 15px;
  }
  .plan > p {
    font-size: 15px;
  }
  .plan .button {
    font-size: 15px;
  }
  .testimonial {
    padding: 40px 22px;
    min-height: 0;
  }
  .testimonial-stage {
    min-height: 360px;
  }
  .testimonial blockquote {
    font-size: 23px;
    line-height: 1.4;
  }
  .testimonial-avatar {
    width: 64px;
    height: 64px;
  }
  .about {
    margin-top: 80px;
    gap: 30px;
  }
  .about h2 {
    font-size: 30px;
  }
  .about p {
    font-size: 16px;
    line-height: 1.65;
  }
  .about article p {
    font-size: 15px;
  }
  .about h3 {
    font-size: 20px;
  }
  .about .tags > a {
    font-size: 11px;
  }
  .faq {
    margin-top: 80px;
  }
  .faq h2 {
    font-size: 30px;
  }
  .faq-list {
    margin: 30px 0 0;
  }
  .faq summary {
    font-size: 16px;
    padding: 22px 0;
  }
  .ask {
    padding: 40px 22px;
  }
  .ask h2 {
    font-size: 34px;
  }
  .ask > p:not(.ask-contact) {
    font-size: 15px;
    margin: 22px auto;
  }
  .question-prompts {
    flex-direction: column;
  }
  .prompt {
    border-radius: 100px;
    min-height: 44px;
    font-size: 13px;
  }
  .ask-contact {
    font-size: 14px;
  }
  .question-form .wpforms-page-1 {
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .question-form .wpforms-page-1 .wpforms-field-pagebreak {
    position: static !important;
  }
  .question-form .wpforms-pagebreak-button {
    width: 100%;
  }
  .question-form .wpforms-page-1 input {
    font-size: 14px !important;
  }
  .question-form .wpforms-submit-container button,
  .standard-page .wpforms-submit-container button {
    width: 100%;
  }
  .insights {
    margin-top: 65px;
  }
  .insights h3 {
    font-size: 22px;
  }
  .site-footer {
    padding: 40px 25px 20px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    font-size: 15px;
  }
  .footer-grid .brand {
    width: 200px;
  }
  .footer-bottom {
    flex-direction: column;
    font-size: 11px;
    gap: 15px;
  }
  .standard-page h1:not(.project-gradient-title) {
    font-size: 32px;
  }
  .pixel-effect,
  .kc-glow-mount {
    display: none !important;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
  .service-card:hover .cube-arrow i,
  .service-card:focus-visible .cube-arrow i {
    transform: none;
  }
  .line-card:before {
    transform: none !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .service-card:hover .cube-arrow i,
  .service-card:focus-visible .cube-arrow i { transform: none; }
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
  .hero-track.sequence-active {
    height: auto !important;
  }
  .sequence-active .hero-sticky {
    position: relative;
    min-height: 650px;
    height: auto;
  }
  .hero-words span {
    opacity: 1 !important;
  }
  .line-card:before {
    transform: none !important;
  }
  .kc-glow-mount,
  .pixel-effect {
    display: none !important;
  }
}
.pixel-effect {
  opacity: 0;
  inset: 0;
  width: 100%;
  border-radius: inherit;
  overflow: hidden;
  z-index: 10;
}
.testimonial-panel-snapshot,
.testimonial-panel-copy {
  width: 100%;
  height: 100%;
}
.testimonial-panel-copy {
  margin: 0;
  background: var(--ink);
}
.testimonial { background: var(--ink); color: var(--paper); }
.testimonial.testimonial-light { background: var(--paper); color: var(--ink); }
.testimonial-light figcaption span { color: var(--ink); }
.testimonial-light .testimonial-next {
  background: var(--ink);
  color: var(--paper);
}
.pixel-swap__pixel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--pixel-flash-color, transparent);
  pointer-events: none;
  animation: pixel-flash var(--pixel-flash-duration, .75s) ease-out var(--pixel-flash-delay, 0s) both;
}
@keyframes pixel-flash {
  from { opacity: .8; }
  to { opacity: 0; }
}
.is-swapping .pixel-effect {
  opacity: 1;
}
.is-swapping > .testimonial-stage {
  opacity: 0;
}
.pixel-effect .testimonial-slide {
  display: block !important;
  max-width: 780px;
  margin: auto;
  padding: 0;
}
.button:disabled {
  cursor: wait;
  opacity: .65;
}
.hero-image {
  object-fit: contain;
}
.trusted-label {
  white-space: nowrap;
  font-size: 11px;
  letter-spacing: 0;
  margin: 0;
}
.site-panel .wpforms-container input[type=checkbox],
.site-panel .wpforms-container input[type=radio] {
  min-height: 18px !important;
  height: 18px !important;
  width: 18px !important;
  border-radius: 3px !important;
}
.site-panel .wpforms-container button {
  padding: 12px 18px !important;
  line-height: 1.3 !important;
}
.site-panel .wpforms-container .wpforms-pagebreak-next {
  padding: 12px 18px !important;
}
.site-panel .wpforms-container .wpforms-field-gdpr-checkbox {
  margin-bottom: 15px;
}
.question-form .wpforms-submit-container {
  text-align: right !important;
}
@media (max-width: 767px) {
  .hero-image {
    object-fit: cover;
  }
  .question-form .wpforms-submit-container {
    text-align: center !important;
  }
}
html {
  scroll-behavior: auto;
}
.testimonial-stage {
  min-height: 350px;
}
@media (max-width: 767px) {
  .testimonial-stage {
    min-height: 360px;
  }
}
.gradient-panel::before {
  animation-play-state: paused;
}
.gradient-panel.gradient-running::before {
  animation-play-state: running;
}
.hero-sticky > picture {
  display: contents;
}
@media (max-width: 900px) {
  .no-js .site-header nav {
    display: block;
  }
  .no-js .menu-toggle {
    display: none;
  }
}
:root {
  --hero-padding: 32px;
  --hero-height: 620px;
}
.hero-sticky,
.sequence-active .hero-sticky {
  height: auto;
  min-height: var(--hero-height);
  max-height: none;
}
.hero-copy {
  padding: var(--hero-padding) 0;
  position: relative;
  z-index: 1;
}
.hero-sticky::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(
      to bottom,
      var(--ink),
      transparent 18%,
      transparent 78%,
      var(--ink)),
    linear-gradient(
      to right,
      var(--ink) 10%,
      transparent 45%,
      transparent var(--hero-right-fade-start, 85%),
      var(--ink) var(--hero-right-fade-end, 100%)),
    radial-gradient(
      ellipse at 68% 50%,
      transparent 35%,
      var(--ink) 85%);
}
@media (min-width: 1400px) {
  .hero-sticky {
    /* Contained frames stop short of the panel edge on wide screens. */
    --hero-right-fade-end: min(96%, calc(58.5% + 500px));
    --hero-right-fade-start: calc(var(--hero-right-fade-end) - 15%);
  }
  .hero-copy {
    padding: var(--hero-padding) 0;
  }
}
@media (max-width: 767px) {
  .hero-sticky,
  .sequence-active .hero-sticky {
    min-height: 0;
    padding: 32px 0;
  }
  .hero-copy {
    padding: 0;
  }
  .hero-sticky::after {
    background:
      linear-gradient(
        to bottom,
        var(--ink),
        transparent 24%,
        transparent 76%,
        var(--ink)),
      radial-gradient(
        ellipse,
        transparent 30%,
        var(--ink) 100%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .sequence-active .hero-sticky {
    min-height: var(--hero-height);
    height: auto;
  }
}
.hero-pin {
  position: relative;
}
.sequence-active .hero-pin {
  position: sticky;
  top: 0;
}
.sequence-active .hero-sticky {
  position: relative;
  top: auto;
}
/* .hero-pin .services {
  margin-top: 0;
} */
@media (max-width: 767px), (prefers-reduced-motion: reduce) {
  .sequence-active .hero-pin {
    position: relative;
    top: auto;
  }
}
.hero-track {
  overflow-anchor: none;
}
@media (max-width: 767px), (prefers-reduced-motion: reduce) {
}
.hero-track.sequence-active {
  height: auto !important;
}
.sequence-active .hero-pin {
  position: relative;
  top: auto;
}
.client-strip {
  background-image: none;
  background-color: #1d1d1d;
}
.service-card::before {
  background-image:
    radial-gradient(
      at 0 0,
      color-mix(in srgb, var(--tone) 30%, transparent),
      transparent 16%);
  background-size: auto;
  mix-blend-mode: normal;
}

/* Shared masked gradient borders. Buttons and the outer site frame retain their own borders. */
:root {
  --service-border-muted: #333432;
  --border-design: #62d6c191;
  --border-development: #f6b41c91;
  --border-seo: #ae79f591;
  --border-managed: #6c9fe891;
}
:where(.service-card, .bordered:not(.button), .tags > span, .popular-badge) {
  --service-border-accent: var(--border-design);
  --box-border-gradient: linear-gradient(49deg, var(--service-border-muted) 0%, var(--service-border-accent) 50.12%, var(--service-border-accent) 68.03%, var(--service-border-muted) 74.76%);
  border-color: transparent;
  background-clip: padding-box;
  position: relative;
}
.service-card.tone-0 { --service-border-accent: var(--border-design); }
.service-card,
.bordered:not(.button),
.tags > span,
.popular-badge {
  border-color: transparent;
  background-clip: padding-box;
}
.service-card.tone-1 { --service-border-accent: var(--border-development); }
.service-card.tone-2 { --service-border-accent: var(--border-seo); }
.service-card.tone-3 { --service-border-accent: var(--border-managed); }
.project-card,
.plan { --service-border-accent: var(--border-development); }
.project-card:nth-child(2),
.plan-popular { --service-border-accent: var(--border-seo); }
/* Panels without a single service colour pick up the four brand accents. */
.bordered.gradient-panel,
.bordered.testimonial,
.bordered.cta-bar {
  --box-border-gradient: linear-gradient(49deg, var(--service-border-muted) 0%, var(--border-design) 42%, var(--border-development) 51%, var(--border-seo) 60%, var(--border-managed) 68.03%, var(--service-border-muted) 74.76%);
}
.service-card::after,
.bordered:not(.button)::after,
.tags > span::after,
.popular-badge::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  border-radius: inherit;
  pointer-events: none;
  z-index: 1;
  background: var(--box-border-gradient) border-box;
  -webkit-mask: linear-gradient(var(--paper) 0 0) padding-box, linear-gradient(var(--paper) 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(var(--paper) 0 0) padding-box, linear-gradient(var(--paper) 0 0);
  mask-composite: exclude;
}
.service-card::after { inset: -1px; }
/* Keep the badge positioned above its plan. */
.popular-badge { position: absolute; }


.wpforms-container .wpforms-submit-container {
    margin-top: -1.5rem !important;
}
div.wpforms-container-full .wpforms-form .wpforms-pagebreak-right {
    text-align: start !important;
    margin-bottom: -3rem;
}

/* WordPress project taxonomy pills: flat colours, with no effect overlays. */
.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  max-width: 250px;
  padding: 0;
  margin: 0 0 12px;
  list-style: none;
}
.project-tag {
  --tag-colour: #84c7b6;
  background: var(--tag-colour);
  color: var(--ink);
  border: 0;
  border-radius: 100px;
  padding: 4px 8px;
  font: 9px/1.2 "Nexa-Regular";
}
.project-tag-wordpress { --tag-colour: #edb17a; }
.project-tag-seo { --tag-colour: #c4a1ec; }
.project-thumbnail {
  display: block;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
}
.project-thumbnail img { border-radius: 0; }
@media (min-width: 768px) and (prefers-reduced-motion: no-preference) {
  .project-image img,
  .project-thumbnail img { transition: transform .8s ease; }
  .featured-project:hover .project-image img,
  .featured-project:focus-within .project-image img,
  .project-card:hover .project-thumbnail img,
  .project-card:focus-within .project-thumbnail img { transform: scale(1.035); }
  .featured-copy .button:hover > i,
  .featured-copy .button:focus-visible > i,
  .project-card a:hover .text-link i,
  .project-card a:focus-visible .text-link i { animation: case-study-arrow 1.2s ease-in-out infinite; }
}
@keyframes case-study-arrow {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(4px); }
}

.project-banner {
  position: relative;
  min-height: 430px;
  display: grid;
  align-items: center;
  padding: 70px 60px;
  background: var(--panel);
}
header.section.project-banner {
    margin-top: 3rem;
}
/* section#work {
    margin-top: 3rem;
} */
.project-banner-image {
  z-index: 0;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}
.project-banner::before {
  z-index: 1;
  pointer-events: none;
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, color-mix(in srgb,var(--ink) 90%,transparent),color-mix(in srgb,var(--ink) 65%,transparent));
  border-radius: inherit;
}
.project-banner-copy { position: relative; z-index: 2; max-width: 1000px; margin: auto; text-align: center;}
.post-banner { background: linear-gradient(135deg, var(--ink), #162a32); }
.post-banner::before { content: none; }
.post-banner-effect { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; pointer-events: none; }
.project-gradient-title { font: clamp(42px,4.5vw,64px)/1.12 "Nexa-Bold"; margin: 18px 0 0; text-align: center; }
.project-title-text { color: var(--paper); background: linear-gradient(90deg,#27b3ff,#efaf49,#c088f5); background-clip: text; -webkit-text-fill-color: transparent; }
.project-title-effect { display: none; }
.gradient-enhanced .project-title-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.gradient-enhanced .project-title-effect { display: block; }
.project-gradient-title .gradient-text { font: inherit; padding: 0; }
.project-content { max-width: 850px; font-size: 17px; line-height: 1.8; }
.post-byline { margin:24px 0 0; color:var(--muted); font-size:15px; }
.post-byline a,.author-links a { color:var(--text-link-hover); }
.post-byline a:is(:hover,:focus-visible),.author-links a:is(:hover,:focus-visible) { color:var(--text-link-colour); }
.author-card { max-width:850px; display:grid; grid-template-columns:140px minmax(0,1fr); gap:32px; align-items:start; padding:32px; background:var(--panel); }
.author-portrait { width:140px; height:140px; object-fit:cover; border-radius:50%; }
.author-copy h2 { font:28px/1.25 "Nexa-Regular"; margin:0 0 16px; }
.author-copy .eyebrow { margin-bottom:10px; }
.author-copy > p:not(.eyebrow) { color:var(--muted); }
.author-links { display:flex; flex-wrap:wrap; gap:12px 24px; font-size:15px; }
.author-page .insights > h2 { margin-bottom:32px; }
@media(max-width:600px) {
 .author-card { grid-template-columns:minmax(0,1fr); padding:26px; gap:24px; }
 .author-portrait { width:112px; height:112px; }
}
.section.project-content {
    margin-top: 3rem;
}
.project-content h2 { font: 34px/1.3 "Nexa-Book"; margin: 42px 0 16px; }
.project-content p { margin-bottom: 24px; }
.project-gallery-fallback { columns: 3; column-gap: 24px; }
.project-gallery-fallback figure { margin: 0 0 24px; break-inside: avoid; }
.project-gallery-fallback img { width: 100%; height: auto; border-radius: 20px; }
.project-gallery-effect { display: none; }
.masonry-enhanced .project-gallery-fallback { display: none; }
.masonry-enhanced .project-gallery-effect { display: block; }
@media (max-width:767px) {
  .project-banner { min-height: 300px; padding: 35px 24px; }
  .project-content { font-size: 16px; }
  .project-content h2 { font-size: 23px; }
  .project-gallery-fallback { columns: 1; }
}
.projects-intro { max-width: 820px; margin: auto; margin-top: 24px; color: var(--paper); font-size: 17px; line-height: 1.65; }
.projects-intro p { margin: 0 0 16px; }
.projects-page .project-banner { min-height: 500px; }
@media (max-width:767px) {
 .projects-intro { font-size: 15px; }
 .projects-page .project-banner { min-height: 360px; }
}
/* Insight links follow their article's accent bar across the site. */
.insights h3 a,
.insights h2 a { transition: color .3s ease; }
.insights h3 a:hover,
.insights h3 a:focus-visible,
.insights h2 a:hover,
.insights h2 a:focus-visible { color: var(--tone); }
.blog-listing h2 { font: 19px/1.35 "Nexa-ExtraBold"; margin: 0 0 14px; }
.blog-listing .four-grid { row-gap: 52px; }
.blog-pagination { margin-top: 60px; }
.blog-pagination ul { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; padding: 0; list-style: none; }
.blog-pagination a,
.blog-pagination .current,
.blog-pagination .dots { display: block; padding: 10px 14px; border-radius: var(--button-radius); }
.blog-pagination a { background: var(--panel); }
.blog-pagination a:hover,
.blog-pagination a:focus-visible { color: var(--accent-0); }
.blog-pagination .current { background: var(--paper); color: var(--ink); }
.services-experience { position: relative; margin: var(--section-gap) 0; }
.experience-fallback { position: relative; padding: 90px 30px; overflow: hidden; border-radius: var(--radius); background: var(--ink); }
.experience-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .25; }
.experience-copy { position: relative; max-width: 850px; margin: auto; color: var(--paper); font-size: 18px; line-height: 1.65; }
.experience-copy h2 { font: 34px/1.2 "Nexa-Bold"; margin-bottom: 24px; }
.experience-copy a { text-decoration: underline; text-underline-offset: 3px; }
.experience-effect { display: none; }
.experience-enhanced .experience-fallback { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); }
.experience-enhanced .experience-effect { display: block; }
.services-experience .scroll-expand__title { color: var(--paper); font-family: "Nexa-Bold"; }
.services-experience .scroll-expand__scrim { background: var(--ink); }
@media(max-width:767px){ .experience-copy { font-size:16px; } .experience-copy h2 { font-size:26px; } }
.services-experience { width: calc(100% - 8rem); max-width: 850px; margin-left: auto; margin-right: auto; }
.services-experience .scroll-expand__title { font-size: clamp(28px,3vw,40px); line-height: 1.2; }
.services-experience .experience-copy { font-size: 16px; line-height: 1.6; }
.services-experience .experience-copy h2 { font-size: 30px; }
.experience-fallback { padding: 48px 32px; }
@media(max-width:767px){
 .services-experience { width: calc(100% - 40px); }
 .experience-fallback { padding: 36px 24px; }
 .services-experience .experience-copy h2 { font-size:26px; }
}
.services-page,
.post-page {
 --heading-turquoise: #8bd0c9;
 --heading-sky: #9fc9e9;
 --heading-teal: #83bfb6;
}
.services-content h2,
.post-page article .project-content h2 {
 color: var(--heading-turquoise);
 background: linear-gradient(90deg,var(--heading-turquoise),var(--heading-sky),var(--heading-teal));
 background-clip: text;
 -webkit-text-fill-color: transparent;
}
.services-content h2.service-heading-enhanced,
.post-page article .project-content h2.service-heading-enhanced { background: none; -webkit-text-fill-color: initial; }
.service-heading-original { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.service-heading-effect .gradient-text { font: inherit; text-align: left; }
.flex-panel-grid {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 24px;
 max-width: 1100px;
 margin-top: 28px;
}
.flex-service-section .project-content { margin-bottom: 0; }
.flex-panel {
 padding: 32px;
 background: var(--panel);
 color: var(--muted);
 font-size: 16px;
 line-height: 1.65;
 margin-top: 4rem;
 margin-bottom: 4rem;
}
.flex-benefits { background: #192b29; --service-border-accent: var(--border-design); }
.flex-example { background: #1e2530; --service-border-accent: var(--border-managed); }
.flex-panel h3 { font: 23px/1.3 "Nexa-Bold"; color: var(--paper); margin: 0 0 20px; }
.flex-panel ul { padding-left: 22px; margin: 0; }
.flex-panel li { margin-bottom: 12px; padding-left: 4px; }
.flex-panel li::marker { color: var(--heading-turquoise); }
.flex-panel p:last-child { margin-bottom: 0; }
.flex-panel .eyebrow { color: var(--heading-sky); margin-bottom: 12px; }
@media(max-width:767px){
 .flex-panel-grid { grid-template-columns: 1fr; gap: 18px; }
 .flex-panel { padding: 26px; }
 .flex-panel h3 { font-size:21px; }
}
.contact-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 80px; align-items: start; }
.contact-details { font-size: 18px; line-height: 1.7; }
.contact-details h2 { font: 25px/1.3 "Nexa-Bold"; margin: 35px 0 20px; }
.contact-details a { color: var(--paper); text-decoration: underline; text-underline-offset: 4px; }
.contact-details a:hover { color: var(--accent-0); }
.contact-form .wpforms-container { margin-top: 0; }
/* Keep this optional tracking value in the submitted form, outside the visible UI. */
#wpforms-34085-field_5-container { display: none !important; }
.contact-form .wpforms-field-gdpr-checkbox label,
.contact-form .wpforms-field-gdpr-checkbox .wpforms-field-label-inline { color: var(--paper) !important; }
.contact-form .wpforms-field-gdpr-checkbox a { color: var(--paper) !important; text-decoration: underline; }
.site-panel .contact-form .wpforms-submit-container button { background: var(--green) !important; color: var(--ink) !important; border-color: var(--green) !important; margin-top: 2rem;}
@media(max-width:767px){
 .contact-grid { grid-template-columns: 1fr; gap: 30px; }
 .contact-details { font-size: 16px; }
 .contact-form .wpforms-submit-container button { width: 100%; }
}
/* Keep the quote stage stable and isolate pixel painting to its own panel. */
.testimonial-stage { min-height: var(--testimonial-stage-height,300px); }
.pixel-effect { contain: layout paint; }
/* Graceful slat treatment when the browser cannot allocate WebGL 2. */
.micro-slats[data-renderer="fallback"] {
 --slat-base: #162a32;
 --slat-glint: #2e445a;
 background: repeating-linear-gradient(0deg,transparent 0 16px,var(--ink) 16px 19px),repeating-linear-gradient(90deg,var(--slat-base) 0 16px,var(--ink) 16px 19px);
}
.micro-slats[data-renderer="fallback"]::before {
 content: ""; position: absolute; inset: 0;
 background: linear-gradient(120deg,transparent 20%,var(--slat-glint) 50%,transparent 80%);
 background-size: 240% 240%; opacity: .45;
 animation: slat-fallback-tide 18s ease-in-out infinite alternate;
}
@keyframes slat-fallback-tide { from {background-position:0% 0%;} to {background-position:100% 100%;} }

/* Homepage question panel: reuse the header slats beneath the editable form. */
.ask-slats { --question-slats-opacity: .9; position: relative; background: var(--ink); }
.question-slats-effect { position: absolute; inset: 0; z-index: -1; border-radius: inherit; overflow: hidden; pointer-events: none; opacity: var(--question-slats-opacity); }
@media (max-width: 767px), (prefers-reduced-motion: reduce) {
 .ask-slats { background: linear-gradient(135deg, var(--ink), #162a32); }
}

@media (max-width: 900px) {
 .menu-toggle { border: 0; background: transparent; padding: 10px; min-width: 44px; }
 .menu-toggle .menu-label { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
 .menu-toggle > .kc-glow-mount { display: none; }
}

@media (max-width: 767px) {
 /* Keep the next-step control inside the stacked question field. */
 .question-form div.wpforms-container-full .wpforms-form .wpforms-pagebreak-right {
  margin: 0 !important;
  width: 100%;
 }
 .question-form .wpforms-page-1 .wpforms-field-pagebreak {
  width: 100%;
  flex: 0 0 auto;
 }
}


div.wpforms-container-full .wpforms-confirmation-container-full p, div[submit-success]>.wpforms-confirmation-container-full:not(.wpforms-redirection-message) p {
    color: #fefefe !important;
}
