.unslider {
  overflow: auto;
  margin: 0;
  padding: 0;
}

.unslider-wrap {
  position: relative;
}

.unslider-wrap.unslider-carousel > li {
  float: left;
}

.unslider-vertical > ul {
  height: 100%;
}

.unslider-vertical li {
  float: none;
  width: 100%;
}

.unslider-fade {
  position: relative;
}

.unslider-fade .unslider-wrap li {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  z-index: 8;
}

.unslider-fade .unslider-wrap li.unslider-active {
  z-index: 10;
}

.unslider ul, .unslider ol, .unslider li {
  list-style: none;
  /* Reset any weird spacing */
  margin: 0;
  padding: 0;
  border: none;
}

.unslider-arrow {
  position: absolute;
  left: 20px;
  z-index: 2;
  cursor: pointer;
}

.unslider-arrow.next {
  left: auto;
  right: 20px;
}

.unslider-nav ol {
  list-style: none;
  text-align: center;
}

.unslider-nav ol li {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin: 0 4px;
  background: transparent;
  border-radius: 5px;
  overflow: hidden;
  text-indent: -999em;
  border: 2px solid #000;
  cursor: pointer;
}

.unslider-nav ol li.unslider-active {
  background: #000;
  cursor: default;
}

body.project-single .ajaxpage__content:after, .work__content .ajax-section__content .ajaxpage__content:after, .work__content .ajax-section__project-navigation ul:after, .clearfix:after {
  content: "";
  display: table;
  clear: both;
}

body.project-single .ajaxpage {
  position: relative;
  margin-left: auto;
  margin-right: auto;
  padding-right: 15px;
  padding-left: 15px;
}
@media (min-width: 576) {
  body.project-single .ajaxpage {
    width: 540px;
    max-width: 100%;
  }
}
@media (min-width: 768px) {
  body.project-single .ajaxpage {
    width: 720px;
    max-width: 100%;
  }
}
@media (min-width: 992px) {
  body.project-single .ajaxpage {
    width: 960px;
    max-width: 100%;
  }
}
@media (min-width: 1200px) {
  body.project-single .ajaxpage {
    width: 1140px;
    max-width: 100%;
  }
}

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

body {
  background: #FAF9F7;
  font-family: "Karla", "Helvetica Neue", "Helvetica", sans-serif;
  font-weight: 400;
  color: #38352F;
  font-size: 1.125rem;
  font-style: normal;
  line-height: 1.45;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-overflow-scrolling: touch;
  overflow: hidden;
}
body img {
  max-width: 100%;
  height: auto;
}

a,
a:active {
  color: #38352F;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}

a:hover {
  color: inherit;
  text-decoration: none;
  opacity: 0.5;
}

a:link {
  text-decoration: none;
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0.7);
}

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

a:focus {
  color: inherit;
}

.underline {
  padding: 0.625rem 0;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-size: 100% 0.09375rem;
  background-position: center bottom 29%;
  background-origin: padding-box;
  text-shadow: 0.1875rem 0 #FAF9F7, 0.125rem 0 #FAF9F7, 0.0625rem 0 #FAF9F7, -0.0625rem 0 #FAF9F7, -0.125rem 0 #FAF9F7, -0.1875rem 0 #FAF9F7;
}

h6, h5, h4, h3, h2, h1 {
  font-family: "gimlet-sans-variable", "Helvetica Neue", "Helvetica", sans-serif;
  line-height: 1.25;
  font-weight: 700;
  margin: 1rem 0;
  letter-spacing: 0.07em;
}

h1 {
  font-size: 2.25rem;
  letter-spacing: 0.01em;
}
@media (min-width: 768px) {
  h1 {
    font-size: 3rem;
  }
}
@media (min-width: 992px) {
  h1 {
    font-size: 4rem;
  }
}

h2 {
  font-size: 1.375rem;
}
@media (min-width: 768px) {
  h2 {
    font-size: 1.75rem;
  }
}
@media (min-width: 992px) {
  h2 {
    font-size: 2.25rem;
  }
}

h3 {
  font-size: 1.125rem;
}
@media (min-width: 768px) {
  h3 {
    font-size: 1.125rem;
  }
}
@media (min-width: 992px) {
  h3 {
    font-size: 1.25rem;
  }
}

h4 {
  font-family: "Karla", "Helvetica Neue", "Helvetica", sans-serif;
  font-size: 1rem;
  letter-spacing: 0;
}
@media (min-width: 768px) {
  h4 {
    font-size: 1.125rem;
  }
}
@media (min-width: 992px) {
  h4 {
    font-size: 1.25rem;
  }
}

h5 {
  font-family: "Karla", "Helvetica Neue", "Helvetica", sans-serif;
  color: #979797;
  font-size: 0.8125rem;
  letter-spacing: 0;
}
@media (min-width: 768px) {
  h5 {
    font-size: 0.875rem;
  }
}
@media (min-width: 992px) {
  h5 {
    font-size: 0.875rem;
  }
}

h6 {
  font-size: 0.625rem;
}

@keyframes shift {
  0%, 40%, 44%, 58%, 61%, 65%, 69%, 73%, 100% {
    opacity: 0;
    transform: translateY(0%);
  }
  59% {
    opacity: 0.05;
  }
  60% {
    opacity: 0.05;
  }
  70% {
    opacity: 0.05;
    transform: translateY(50%);
  }
  71% {
    opacity: 0.05;
  }
}
@keyframes pullUp {
  from {
    transform: none;
  }
  to {
    transform: translate3d(0, -100%, 0);
  }
}
@keyframes pullDown {
  from {
    transform: translate3d(0, -100%, 0);
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}
@keyframes pullUpBottom {
  from {
    transform: none;
  }
  to {
    transform: translate3d(0, 100%, 0);
  }
}
@keyframes pullDownBottom {
  from {
    transform: translate3d(0, 100%, 0);
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}
main .meta.social {
  bottom: 1.875rem;
  left: 1.25rem;
}
@media (min-width: 768px) {
  main .meta.social {
    left: 1.875rem;
    bottom: 2.5rem;
  }
}
@media (min-width: 992px) {
  main .meta.social {
    left: 2.5rem;
  }
}
main .meta.social ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
main .meta.social ul li {
  color: #979797;
  display: block;
}
@media (min-width: 768px) {
  main .meta.social ul li {
    display: inline-block;
  }
  main .meta.social ul li:after {
    font-size: 0.5625rem;
    content: "/";
    display: inline-block;
    margin-left: 0.3125rem;
    vertical-align: middle;
  }
  main .meta.social ul li:last-of-type:after {
    display: none;
  }
}
main .meta.social ul li a {
  display: inline-block;
  overflow: hidden;
  color: #979797;
  font-size: 0.875rem;
  vertical-align: middle;
}
main .meta.social ul li a span {
  position: relative;
  display: inline-block;
  transition: transform 0.4s cubic-bezier(0.85, 0.135, 0.15, 0.5);
}
main .meta.social ul li a span:before {
  position: absolute;
  top: 200%;
  content: attr(data-hover);
  transform: translate3d(0, 0, 0);
  font-size: 0.875rem;
  color: #38352F;
}
main .meta.social ul li a:hover, main .meta.social ul li a:focus {
  opacity: 1;
}
main .meta.social ul li a:hover span, main .meta.social ul li a:focus span {
  transform: translateY(-200%);
}
main .meta.right {
  bottom: 1.875rem;
  right: 3.75rem;
}
@media (min-width: 768px) {
  main .meta.right {
    right: 3.75rem;
    bottom: 2.5rem;
  }
}
@media (min-width: 992px) {
  main .meta.right {
    right: 5.5rem;
  }
}
main .meta.right ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
main .meta.right ul li {
  color: #979797;
  display: block;
}
@media (min-width: 768px) {
  main .meta.right ul li {
    display: inline-block;
  }
  main .meta.right ul li:after {
    font-size: 0.5625rem;
    content: "/";
    display: inline-block;
    margin-left: 0.3125rem;
    vertical-align: middle;
  }
  main .meta.right ul li:last-of-type:after {
    display: none;
  }
}
main .meta.right ul li a {
  display: inline-block;
  overflow: hidden;
  color: #979797;
  font-size: 0.875rem;
  vertical-align: middle;
}
main .meta.right ul li a span {
  position: relative;
  display: inline-block;
  transition: transform 0.4s cubic-bezier(0.85, 0.135, 0.15, 0.5);
}
main .meta.right ul li a span:before {
  position: absolute;
  top: 200%;
  content: attr(data-hover);
  transform: translate3d(0, 0, 0);
  font-size: 0.875rem;
  color: #38352F;
}
main .meta.right ul li a:hover, main .meta.right ul li a:focus {
  opacity: 1;
}
main .meta.right ul li a:hover span, main .meta.right ul li a:focus span {
  transform: translateY(-200%);
}
main .close-button {
  font-family: "Montserrat", "Helvetica Neue", "Helvetica", sans-serif;
  font-weight: 500;
  left: 50%;
  position: absolute;
  font-size: 0.875rem;
  opacity: 0;
  transition: bottom 0.3s ease-in-out, opacity 1s ease-in-out;
  bottom: -2.5rem;
  top: auto;
  margin-left: -1.875rem;
  transform: rotate(270deg);
}

.queryloader__overlay__bar {
  background: #979797 !important;
  height: 1px !important;
}

/* Hide queryloader overlay after page load */
.queryloader__overlay,
#qLoverlay {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* NUCLEAR OPTION: Hide any possible overlay/pattern elements */
.work.active-screen *::before,
.work.active-screen *::after {
  background-image: none !important;
  background: transparent !important;
  mask: none !important;
  mask-image: none !important;
  clip-path: none !important;
}

/* Force remove any grid/checkered patterns */
.work.active-screen {
  mask: none !important;
  mask-image: none !important;
  clip-path: none !important;
  filter: none !important;
}

.work.active-screen *[style*="background"] {
  background-image: none !important;
}

.soy{
  font-size: 0.875rem;
  padding-bottom: 0.07rem;
}

.justificado{
  text-align: justify;
}

main {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
main .logo {
  position: absolute;
  top: 2.5rem;
  left: 1.25rem;
  z-index: 10;
}
@media (min-width: 768px) {
  main .logo {
    left: 1.875rem;
  }
}
@media (min-width: 992px) {
  main .logo {
    left: 2.5rem;
  }
}

/* All logos - fixed 60px size for PNG images */
.hero-logo,
.about-logo,
.work-logo {
  width: 60px !important;
  height: 60px !important;
  max-width: 60px !important;
  max-height: 60px !important;
  object-fit: contain !important;
  transition: filter 0.3s ease;
}

/* Dark mode - tint logos white (except hero logo) */
[data-theme="dark"] .about-logo,
[data-theme="dark"] .work-logo,
html[data-theme="dark"] .about-logo,
html[data-theme="dark"] .work-logo,
body[data-theme="dark"] .about-logo,
body[data-theme="dark"] .work-logo {
  filter: brightness(0) invert(1);
}

/* Social Share Button Styling */
.social-share-btn {
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  left: auto !important;
  background: rgba(0, 0, 0, 0.8) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 50% !important;
  width: 36px !important;
  height: 36px !important;
  cursor: pointer !important;
  z-index: 15 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #FAF9F7 !important;
  font-size: 1rem !important;
  opacity: 0 !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
}

.social-share-btn:hover {
  background: rgba(0, 0, 0, 0.95) !important;
  transform: scale(1.1) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25) !important;
}

.social-share-btn:active {
  transform: scale(0.95) !important;
}

.project:hover .social-share-btn {
  opacity: 1 !important;
}

/* Dark mode adjustments for share button */
[data-theme="dark"] .social-share-btn,
html[data-theme="dark"] .social-share-btn {
  background: rgba(255, 255, 255, 0.15) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

[data-theme="dark"] .social-share-btn:hover,
html[data-theme="dark"] .social-share-btn:hover {
  background: rgba(255, 255, 255, 0.25) !important;
}

/* Hide vestigial section share button */
.section-share-btn {
  display: none !important;
}
main .meta {
  position: absolute;
  z-index: 10;
}
main .meta.name {
  top: 2.5rem;
  right: 3.75rem;
}
@media (min-width: 768px) {
  main .meta.name {
    right: 4.875rem;
  }
}
@media (min-width: 992px) {
  main .meta.name {
    right: 5.5rem;
  }
}
main .meta.name p {
  padding: 0;
  margin: 0;
  color: #979797;
}

.grain {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  overflow: hidden;
  pointer-events: none;
  display: none !important; /* DISABLED: glitch.jpg missing, causing checkered pattern */
}
.grain:before {
  content: "";
  background: url("../images/glitch.jpg") no-repeat 50% 50% fixed;
  background-size: cover;
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 98;
  pointer-events: none;
  animation: shift 6s ease-in-out infinite alternate;
  display: none !important; /* DISABLED */
}

/* Grain visibility is now controlled by JavaScript - see main.js fadeIn/fadeOut */
/* DISABLED because glitch.jpg is missing and was causing checkered pattern overlay */

.no-csspointerevents .grain {
  display: none;
}

.hero {
  position: absolute;
  z-index: 1;
  overflow: hidden;
  width: 100%;
  background-image: radial-gradient(50% 100%, #e6e6e6 50%, #d6d6d6 100%);
  /* Mobile fallback height */
  min-height: 100vh;
  min-height: 100dvh; /* Dynamic viewport height for mobile browsers */
}

/* Mobile-specific hero fixes */
@media (max-width: 768px) {
  .hero {
    /* Ensure hero takes full viewport on mobile */
    position: relative;
    height: 100vh;
    height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Mobile fallback pattern when ThreeJS fails - DISABLED */
  .hero:not(.hero__three-container) {
    background-image: radial-gradient(50% 100%, #e6e6e6 50%, #d6d6d6 100%);
    background-size: cover;
    /* REMOVED: radial-gradient dotted pattern causing overlay issues */
  }
}

.hero__content {
  width: 100%;
  padding: 0 5%;
  text-align: center;
  /* Mobile positioning enhancement */
  position: relative;
  z-index: 10;
}
@media (min-width: 768px) {
  .hero__content {
    padding: 0 10%;
  }
}

/* Mobile-specific content adjustments */
@media (max-width: 768px) {
  .hero__content {
    /* Ensure content is visible above any background */
    z-index: 100;
    position: relative;
    /* Better mobile centering */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 50vh;
  }
  
  .hero__content h1 {
    font-size: 2rem !important;
    line-height: 1.2;
    margin: 0.5rem 0;
  }
  
  .hero__content p {
    font-size: 1rem;
    margin: 0.5rem 0;
  }
}

.hero__three-container {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}
.hero__object-shadow {
  position: absolute;
  bottom: 15%;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.5;
}
.hero__trigger-button {
  font-family: "Montserrat", "Helvetica Neue", "Helvetica", sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
  position: absolute;
  z-index: 2;
  left: 50%;
  margin-left: -30px;
}

/* Mobile-specific trigger button adjustments */
@media (max-width: 768px) {
  .hero__trigger-button {
    z-index: 200;
    font-size: 0.8rem;
    /* Ensure buttons are above mobile content */
    position: fixed;
    opacity: 0.8;
  }
  
  .hero__trigger-button:hover,
  .hero__trigger-button:focus {
    opacity: 1;
  }
}

.hero__trigger-button.top {
  top: 40px;
  transform: rotate(270deg) !important;
}
.hero__trigger-button.top:hover {
  opacity: 1;
  top: 35px;
  transform: rotate(270deg) !important;
}
.hero__trigger-button.bottom {
  bottom: 40px;
  transform: rotate(270deg) !important;
}
.hero__trigger-button.bottom:hover {
  opacity: 1;
  bottom: 35px;
  transform: rotate(270deg) !important;
}
.hero.sphere, .hero.field {
  background: #FAF9F7 !important;
  background-color: #FAF9F7 !important;
}

/* Dark mode override for hero */
[data-theme="dark"] .hero.sphere,
[data-theme="dark"] .hero.field,
html[data-theme="dark"] .hero.sphere,
html[data-theme="dark"] .hero.field,
body[data-theme="dark"] .hero.sphere,
body[data-theme="dark"] .hero.field {
  background: var(--bg-primary) !important;
  background-color: var(--bg-primary) !important;
  background-image: none !important;
}

.hero.dark {
  background-image: radial-gradient(50% 100%, #080808 50%, #14161B 100%);
}
.hero.dark .hero__content p, .hero.dark .hero__content h1 {
  color: #D9E1E9;
}
.hero.dark .hero__trigger-button {
  color: #D9E1E9;
}
.hero.dark .meta.name p {
  color: #7B8085;
}
.hero.dark .meta.social a {
  color: #7B8085;
}
.hero.dark .meta.social a span:before {
  color: #D9E1E9;
}
.hero.dark .meta.sound a {
  background-image: url("../images/icon-sound-light.png");
}

.about {
  position: absolute;
  z-index: 2;
  width: 100%;
  height: 100%;
  background: #FAF9F7 !important;
  background-color: #FAF9F7 !important;
  overflow-y: scroll;
}

/* Dark mode override for .about background */
html[data-theme="dark"] .about,
body[data-theme="dark"] .about,
[data-theme="dark"] .about,
.hero.dark ~ .about {
  background: var(--bg-primary) !important;
  color: var(--text-primary) !important;
}

.about.idle {
  pointer-events: none;
  top: -100%;
  -webkit-animation-name: pullUp;
  animation-name: pullUp;
  -webkit-transition: top 0.5s cubic-bezier(0.85, 0.135, 0.15, 0.5);
  -moz-transition: top 0.5s cubic-bezier(0.85, 0.135, 0.15, 0.5);
  -ms-transition: top 0.5s cubic-bezier(0.85, 0.135, 0.15, 0.5);
  -o-transition: top 0.5s cubic-bezier(0.85, 0.135, 0.15, 0.5);
  transition: top 0.5s cubic-bezier(0.85, 0.135, 0.15, 0.5);
}
.about.active-screen {
  top: 0;
  -webkit-animation-name: pullDown;
  animation-name: pullDown;
  -webkit-transition: top 0.5s cubic-bezier(0.85, 0.135, 0.15, 0.5);
  -moz-transition: top 0.5s cubic-bezier(0.85, 0.135, 0.15, 0.5);
  -ms-transition: top 0.5s cubic-bezier(0.85, 0.135, 0.15, 0.5);
  -o-transition: top 0.5s cubic-bezier(0.85, 0.135, 0.15, 0.5);
  transition: top 0.5s cubic-bezier(0.85, 0.135, 0.15, 0.5);
}
.about.active-screen .close-button {
  
  opacity: 1;
  bottom: 2.5rem;
}
.about.active-screen .close-button:hover {
  opacity: 1;
  bottom: 1.875rem;
}
.about__content {
  position: relative;
  width: 100%;
  background: #FAF9F7 !important;
  background-color: #FAF9F7 !important;
}

/* Dark mode override for .about__content */
[data-theme="dark"] .about__content,
html[data-theme="dark"] .about__content,
body[data-theme="dark"] .about__content,
.hero.dark ~ .about .about__content {
  background: var(--bg-primary) !important;
  background-color: var(--bg-primary) !important;
}

.about__content__box {
  margin-top: 2.8125rem;
}
@media (min-width: 768px) {
  .about__content__box {
    margin-top: 4.0625rem;
  }
}
@media (min-width: 992px) {
  .about__content__box {
    margin-top: 5.625rem;
  }
}
.about__content__box .social {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
}
@media (min-width: 768px) {
  .about__content__box .social {
    margin-top: 1.5625rem;
  }
}
@media (min-width: 992px) {
  .about__content__box .social {
    margin-top: 2.1875rem;
  }
}
.about__content__box .social li {
  color: #979797;
  display: inline-block;
}
.about__content__box .social li:after {
  font-size: 0.5625rem;
  content: "/";
  display: inline-block;
  margin-left: 0.3125rem;
  vertical-align: middle;
}
.about__content__box .social li:last-of-type:after {
  display: none;
}
.about__content__box .social li a {
  display: inline-block;
  overflow: hidden;
  color: #979797;
  font-size: 0.75rem;
  line-height: 1rem;
  height: 1.125rem;
  vertical-align: middle;
}
.about__content__box .social li a span {
  position: relative;
  display: inline-block;
  transition: transform 0.4s cubic-bezier(0.85, 0.135, 0.15, 0.5);
}
.about__content__box .social li a span:before {
  position: absolute;
  top: 200%;
  content: attr(data-hover);
  transform: translate3d(0, 0, 0);
  font-size: 0.75rem;
  line-height: 1rem;
  color: #38352F;
}
.about__content__box .social li a:hover, .about__content__box .social li a:focus {
  opacity: 1;
}
.about__content__box .social li a:hover span, .about__content__box .social li a:focus span {
  transform: translateY(-200%);
}
.about__content__box .services {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
}
@media (min-width: 768px) {
  .about__content__box .services {
    margin-top: 1.5625rem;
  }
}
@media (min-width: 992px) {
  .about__content__box .services {
    margin-top: 2.1875rem;
  }
}
.about__content__box .services li {
  margin-bottom: 0.625rem;
}
.about__content__box .services li:last-of-type {
  margin-bottom: 0;
}
.about__content__box .services li p {
  font-size: 1.25rem;
}
.about__content__box.last {
  margin-bottom: 6.25rem;
}
@media (min-width: 768px) {
  .about__content__box.last {
    margin-bottom: 7.5rem;
  }
}
@media (min-width: 992px) {
  .about__content__box.last {
    margin-bottom: 9.375rem;
  }
}
.about__content__box.first {
  margin-top: 5.625rem;
}
@media (min-width: 768px) {
  .about__content__box.first {
    margin-top: 5.625rem;
  }
}
@media (min-width: 992px) {
  .about__content__box.first {
    margin-top: 7.5rem;
  }
}
.about__content__full-box {
  width: 100%;
  background: #E0FFFD;
  margin-top: 2.8125rem;
  padding-top: 2.8125rem;
  padding-bottom: 2.8125rem;
}
@media (min-width: 768px) {
  .about__content__full-box {
    margin-top: 4.0625rem;
    padding-top: 4.0625rem;
    padding-bottom: 4.0625rem;
  }
}
@media (min-width: 992px) {
  .about__content__full-box {
    margin-top: 5.625rem;
    padding-top: 5.625rem;
    padding-bottom: 5.625rem;
  }
}
.about__content__full-box .client-list {
  width: 100%;
  text-align: center;
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
}
@media (min-width: 768px) {
  .about__content__full-box .client-list {
    margin: 1.25rem 0 0;
  }
}
.about__content__full-box .client-list li {
  margin: 1.875rem 0;
  display: block;
}
@media (min-width: 768px) {
  .about__content__full-box .client-list li {
    display: inline-block;
    margin: 1.875rem 0.9375rem;
  }
}
.about__content__full-box .client-list li img {
  max-width: 109px;
}
@media (min-width: 768px) {
  .about__content__full-box .client-list li img {
    max-width: 139px;
  }
}

.work {
  position: absolute;
  z-index: 3;
  width: 100%;
  height: 100%;
  background: #FAF9F7 !important;
  background-color: #FAF9F7 !important;
  background-image: none !important; /* Force remove any patterns */
  overflow-y: scroll;
  overflow-x: hidden;
}

/* Dark mode override for .work background */
html[data-theme="dark"] .work,
body[data-theme="dark"] .work,
[data-theme="dark"] .work,
.hero.dark ~ .work {
  background: var(--bg-primary) !important;
  color: var(--text-primary) !important;
}

.work.idle {
  pointer-events: none;
  top: 100%;
  -webkit-animation-name: pullUpBottom;
  animation-name: pullUpBottom;
  -webkit-transition: top 0.5s cubic-bezier(0.85, 0.135, 0.15, 0.5);
  -moz-transition: top 0.5s cubic-bezier(0.85, 0.135, 0.15, 0.5);
  -ms-transition: top 0.5s cubic-bezier(0.85, 0.135, 0.15, 0.5);
  -o-transition: top 0.5s cubic-bezier(0.85, 0.135, 0.15, 0.5);
  transition: top 0.5s cubic-bezier(0.85, 0.135, 0.15, 0.5);
}
.work.active-screen {
  top: 0;
  -webkit-animation-name: pullDownBottom;
  animation-name: pullDownBottom;
  -webkit-transition: top 0.5s cubic-bezier(0.85, 0.135, 0.15, 0.5);
  -moz-transition: top 0.5s cubic-bezier(0.85, 0.135, 0.15, 0.5);
  -ms-transition: top 0.5s cubic-bezier(0.85, 0.135, 0.15, 0.5);
  -o-transition: top 0.5s cubic-bezier(0.85, 0.135, 0.15, 0.5);
  transition: top 0.5s cubic-bezier(0.85, 0.135, 0.15, 0.5);
}
/* Hide Three.js canvas when work section is active */
.work.active-screen ~ #hero .hero__three-container,
.work.active-screen ~ .hero__three-container {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
.work.active-screen .close-button {
  opacity: 1;
  bottom: 2.5rem;
}
.work.active-screen .close-button:hover {
  opacity: 1;
  bottom: 2.1875rem;
}
.work__content {
  position: relative;
  width: 100%;
  background: #FAF9F7 !important;
  background-color: #FAF9F7 !important;
}

/* Dark mode override for .work__content */
[data-theme="dark"] .work__content,
html[data-theme="dark"] .work__content,
body[data-theme="dark"] .work__content,
.hero.dark ~ .work .work__content {
  background: var(--bg-primary) !important;
  background-color: var(--bg-primary) !important;
}

.work__content__box {
  margin-top: 2.8125rem;
}
@media (min-width: 768px) {
  .work__content__box {
    margin-top: 4.0625rem;
  }
}
@media (min-width: 992px) {
  .work__content__box {
    margin-top: 5.625rem;
  }
}
.work__content__box .filters {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
}
@media (min-width: 768px) {
  .work__content__box .filters {
    margin-top: 1.5625rem;
  }
}
@media (min-width: 992px) {
  .work__content__box .filters {
    margin-top: 2.1875rem;
  }
}
.work__content__box .filters li {
  cursor: pointer;
  color: #979797;
  display: inline-block;
  overflow: hidden;
  font-size: 0.75rem;
  vertical-align: middle;
}
.work__content__box .filters li span {
  position: relative;
  display: inline-block;
  transition: transform 0.4s cubic-bezier(0.85, 0.135, 0.15, 0.5);
}
.work__content__box .filters li span:before {
  position: absolute;
  top: 200%;
  content: attr(data-hover);
  transform: translate3d(0, 0, 0);
  font-size: 0.75rem;
  color: #38352F;
}
.work__content__box .filters li:hover, .work__content__box .filters li:focus, .work__content__box .filters li.is-checked {
  opacity: 1;
}
.work__content__box .filters li:hover span, .work__content__box .filters li:focus span, .work__content__box .filters li.is-checked span {
  transform: translateY(-200%);
}
.work__content__box .filters li:after {
  font-size: 0.5625rem;
  content: "/";
  display: inline-block;
  margin-left: 0.3125rem;
  vertical-align: middle;
}
.work__content__box .filters li:last-of-type:after {
  display: none;
}
.work__content__box.last {
  margin-bottom: 6.25rem;
}
@media (min-width: 768px) {
  .work__content__box.last {
    margin-bottom: 7.5rem;
  }
}
@media (min-width: 992px) {
  .work__content__box.last {
    margin-bottom: 9.375rem;
  }
}
.work__content__box.first {
  margin-top: 5.625rem;
}
@media (min-width: 768px) {
  .work__content__box.first {
    margin-top: 5.625rem;
  }
}
@media (min-width: 992px) {
  .work__content__box.first {
    margin-top: 7.5rem;
  }
}
.work__content__thumbnails {
  margin-top: 1.5625rem;
}
@media (min-width: 768px) {
  .work__content__thumbnails {
    margin-top: 2.1875rem;
  }
}
@media (min-width: 992px) {
  .work__content__thumbnails {
    margin-top: 3.125rem;
  }
}
.work__content__thumbnails .project {
  transform: scale(0);
  transition: all 350ms ease-in-out;
}
.work__content__thumbnails .project.show {
  transform: scale(1);
}
.work__content__thumbnails .thumbnail {
  margin-top: 1.25rem;
  display: block;
  position: relative;
}
@media (min-width: 768px) {
  .work__content__thumbnails .thumbnail {
    margin-top: 1.875rem;
  }
}
@media (min-width: 992px) {
  .work__content__thumbnails .thumbnail {
    margin-top: 2.5rem;
  }
}
.work__content__thumbnails .thumbnail .overlay {
  position: absolute;
  top: 0;
  bottom: -1.25rem;
  left: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(-180deg, rgba(250, 249, 247, 0) 0%, #FAF9F7 100%);
  transition: all 0.3s ease-in-out;
}
.work__content__thumbnails .thumbnail .overlay .project-info {
  position: absolute;
  top: auto;
  bottom: 1.875rem;
  left: 1.875rem;
}
.work__content__thumbnails .thumbnail .overlay .project-info p {
  line-height: 1.2;
}
.work__content__thumbnails .thumbnail .overlay .project-info span {
  color: #979797;
  font-size: 0.75rem;
}
.work__content__thumbnails .thumbnail:hover {
  margin-top: 1.875rem;
  margin-bottom: 0.625rem;
  opacity: 1;
  box-shadow: 0 0.9375rem 2rem 0.625rem rgba(0, 0, 0, 0.1);
}
.work__content__thumbnails .thumbnail:hover .overlay {
  bottom: 0;
  opacity: 1;
}

/* ALL thumbnails are now blurred with always-visible overlays */
.work__content__thumbnails .thumbnail.blurred-thumbnail {
  position: relative;
  overflow: hidden;
  display: block;
  aspect-ratio: 1 / 1;
  background: #FAF9F7;
}

.work__content__thumbnails .thumbnail.blurred-thumbnail .thumbnail-blur-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.work__content__thumbnails .thumbnail.blurred-thumbnail .thumbnail-blur {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  filter: blur(8px);
  transform: scale(1.05);
  transition: all 0.6s ease;
}

.work__content__thumbnails .thumbnail.blurred-thumbnail:hover .thumbnail-blur {
  filter: blur(12px);
  transform: scale(1.08);
}

.work__content__thumbnails .thumbnail.blurred-thumbnail .overlay.overlay-always-visible {
  bottom: 0;
  opacity: 1;
  background: rgba(250, 249, 247, 0.90);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 10;
}

.work__content__thumbnails .thumbnail.blurred-thumbnail .overlay.overlay-always-visible .project-info p {
  font-weight: 500;
  color: #38352F;
  margin: 0;
}

.work__content__thumbnails .thumbnail.blurred-thumbnail .overlay.overlay-always-visible .project-info span {
  font-weight: 400;
  color: #6B6B6B;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

[data-theme="dark"] .work__content__thumbnails .thumbnail.blurred-thumbnail .overlay.overlay-always-visible {
  background: linear-gradient(-180deg, rgba(15, 17, 21, 0.70) 0%, rgba(15, 17, 21, 0.95) 100%) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
}

[data-theme="dark"] .work__content__thumbnails .thumbnail.blurred-thumbnail .overlay.overlay-always-visible .project-info p {
  color: #FAF9F7 !important;
}

[data-theme="dark"] .work__content__thumbnails .thumbnail.blurred-thumbnail .overlay.overlay-always-visible .project-info span {
  color: #A0A0A0 !important;
}

/* Dark mode for regular overlay (hover effect) */
[data-theme="dark"] .work__content__thumbnails .thumbnail .overlay {
  background-image: linear-gradient(-180deg, rgba(15, 17, 21, 0) 0%, #0F1115 100%);
}

[data-theme="dark"] .work__content__thumbnails .thumbnail .overlay .project-info p {
  color: #FAF9F7;
}

[data-theme="dark"] .work__content__thumbnails .thumbnail .overlay .project-info span {
  color: #A0A0A0;
}

/* Project detail images - NO blur, full clarity */
.ajaxpage__media {
  margin: 2rem 0;
}

.ajaxpage__media .project-detail-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  /* No blur filter - show image clearly */
}

/* Blurred Blob Placeholder for Projects without Images */
.project-blob-placeholder {
  position: relative;
  width: 100%;
  padding-bottom: 66.67%; /* 3:2 aspect ratio */
  overflow: hidden;
  background: #FAF9F7;
  border-radius: 0;
}

.project-blob-placeholder .blob-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  filter: blur(60px);
  transform: scale(1.2);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  animation: blobFloat 8s ease-in-out infinite;
}

@keyframes blobFloat {
  0%, 100% {
    transform: scale(1.2) translate(0, 0);
  }
  25% {
    transform: scale(1.25) translate(2%, 3%);
  }
  50% {
    transform: scale(1.2) translate(-2%, 2%);
  }
  75% {
    transform: scale(1.15) translate(3%, -2%);
  }
}

.work__content__thumbnails .thumbnail:hover .project-blob-placeholder .blob-gradient {
  filter: blur(70px);
  transform: scale(1.3);
}

/* Dark mode adjustments for blob */
[data-theme="dark"] .project-blob-placeholder {
  background: var(--bg-primary);
}

[data-theme="dark"] .project-blob-placeholder .blob-gradient {
  opacity: 0.7;
  filter: blur(50px);
}

.work__content .ajax-section {
  position: relative;
  padding-bottom: 100px;
  margin-top: 40px;
}
.work__content .ajax-section__loader {
  display: none;
  background: rgba(250, 249, 247, 0.95) url(../images/loading.gif) no-repeat center;
  background-size: 30px 30px;
  width: 100%;
  min-height: 300px;
  height: 100%;
  position: absolute;
  z-index: 200;
  opacity: 0;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.work__content .ajax-section__loader:not(.projectError) {
  opacity: 1;
}

.work__content .ajax-section__loader.projectError {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(250, 249, 247, 0.98);
}

.work__content .ajax-section__loader.projectError p {
  color: #38352F;
  font-size: 0.9375rem;
  font-weight: 600;
  opacity: 0.7;
}

.work__content .ajax-section__content {
  opacity: 0;
  overflow: visible;
  transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: opacity, height;
  padding-bottom: 100px;
  min-height: auto;
}

.work__content .ajax-section__project-navigation ul {
  list-style: none;
  margin: 0;
}
.work__content .ajax-section__project-navigation ul .next, .work__content .ajax-section__project-navigation ul .prev {
  display: none;
  position: absolute;
  top: 40%;
  transform: rotate(270deg);
}
@media (min-width: 992px) {
  .work__content .ajax-section__project-navigation ul .next, .work__content .ajax-section__project-navigation ul .prev {
    display: block;
  }
}
.work__content .ajax-section__project-navigation ul .next a, .work__content .ajax-section__project-navigation ul .prev a {
  font-size: 0.75rem;
}
.work__content .ajax-section__project-navigation ul .next {
  right: -5.625rem;
}
.work__content .ajax-section__project-navigation ul .prev {
  left: -6.25rem;
}
.work__content .ajax-section__project-navigation ul .next a.disabled, .work__content .ajax-section__project-navigation ul .prev a.disabled {
  display: none;
}
.work__content .ajax-section__project-close {
  position: absolute;
  right: 0;
  top: 0.625rem;
}
@media (min-width: 768px) {
  .work__content .ajax-section__project-close {
    top: 1.875rem;
  }
}
@media (min-width: 992px) {
  .work__content .ajax-section__project-close {
    top: 2.5rem;
  }
}
.work__content .ajax-section__project-close a {
  font-size: 0.75rem;
}
.work__content .ajax-section__content .ajaxpage {
  margin-top: 2.5rem;
}
@media (min-width: 768px) {
  .work__content .ajax-section__content .ajaxpage {
    margin-top: 3.75rem;
  }
}
@media (min-width: 992px) {
  .work__content .ajax-section__content .ajaxpage {
    margin-top: 5rem;
  }
}
.work__content .ajax-section__content .ajaxpage .unslider {
  position: relative;
}
.work__content .ajax-section__content .ajaxpage .unslider .unslider-arrow {
  text-indent: -999em;
  display: block;
  width: 30px;
  height: 30px;
  background: #FAF9F7;
  box-shadow: 0 4px 25px 2px rgba(0, 0, 0, 0.1);
  position: absolute;
  z-index: 2;
  top: auto;
  bottom: 0.625rem;
  border-radius: 100px;
}
@media (min-width: 768px) {
  .work__content .ajax-section__content .ajaxpage .unslider .unslider-arrow {
    bottom: 0.9375rem;
  }
}
@media (min-width: 992px) {
  .work__content .ajax-section__content .ajaxpage .unslider .unslider-arrow {
    bottom: 1.875rem;
  }
}
.work__content .ajax-section__content .ajaxpage .unslider .unslider-arrow.next {
  background-image: url(../images/icon-right.svg);
  background-repeat: no-repeat;
  background-position: 12.5px center;
  left: 2.8125rem;
  right: auto;
}
@media (min-width: 768px) {
  .work__content .ajax-section__content .ajaxpage .unslider .unslider-arrow.next {
    left: 3.125rem;
  }
}
@media (min-width: 992px) {
  .work__content .ajax-section__content .ajaxpage .unslider .unslider-arrow.next {
    left: 4.0625rem;
  }
}
.work__content .ajax-section__content .ajaxpage .unslider .unslider-arrow.next:hover {
  opacity: 1;
  margin-left: 0.3125rem;
}
.work__content .ajax-section__content .ajaxpage .unslider .unslider-arrow.prev {
  background-image: url(../images/icon-left.svg);
  background-repeat: no-repeat;
  background-position: 10.5px center;
  left: 0.625rem;
}
@media (min-width: 768px) {
  .work__content .ajax-section__content .ajaxpage .unslider .unslider-arrow.prev {
    left: 0.9375rem;
  }
}
@media (min-width: 992px) {
  .work__content .ajax-section__content .ajaxpage .unslider .unslider-arrow.prev {
    left: 1.875rem;
  }
}
.work__content .ajax-section__content .ajaxpage .unslider .unslider-arrow.prev:hover {
  opacity: 1;
  margin-left: -0.3125rem;
}
.work__content .ajax-section__content .ajaxpage .unslider .unslider-nav {
  display: block;
  position: absolute;
  z-index: 2;
  top: auto;
  bottom: 0.625rem;
  left: 5.625rem;
  transition: all 0.3s ease-in-out;
}
@media (min-width: 768px) {
  .work__content .ajax-section__content .ajaxpage .unslider .unslider-nav {
    bottom: 0.9375rem;
    left: 5.9375rem;
  }
}
@media (min-width: 992px) {
  .work__content .ajax-section__content .ajaxpage .unslider .unslider-nav {
    bottom: 1.875rem;
    left: 6.875rem;
  }
}
.work__content .ajax-section__content .ajaxpage .unslider .unslider-nav ol {
  display: inline-block;
  background: #FAF9F7;
  box-shadow: 0 4px 25px 2px rgba(0, 0, 0, 0.1);
  padding: 0 10px;
  height: 30px;
  border-radius: 100px;
}
.work__content .ajax-section__content .ajaxpage .unslider .unslider-nav ol li {
  display: inline-block;
  line-height: 30px;
  vertical-align: middle;
  width: 6px;
  height: 6px;
  border: none;
  background: transparent;
  border: 1px solid #979797;
  transition: all 0.3s ease;
}
.work__content .ajax-section__content .ajaxpage .unslider .unslider-nav ol li.unslider-active {
  background: #38352F;
  border-color: #38352F;
}
.work__content .ajax-section__content .ajaxpage__content {
  margin-top: 1.875rem;
}
@media (min-width: 768px) {
  .work__content .ajax-section__content .ajaxpage__content {
    margin-top: 2.8125rem;
  }
}
@media (min-width: 992px) {
  .work__content .ajax-section__content .ajaxpage__content {
    margin-top: 3.75rem;
  }
}
.work__content .ajax-section__content .ajaxpage__content--meta {
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 992px) {
  .work__content .ajax-section__content .ajaxpage__content--meta {
    float: left;
    width: 30%;
  }
}
.work__content .ajax-section__content .ajaxpage__content--meta li {
  margin-bottom: 0.9375rem;
}
.work__content .ajax-section__content .ajaxpage__content--meta li:last-of-type {
  margin-bottom: 0;
}
.work__content .ajax-section__content .ajaxpage__content--meta li h4 {
  margin: 0;
}
.work__content .ajax-section__content .ajaxpage__content--meta li small {
  display: block;
  font-size: 0.75rem;
  color: #979797;
}
.work__content .ajax-section__content .ajaxpage__content--meta li p {
  font-size: 0.875rem;
  margin: 0;
}
.work__content .ajax-section__content .ajaxpage__content--description {
  margin-top: 1.25rem;
}
@media (min-width: 768px) {
  .work__content .ajax-section__content .ajaxpage__content--description {
    margin-top: 2.1875rem;
  }
}
@media (min-width: 992px) {
  .work__content .ajax-section__content .ajaxpage__content--description {
    margin-top: 0;
    float: left;
    padding-left: 2%;
    width: 68%;
  }
}
.work__content .ajax-section__content .ajaxpage__content--description .social {
  display: block;
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
}
.work__content .ajax-section__content .ajaxpage__content--description .social li {
  display: inline-block;
}
.work__content .ajax-section__content .ajaxpage__content--description .social li:after {
  color: #979797;
  font-size: 0.5625rem;
  content: "/";
  display: inline-block;
  vertical-align: middle;
}
.work__content .ajax-section__content .ajaxpage__content--description .social li:last-of-type:after {
  display: none;
}
.work__content .ajax-section__content .ajaxpage__content--description .social li a {
  display: inline-block;
  overflow: hidden;
  color: #979797;
  font-size: 0.875rem;
  vertical-align: middle;
}
.work__content .ajax-section__content .ajaxpage__content--description .social li a span {
  position: relative;
  display: inline-block;
  transition: transform 0.4s cubic-bezier(0.85, 0.135, 0.15, 0.5);
}
.work__content .ajax-section__content .ajaxpage__content--description .social li a span:before {
  position: absolute;
  top: 200%;
  content: attr(data-hover);
  transform: translate3d(0, 0, 0);
  font-size: 0.875rem;
  color: #38352F;
}
.work__content .ajax-section__content .ajaxpage__content--description .social li a:hover, .work__content .ajax-section__content .ajaxpage__content--description .social li a:focus {
  opacity: 1;
}
.work__content .ajax-section__content .ajaxpage__content--description .social li a:hover span, .work__content .ajax-section__content .ajaxpage__content--description .social li a:focus span {
  transform: translateY(-200%);
}

body.project-single {
  position: relative;
  height: auto;
  max-height: none;
  overflow-y: scroll;
}
body.project-single header .logo {
  position: absolute;
  top: 2.5rem;
  left: 1.25rem;
  z-index: 10;
  width: 60px;
  height: auto;
  max-width: 60px;
  max-height: 60px;
  object-fit: contain;
  transition: filter 0.3s ease;
}

/* Dark mode - tint project-single logo white */
[data-theme="dark"] body.project-single header .logo,
html[data-theme="dark"] body.project-single header .logo,
body[data-theme="dark"].project-single header .logo {
  filter: brightness(0) invert(1);
}
@media (min-width: 768px) {
  body.project-single header .logo {
    left: 1.875rem;
  }
}
@media (min-width: 992px) {
  body.project-single header .logo {
    left: 2.5rem;
  }
}
body.project-single header .meta.name {
  position: absolute;
  z-index: 10;
  top: 2.5rem;
  right: 1.25rem;
}
@media (min-width: 768px) {
  body.project-single header .meta.name {
    right: 1.875rem;
  }
}
@media (min-width: 992px) {
  body.project-single header .meta.name {
    right: 2.5rem;
  }
}
body.project-single header .meta.name p {
  padding: 0;
  margin: 0;
  color: #979797;
}
body.project-single .ajaxpage {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}
@media (min-width: 768px) {
  body.project-single .ajaxpage {
    padding-top: 3.75rem;
    padding-bottom: 3.75rem;
  }
}
@media (min-width: 992px) {
  body.project-single .ajaxpage {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}
body.project-single .ajaxpage .unslider {
  position: relative;
}
body.project-single .ajaxpage .unslider .unslider-arrow {
  text-indent: -999em;
  display: block;
  width: 30px;
  height: 30px;
  background: #FAF9F7;
  box-shadow: 0 4px 25px 2px rgba(0, 0, 0, 0.1);
  position: absolute;
  z-index: 2;
  top: auto;
  bottom: 0.625rem;
  border-radius: 100px;
}
@media (min-width: 768px) {
  body.project-single .ajaxpage .unslider .unslider-arrow {
    bottom: 0.9375rem;
  }
}
@media (min-width: 992px) {
  body.project-single .ajaxpage .unslider .unslider-arrow {
    bottom: 1.875rem;
  }
}
body.project-single .ajaxpage .unslider .unslider-arrow.next {
  background-image: url(../images/icon-right.svg);
  background-repeat: no-repeat;
  background-position: 12.5px center;
  left: 2.8125rem;
  right: auto;
}
@media (min-width: 768px) {
  body.project-single .ajaxpage .unslider .unslider-arrow.next {
    left: 3.125rem;
  }
}
@media (min-width: 992px) {
  body.project-single .ajaxpage .unslider .unslider-arrow.next {
    left: 4.0625rem;
  }
}
body.project-single .ajaxpage .unslider .unslider-arrow.next:hover {
  opacity: 1;
  margin-left: 0.3125rem;
}
body.project-single .ajaxpage .unslider .unslider-arrow.prev {
  background-image: url(../images/icon-left.svg);
  background-repeat: no-repeat;
  background-position: 10.5px center;
  left: 0.625rem;
}
@media (min-width: 768px) {
  body.project-single .ajaxpage .unslider .unslider-arrow.prev {
    left: 0.9375rem;
  }
}
@media (min-width: 992px) {
  body.project-single .ajaxpage .unslider .unslider-arrow.prev {
    left: 1.875rem;
  }
}
body.project-single .ajaxpage .unslider .unslider-arrow.prev:hover {
  opacity: 1;
  margin-left: -0.3125rem;
}
body.project-single .ajaxpage .unslider .unslider-nav {
  display: block;
  position: absolute;
  z-index: 2;
  top: auto;
  bottom: 0.625rem;
  left: 5.625rem;
  transition: all 0.3s ease-in-out;
}
@media (min-width: 768px) {
  body.project-single .ajaxpage .unslider .unslider-nav {
    bottom: 0.9375rem;
    left: 5.9375rem;
  }
}
@media (min-width: 992px) {
  body.project-single .ajaxpage .unslider .unslider-nav {
    bottom: 1.875rem;
    left: 6.875rem;
  }
}
body.project-single .ajaxpage .unslider .unslider-nav ol {
  display: inline-block;
  background: #FAF9F7;
  box-shadow: 0 4px 25px 2px rgba(0, 0, 0, 0.1);
  padding: 0 10px;
  height: 30px;
  border-radius: 100px;
}
body.project-single .ajaxpage .unslider .unslider-nav ol li {
  display: inline-block;
  line-height: 30px;
  vertical-align: middle;
  width: 6px;
  height: 6px;
  border: none;
  background: transparent;
  border: 1px solid #979797;
  transition: all 0.3s ease;
}
body.project-single .ajaxpage .unslider .unslider-nav ol li.unslider-active {
  background: #38352F;
  border-color: #38352F;
}
body.project-single .ajaxpage__content {
  margin-top: 1.875rem;
}
@media (min-width: 768px) {
  body.project-single .ajaxpage__content {
    margin-top: 2.8125rem;
  }
}
@media (min-width: 992px) {
  body.project-single .ajaxpage__content {
    margin-top: 3.75rem;
  }
}
body.project-single .ajaxpage__content--meta {
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 992px) {
  body.project-single .ajaxpage__content--meta {
    float: left;
    width: 30%;
  }
}
body.project-single .ajaxpage__content--meta li {
  margin-bottom: 0.9375rem;
}
body.project-single .ajaxpage__content--meta li:last-of-type {
  margin-bottom: 0;
}
body.project-single .ajaxpage__content--meta li h4 {
  margin: 0;
}
body.project-single .ajaxpage__content--meta li small {
  display: block;
  font-size: 0.75rem;
  color: #979797;
}
body.project-single .ajaxpage__content--meta li p {
  font-size: 0.875rem;
  margin: 0;
}
body.project-single .ajaxpage__content--description {
  margin-top: 1.25rem;
}
@media (min-width: 768px) {
  body.project-single .ajaxpage__content--description {
    margin-top: 2.1875rem;
  }
}
@media (min-width: 992px) {
  body.project-single .ajaxpage__content--description {
    margin-top: 0;
    float: left;
    padding-left: 2%;
    width: 68%;
  }
}
body.project-single .ajaxpage__content--description .social {
  display: block;
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
}
body.project-single .ajaxpage__content--description .social li {
  display: inline-block;
}
body.project-single .ajaxpage__content--description .social li:after {
  color: #979797;
  font-size: 0.5625rem;
  content: "/";
  display: inline-block;
  vertical-align: middle;
}
body.project-single .ajaxpage__content--description .social li:last-of-type:after {
  display: none;
}
body.project-single .ajaxpage__content--description .social li a {
  display: inline-block;
  overflow: hidden;
  color: #979797;
  font-size: 0.875rem;
  vertical-align: middle;
}
body.project-single .ajaxpage__content--description .social li a span {
  position: relative;
  display: inline-block;
  transition: transform 0.4s cubic-bezier(0.85, 0.135, 0.15, 0.5);
}
body.project-single .ajaxpage__content--description .social li a span:before {
  position: absolute;
  top: 200%;
  content: attr(data-hover);
  transform: translate3d(0, 0, 0);
  font-size: 0.875rem;
  color: #38352F;
}
body.project-single .ajaxpage__content--description .social li a:hover, body.project-single .ajaxpage__content--description .social li a:focus {
  opacity: 1;
}
body.project-single .ajaxpage__content--description .social li a:hover span, body.project-single .ajaxpage__content--description .social li a:focus span {
  transform: translateY(-200%);
}

/*# sourceMappingURL=main.css.map */

/* Theme Toggle - Minimal Black/White Design */
:root {
  --bg-primary: #FAF9F7;
  --text-primary: #38352F;
  --accent: #F5F3F0;
  --accent-hover: #E8E5E0;
  --transition-speed: 0.3s;
}

[data-theme="dark"] {
  --bg-primary: #1C1A18;
  --text-primary: #E8E3D8;
  --accent: #2a2a2a;
  --accent-hover: #3a3a3a;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg-primary: #1a1a1a;
    --text-primary: #D9E1E9;
    --accent: #2a2a2a;
    --accent-hover: #3a3a3a;
  }
}

body {
  background-color: var(--bg-primary) !important;
  color: var(--text-primary) !important;
  transition: background-color var(--transition-speed) ease, color var(--transition-speed) ease;
}

a, a:active {
  color: var(--text-primary) !important;
}

.theme-toggle {
  position: fixed;
  top: 2rem;
  right: 2rem;
  z-index: 1000;
  background: transparent;
  border: 1px solid var(--text-primary);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: all var(--transition-speed) ease;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
}

@media (max-width: 768px) {
  .theme-toggle {
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    padding: 0.4rem;
  }
}

.theme-toggle:hover {
  opacity: 1;
  background: var(--accent);
  transform: scale(1.1);
}

.toggle-icon {
  width: 16px;
  height: 16px;
  position: relative;
  display: block;
}

.sun-icon, .moon-icon {
  position: absolute;
  width: 100%;
  height: 100%;
  transition: all var(--transition-speed) ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sun-icon {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.moon-icon {
  opacity: 0;
  transform: scale(0.7) rotate(180deg);
}

[data-theme="dark"] .sun-icon {
  opacity: 0;
  transform: scale(0.7) rotate(-180deg);
}

[data-theme="dark"] .moon-icon {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.sun-icon::before {
  content: '○';
  font-size: 14px;
  font-weight: 100;
  color: var(--text-primary);
  display: block;
}

.moon-icon::before {
  content: '●';
  font-size: 14px;
  color: var(--text-primary);
  display: block;
}

.auto-indicator {
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 4px;
  height: 4px;
  background-color: var(--text-primary);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0);
  transition: all var(--transition-speed) ease;
}

.theme-auto .auto-indicator {
  opacity: 1;
  transform: scale(1);
}

/* Dark mode for all sections - Comprehensive Coverage */
[data-theme="dark"] .about,
[data-theme="dark"] .work,
.hero.dark ~ .about,
.hero.dark ~ .work,
body[data-theme="dark"] .about,
body[data-theme="dark"] .work,
html[data-theme="dark"] .about,
html[data-theme="dark"] .work {
  background-color: var(--bg-primary) !important;
  color: var(--text-primary) !important;
}

[data-theme="dark"] .about__content__box,
[data-theme="dark"] .work__content__box,
.hero.dark ~ .about .about__content__box,
.hero.dark ~ .work .work__content__box,
body[data-theme="dark"] .about__content__box,
body[data-theme="dark"] .work__content__box,
html[data-theme="dark"] .about__content__box,
html[data-theme="dark"] .work__content__box {
  background-color: var(--bg-primary) !important;
  color: var(--text-primary) !important;
}

/* Dark mode for project grid - Extremely subtle overlays */
[data-theme="dark"] .project .overlay,
.hero.dark ~ .work .project .overlay,
body[data-theme="dark"] .project .overlay,
html[data-theme="dark"] .project .overlay {
  /* Extremely subtle overlay to let images show through */
  background: rgba(250, 249, 247, 0.05) !important;
  background-image: linear-gradient(-180deg, rgba(250, 249, 247, 0) 0%, rgba(250, 249, 247, 0.2) 100%) !important;
}

[data-theme="dark"] .project .project-info,
.hero.dark ~ .work .project .project-info,
body[data-theme="dark"] .project .project-info,
html[data-theme="dark"] .project .project-info {
  color: #38352F !important; /* Dark text on white overlay */
}

[data-theme="dark"] .project .project-info span,
.hero.dark ~ .work .project .project-info span,
body[data-theme="dark"] .project .project-info span,
html[data-theme="dark"] .project .project-info span {
  color: #979797 !important; /* Subtle gray for category */
}

/* Auto dark mode */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .about,
  :root:not([data-theme="light"]) .work {
    background-color: var(--bg-primary) !important;
    color: var(--text-primary) !important;
  }
  
  :root:not([data-theme="light"]) .about__content__box,
  :root:not([data-theme="light"]) .work__content__box {
    background-color: var(--bg-primary) !important;
    color: var(--text-primary) !important;
  }
  
  :root:not([data-theme="light"]) .project .overlay {
    background: rgba(250, 249, 247, 0.05) !important;
    background-image: linear-gradient(-180deg, rgba(250, 249, 247, 0) 0%, rgba(250, 249, 247, 0.2) 100%) !important;
  }
}

/* Dark mode fixes for underlined links */
[data-theme="dark"] .underline,
.hero.dark ~ .about .underline,
.hero.dark ~ .work .underline,
body[data-theme="dark"] .underline,
html[data-theme="dark"] .underline {
  text-shadow: 0.1875rem 0 var(--bg-primary), 0.125rem 0 var(--bg-primary), 0.0625rem 0 var(--bg-primary), -0.0625rem 0 var(--bg-primary), -0.125rem 0 var(--bg-primary), -0.1875rem 0 var(--bg-primary) !important;
}

/* Auto dark mode for underlined links */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .underline {
    text-shadow: 0.1875rem 0 var(--bg-primary), 0.125rem 0 var(--bg-primary), 0.0625rem 0 var(--bg-primary), -0.0625rem 0 var(--bg-primary), -0.125rem 0 var(--bg-primary), -0.1875rem 0 var(--bg-primary) !important;
  }
}

/* Work Section Beautiful Minimal Styling - Following Accessibility Menu Design */

/* Work section typography enhancements - BOLD TEXT */
.work__content__box h5 {
    font-family: "Karla", "Helvetica Neue", "Helvetica", sans-serif !important;
    font-weight: 700 !important;
    font-size: 1.125rem !important;
    color: var(--text-primary) !important;
    margin-bottom: 1rem !important;
    opacity: 1 !important;
    letter-spacing: 0.02em !important;
}

.work__content__box p {
    font-family: "Karla", "Helvetica Neue", "Helvetica", sans-serif !important;
    font-weight: 600 !important;
    font-size: 0.9375rem !important;
    color: var(--text-primary) !important;
    opacity: 0.85 !important;
    line-height: 1.6 !important;
    margin-bottom: 0 !important;
}

/* Beautiful filter buttons with grid layout - Mobile-friendly */
.work__content__box .filters {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.75rem 1rem;
    margin-top: 2rem !important;
    padding: 0;
    list-style: none;
    width: 100%;
}

/* Mobile: 2 columns */
@media (max-width: 576px) {
    .work__content__box .filters {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.625rem 0.75rem;
    }
}

/* Tablet: 3 columns */
@media (min-width: 577px) and (max-width: 768px) {
    .work__content__box .filters {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Desktop: auto-fill with min 140px */
@media (min-width: 769px) {
    .work__content__box .filters {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }
}

.work__content__box .filters li {
    background: transparent !important;
    border: none !important;
    color: var(--text-primary) !important;
    font-family: "Karla", "Helvetica Neue", "Helvetica", sans-serif !important;
    font-weight: 700 !important;
    font-size: 0.875rem !important;
    cursor: pointer;
    padding: 0.5rem 0.75rem !important;
    margin: 0 !important;
    opacity: 0.6 !important;
    transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease !important;
    position: relative;
    display: flex !important;
    align-items: center;
    justify-content: center;
    text-align: center !important;
    min-width: auto;
    height: auto;
    line-height: 1.3 !important;
    overflow: visible !important;
    vertical-align: baseline !important;
    border-radius: 4px;
}

/* Remove old separator styling completely */
.work__content__box .filters li:after {
    display: none !important;
}

.work__content__box .filters li span {
    position: relative;
    display: inline-block;
    transition: transform 0.2s ease !important;
}

.work__content__box .filters li span:before {
    display: none !important;
}

/* Hover and focus states with elegant background */
.work__content__box .filters li:hover,
.work__content__box .filters li:focus {
    opacity: 1 !important;
    background: rgba(53, 53, 53, 0.05) !important;
    transform: translateY(-2px);
    outline: none;
}

.work__content__box .filters li.is-checked {
    opacity: 1 !important;
    color: var(--text-primary) !important;
    background: rgba(53, 53, 53, 0.08) !important;
    font-weight: 800 !important;
}

.work__content__box .filters li:focus-visible {
    outline: 2px solid var(--text-primary);
    outline-offset: 2px;
}

/* Active state indicator for filters - underline */
.work__content__box .filters li.is-checked::after {
    content: '';
    position: absolute;
    bottom: 0.25rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: var(--text-primary);
    opacity: 0.8;
}

/* Mobile adjustments for filters */
@media (max-width: 576px) {
    .work__content__box .filters li {
        font-size: 0.8125rem !important;
        padding: 0.4rem 0.5rem !important;
    }

    .work__content__box .filters li.is-checked::after {
        width: 40%;
        height: 1.5px;
    }
}

/* Tablet adjustments */
@media (min-width: 577px) and (max-width: 768px) {
    .work__content__box .filters li {
        font-size: 0.8125rem !important;
    }
}

/* Staggered filter animation on section load - elegant slideInUp */
.work.active-screen .filters li {
    animation: slideInUp 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.work.active-screen .filters li:nth-child(1) { animation-delay: 0.05s; }
.work.active-screen .filters li:nth-child(2) { animation-delay: 0.1s; }
.work.active-screen .filters li:nth-child(3) { animation-delay: 0.15s; }
.work.active-screen .filters li:nth-child(4) { animation-delay: 0.2s; }
.work.active-screen .filters li:nth-child(5) { animation-delay: 0.25s; }
.work.active-screen .filters li:nth-child(6) { animation-delay: 0.3s; }
.work.active-screen .filters li:nth-child(7) { animation-delay: 0.35s; }
.work.active-screen .filters li:nth-child(8) { animation-delay: 0.4s; }
.work.active-screen .filters li:nth-child(9) { animation-delay: 0.45s; }

/* Add slideInUp keyframe animation matching accessibility buttons */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(8px) translateX(8px);
    }
    to {
        opacity: 0.6;
        transform: translateY(0) translateX(0);
    }
}

/* Beautiful project navigation buttons */
.work__content .ajax-section__project-navigation ul .next a,
.work__content .ajax-section__project-navigation ul .prev a {
    background: transparent !important;
    border: none !important;
    color: var(--text-primary) !important;
    font-family: "Karla", "Helvetica Neue", "Helvetica", sans-serif !important;
    font-weight: 300 !important;
    font-size: 0.8125rem !important;
    text-decoration: none !important;
    opacity: 0.6 !important;
    transition: opacity 0.3s ease, transform 0.3s ease !important;
    padding: 0 !important;
    margin: 0 !important;
    display: inline-block;
}

.work__content .ajax-section__project-navigation ul .next a:hover,
.work__content .ajax-section__project-navigation ul .prev a:hover,
.work__content .ajax-section__project-navigation ul .next a:focus,
.work__content .ajax-section__project-navigation ul .prev a:focus {
    opacity: 1 !important;
    text-decoration: none !important;
    outline: none;
}

.work__content .ajax-section__project-navigation ul .next a:hover {
    transform: translateX(2px) !important;
}

.work__content .ajax-section__project-navigation ul .prev a:hover {
    transform: translateX(-2px) !important;
}

.work__content .ajax-section__project-navigation ul .next a:focus-visible,
.work__content .ajax-section__project-navigation ul .prev a:focus-visible {
    outline: 1px solid var(--text-primary);
    outline-offset: 2px;
}

/* Beautiful close button */
.work__content .ajax-section__project-close a {
    background: transparent !important;
    border: none !important;
    color: var(--text-primary) !important;
    font-family: "Karla", "Helvetica Neue", "Helvetica", sans-serif !important;
    font-weight: 300 !important;
    font-size: 0.8125rem !important;
    text-decoration: none !important;
    opacity: 0.6 !important;
    transition: opacity 0.3s ease, transform 0.3s ease !important;
    padding: 0 !important;
    margin: 0 !important;
    display: inline-block;
}

.work__content .ajax-section__project-close a:hover,
.work__content .ajax-section__project-close a:focus {
    opacity: 1 !important;
    transform: translateY(-2px) !important;
    text-decoration: none !important;
    outline: none;
}

.work__content .ajax-section__project-close a:focus-visible {
    outline: 1px solid var(--text-primary);
    outline-offset: 2px;
}

/* Enhanced work section title animation */
.work.active-screen .work__content__box h5 {
    animation: slideInUp 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    animation-delay: 0.05s;
}

.work.active-screen .work__content__box p {
    animation: slideInUp 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    animation-delay: 0.075s;
}

/* Mobile responsive enhancements */
@media (max-width: 768px) {
    .work__content__box .filters {
        gap: 0.875rem;
        margin-top: 1.5rem !important;
    }
    
    .work__content__box h5 {
        font-size: 1rem;
    }
    
    .work__content__box p {
        font-size: 0.875rem;
    }
    
    .work__content__box .filters li {
        font-size: 0.75rem !important;
    }
}

/* High contrast mode enhancements */
.high-contrast-mode .work__content__box .filters li,
.high-contrast-mode .work__content .ajax-section__project-navigation ul .next a,
.high-contrast-mode .work__content .ajax-section__project-navigation ul .prev a,
.high-contrast-mode .work__content .ajax-section__project-close a {
    opacity: 1 !important;
    font-weight: 400 !important;
}

.high-contrast-mode .work__content__box .filters li.is-checked::after {
    background: var(--text-primary);
    opacity: 1;
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    .work__content__box .filters li,
    .work__content .ajax-section__project-navigation ul .next a,
    .work__content .ajax-section__project-navigation ul .prev a,
    .work__content .ajax-section__project-close a {
        transition: opacity 0.1s ease;
    }
    
    .work.active-screen .filters li,
    .work.active-screen .work__content__box h5,
    .work.active-screen .work__content__box p {
        animation: none;
    }
    
    .work__content__box .filters li:hover,
    .work__content .ajax-section__project-navigation ul .next a:hover,
    .work__content .ajax-section__project-navigation ul .prev a:hover,
    .work__content .ajax-section__project-close a:hover {
        transform: none !important;
    }
}

.reduced-motion .work__content__box .filters li,
.reduced-motion .work__content .ajax-section__project-navigation ul .next a,
.reduced-motion .work__content .ajax-section__project-navigation ul .prev a,
.reduced-motion .work__content .ajax-section__project-close a {
    transition: opacity 0.1s ease;
}

.reduced-motion .work.active-screen .filters li,
.reduced-motion .work.active-screen .work__content__box h5,
.reduced-motion .work.active-screen .work__content__box p {
    animation: none;
}

.reduced-motion .work__content__box .filters li:hover,
.reduced-motion .work__content .ajax-section__project-navigation ul .next a:hover,
.reduced-motion .work__content .ajax-section__project-navigation ul .prev a:hover,
.reduced-motion .work__content .ajax-section__project-close a:hover {
    transform: none !important;
}

/* Contact & Newsletter Section Beautiful Minimal Styling */

/* Contact Section - BOLDER */
.contact-section {
    margin-bottom: 3rem;
    margin-top: 4rem;
    text-align: center;
}

.contact-section h5 {
    font-family: "Karla", "Helvetica Neue", "Helvetica", sans-serif !important;
    font-weight: 700 !important;
    font-size: 1.25rem !important;
    color: var(--text-primary) !important;
    margin-bottom: 1.25rem !important;
    opacity: 1 !important;
    letter-spacing: 0.01em !important;
}

.contact-section p {
    font-family: "Karla", "Helvetica Neue", "Helvetica", sans-serif !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    color: var(--text-primary) !important;
    opacity: 0.85 !important;
    line-height: 1.6 !important;
    margin-bottom: 1.5rem !important;
}

.contact-button {
    background: transparent !important;
    border: none !important;
    color: var(--text-primary) !important;
    font-family: "Karla", "Helvetica Neue", "Helvetica", sans-serif !important;
    font-weight: 600 !important;
    font-size: 0.9375rem !important;
    cursor: pointer;
    padding: 0 !important;
    border-radius: 0 !important;
    opacity: 0.8 !important;
    transition: opacity 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    margin: 0 !important;
    display: inline-block;
    text-decoration: underline !important;
    text-underline-offset: 4px !important;
    text-decoration-thickness: 1px !important;
}

.contact-button:hover,
.contact-button:focus {
    opacity: 1 !important;
    transform: translateY(-1px) !important;
    outline: none !important;
    text-decoration: underline !important;
}

.contact-button:focus-visible {
    outline: 1px solid var(--text-primary) !important;
    outline-offset: 2px !important;
}

/* Newsletter Section */
.newsletter-section {
    text-align: center;
    padding-top: 2.5rem;
    border-top: 0.5px solid var(--text-primary);
    opacity: 0.8;
}

.newsletter-section h5 {
    font-family: "Karla", "Helvetica Neue", "Helvetica", sans-serif !important;
    font-weight: 300 !important;
    font-size: 0.9375rem !important;
    color: var(--text-primary) !important;
    margin-bottom: 0.75rem !important;
    opacity: 0.8 !important;
    letter-spacing: 0.02em !important;
}

.newsletter-section p {
    font-family: "Karla", "Helvetica Neue", "Helvetica", sans-serif !important;
    font-weight: 300 !important;
    font-size: 0.8125rem !important;
    color: var(--text-primary) !important;
    opacity: 0.6 !important;
    line-height: 1.6 !important;
    margin-bottom: 1.5rem !important;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.newsletter-input-wrapper {
    display: flex;
    gap: 1rem;
    max-width: 320px;
    width: 100%;
    align-items: center;
}

.newsletter-input-wrapper input {
    flex: 1;
    background: transparent !important;
    border: none !important;
    border-bottom: 0.5px solid var(--text-primary) !important;
    color: var(--text-primary) !important;
    font-family: "Karla", "Helvetica Neue", "Helvetica", sans-serif !important;
    font-weight: 300 !important;
    font-size: 0.8125rem !important;
    padding: 0.5rem 0 !important;
    border-radius: 0 !important;
    opacity: 0.6 !important;
    transition: opacity 0.3s ease, border-color 0.3s ease !important;
    outline: none !important;
    box-shadow: none !important;
}

.newsletter-input-wrapper input::placeholder {
    color: var(--text-primary) !important;
    opacity: 0.4 !important;
    font-weight: 300 !important;
}

.newsletter-input-wrapper input:focus {
    opacity: 1 !important;
    outline: none !important;
    border-bottom-color: var(--text-primary) !important;
    border-bottom-width: 1px !important;
}

.newsletter-input-wrapper input:focus-visible {
    outline: none !important;
}

.newsletter-input-wrapper button {
    background: transparent !important;
    border: none !important;
    color: var(--text-primary) !important;
    font-family: "Karla", "Helvetica Neue", "Helvetica", sans-serif !important;
    font-weight: 300 !important;
    font-size: 0.8125rem !important;
    cursor: pointer;
    padding: 0 !important;
    border-radius: 0 !important;
    opacity: 0.6 !important;
    transition: opacity 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    white-space: nowrap;
    text-decoration: underline !important;
    text-underline-offset: 3px !important;
    text-decoration-thickness: 0.5px !important;
    margin: 0 !important;
    box-shadow: none !important;
}

.newsletter-input-wrapper button:hover,
.newsletter-input-wrapper button:focus {
    opacity: 1 !important;
    transform: translateY(-1px) !important;
    outline: none !important;
    text-decoration: underline !important;
}

.newsletter-input-wrapper button:focus-visible {
    outline: 1px solid var(--text-primary) !important;
    outline-offset: 2px !important;
}

/* Staggered animations for contact and newsletter sections */
.work.active-screen .contact-section h5 {
    animation: slideInUp 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    animation-delay: 0.6s;
}

.work.active-screen .contact-section p {
    animation: slideInUp 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    animation-delay: 0.65s;
}

.work.active-screen .contact-button {
    animation: slideInUp 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    animation-delay: 0.7s;
}

.work.active-screen .newsletter-section h5 {
    animation: slideInUp 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    animation-delay: 0.75s;
}

.work.active-screen .newsletter-section p {
    animation: slideInUp 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    animation-delay: 0.8s;
}

.work.active-screen .newsletter-input-wrapper {
    animation: slideInUp 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    animation-delay: 0.85s;
}

/* Mobile responsive enhancements */
@media (max-width: 768px) {
    .contact-section {
        margin-bottom: 2.5rem;
    }
    
    .newsletter-section {
        padding-top: 2rem;
    }
    
    .contact-section h5,
    .newsletter-section h5 {
        font-size: 0.9375rem !important;
    }
    
    .contact-section p,
    .newsletter-section p {
        font-size: 0.8125rem !important;
    }
    
    .newsletter-input-wrapper {
        flex-direction: column;
        gap: 1rem;
        max-width: 280px;
    }
    
    .newsletter-input-wrapper input {
        text-align: center;
    }
    
    .contact-button,
    .newsletter-input-wrapper button {
        font-size: 0.75rem !important;
    }
}

/* High contrast mode enhancements */
.high-contrast-mode .contact-button,
.high-contrast-mode .newsletter-input-wrapper input,
.high-contrast-mode .newsletter-input-wrapper button {
    opacity: 1 !important;
    font-weight: 400 !important;
}

.high-contrast-mode .newsletter-input-wrapper input {
    border-bottom-width: 2px !important;
}

.high-contrast-mode .newsletter-section {
    border-top-width: 1px !important;
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    .contact-button,
    .newsletter-input-wrapper input,
    .newsletter-input-wrapper button {
        transition: opacity 0.1s ease !important;
    }
    
    .work.active-screen .contact-section h5,
    .work.active-screen .contact-section p,
    .work.active-screen .contact-button,
    .work.active-screen .newsletter-section h5,
    .work.active-screen .newsletter-section p,
    .work.active-screen .newsletter-input-wrapper {
        animation: none !important;
    }
    
    .contact-button:hover,
    .newsletter-input-wrapper button:hover {
        transform: none !important;
    }
}

.reduced-motion .contact-button,
.reduced-motion .newsletter-input-wrapper input,
.reduced-motion .newsletter-input-wrapper button {
    transition: opacity 0.1s ease !important;
}

.reduced-motion .work.active-screen .contact-section h5,
.reduced-motion .work.active-screen .contact-section p,
.reduced-motion .work.active-screen .contact-button,
.reduced-motion .work.active-screen .newsletter-section h5,
.reduced-motion .work.active-screen .newsletter-section p,
.reduced-motion .work.active-screen .newsletter-input-wrapper {
    animation: none !important;
}

.reduced-motion .contact-button:hover,
.reduced-motion .newsletter-input-wrapper button:hover {
    transform: none !important;
}

/* MINIMAL BLACK/WHITE COLOR FIXES - Override any remaining colors */
.about__content__full-box {
    background: var(--bg-primary) !important;
    color: var(--text-primary) !important;
}

/* Remove any accent color usage */
.theme-toggle:hover {
    background: transparent !important;
    opacity: 1 !important;
    transform: none !important;
}

/* Ensure pure black/white throughout */
:root {
    --accent: transparent !important;
    --accent-hover: transparent !important;
}

[data-theme="dark"] {
    --accent: transparent !important;
    --accent-hover: transparent !important;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --accent: transparent !important;
        --accent-hover: transparent !important;
    }
}

.hero__content h1, .hero__content p {
  margin: 0;
}

.hero__three-container {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

/* Mobile UI Refinements - Hide elements and reposition on mobile */
@media (max-width: 768px) {
    /* Hide 'saorín' text on mobile */
    main .meta.name {
        display: none !important;
    }
    
    /* Hide accessibility toggle button on mobile */
    .accessibility-toggle {
        display: none !important;
    }
    
    /* Ensure both Twitter and blog buttons are vertically aligned on mobile */
    main .meta.social,
    main .meta.right {
        bottom: 1.875rem !important;
    }
    
    /* Add padding to Twitter button to push it down slightly on mobile */
    main .meta.social {
        padding-top: 1rem;
    }
    
    /* Reposition blog button (meta.right) to the far right on mobile */
    main .meta.right {
        right: 1.25rem !important;
        text-align: right;
        bottom: 2.5rem !important;
    }
    
    /* Ensure blog link has proper touch targets */
    main .meta.right ul li a {
        font-size: 0.9rem !important;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0.5rem;
    }
}

/* Ensure accessibility button is hidden on all mobile breakpoints */
@media (max-width: 992px) {
    .accessibility-toggle {
        display: none !important;
    }
}

/* Mobile theme toggle positioning */
@media (max-width: 768px) {
    .theme-toggle {
        top: 1.5rem;
        right: 1.5rem;
        width: 36px;
        height: 36px;
        z-index: 1001; /* Higher than other elements */
    }
}

/* Filter Selector - GRID Layout (Mobile-First) */
.work__content__box .filters {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem 1rem !important;
    margin-top: 2rem !important;
    padding: 0;
    list-style: none;
    width: 100% !important;
}

/* Tablet: 3 columns */
@media (min-width: 577px) and (max-width: 768px) {
    .work__content__box .filters {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

/* Desktop: FORCE 3 columns (max) */
@media (min-width: 769px) {
    .work__content__box .filters {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 0.75rem 1rem !important;
    }
}

.work__content__box .filters li {
    background: transparent !important;
    border: none !important;
    color: var(--text-primary) !important;
    font-family: "Karla", "Helvetica Neue", "Helvetica", sans-serif !important;
    font-weight: 700 !important;
    font-size: 0.9375rem !important;
    cursor: pointer;
    padding: 0.625rem 0.875rem !important;
    margin: 0 !important;
    opacity: 0.6 !important;
    transition: opacity 0.2s ease, background-color 0.2s ease, transform 0.2s ease !important;
    position: relative;
    display: flex !important;
    align-items: center;
    justify-content: center;
    text-align: center !important;
    min-height: 44px; /* Proper touch target */
    min-width: auto;
    line-height: 1.3 !important;
    border-radius: 6px;
    white-space: nowrap;
    overflow: visible !important;
    vertical-align: baseline !important;
}

/* REMOVED: Old desktop override - keeping grid layout on all sizes */

/* Remove old separator styling completely */
.work__content__box .filters li:after {
    display: none !important;
}

.work__content__box .filters li span {
    position: relative;
    display: inline-block;
    transition: none !important;
}

.work__content__box .filters li span:before {
    display: none !important;
}

/* Hover and focus states with lift effect */
.work__content__box .filters li:hover,
.work__content__box .filters li:focus {
    opacity: 1 !important;
    background-color: rgba(53, 53, 53, 0.08) !important;
    transform: translateY(-2px);
    outline: none;
}

/* Dark mode styles for grid filters */
[data-theme="dark"] .work__content__box .filters li {
    color: var(--text-primary) !important;
}

[data-theme="dark"] .work__content__box .filters li:hover,
[data-theme="dark"] .work__content__box .filters li:focus {
    background-color: rgba(217, 225, 233, 0.1) !important;
}

[data-theme="dark"] .work__content__box .filters li.is-checked {
    background: rgba(217, 225, 233, 0.15) !important;
}

[data-theme="dark"] .work__content__box .filters li.is-checked::after {
    background: var(--text-primary) !important;
}

.work__content__box .filters li.is-checked {
    opacity: 1 !important;
    color: var(--text-primary) !important;
    background-color: rgba(53, 53, 53, 0.12) !important;
    font-weight: 800 !important;
}

/* Dark mode active state */
[data-theme="dark"] .work__content__box .filters li.is-checked {
    background-color: rgba(217, 225, 233, 0.18) !important;
}

/* Active underline indicator for all screen sizes */
.work__content__box .filters li.is-checked::after {
    content: '';
    position: absolute;
    bottom: 0.375rem;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 2px;
    background: var(--text-primary);
    opacity: 0.9;
}

.work__content__box .filters li:focus-visible {
    outline: 2px solid var(--text-primary);
    outline-offset: 2px;
}

/* Staggered filter animation on section load */
.work.active-screen .filters li {
    animation: filterFadeIn 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.work.active-screen .filters li:nth-child(1) { animation-delay: 0.05s; }
.work.active-screen .filters li:nth-child(2) { animation-delay: 0.1s; }
.work.active-screen .filters li:nth-child(3) { animation-delay: 0.15s; }
.work.active-screen .filters li:nth-child(4) { animation-delay: 0.2s; }
.work.active-screen .filters li:nth-child(5) { animation-delay: 0.25s; }
.work.active-screen .filters li:nth-child(6) { animation-delay: 0.3s; }
.work.active-screen .filters li:nth-child(7) { animation-delay: 0.35s; }
.work.active-screen .filters li:nth-child(8) { animation-delay: 0.4s; }
.work.active-screen .filters li:nth-child(9) { animation-delay: 0.45s; }

/* Simple fade-in animation to avoid positioning conflicts */
@keyframes filterFadeIn {
    from {
        opacity: 0;
        transform: translateY(4px);
    }
    to {
        opacity: 0.6;
        transform: translateY(0);
    }
}

/* FILTER SELECTOR - GRID LAYOUT (Higher Specificity) */
.work .work__content .work__content__box .filters {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem 1rem !important;
    margin: 2rem 0 0 !important;
    padding: 0 !important;
    list-style: none !important;
    width: 100% !important;
}

/* Tablet: 3 columns */
@media (min-width: 577px) and (max-width: 768px) {
    .work .work__content .work__content__box .filters {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

/* Desktop: FORCE 3 columns (max) */
@media (min-width: 769px) {
    .work .work__content .work__content__box .filters {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 0.75rem 1rem !important;
    }
}

.work .work__content .work__content__box .filters li {
    background: transparent !important;
    border: none !important;
    color: var(--text-primary) !important;
    font-family: "Karla", "Helvetica Neue", "Helvetica", sans-serif !important;
    font-weight: 700 !important;
    font-size: 0.9375rem !important;
    cursor: pointer !important;
    padding: 0.625rem 0.875rem !important;
    margin: 0 !important;
    opacity: 0.6 !important;
    transition: opacity 0.2s ease, background-color 0.2s ease, transform 0.2s ease !important;
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    min-height: 44px !important;
    min-width: auto !important;
    line-height: 1.3 !important;
    border-radius: 6px !important;
    white-space: nowrap !important;
    overflow: visible !important;
    vertical-align: baseline !important;
}

/* Mobile: slightly smaller */
@media (max-width: 576px) {
    .work .work__content .work__content__box .filters li {
        font-size: 0.8125rem !important;
        padding: 0.5rem 0.625rem !important;
    }
}

/* COMPLETELY remove old separator styling */
.work .work__content .work__content__box .filters li:after {
    display: none !important;
    content: none !important;
}

.work .work__content .work__content__box .filters li span {
    position: relative !important;
    display: inline-block !important;
    transition: none !important;
    transform: none !important; /* Prevent transform conflicts */
}

.work .work__content .work__content__box .filters li span:before {
    display: none !important;
    content: none !important;
}

/* Hover and focus states with lift effect for grid layout */
.work .work__content .work__content__box .filters li:hover,
.work .work__content .work__content__box .filters li:focus {
    opacity: 1 !important;
    background-color: rgba(53, 53, 53, 0.08) !important;
    transform: translateY(-2px) !important;
    outline: none !important;
}

/* Dark mode hover */
[data-theme="dark"] .work .work__content .work__content__box .filters li:hover,
[data-theme="dark"] .work .work__content .work__content__box .filters li:focus {
    background-color: rgba(217, 225, 233, 0.1) !important;
}

.work .work__content .work__content__box .filters li.is-checked {
    opacity: 1 !important;
    color: var(--text-primary) !important;
    background-color: rgba(53, 53, 53, 0.12) !important;
    font-weight: 800 !important;
}

/* Dark mode active state */
[data-theme="dark"] .work .work__content .work__content__box .filters li.is-checked {
    background-color: rgba(217, 225, 233, 0.18) !important;
}

/* Active underline indicator for grid layout */
.work .work__content .work__content__box .filters li.is-checked::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0.375rem !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 50% !important;
    height: 2px !important;
    background: var(--text-primary) !important;
    opacity: 0.9 !important;
    display: block !important;
}

[data-theme="dark"] .work .work__content .work__content__box .filters li.is-checked::after {
    background: var(--text-primary) !important;
}

.work .work__content .work__content__box .filters li:focus-visible {
    outline: 2px solid var(--text-primary) !important;
    outline-offset: 2px !important;
}

/* Enhanced touch targets for mobile */
@media (max-width: 767px) {
    .work .work__content .work__content__box .filters li {
        min-height: 48px !important;
        padding: 0.75rem 1rem !important;
        margin: 0.25rem !important;
    }
}

/* Staggered filter animation - simplified to avoid conflicts */
.work.active-screen .work__content .work__content__box .filters li {
    animation: filterFadeInSafe 0.4s ease forwards !important;
}

.work.active-screen .work__content .work__content__box .filters li:nth-child(1) { animation-delay: 0.05s !important; }
.work.active-screen .work__content .work__content__box .filters li:nth-child(2) { animation-delay: 0.1s !important; }
.work.active-screen .work__content .work__content__box .filters li:nth-child(3) { animation-delay: 0.15s !important; }
.work.active-screen .work__content .work__content__box .filters li:nth-child(4) { animation-delay: 0.2s !important; }
.work.active-screen .work__content .work__content__box .filters li:nth-child(5) { animation-delay: 0.25s !important; }
.work.active-screen .work__content .work__content__box .filters li:nth-child(6) { animation-delay: 0.3s !important; }
.work.active-screen .work__content .work__content__box .filters li:nth-child(7) { animation-delay: 0.35s !important; }
.work.active-screen .work__content .work__content__box .filters li:nth-child(8) { animation-delay: 0.4s !important; }
.work.active-screen .work__content .work__content__box .filters li:nth-child(9) { animation-delay: 0.45s !important; }

/* Safe fade-in animation - no transforms to avoid positioning conflicts */
@keyframes filterFadeInSafe {
    from {
        opacity: 0;
    }
    to {
        opacity: 0.6;
    }
}

/* High contrast and reduced motion - override everything */
.high-contrast-mode .work .work__content .work__content__box .filters li {
    opacity: 1 !important;
    font-weight: 400 !important;
}

@media (prefers-reduced-motion: reduce) {
    .work .work__content .work__content__box .filters li {
        transition: opacity 0.1s ease !important;
        animation: none !important;
    }
    
    .work.active-screen .work__content .work__content__box .filters li {
        animation: none !important;
    }
}

.reduced-motion .work .work__content .work__content__box .filters li {
    transition: opacity 0.1s ease !important;
    animation: none !important;
}

.reduced-motion .work.active-screen .work__content .work__content__box .filters li {
    animation: none !important;
}
.image-placeholder { display: none !important; opacity: 0 !important; visibility: hidden !important; }
