/*
Theme Name:   GamefaceX
Template:     twentytwentyone
Text Domain:  twentytwentyone-child
*/
:root {
  --brand-light: #141c27;
  --brand-light-hover: #161e2a;
  --brand-blue: #39f;
  --brand-black: #0e151e;
  --pure-white: #fff;
  --standard-transition: all 0.2s ease-in-out;
  --heading-spacing: 1rem;
}

html {
  background: var(--brand-light-hover);
  font-size: 16px;
  min-height: 100vh;
  padding-bottom: 50px;
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", sans-serif;
  line-height: 1.6;
  background: var(--brand-light-hover);
  
}

html,
body {
  overflow-x: hidden;
  min-height: 100vh !important;
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

#bg-video {
  position: fixed;
  top: 0;
  left: 0;
  min-width: 100%;
  min-height: 100%;
  z-index: 0;
  object-fit: cover;
  opacity: 0.4;
}

/* ============================= */
/* LOADING SCREEN */
/* ============================= */

#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--brand-light);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

#logo-svg {
  width: 30vw;
  height: auto;
}

.logo-paths path,
.logo-paths polygon {
  stroke-dasharray: 2200;
  stroke-dashoffset: 2200;
  stroke-linecap: round;
  stroke-linejoin: round;

  animation: draw 2.4s cubic-bezier(0.7, 0, 0.85, 0.35) forwards;
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

.logo-paths {
  fill: transparent; /* already has final color */
  fill-opacity: 0; /* start fully transparent */
  animation: fillFade 1s forwards;
  animation-delay: 4s; /* delay until stroke is done */
}

@keyframes fillFade {
  to {
    fill-opacity: 1; /* fade to fully opaque */
  }
}

/* ============================= */
/* LOADER WRAPPER */
/* ============================= */

.loader {
  position: relative;
  width: 120px;
  height: 120px;
}

/* ============================= */
/* SPINNER CORE */
/* ============================= */

.spinner {
  position: relative;
  width: 100%;
  height: 100%;
}

/* ROTATING RING */
.spinner::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;

  border: 2px solid rgba(255, 255, 255, 0.08);
  border-top: 2px solid var(--brand-blue);

  animation: spin 1s linear infinite;
}

/* PULSING OUTER RING */
.spinner::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;

  border: 2px solid rgba(51, 153, 255, 0.18);

  animation: pulse 1.8s ease-in-out infinite;
}

/* ============================= */
/* WC TEXT */
/* ============================= */

.loader-icon {
  position: absolute;
  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  font-family: "Special Gothic Expanded One", sans-serif;
  font-weight: 500;
  font-size: 28px;
  letter-spacing: 0.08em;

  color: #fff;

  animation: textPulse 2s ease-in-out infinite;
}

.loader-icon svg {
  width: 42%;
  height: 42%;
  display: block;
}
.loader-icon .cls-1,
.loader-icon .cls-2 {
  background: #fff !important;
}

/* ============================= */
/* ANIMATIONS */
/* ============================= */

/* SPIN */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* PULSE RING */
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.15);
    opacity: 0.2;
  }
}

/* TEXT PULSE */
@keyframes textPulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
body {
  line-height: 1;
  z-index: 1;
}

body.scrolled-padding {
  padding-top: 80px; /* equal to header height */
}
.site,
#page,
.site-main,
.entry-content,
.site-header,
.site-footer,
section {
  position: relative;
}

ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

a,
li {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  text-decoration: none;
  font-size: 1rem;
}

/* Font Sizing */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: #fff;
  font-family: "Special Gothic Expanded One", sans-serif;
  font-weight: 400;
  font-style: normal;
  margin-top: 0;
  margin-bottom: var(--heading-spacing);
}
/* Headings */

h1 {
  font-size: clamp(2rem, 5vw + 1rem, 3.5rem);
  font-weight: 500;
  line-height: 1.2;
  margin: 0 0 1rem;
}

h2 {
  font-size: clamp(1.75rem, 3.5vw + 1rem, 2.75rem);
  font-weight: 500;
  line-height: 1.25;
  margin: 0 0 0.9rem;
}

h3 {
  font-size: clamp(1.5rem, 2.5vw + 1rem, 2.25rem);
  font-weight: 400;
  line-height: 1.3;
  margin: 0 0 0.8rem;
}

h4 {
  font-size: clamp(1.25rem, 2vw + 0.8rem, 1.75rem);
  font-weight: 400;
  line-height: 1.35;
  margin: 0 0 0.7rem;
}

h5 {
  font-size: clamp(1.1rem, 1.5vw + 0.7rem, 1.4rem);
  font-weight: 300;
  line-height: 1.4;
  margin: 0 0 0.6rem;
}

h6 {
  font-size: clamp(1rem, 1vw + 0.6rem, 1.2rem);
  font-weight: 300;
  line-height: 1.4;
  margin: 0 0 0.5rem;
}

/* Paragraph */
p {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  font-size: 1rem;
  line-height: 30px;
  padding-bottom: 1rem;
  color: rgba(255, 255, 255, 0.623);
}

/* Base Container */
.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 0px !important;
}

.container-fluid {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 0px;
}

.container-fluid .row,
.container .row {
  padding-left: clamp(12px, 2vw, 24px) !important;
  padding-right: clamp(12px, 2vw, 24px) !important;
}
/* Container Sizes */
.container-sm {
  max-width: 600px;
}
.container-md {
  max-width: 768px;
}
.container-lg {
  max-width: 1024px;
}
.container-xl {
  max-width: 1280px;
}
.container-2xl {
  max-width: 1440px;
}

/* Optional Full Container */
.container-full {
  max-width: 100%;
}

.site-content {
  min-height: calc(100vh - 419.88px);
}

/* Media Queries - Responsive Padding Tweaks */
section.default {
  padding: 80px 0 !important;
  position: relative;
}

section.section-sm {
  padding: 40px 0 !important;
}

section.section-lg {
  padding: 120px 0 !important;
}
section.section-hero {
  padding: 140px 0 100px;
}

section.section-divider {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

section.section-elevated {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border-radius: 16px;
}

section.section-center {
  text-align: center;
}

section.section-overlay {
  position: relative;
}

section.section-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

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

.image_wrapper {
  width: 100%;
  height: 100%;
  border: #ddd;
}

.image_wrapper img {
  position: relative;
  height: 100%;
  width: 100%;
}

/* Scroll to Top Button */
#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;

  width: 50px;
  height: 50px;

  border: none;
  border-radius: 50%;
  background: #141c27;
  color: #fff;
  font-size: 18px;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;

  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
}

/* Visible state */
#scrollTopBtn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Hover */
#scrollTopBtn:hover {
  background: #333;
}
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 60px;

  background: transparent;
  box-shadow: none;

  transition: all 0.3s ease;
  z-index: 999;
  border-bottom: 1px solid rgba(46, 61, 82, 0.298);
}



.site-header.scrolled {
  background: rgba(20, 28, 39, 0.75);
  box-shadow: none;
  margin-bottom: 80px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.site-header > * {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 0rem 0.5rem !important;
}

.site-header a {
  z-index: 999;
}

.site-branding{
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
}


.footer-branding {
  height: 60px;
  display: block;
}
.footer-lower {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

.site-branding a,
.footer-branding a {
  display: block;
  position: relative;
  height: 100%;
  width: fit-content;
}

.site-logo,
.footer-logo {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 250px;
}

.cls-1 {
  fill: #fff;
}

.cls-2 {
  fill: var(--brand-blue);
}

.footer-logo {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 200px;
  padding-bottom: 20px;
}
.primary-menu-container ul {
  display: flex;
  justify-content: flex-end;
  height: 60px;
}

.primary-menu-container ul li {
  margin-left: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
}

.primary-menu-container ul li a {
  display: flex;
  font-family: "Montserrat", sans-serif;
  font-weight: 300;
  font-style: normal;
  color: var(--pure-white);
  transition: color 0.25s ease;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
}

/* When hero is dark + and scroll is top */
.site-header.unscrolled.header-light .primary-menu-container ul li a,
.site-header.unscrolled.header-light .sub-menu-toggle {
  color: var(--pure-white);
}

.site-header.unscrolled.header-light li:hover {
  border-bottom: 2px solid #fff;
}

/* Keep scrolled state clean */
.site-header.scrolled .primary-menu-container ul li a {
  color: var(--pure-white);
}

.site-header.unscrolled.header-light .cls-1,
.site-header.unscrolled.header-light .cls-2 {
  fill: #fff;
}

.primary-menu-container ul li:hover {
  border-bottom-color: var(--brand-blue);
}

/* Parent item */
.primary-navigation .menu > .menu-item {
  position: relative;
}

/* Submenu base */
.primary-navigation .sub-menu {
  position: absolute;
  top: 100%;
  right: 0;

  min-width: 220px;

  background: var(--brand-black);

  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.25s ease;

  z-index: 999;
}

.site-header.unscrolled .primary-navigation .sub-menu {
  background: transparent !important;
}
.site-header.unscrolled .primary-navigation .sub-menu li:hover a {
  background: transparent !important;
}

.primary-navigation .menu-item-has-children {
  border-bottom: 2px solid transparent !important;
}
/* Show on hover */
.primary-navigation .menu-item-has-children:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.primary-navigation .menu-item-has-children:hover {
  border-bottom: 1px solid var(--brand-light);
}

.primary-navigation .menu-item-has-children > a,
.footer-menu-wrapper .menu-item-has-children > a {
  pointer-events: none;
}

/* Submenu items */
.primary-navigation .sub-menu .menu-item {
  padding: 0;
}

/* Links */
.primary-navigation .sub-menu a {
  display: block;
  font-size: 0.9rem;
  color: #fff;
  text-decoration: none;
  width: 100%;
  transition: 0.2s ease;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0px 20px;
}

.primary-menu-container ul.sub-menu li {
  margin: 0 !important;
}
/* Hover */
.primary-navigation .sub-menu a:hover {
  background: var(--brand-light);
}

/* Hide default icon */
.primary-navigation .sub-menu-toggle button,
.footer-menu-wrapper .sub-menu-toggle button {
  display: none;
}
/* 1. Hide default + / - icons */
.primary-navigation .sub-menu-toggle .icon-plus,
.primary-navigation .sub-menu-toggle .icon-minus,
.footer-menu-wrapper .sub-menu-toggle .icon-plus,
.footer-menu-wrapper .sub-menu-toggle .icon-minus {
  display: none;
}

/* 2. Style button */
.primary-navigation .sub-menu-toggle,
.footer-menu-wrapper .sub-menu-toggle {
  background: none;
  border: none;
  padding: 0;
  margin-left: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-menu-wrapper .sub-menu .menu-item {
  padding-left: 20px;
}

/* 3. Add chevron */
.primary-navigation .sub-menu-toggle::after {
  content: "\f282"; /* Bootstrap chevron-down */
  font-family: "bootstrap-icons";
  font-size: 0.75rem;
  transition: transform 0.25s ease;
  display: inline-block;
  margin-left: 7px;
  color: #fff;
}

/* 4. Rotate when open */
.primary-navigation .sub-menu-toggle[aria-expanded="true"]::after {
  transform: rotate(180deg);
}

.align-container-left {
  padding-left: calc((100% - 1320px) / 2);
}

.align-container-right {
  padding-right: calc((100% - 1320px) / 2);
}

.site-socials ul {
  height: 100%;
  display: flex;
}

.site-socials ul li {
  height: 80px;
  padding: 0 clamp(0px, 5vw, 20px);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.site-socials ul li a {
  width: 100%;
  height: 100%;

  display: flex;
  justify-content: center;
  align-items: center;

  color: rgba(255, 255, 255, 0.65);
  transition: var(--standard-transition);
}

.site-socials ul li:hover a {
  color: var(--pure-white);
}

.site-socials ul li a i {
  font-size: clamp(0.8rem, 2.5vw, 1rem);
}

.cta-footer {
  background: rgba(20, 28, 39, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  padding: 100px 0px;
}

.cta-footer :is(h1, h2, h3, h4, h5, h6) {
  color: #fff;
  font-weight: 500;
}

.site-footer {
  background: rgba(12, 17, 24, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.site-footer h6 {
  color: #fff !important;
  font-weight: 500;
}

.site-footer li {
  padding: 8px 0px;
}

.footer-desc {
  color: #fff;
  opacity: 0.7;
  max-width: 320px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 2px;
}

.footer-links a {
  color: #aaa;
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
}

.footer-divider {
  border-color: #777;
  margin: 40px 0;
}

.footer-social a {
  color: #aaa;
  margin-left: 15px;
  text-decoration: none;
}

.footer-social a:hover {
  color: #fff;
}

.footer-menu-container a {
  color: #aaa !important;
  transform: var(--standard-transition);
}

.footer-menu-container a:hover {
  color: #fff !important;
}

.index-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: calc(100vh);
  flex-direction: column;
  margin-top: -100px;
  background: transparent;
}

.index-wrapper h1 {
  font-size: clamp(6rem, 6vw + 1rem, 6rem);
  letter-spacing: -3px !important;
  text-transform: uppercase;
  line-height: 6rem;
  text-shadow:
    0 4px 18px rgba(0, 0, 0, 0.35),
    0 0 12px rgba(51, 153, 255, 0.18);
}

.index-wrapper h1 .font-fancy {
  display: inline-block;
  font-weight: 300;
  transition: all 0.4s ease;
}

.index-wrapper .btns-wrapper {
  display: flex;
  padding-top: 40px;
}

.index-wrapper .btns-wrapper .btn:first-child {
  margin-right: 10px;
}


/* ============================= */
/* BUTTONS */
/* ============================= */

.btn,
.btn-submit {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 160px;
  max-width: max-content;

  padding: 16px 28px;

  border: 1px solid rgba(51, 153, 255, 0.45);
  border-radius: 10px !important;

  font-family: "Montserrat", sans-serif !important;
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none !important;

  cursor: pointer;
  overflow: hidden;

  background: rgba(14, 21, 30, 0.9);
  color: var(--pure-white) !important;

  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}

.btn:hover,
.btn-submit:hover {
  background: var(--brand-blue) !important;
  color: var(--pure-white) !important;
  border-color: var(--brand-blue) !important;
  transform: translateY(-2px);
}

/* Button links */
.btn a {
  color: inherit !important;
  text-decoration: none !important;
}

/* Reveal compatibility */
.btn.reveal-up {
  transition:
    opacity 0.45s ease,
    transform 0.45s ease,
    background-color 0.25s ease,
    border-color 0.25s ease !important;
}

/* ============================= */
/* ALT BUTTON */
/* ============================= */

.btn.btn-alt {
  background: transparent;
  color: var(--pure-white) !important;
  border-color: rgba(255, 255, 255, 0.45);
}

.btn.btn-alt a {
  color: inherit !important;
}

.btn.btn-alt:hover {
  background: var(--pure-white) !important;
  color: var(--brand-black) !important;
  border-color: var(--pure-white) !important;
}


/* ============================= */
/* LIGHT BUTTON VARIANT */
/* ============================= */

.btn.case-study-preview-actionalt {
  background: var(--pure-white);
  border-color: var(--pure-white);
  color: var(--brand-black) !important;
}

.btn.case-study-preview-actionalt:hover {
  background: transparent !important;
  color: var(--pure-white) !important;
  border-color: var(--pure-white) !important;
}

/* ============================= */
/* SUBMIT BUTTON */
/* ============================= */

.btn-submit {
  width: 100% !important;
  max-width: 100%;
}

/* ============================= */
/* OPTIONAL ICON SUPPORT */
/* ============================= */

.btn i,
.btn-submit i {
  margin-left: 10px;
  font-size: 0.95rem;
  line-height: 1;
  transition: transform 0.25s ease;
}

.btn:hover i,
.btn-submit:hover i {
  transform: translateX(4px);
}

/* ============================= */
/* MOBILE */
/* ============================= */

@media (max-width: 575px) {
  .btn,
  .btn-submit {
    width: max-content;
    min-width: 150px;
    padding: 15px 22px;
    font-size: 0.78rem;
  }

  .btn-submit {
    width: 100% !important;
  }
}

/* ============================= */
/* CONTACT PAGE */
/* ============================= */

.contact-page-section {
  background: transparent;
  color: var(--pure-white);
}

/* Content */
.contact-content-panel {
  padding: 0;
  color: var(--pure-white);
}

.contact-intro {
  max-width: 620px;
}

.contact-eyebrow {
  padding-bottom: 1rem;
  color: var(--brand-blue);
  opacity: 1;
  text-transform: uppercase;
}

.contact-intro h2 {
  margin-bottom: 1.5rem;
  color: var(--pure-white);
  text-transform: uppercase;
}

.contact-intro p {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.623);
}

.contact-intro p:last-child {
  padding-bottom: 0;
}

/* Meta */
.contact-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 40px 0;
  padding: 30px 0;
  border-top: 1px solid rgba(141, 164, 253, 0.15);
  border-bottom: 1px solid rgba(141, 164, 253, 0.15);
}

.contact-meta span {
  display: block;
  margin-bottom: 8px;
  font-family: "Montserrat", sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--brand-blue);
}

.contact-meta a,
.contact-meta p {
  color: var(--pure-white);
  opacity: 0.7;
  padding-bottom: 0;
}

.contact-meta a:hover {
  color: var(--brand-blue);
  opacity: 1;
}

/* Contact Socials */
.contact-content-panel .site-socials ul {
  height: auto;
}

.contact-content-panel .site-socials ul li {
  height: 42px;
  padding: 0;
  margin-right: 14px;
}

.contact-content-panel .site-socials ul li a {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(141, 164, 253, 0.15);
  border-radius: 10px;
  color: var(--pure-white);
  background: rgba(14, 21, 30, 0.3);
}

.contact-content-panel .site-socials ul li a:hover {
  color: var(--pure-white);
  border-color: var(--brand-blue);
  background: rgba(51, 153, 255, 0.2);
}

/* Form wrapper for legacy/simple contact page */
.form-wrapper {
  min-height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 40px;
}

/* Form card */
.form-handler {
  width: clamp(300px, 70vw, 1000px);
  margin: 0 auto;
  background: rgba(14, 21, 30, 0.3);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid #222f41;
  border-radius: 10px;
  padding: 30px;
}

.contact-form-handler {
  width: 100%;
}

/* Labels */
.form-handler .wpforms-field-label,
.contact-form-handler .wpforms-field-label {
  color: #fff !important;
  font-family: "Montserrat", sans-serif !important;
  font-weight: 300 !important;
}

/* Checkbox labels */
.wpforms-field-checkbox li,
label.wpforms-field-label-inline {
  color: #fff !important;
  font-family: "Montserrat", sans-serif !important;
  font-weight: 300 !important;
}

/* Inputs for GFX form ID 26 */
input#wpforms-26-field_8,
input#wpforms-26-field_8-last,
input#wpforms-26-field_6,
input#wpforms-26-field_7,
textarea#wpforms-26-field_10,
input#wpforms-26-field_9_1,
input#wpforms-26-field_9_2,
input#wpforms-26-field_9_4,
input#wpforms-26-field_9_5,
input#wpforms-26-field_13 {
  font-family: "Montserrat", sans-serif !important;
  font-weight: 300 !important;
  color: rgba(255, 255, 255, 0.9) !important;
  background-color: var(--brand-black) !important;
  border-radius: 10px !important;
  border: 1px solid #222f41 !important;
}

/* Generic fallback for WPForms fields inside contact form */
.contact-form-handler input:not([type="checkbox"]):not([type="radio"]),
.contact-form-handler textarea,
.contact-form-handler select {
  font-family: "Montserrat", sans-serif !important;
  font-weight: 300 !important;
  color: rgba(255, 255, 255, 0.9) !important;
  background-color: var(--brand-black) !important;
  border-radius: 10px !important;
  border: 1px solid #222f41 !important;
}

.contact-form-handler input:focus,
.contact-form-handler textarea:focus,
.contact-form-handler select:focus {
  border-color: var(--brand-blue) !important;
  box-shadow: 0 0 6px rgba(51, 153, 255, 0.25) !important;
  outline: none !important;
}

.contact-form-handler input::placeholder,
.contact-form-handler textarea::placeholder {
  color: rgba(255, 255, 255, 0.35) !important;
}

/* Checkbox / radio */
div.wpforms-container-full input[type="checkbox"]:before,
div.wpforms-container-full input[type="checkbox"]:after,
div.wpforms-container-full input[type="radio"]:before,
div.wpforms-container-full input[type="radio"]:after {
  background-color: var(--brand-black);
  border: 1px solid #222f41;
}

/* Required */
.wpforms-required-label {
  color: var(--brand-blue) !important;
}

/* Errors */
em.wpforms-error {
  font-family: "Montserrat", sans-serif;
}

/* Submit */
.contact-form-handler .wpforms-submit,
.contact-form-handler button[type="submit"],
.form-handler .wpforms-submit,
.form-handler button[type="submit"] {
  background: rgba(51, 153, 255, 0.2) !important;
  color: var(--pure-white) !important;
  border: 1px solid var(--brand-blue) !important;
  border-radius: 10px !important;
  font-family: "Montserrat", sans-serif !important;
  font-weight: 300 !important;
  text-transform: none !important;
  transition: var(--standard-transition);
}

.contact-form-handler .wpforms-submit:hover,
.contact-form-handler button[type="submit"]:hover,
.form-handler .wpforms-submit:hover,
.form-handler button[type="submit"]:hover {
  background: rgba(51, 153, 255, 0.28) !important;
  color: var(--pure-white) !important;
  border-color: var(--brand-blue) !important;
  box-shadow: 0 0 6px var(--brand-blue);
}

/* Confirmation */
.wpforms-confirmation-container-full {
  color: rgba(128, 255, 119, 0.7) !important;
  background: rgba(65, 255, 51, 0.1) !important;
  border: 1px solid rgba(65, 255, 51, 0) !important;
  border-radius: 5px !important;
  margin: 0px !important;
}

.wpforms-confirmation-container-full p {
  font-family: "Montserrat", "sans-serif";
  color: rgb(104, 254, 93) !important;
}
/* CAROUSEL LAYOUT */
/* CAROUSEL LAYOUT */
.carousel-wrapper {
  position: relative;
  background-color: transparent;
  height: 600px;
  width: 100%;
  z-index: 3;
}

.carousel-item {
  transition-duration: 3000ms;
  -webkit-transition-duration: 3000ms;
}

/* Keep Bootstrap carousel/fade working */
.carousel-wrapper .carousel,
.carousel-wrapper .carousel-inner,
.carousel-wrapper .carousel-item {
  height: 600px;
}

/* CASE STUDY CARD */
.case-study-preview {
  position: relative;
  display: block;
  width: 100%;
  height: 600px;
  overflow: hidden;

  color: var(--pure-white);
  text-decoration: none;
  cursor: pointer;

  background-color: var(--brand-black);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;


  border: 1px solid rgba(141, 164, 253, 0.15);

  
}

@media (max-width: 991px) {
   .case-study-preview {
    background-position: var(--mobile-bg-position, center) !important;
  }

  .case-desc {
    margin-bottom: 5px;
    background:
      linear-gradient(
        0deg,
        rgba(14, 21, 30, 0.95) 0%,
        rgba(14, 21, 30, 0.82) 38%,
        rgba(14, 21, 30, 0.65) 68%,
        rgba(14, 21, 30, 0.0) 100%
      );
      bottom: 0px !important;
      padding: 20px !important;
  }
}

/* Dark overlay */
.case-study-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;

  background: rgba(20, 28, 39, 0.0);
  transition: opacity 0.35s ease;

  pointer-events: none;
}

/* Bottom readability gradient */
.case-study-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

/* INNER WRAPPER */
.case-study-preview-inner {
  position: absolute;
  inset: 0;
  z-index: 3;
  height: 100%;
}



/* Remove dependency on Bootstrap row/cols for positioning */
.case-study-preview-inner .row {
  position: static;
  height: 100%;
  padding: 0 !important;
}

.carousel-item [class*="col-"] {
  position: static;
  display: block;
}

/* INNER CARD */
.carousel-item .inner-card {
  position: static;

  width: 100%;
  height: 100%;

  margin: 0;
  padding: 0;

  color: var(--pure-white);
  background: transparent;
  border: 0;
  border-radius: 0;
}

/* TEXT BOTTOM LEFT */
.case-desc {
  position: absolute;
  padding: 50px;
  bottom: 20px;
  z-index: 4;



  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;

  width: 100%;
  max-width: 620px;

  pointer-events: none;
}


.carousel-item .inner-card h1,
.carousel-item .inner-card h2,
.carousel-item .inner-card h3,
.carousel-item .inner-card h4,
.carousel-item .inner-card h5,
.carousel-item .inner-card h6 {
  color: var(--pure-white);
}

/* Title */
.case-desc h5 {
  margin: 0 0 24px;
  padding: 0;

  color: var(--pure-white);

  font-family: "Special Gothic Expanded One", sans-serif;
  font-size: clamp(32px, 4vw, 72px);
  line-height: 0.95;
  font-weight: 400;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

/* Paragraph */
.case-desc p,
.carousel-item .inner-card p {
  margin: 0;
  max-width: 460px;

  color: var(--pure-white) !important;
  opacity: 0.72;

  font-size: 15px;
  line-height: 1.5;
  padding-bottom: 0;
}

/* ACTION AREA */
.case-study-preview-action {
  position: static;
}

/* THIS MAKES THE WHOLE CARD CLICKABLE */
.case-study-preview-action a {
  position: absolute;
  inset: 0;
  z-index: 6;

  display: block;

  color: var(--pure-white);
  text-decoration: none;
  background: rgba(20, 28, 39, 0.75);
  box-shadow: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1;

    transition: var(--standard-transition);
}

/* TOP RIGHT ICON BOX */
.case-study-preview-action a .bi {
  position: absolute;
  top: 0;
  right: 0;

  width: 60px;
  height: 60px;
  
   display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(51, 153, 255, 0.7);
  border-left: 1px solid var(--brand-blue);
  border-bottom: 1px solid var(--brand-blue);

  color: var(--pure-white);
  font-weight: 700;
  font-size: 22px;

  transition: var(--standard-transition);

  opacity: 0;
  
}

.case-study-preview-action a:hover {
  background: rgba(20, 28, 39, 0);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.case-study-preview:hover .case-study-preview-action a .bi {
 opacity: 1;
}


/* Hide old image wrapper inside carousel if it still exists */
.case-study-preview-inner .image_wrapper {
  display: none;
}

/* MOBILE NAME */
.mobile-name {
  display: none;
  color: #fff;
  text-transform: uppercase;
  font-size: 35px !important;
  font-weight: 700 !important;
}

/* LOADING BAR */
.loading-bar-wrapper {
  position: relative;
  bottom: 40px;
  width: 500px;
  min-width: 300px;
  height: 5px;
  background-color: var(--brand-light);
  overflow: hidden;
  margin-left: auto;
  margin-right: auto;
  border-radius: 5px;
   z-index: 1000;
}

.loading-bar-wrapper .loading-bar-animate {
  width: 100%;
  height: 100%;
  background: var(--brand-blue);
  transform: translate3d(-100%, 0, 0);
  transition-property: transform;
  border-radius: 5px;
}


/* Work Grid */

.work-col {
  padding: 0;
}

.work-card {
  position: relative;
  display: block;
  width: 100%;
  height: 520px;
  overflow: hidden;
  color: var(--pure-white);
  text-decoration: none;
  background: var(--brand-black);
  border: 1px solid rgba(141, 164, 253, 0.15);
}

.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.85;
  transition:
    transform 0.5s ease,
    opacity 0.5s ease;
}

.work-card:hover img {
  transform: scale(1.04);
  opacity: 0.45;
}

/* Hover Overlay */

.work-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 56px;
  background: rgba(20, 28, 39, 0.88);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.work-card:hover .work-overlay {
  opacity: 1;
}

/* Icon Button */

.work-card .btn-icon {
  position: absolute;
  width: 60px;
  height: 60px;
  right: 0;
  top: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(51, 153, 255, 0.2);
  border: 1px solid var(--brand-blue);

  color: var(--pure-white);
  font-size: 20px;
}

.work-card .btn-icon i {
  color: var(--pure-white);
}

/* Text */

.work-copy {
  position: absolute;
  left: 56px;
  bottom: 56px;
  max-width: 70%;
}

.work-copy h3 {
  margin: 0 0 24px;
  color: var(--pure-white);
  font-family: "Special Gothic Expanded One", sans-serif;
  font-size: clamp(32px, 4vw, 72px);
  line-height: 0.95;
  font-weight: 400;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.work-copy p {
  margin: 0;
  max-width: 460px;
  color: var(--pure-white);
  opacity: 0.72;
  font-size: 15px;
  line-height: 1.5;
  padding-bottom: 0;
}

/* ============================= */
/* GFX CASE STUDY TEMPLATE */
/* ============================= */

.wc-case-page {
  width: 100%;
  overflow-x: hidden;
  background: var(--brand-light-hover);
  color: var(--pure-white);
}

/* ============================= */
/* HERO */
/* ============================= */

.wc-case-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: 120px 0;

  background-image:
    linear-gradient(
      0deg,
      rgba(14, 21, 30, 1) 0%,
      rgba(14, 21, 30, 0.94) 14%,
      rgba(14, 21, 30, 0.72) 34%,
      rgba(14, 21, 30, 0.34) 64%,
      rgba(14, 21, 30, 0.08) 100%
    ),
    var(--case-hero-image);

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom: 1px solid rgba(141, 164, 253, 0.15);
}

.wc-case-hero-content {
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
}

.wc-case-hero-content h1 {
  color: var(--pure-white);
  text-transform: uppercase;
  text-shadow:
    0 4px 18px rgba(0, 0, 0, 0.35),
    0 0 12px rgba(51, 153, 255, 0.18);
}

.wc-case-hero-content p {
  margin: 24px 0 0;
  padding-bottom: 0;
  color: rgba(255, 255, 255, 0.623);
}

/* ============================= */
/* BRIEF */
/* ============================= */

.wc-case-brief {
  position: relative;
  padding: 110px 0;
  background: rgba(14, 21, 30, 0.95);
  color: var(--pure-white);
  border-bottom: 1px solid rgba(141, 164, 253, 0.15);
}

.wc-case-section-heading h3 {
  color: var(--pure-white);
  text-transform: uppercase;
}

.wc-case-brief p {
  max-width: 850px;
  margin: 0 0 20px;
  padding-bottom: 0;
  color: rgba(255, 255, 255, 0.623);
}

.wc-case-brief p:last-child {
  margin-bottom: 0;
}

.wc-case-mobile-title {
  display: none;
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(141, 164, 253, 0.15);
  color: var(--pure-white);
  font-family: "Special Gothic Expanded One", sans-serif;
  text-transform: uppercase;
}

/* ============================= */
/* SERVICES */
/* ============================= */

.wc-case-services {
  max-width: 280px;
  margin-left: auto;
  padding: 30px;
  background: rgba(14, 21, 30, 0.7);
  border: 1px solid #222f41;
  border-radius: 10px;
}

.wc-case-services h5 {
  color: var(--pure-white);
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 20px;
}

.wc-case-services ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.wc-case-services li {
  margin: 0;
  padding: 10px 0;
  color: rgba(255, 255, 255, 0.623);
  border-bottom: 1px solid rgba(141, 164, 253, 0.15);
}

.wc-case-services li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

/* ============================= */
/* CONTENT */
/* ============================= */

.wc-case-content {
  position: relative;
  padding: 120px 0;
  background: var(--brand-light-hover);
  color: var(--pure-white);
}

.wc-case-subsection {
  margin-bottom: 56px;
}

.wc-case-subsection h5 {
  color: var(--pure-white);
  text-transform: uppercase;
  font-weight: 500;
}

.wc-case-subsection hr {
  width: 100%;
  height: 1px;
  margin: 24px 0 28px;
  border: 0;
  background: rgba(141, 164, 253, 0.15);
}

.wc-case-subsection p {
  margin: 0 0 20px;
  padding-bottom: 0;
  color: rgba(255, 255, 255, 0.623);
}

.wc-case-subsection p:last-child {
  margin-bottom: 0;
}

/* ============================= */
/* IMAGE GRID */
/* ============================= */

.wc-case-image-grid {
  row-gap: 24px;
  margin-bottom: 90px;
}

.wc-case-image-grid:last-child {
  margin-bottom: 0;
}

.wc-case-image {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--brand-black);
  border: 1px solid rgba(141, 164, 253, 0.15);
  border-radius: 10px;
}

.wc-case-image img {
  display: block;
  width: 100%;
  height: auto;
  transition:
    transform 0.6s ease,
    opacity 0.6s ease;
}

.wc-case-image:hover img {
  transform: scale(1.025);
}

/* Optional cropped image style */
.wc-case-image.is-cropped {
  height: 520px;
}

.wc-case-image.is-cropped img {
  height: 100%;
  object-fit: cover;
}

/* ============================= */
/* OPTIONAL DARK CONTENT SECTION */
/* ============================= */

.wc-case-content.is-dark {
  background: var(--brand-black);
  border-top: 1px solid rgba(141, 164, 253, 0.15);
  border-bottom: 1px solid rgba(141, 164, 253, 0.15);
}

.wc-case-content.is-dark .wc-case-subsection h5 {
  color: var(--pure-white);
}

.wc-case-content.is-dark .wc-case-subsection hr {
  background: rgba(141, 164, 253, 0.15);
}

.wc-case-content.is-dark .wc-case-subsection p {
  color: rgba(255, 255, 255, 0.623);
}

/* ============================= */
/* MOBILE */
/* ============================= */

@media (max-width: 991px) {
  .wc-case-hero {
    min-height: 620px;
    padding: 90px 0;
  }

  .wc-case-services {
    max-width: 100%;
    margin-left: 0;
    margin-top: 56px;
  }
}

@media (max-width: 768px) {
  .wc-case-hero {
    display: none;
  }

  .wc-case-brief {
    padding: 90px 0 70px;
  }

  .wc-case-mobile-title {
    display: block;
  }

  .wc-case-content {
    padding: 80px 0;
  }

  .wc-case-subsection {
    margin-bottom: 40px;
  }

  .wc-case-image-grid {
    row-gap: 16px;
    margin-bottom: 64px;
  }

  .wc-case-image.is-cropped {
    height: 340px;
  }
}

/* ============================= */
/* ABOUT PAGE */
/* ============================= */

.about-page {
  background: transparent;
  color: var(--pure-white);
}

/* ============================= */
/* HERO */
/* ============================= */

.about-hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 160px 0 100px;
  background: transparent;
}

.about-hero-inner {
  max-width: 1050px;
}

.about-eyebrow {
  padding-bottom: 1rem;
  color: var(--brand-blue);
  opacity: 1;
  text-transform: uppercase;
}

.about-hero h1 {
  max-width: 1050px;
  margin-bottom: 2rem;
  color: var(--pure-white);
}

.about-hero-copy {
  max-width: 720px;
  padding-bottom: 0;
  color: var(--pure-white);
  opacity: 0.7;
}

/* ============================= */
/* INTRO */
/* ============================= */

.about-intro {
  background: transparent;
}

.about-image-card {
  position: relative;
  width: 100%;
  min-height: 620px;
  overflow: hidden;
  background: var(--brand-black);
  border: 1px solid #222f41;
  border-radius: 10px;
}

.about-image-card img {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
  display: block;
}

.about-intro-copy {
  padding-left: 70px;
  padding-bottom: 30px;
}

.about-intro-copy p {
  color: var(--pure-white);
  opacity: 0.7;
}

.about-intro-copy p:last-child {
  padding-bottom: 0;
}

/* ============================= */
/* STATEMENT */
/* ============================= */

.about-statement {
  padding: 140px 0;
  background: rgba(14, 21, 30, 0.7);
  color: var(--pure-white);
  border-top: 1px solid rgba(141, 164, 253, 0.15);
  border-bottom: 1px solid rgba(141, 164, 253, 0.15);
}

.about-statement .about-eyebrow {
  color: var(--brand-blue);
  opacity: 1;
}

.about-statement h2 {
  color: var(--pure-white);
}

.about-statement-inner {
  max-width: 950px;
}

/* ============================= */
/* VALUES */
/* ============================= */

.about-values {
  background: transparent;
}

.about-value-card {
  min-height: 360px;
  padding: 40px;
  border: 1px solid #222f41;
  background: rgba(14, 21, 30, 0.7);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.about-value-card span {
  display: block;
  margin-bottom: 70px;
  font-family: "Montserrat", sans-serif;
  color: var(--brand-blue);
  opacity: 1;
}

.about-value-card h3 {
  margin-bottom: 1rem;
  color: var(--pure-white);
}

.about-value-card p {
  padding-bottom: 0;
  color: var(--pure-white);
  opacity: 0.7;
}

/* ============================= */
/* STATS */
/* ============================= */

.about-stats {
  padding: 90px 0;
  background: var(--brand-black);
  border-top: 1px solid rgba(141, 164, 253, 0.15);
  border-bottom: 1px solid rgba(141, 164, 253, 0.15);
}

.about-stat {
  color: var(--pure-white);
  padding: 30px 0;
}

.about-stat h2 {
  color: var(--pure-white);
  margin-bottom: 1rem;
}

.about-stat p {
  max-width: 280px;
  padding-bottom: 0;
  color: var(--pure-white);
  opacity: 0.55;
}

/* ============================= */
/* APPROACH */
/* ============================= */

.about-approach {
  background: transparent;
}

.about-section-heading {
  max-width: 420px;
  position: sticky;
  top: 120px;
}

.about-section-heading h1,
.about-section-heading h2,
.about-section-heading h3,
.about-section-heading h4,
.about-section-heading h5,
.about-section-heading h6 {
  color: var(--pure-white);
}

.about-process-list {
  border-top: 1px solid rgba(141, 164, 253, 0.15);
}

.about-process-item {
  padding: 40px 0;
  border-bottom: 1px solid rgba(141, 164, 253, 0.15);
}

.about-process-item h3 {
  margin-bottom: 1rem;
  color: var(--pure-white);
}

.about-process-item p {
  max-width: 680px;
  padding-bottom: 0;
  color: var(--pure-white);
  opacity: 0.7;
}

/* ============================= */
/* CONTACT PLACEHOLDER */
/* ============================= */

.about-contact-section {
  padding: 120px 0;
  background: transparent;
}

.about-contact-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: start;
}

.about-contact-inner > div:first-child p:last-child {
  max-width: 460px;
  padding-bottom: 0;
}

.about-contact-inner h1,
.about-contact-inner h2,
.about-contact-inner h3,
.about-contact-inner h4,
.about-contact-inner h5,
.about-contact-inner h6 {
  color: var(--pure-white);
}

.about-contact-inner p {
  color: var(--pure-white);
  opacity: 0.7;
}

.about-contact-placeholder {
  min-height: 420px;
  padding: 40px;
  border: 1px dashed #222f41;
  background: rgba(14, 21, 30, 0.7);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-contact-placeholder p {
  padding-bottom: 0;
  color: var(--pure-white);
  opacity: 0.45;
}

/* Fade up base */
.reveal-up {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
  will-change: opacity, transform;
}

/* Active state */
.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Optional slower version */
.reveal-up.reveal-slow {
  transition-duration: 1.1s;
}

/* Optional delay classes */
.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

/* ============================= */
/* 404 PAGE */
/* ============================= */

.error-page {
  min-height: 100vh;
  background:
    radial-gradient(
      circle at 80% 20%,
      rgba(51, 153, 255, 0.14),
      transparent 34%
    ),
    linear-gradient(
      to bottom,
      rgba(22, 30, 42, 0.96),
      rgba(14, 21, 30, 1)
    );
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 160px 0 100px;
  color: var(--pure-white);
}

.error-page-inner {
  max-width: 860px;
}

.error-eyebrow {
  color: var(--brand-blue);
  opacity: 1;
  text-transform: uppercase;
  padding-bottom: 1rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 300;
}

.error-page h1 {
  color: var(--pure-white);
  max-width: 760px;
  text-transform: uppercase;
  text-shadow:
    0 4px 18px rgba(0, 0, 0, 0.35),
    0 0 12px rgba(51, 153, 255, 0.18);
}

.error-copy {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.623);
  padding-bottom: 0;
}

.error-actions {
  display: flex;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.error-actions .btn {
  margin: 0;
}

.error-actions .btn-alt {
  background: transparent;
  border: 1px solid #222f41;
  color: var(--pure-white) !important;
}

.error-actions .btn-alt:hover {
  background: rgba(51, 153, 255, 0.2) !important;
  border-color: var(--brand-blue) !important;
  color: var(--pure-white) !important;
}

.error-actions .btn-alt:hover {
  background: var(--pure-white);
  color: var(--brand-black) !important;
}

.gfx-portfolio-section {
  position: relative;
  background: transparent;
  color: var(--pure-white);
}

.gfx-portfolio-heading h1 {
  color: var(--pure-white);
  text-transform: uppercase;
}

.gfx-portfolio-heading p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.623);
}

/* Grid */

.gfx-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
}

.gfx-portfolio-card {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  padding: 0;
  border: 1px solid rgba(141, 164, 253, 0.15);
  background: var(--brand-black);
  overflow: hidden;
  cursor: pointer;
  text-align: left;
}

.gfx-portfolio-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  opacity: 0.88;
  transition:
    transform 0.55s ease,
    opacity 0.55s ease;
}

.gfx-portfolio-card:hover img {
  transform: scale(1.04);
  opacity: 0.42;
}

/* Overlay */

.gfx-portfolio-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 34px;
  background: rgba(20, 28, 39, 0.78);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gfx-portfolio-card:hover .gfx-portfolio-overlay {
  opacity: 1;
}

.gfx-portfolio-meta {
  position: absolute;
  left: 34px;
  bottom: 34px;
  max-width: 75%;
}

.gfx-portfolio-category {
  display: block;
  margin-bottom: 10px;
  color: var(--brand-blue);
  font-family: "Montserrat", sans-serif;
  font-size: 0.85rem;
  font-weight: 300;
}

.gfx-portfolio-title {
  display: block;
  color: var(--pure-white);
  font-family: "Special Gothic Expanded One", sans-serif;
  font-size: clamp(1.4rem, 2.4vw, 3rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.gfx-portfolio-arrow {
  position: absolute;
  top: 0;
  right: 0;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pure-white);
  background: rgba(51, 153, 255, 0.2);
  border-left: 1px solid var(--brand-blue);
  border-bottom: 1px solid var(--brand-blue);
}

.gfx-play-icon {
  position: absolute;
  inset: 0;
  z-index: 1;
  margin: auto;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(51, 153, 255, 0.25);
  border: 1px solid var(--brand-blue);
  color: var(--pure-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}

/* Lightbox */

.gfx-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 70px;
  background: rgba(5, 8, 12, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.gfx-lightbox.is-open {
  display: flex;
}

.gfx-lightbox-inner {
  position: relative;
  max-height: 88vh;
}

.gfx-lightbox-media {
  width: 100%;
  background: var(--brand-black);
  border: 1px solid rgba(141, 164, 253, 0.15);
  border-radius: 10px;
  overflow: hidden;
}

.gfx-lightbox-media img {
  width: 100%;
  max-height: 78vh;
  display: block;
  object-fit: contain;
}

.gfx-lightbox-media iframe {
  width: 100%;
  height: min(70vh, 680px);
  display: block;
  border: 0;
}

.gfx-lightbox-caption {
  padding-top: 18px;
}

.gfx-lightbox-caption span {
  display: block;
  margin-bottom: 8px;
  color: var(--brand-blue);
  font-family: "Montserrat", sans-serif;
  font-size: 0.9rem;
}

.gfx-lightbox-caption h3 {
  color: var(--pure-white);
  margin: 0;
  text-transform: uppercase;
}

/* Lightbox Controls */

.gfx-lightbox-close,
.gfx-lightbox-prev,
.gfx-lightbox-next {
  position: fixed;
  z-index: 100000;
  border: 1px solid rgba(141, 164, 253, 0.15);
  background: rgba(14, 21, 30, 0.8);
  color: var(--pure-white);
  cursor: pointer;
  transition: var(--standard-transition);
}

.gfx-lightbox-close:hover,
.gfx-lightbox-prev:hover,
.gfx-lightbox-next:hover {
  border-color: var(--brand-blue);
  background: rgba(51, 153, 255, 0.2);
}

.gfx-lightbox-close {
  top: 24px;
  right: 24px;
  width: 52px;
  height: 52px;
  border-radius: 10px;
  font-size: 34px;
  line-height: 1;
}

.gfx-lightbox-prev,
.gfx-lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  width: 58px;
  height: 70px;
  border-radius: 10px;
  font-size: 34px;
}

.gfx-lightbox-prev {
  left: 24px;
}

.gfx-lightbox-next {
  right: 24px;
}

body.no-scroll {
  overflow: hidden;
}

.gfx-portfolio-card {
  position: relative;
}

/* ============================= */
/* PORTFOLIO IMAGE LOADER */
/* ============================= */

.gfx-portfolio-card {
  position: relative;
}

.gfx-card-loader {
  position: absolute;
  inset: 0;
  z-index: 3;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(14, 21, 30, 0.85);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity 0.35s ease,
    visibility 0.35s ease;
}

/* Only show loader when JS confirms the image is still loading */
.gfx-portfolio-card.is-loading .gfx-card-loader {
  opacity: 1;
  visibility: visible;
}

/* Hide again once loaded or failed */
.gfx-portfolio-card.is-loaded .gfx-card-loader {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.gfx-card-spinner {
  position: relative;
  width: 72px;
  height: 72px;
}

.gfx-card-spinner::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;

  border: 2px solid rgba(255, 255, 255, 0.08);
  border-top: 2px solid var(--brand-blue);

  animation: spin 1s linear infinite;
}

.gfx-card-spinner::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;

  border: 2px solid rgba(51, 153, 255, 0.18);

  animation: pulse 1.8s ease-in-out infinite;
}

.gfx-card-loader-text {
  position: absolute;
  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  font-family: "Special Gothic Expanded One", sans-serif;
  font-size: 0.85rem;
  color: var(--pure-white);
  letter-spacing: 0.08em;

  animation: textPulse 2s ease-in-out infinite;
}

/* ============================= */
/* GFX CAPABILITY TABS */
/* ============================= */

.gfx-capability-tabs-section {
  background: transparent;
  color: var(--pure-white);
}

.gfx-capability-tabs {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 60px;
  align-items: flex-start;
}

/* Sidebar */

.gfx-capability-sidebar {
  position: sticky;
  top: 120px;
}

.gfx-capability-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
}

.gfx-capability-tab {
  position: relative;
  padding: 18px 0;
  color: rgba(255, 255, 255, 0.623);
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.3;
  cursor: pointer;
  transition: var(--standard-transition);
  border-bottom: 1px solid rgba(46, 61, 82, 0.298);
  background: transparent;
}

.gfx-capability-tab:last-child {
  border-bottom: 1px solid rgba(46, 61, 82, 0.298);
}

.gfx-capability-tab::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 1px;
  background: var(--brand-blue);
  transition: var(--standard-transition);
}

.gfx-capability-tab:hover {
  color: var(--pure-white);
  background: transparent;
}

.gfx-capability-tab:hover::before {
  width: 100%;
}

.gfx-capability-tab.active {
  color: var(--pure-white);
  background: transparent;
}

.gfx-capability-tab.active::before {
  width: 100%;
}

/* Content */

.gfx-capability-content-wrapper {
  min-width: 0;
}

.gfx-capability-panel {
  display: none;
  opacity: 0;
  transform: translateY(24px);
}

.gfx-capability-panel.active {
  display: block;
  animation: gfxCapabilityFade 0.45s ease forwards;
}

.gfx-capability-panel .row {
  align-items: center;
}

/* Copy */
.gfx-capability-kicker,
.gfx-capability-relevant-work > span {
  display: block;
  margin-bottom: 14px;
  color: var(--brand-blue);
  font-family: "Montserrat", sans-serif;
  font-size: 0.85rem;
  font-weight: 300;
  text-transform: uppercase;
}

.gfx-capability-copy h2 {
  color: var(--pure-white);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.gfx-capability-copy p {
  color: rgba(255, 255, 255, 0.623);
  padding-bottom: 0;
}

/* Main image */

.gfx-capability-content-wrapper .image_wrapper {
  position: relative;
  width: 100%;
  min-height: 380px;
  overflow: hidden;
  background: var(--brand-black);
  border: 1px solid #222f41;
  border-radius: 10px;
}

.gfx-capability-content-wrapper .image_wrapper img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  display: block;
  object-fit: cover;
}

/* Relevant Work */

.gfx-capability-relevant-work {
  margin-top: 70px;
}

.gfx-portfolio-grid-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
}

.gfx-portfolio-grid-preview .gfx-portfolio-card {
  aspect-ratio: 1 / 1;
}

/* Animation */

@keyframes gfxCapabilityFade {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================= */
/* MOBILE */
/* ============================= */

@media (max-width: 991px) {
  .gfx-capability-tabs {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .gfx-capability-sidebar {
    position: relative;
    top: auto;
  }

  .gfx-capability-nav {
    display: flex;
    overflow-x: auto;
    gap: 32px;
    border-bottom: 1px solid rgba(46, 61, 82, 0.298);
  }

  .gfx-capability-tab {
    min-width: max-content;
    padding: 0 0 16px 0;
    border-bottom: 0;
    border-right: 0;
  }

  .gfx-capability-tab:last-child {
    border-bottom: 0;
    border-right: 0;
  }

  .gfx-capability-tab::before {
    bottom: 0;
    height: 2px;
  }

  .gfx-capability-tab.active::before,
  .gfx-capability-tab:hover::before {
    width: 100%;
  }

  .gfx-capability-copy {
    margin-bottom: 30px;
  }

  .gfx-capability-content-wrapper .image_wrapper,
  .gfx-capability-content-wrapper .image_wrapper img {
    min-height: 300px;
  }

  .gfx-capability-relevant-work {
    margin-top: 50px;
  }

  .gfx-portfolio-grid-preview {
    grid-template-columns: 1fr;
  }
}

/* ============================= */
/* LIGHTBOX LOADER */
/* ============================= */

.gfx-lightbox-media {
  position: relative;
  min-height: 280px;
}

.gfx-lightbox-loader {
  position: absolute;
  inset: 0;
  z-index: 5;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(14, 21, 30, 0.92);
}

.gfx-lightbox-media.is-loading img,
.gfx-lightbox-media.is-loading iframe {
  opacity: 0;
}

.gfx-lightbox-media img,
.gfx-lightbox-media iframe {
  transition: opacity 0.3s ease;
}

/* Responsive */

@media (max-width: 991px) {
  .gfx-portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gfx-lightbox {
    padding: 70px 24px;
  }
}

@media (max-width: 575px) {
  .gfx-portfolio-heading {
    margin-bottom: 40px;
  }

  .gfx-portfolio-grid {
    grid-template-columns: 1fr;
  }

  .gfx-portfolio-card {
    aspect-ratio: 1 / 1;
    height: auto;
  }

  .gfx-portfolio-overlay {
    opacity: 1;
    background: linear-gradient(
      to top,
      rgba(20, 28, 39, 0.9),
      rgba(20, 28, 39, 0.08)
    );
    padding: 24px;
  }

  .gfx-portfolio-meta {
    left: 24px;
    bottom: 24px;
  }

  .gfx-lightbox-prev,
  .gfx-lightbox-next {
    width: 44px;
    height: 54px;
    font-size: 26px;
  }

  .gfx-lightbox-prev {
    left: 10px;
  }

  .gfx-lightbox-next {
    right: 10px;
  }

  .gfx-lightbox-close {
    top: 16px;
    right: 16px;
  }

}

@media (max-width: 768px) {
  .error-page {
    min-height: 90vh;
    padding: 130px 0 80px;
  }

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

  .error-actions .btn {
    width: max-content;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .reveal-up {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============================= */
/* RESPONSIVE / MOBILE */
/* ============================= */

@media (max-width: 479px) {
  .container,
  .container-sm,
  .container-md,
  .container-lg,
  .container-xl,
  .container-2xl {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}

@media (min-width: 480px) {
  .container {
    max-width: 640px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 768px;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 1152px;
  } /* Slightly wider than Bootstrap */
}

@media (min-width: 1280px) {
  .container {
    max-width: 1240px;
  }
}

@media (min-width: 1536px) {
  .container {
    max-width: 1360px;
  }
}

@media (max-width: 575.98px) {
  .site-socials ul li {
    padding: 0px 10px;
  }
}

@media (max-width: 768px) {
  .work-card {
    height: 420px;
  }

  .work-overlay {
    padding: 32px;
  }

  .work-card .btn-icon {
    top: 24px;
    right: 24px;
  }

  .work-copy {
    left: 32px;
    bottom: 32px;
    max-width: 85%;
  }
}

@media (max-width: 991px) {
  .wc-case-hero {
    min-height: 620px;
    padding: 90px 0;
  }

  .wc-case-services {
    margin-left: 0;
    margin-top: 56px;
  }

  .loading-bar-wrapper {
    bottom: 5px;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .wc-case-hero {
    display: none;
  }

  .wc-case-brief {
    padding: 90px 0 70px;
  }

  .wc-case-mobile-title {
    display: block;
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  .wc-case-content {
    padding: 80px 0;
  }

  .wc-case-subsection {
    margin-bottom: 40px;
  }

  .wc-case-image-grid {
    row-gap: 16px;
    margin-bottom: 64px;
  }

  .wc-case-image.is-cropped {
    height: 340px;
  }
}

@media (max-width: 991px) {
  .about-hero {
    min-height: auto;
    padding: 140px 0 80px;
  }

  .about-intro-copy {
    padding-left: 0;
    padding-top: 50px;
  }

  .about-image-card,
  .about-image-card img {
    min-height: 460px;
  }

  .about-section-heading {
    position: relative;
    top: auto;
    max-width: 100%;
    margin-bottom: 50px;
  }

  .about-contact-inner {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

@media (max-width: 768px) {
  .about-hero {
    padding: 120px 0 70px;
  }

  .about-statement {
    padding: 90px 0;
  }

  .about-value-card {
    min-height: auto;
    margin-bottom: 20px;
  }

  .about-value-card span {
    margin-bottom: 50px;
  }

  .about-stats {
    padding: 70px 0;
  }

  .about-contact-section {
    padding: 80px 0;
  }

  .about-contact-placeholder {
    min-height: 300px;
  }
}

/* ============================= */
/* PREMIUM MOBILE HEADER */
/* ============================= */

.header-inner {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-right {
  display: flex;
  align-items: center;
}

.mobile-menu-toggle {
  display: none;
}

/* Mobile */
@media (max-width: 991px) {
  body.no-scroll {
    overflow: hidden;
  }

  .site-footer {
    background: transparent;
    border-top: 1px solid rgba(46, 61, 82, 0.298);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .site-header {
    height: 60px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }

  .site-header.unscrolled.header-light {
    background: transparent;
  }

  .site-header.mobile-menu-open {
    background: var(--brand-light-hover) !important;
  }

  .site-header .container {
    max-width: 100%;
    padding: 0 24px !important;
  }

  .site-header.scrolled {
    background: var(--brand-light-hover);
  }
  .site-logo {
    width: 170px;
  }

  .header-right {
    position: fixed;
    inset: 60px 0 0 0;
    width: 100%;
    height: calc(100vh - 60px);

    background: var(--brand-light-hover);

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translateY(-12px);
    transition: all 0.35s ease;

    z-index: 2000;
  }

  .site-header.mobile-menu-open .header-right {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .primary-menu-container ul {
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .primary-menu-container ul li {
    margin-left: 0;
    padding: 0;
    border-bottom: none;
  }

  .primary-menu-container ul li a {
    color: var(--pure-white) !important;
    font-size: clamp(2rem, 8vw, 3rem);
    line-height: 1.1;
    font-weight: 400;
    padding: 10px 0;
    font-family: "Special Gothic Expanded One", sans-serif;
    text-transform: uppercase;
  }

  .primary-menu-container ul li:hover {
    border-bottom-color: transparent;
  }

  .primary-navigation .sub-menu {
    position: relative;
    top: auto;
    right: auto;
    min-width: auto;
    background: transparent !important;
    opacity: 1;
    visibility: visible;
    transform: none;
    margin-top: 8px;
  }

  .primary-navigation .sub-menu a {
    color: rgba(255, 255, 255, 0.55) !important;
    font-size: 1rem;
    padding: 6px 0;
  }

  .mobile-menu-toggle {
    position: relative;
    z-index: 1000;
    width: 44px;
    height: 44px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;

    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
  }

  .mobile-menu-toggle span {
    display: block;
    width: 28px;
    height: 1px;
    background: #fff;
    transition: all 0.3s ease;
    margin-left: auto;
  }

  .site-header.unscrolled.header-light .mobile-menu-toggle span,
  .site-header.mobile-menu-open .mobile-menu-toggle span {
    background: var(--pure-white);
  }

  .site-header.mobile-menu-open .mobile-menu-toggle span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .site-header.mobile-menu-open .mobile-menu-toggle span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  .site-header.mobile-menu-open .cls-1,
  .site-header.mobile-menu-open .cls-2 {
    fill: var(--pure-white);
  }

  .footer-menus,
  .footer-divider,
  .footer-desc,
  .footer-copy-text {
    display: none;
  }

  .footer-branding,
  .footer-lower
   {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .site-socials li {
    margin: 1rem;
  }
  .site-socials i {
    font-size: 20px !important;
  }
}

footer .menu-item-has-children {
  display: none;
}

/* ============================= */
/* MOBILE MENU SUBMENU FIX */
/* ============================= */

@media (max-width: 991px) {
  .primary-navigation .menu-item-has-children {
    width: 100%;
    text-align: center;
    flex-direction: column;
  }

  .primary-navigation .menu-item-has-children > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    pointer-events: auto;
  }

  .primary-navigation .menu-item-has-children > a::after {
    content: "\f282";
    font-family: "bootstrap-icons";
    font-size: 1.1rem;
    line-height: 1;
    transition: transform 0.25s ease;
  }

  .primary-navigation .menu-item-has-children.submenu-open > a::after {
    transform: rotate(180deg);
  }

  .primary-navigation .sub-menu {
    position: relative !important;
    top: auto !important;
    right: auto !important;

    width: 100%;
    min-width: 0;

    display: block;
    max-height: 0;
    overflow: hidden;

    margin: 0;
    padding: 0;

    opacity: 1;
    visibility: visible;
    transform: none;

    background: transparent !important;
    transition:
      max-height 0.35s ease,
      padding 0.35s ease;
  }

  .primary-navigation .menu-item-has-children.submenu-open > .sub-menu {
    max-height: 320px;
    padding: 14px 0 20px;
  }

  .primary-navigation .sub-menu li {
    margin: 0 !important;
    padding: 0;
    width: 100%;
  }

  .primary-navigation .sub-menu a {
    display: block;
    width: 100%;

    padding: 8px 0 !important;

    color: rgba(255, 255, 255, 0.55) !important;
    font-size: clamp(1.2rem, 5vw, 1.8rem) !important;
    line-height: 1.25;
    text-align: center;
  }

  .primary-navigation .sub-menu a:hover {
    color: var(--pure-white) !important;
    background: transparent !important;
  }

  .primary-navigation .sub-menu-toggle {
    display: none !important;
  }
}



@media (max-width: 991px) {
  .index-wrapper {
    height: 85vh;
    min-height: 620px;
    margin-top: 0;
    padding: 0 24px;
  }

  .index-wrapper h1 {
    font-size: clamp(3rem, 16vw, 5rem);
    line-height: 0.95;
    letter-spacing: -4px !important;
  }

  .index-wrapper .btns-wrapper {
    padding-top: 32px;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
  }

  .index-wrapper .btns-wrapper .btn:first-child {
    margin-right: 0;
  }
}

@media (max-width: 575px) {
  .index-wrapper {
    height: 78vh;
    min-height: 520px;
    padding: 0 18px;
  }

  .index-wrapper h1 {
    font-size: clamp(2rem, 18vw, 3rem);
    letter-spacing: -3px !important;
  }

  .index-wrapper .btns-wrapper {
    flex-direction: column;
    align-items: center;
    padding-top: 28px;
  }
}
