@charset "UTF-8";

/* Typography */

@font-face {
  font-family: "maaxbold";
  src:
    url("../fonts/sans-bold-webfont.woff2") format("woff2"),
    url("../fonts/sans-bold-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "maaxitalic";
  src:
    url("../fonts/sans-italic-webfont.woff2") format("woff2"),
    url("../fonts/sans-italic-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "maaxmedium";
  src:
    url("../fonts/sans-medium-webfont.woff2") format("woff2"),
    url("../fonts/sans-medium-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "maaxregular";
  src:
    url("../fonts/sans-regular-webfont.woff2") format("woff2"),
    url("../fonts/sans-regular-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

body {
  font-family: "maaxregular";
}

/* global */

body,
html,
.wrapper {
  height: 100%;
  width: 100%;
  margin: 0;
}

.main {
  width: 100%;
  height: -webkit-calc(100% - 220px);
  height: 100%;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

* {
  outline: none !important;
}

/* header */

.header {
  position: fixed !important;
  top: 40px !important;
  left: 40px !important;
  right: 40px !important;
  z-index: 999999 !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  color: #000;
  pointer-events: none !important;
  width: calc(100% - 80px) !important;
}

.header > * {
  pointer-events: auto !important;
  position: relative;
  z-index: 9999999 !important;
}

.single-post .header {
  position: fixed;
  color: #fff;
}

#post .header {
  display: none;
}

.header.white {
  color: #fff;
}

.header .logo {
  font-family: "maaxbold";
  font-size: 30px;
  display: inline-block;
  text-decoration: none;
  transition: all ease-in-out 0.3s;
  margin-left: -2px;
  line-height: 29px;
}

.postopen .header .logo {
  display: none;
}

/* Toggle Styling */
.view-toggle-container {
  padding-top: 8px;
}

.view-toggle {
  font-size: 18px;
  text-decoration: none;
  font-family: "maaxregular";
  cursor: pointer;
  transition: opacity 0.2s;
}

.view-toggle:hover {
  opacity: 0.5;
}

.postopen .view-toggle-container {
  display: none;
}

.page-id-49 .header {
  color: #fff;
}

/* footer */

.footer {
  position: fixed !important;
  bottom: 40px !important;
  left: 40px !important;
  right: 40px !important;
  top: auto !important;
  z-index: 999999 !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-end !important;
  pointer-events: none !important;
  width: calc(100% - 80px) !important;
}

.footer > * {
  pointer-events: auto !important;
  position: relative;
  z-index: 9999999 !important;
}

.footer a {
  font-family: "maaxregular";
  text-decoration: none;
  margin-right: 20px;
}

.footer .social,
.footer .about-footer {
  padding-left: 0 !important;
  margin: 0 !important;
}

.footer .about-footer a {
  margin-right: 0 !important;
}

/* slides */

.swiper-container {
  height: 560px;
  position: absolute;
  top: 50%;
  margin-top: -280px;
  width: -webkit-calc(100% - 40px);
  width: -moz-calc(100% - 40px);
  width: calc(100% - 40px);
  margin-left: 40px;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  width: 60% !important;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
  transition: all ease-in-out 0.2s;
  padding: 0 30px;
  cursor: pointer;
  margin-top: 32px;
}

.swiper-slide .year {
  color: #000;
  height: 20px;
  font-size: 12px;
  margin: 0 auto 100px 0px;
  font-family: "maaxregular";
  position: relative;
  transform: rotate(-90deg);
  display: inline-block;
}

.swiper-slide .image-wrapper,
.image {
  width: 100%;
  height: 100%;
}

.swiper-slide .image-wrapper {
  background: #fff;
  overflow: hidden;
  transition: all ease-in-out 0.6s;
}

.swiper-slide .image {
  opacity: 0.4;
  transition: all ease-in-out 0.8s;
}

.swiper-slide:hover {
  opacity: 0.8;
  transition: all ease-in-out 0.2s;
}

.swiper-slide-active:hover {
  opacity: 1;
}

.caption {
  position: absolute;
  color: #000;
  left: 0;
  bottom: 40px;
  text-align: left;
}

.caption h1 {
  font-size: 120px;
  margin: 0;
  letter-spacing: 2px;
  margin-left: -4px;
  line-height: 110px;
  transition: all ease-in-out 0.2s;
}

.swiper-slide:hover .caption h1 {
  -webkit-text-stroke: 0.001em black;
  color: transparent;
  transition: all ease-in-out 0.2s;
}

.caption h5 {
  margin: 0;
  position: relative;
  display: inline-block;
  font-family: "maaxregular";
}

.swiper-slide-active .caption h5:after {
  position: absolute;
  right: -120%;
  content: "Explore";
  height: 20px;
  width: 100%;
  padding-left: 10px;
  transition: all ease-in-out 0.3s;
  opacity: 0;
}

.swiper-slide-active .caption h5 span {
  transition: all ease-in-out 0.3s;
}

.swiper-slide-active:hover .caption h5 span {
  opacity: 0;
  transition: all ease-in-out 0.3s;
}

.swiper-slide-active:hover .caption h5:after {
  right: 0;
  opacity: 1;
  transition: all ease-in-out 0.3s;
}

/* --- GRID MODE OVERRIDES --- */

/* 1. Unlock document scrolling */
html.grid-active,
body.grid-active {
  overflow-y: auto !important;
  height: auto !important;
}

body.grid-active .main,
body.grid-active .wrapper {
  height: auto !important;
  min-height: 100% !important;
  overflow: visible !important;
}

/* 2. Reset Container */
.grid-mode .swiper-container {
  height: auto !important;
  position: relative !important;
  top: 0 !important;
  margin-top: 100px !important;
  margin-bottom: 0 !important;
  padding-bottom: 120px !important;
  width: calc(100% - 80px) !important;
  overflow: visible !important;
}

.grid-mode .swiper-wrapper {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)) !important;
  gap: 40px !important; /* MATCHED VERTICAL AND HORIZONTAL GAP */
  transform: none !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* 3. Setup slide as Flexbox to align content Left */
.grid-mode .swiper-slide {
  width: 100% !important;
  margin-top: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  text-align: left !important;
  position: relative !important;
}

/* Order 1: Image (Uniform Landscape) */
.grid-mode .swiper-slide .image-wrapper {
  order: 1 !important;
  width: 100% !important;
  aspect-ratio: 3 / 2 !important;
  height: auto !important;
  transform: none !important;
  background: #f3f3f3 !important;
}

.grid-mode .swiper-slide .image {
  opacity: 1 !important;
}

/* Overlay Logos (Top Right) - UPDATED FOR INDIVIDUAL BOXES */
.grid-mode .logos {
  display: flex !important;
  position: absolute !important;
  top: 16px !important;
  right: 16px !important;
  background: transparent !important; /* Removed big white bar */
  padding: 0 !important;
  margin: 0 !important;
  gap: 8px !important; /* Spacing between individual logos */
  align-items: center !important;
  z-index: 10 !important;
  box-shadow: none !important;
}

.grid-mode .logos a,
.grid-mode .logos > img.logo {
  background: #fff !important; /* Individual white backgrounds */
  padding: 8px 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 0 !important; /* Removed border radius */
}

.grid-mode .logos a img.logo {
  height: 20px !important;
  width: auto !important;
  margin: 0 !important;
}

.grid-mode .logos > img.logo {
  height: 20px !important;
  width: auto !important;
  margin: 0 !important;
  box-sizing: content-box !important;
}

/* Order 3: Text Caption Area */
.grid-mode .caption {
  order: 3 !important;
  position: relative !important;
  bottom: auto !important;
  margin-top: 16px !important;
  transform: none !important;
  text-align: left !important;
  width: 100% !important;
}

/* Tighten Typography - GAP REDUCED */
.grid-mode .swiper-slide .year {
  transform: none !important;
  margin: 0 !important; /* Gap reduced to 0 */
  display: block !important;
  color: #999 !important;
  font-size: 11px !important;
  letter-spacing: 1px !important;
  line-height: 1 !important;
}

.grid-mode .caption h1 {
  font-size: 24px !important;
  line-height: 1.2 !important;
  letter-spacing: -0.5px !important;
  -webkit-text-stroke: 0 !important;
  color: #000 !important;
  margin: 2px 0 4px 0 !important; /* Tight gap above and below */
  font-family: "maaxmedium", sans-serif !important;
}

.grid-mode .swiper-slide:hover .caption h1 {
  color: #000 !important;
  -webkit-text-stroke: 0 !important;
}

.grid-mode .caption h5 {
  font-size: 14px !important;
  color: #666 !important;
  font-weight: normal !important;
  margin: 0 !important;
  display: block !important;
  position: relative !important;
}

/* 4. Fix Hover Effect for ALL Grid Items */
.grid-mode .caption h5 span {
  display: inline-block !important;
  transition: all ease-in-out 0.3s !important;
}

.grid-mode .caption h5:after {
  content: "Explore" !important;
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  right: auto !important;
  padding: 0 !important;
  opacity: 0 !important;
  transform: translateX(-10px) !important;
  transition: all ease-in-out 0.3s !important;
  color: #000 !important;
}

.grid-mode .swiper-slide:hover .caption h5 span {
  opacity: 0 !important;
  transform: translateX(10px) !important;
}

.grid-mode .swiper-slide:hover .caption h5:after {
  opacity: 1 !important;
  transform: translateX(0) !important;
}

/* --- single --- */

#post.active-post {
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  z-index: 9;
  background: #fff;
  overflow: auto;
  transition: all ease-in-out 0.7s;
}

#header {
  background: #000;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
  position: relative;
}

#header * {
  transition: all ease-in-out 0.7s;
}

#header p {
  font-size: 16px;
  font-family: "maaxregular";
  opacity: 0.8;
  font-weight: 100 !important;
}

#header .image {
  width: 100%;
  margin: 0 auto;
  opacity: 0.5;
}

.active-header #header {
  height: 100%;
  transition: all ease-in-out 0.7s;
}

.shrink-header #header,
body.single-post #header,
body.page-id-49 #header {
  height: 85%;
  transition: all ease-in-out 0.7s;
}

#header .caption {
  color: #fff;
  left: 40px;
  right: 40px;
}

.close {
  position: absolute;
  top: 0px;
  left: 0px;
  font-size: 18px;
  transition: all ease-in-out 0.3s;
  font-family: "maaxregular";
  cursor: pointer;
}

.close span {
  font-size: 10px;
  margin-right: 3px;
  transition: all ease-in-out 0.3s;
}

.meta {
  padding: 122px 0;
  background: #f3f3f3;
  color: #000;
}

.meta .container {
  display: flex;
}

.meta .col {
  width: 25%;
}

.meta .col-md-6 {
  width: 50%;
}

.meta .col ul {
  list-style: none;
  padding: 0;
}

.meta .col ul li,
.meta .col h2 {
  font-size: 18px;
  line-height: 25px;
}

.meta .col ul li a {
  text-decoration: none;
}

.resume {
  padding: 100px 0 140px;
  background: #f3f3f3;
  color: #000;
  text-align: center;
  font-size: 40px;
  font-family: "maaxmedium";
}

.resume a {
  text-decoration: none;
}

.resume a span {
  background: #fff;
  color: #000;
  padding: 20px;
  width: 20px;
  height: 20px;
  font-size: 18px;
  border-radius: 40px;
  vertical-align: top;
  display: inline-block;
  margin-top: -5px;
  transition: all ease-in-out 0.3s;
}

.resume a:hover span {
  background: #000;
  color: #fff;
  padding: 20px;
  width: 20px;
  height: 20px;
  font-size: 18px;
  border-radius: 40px;
  vertical-align: top;
  display: inline-block;
  margin-top: -5px;
  transition: all ease-in-out 0.3s;
}

.container {
  width: 1170px;
  margin: 0 auto;
}

.content {
  width: 1170px;
  padding: 80px 0;
}

.content h5 {
  font-family: "maaxregular";
  text-align: center;
  font-size: 18px;
  color: #797979;
  font-weight: 100;
}

.content h5 span {
  margin: 0 10px;
}

.content h1 {
  padding: 0 150px;
  font-size: 72px;
}

/* SINGLE POST BODY TEXT - SIZE REDUCED */
.content p,
.content ul {
  padding: 0 150px;
  color: #666;
  font-size: 16px; /* Scaled down to match footer */
  font-family: "maaxregular";
  line-height: 24px; /* Tighter line-height for the smaller text */
  font-weight: normal;
}

.content h2 {
  padding: 0 150px;
  color: #000;
  margin-top: 40px;
  font-size: 40px;
}

/* SINGLE POST H6 TEXT - SCALED DOWN AND TIGHTENED */
.content h6 {
  text-align: left;
  font-size: 16px; /* Scaled down significantly */
  position: relative;
  margin-bottom: 40px; /* Reduced from 90px */
  margin-top: 20px; /* Reduced from 40px */
  font-family: "maaxmedium";
  font-weight: normal;
  display: inline-block;
  line-height: 26px; /* Tighter line-height */
}

.content ul {
  list-style: none;
}

.content ul li {
  display: inline-block;
  width: -webkit-calc(50% - 20px);
  width: -moz-calc(50% - 20px);
  width: calc(50% - 80px);
  margin-right: 10px;
  border-bottom: 2px solid #000;
  vertical-align: top;
  margin-bottom: 20px;
  height: 40px;
  padding: 110px 20px 100px;
  transition: all ease-in-out 0.3s;
}

.content ul li a {
  text-decoration: none;
  color: #000;
  padding: 100px 0;
}

.content ul li:hover {
  background: #f9f9f9;
}

.meta .col ul li {
  display: block;
  margin-block-start: 0.83em;
  margin-block-end: 0.83em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  font-weight: bold;
  unicode-bidi: isolate;
}

.share {
  text-align: center;
  margin-top: 50px;
  display: block;
  font-family: "maaxbold";
}

.share span {
  width: 10px;
  height: 10px;
  display: inline-block;
  font-size: 11px;
  border: 1px solid #ddd;
  padding: 17px;
  vertical-align: middle;
  border-radius: 50px;
  transition: all ease-in-out 0.2s;
  margin-left: 10px;
}

.share span:hover {
  color: #fff;
  background: #000;
}

.btn {
  background: #000;
  padding: 13px 28px;
  color: #fff;
  border: none;
  font-size: 22px;
}

.btn a {
  text-decoration: none !important;
}

/* loading */

#loader {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
  background: #fff;
  z-index: 22;
  font-size: 44px;
  font-family: "maaxbold";
  opacity: 0;
  transition: all ease-in-out 0.7s;
}

#loader.active-loader {
  opacity: 1;
  transition: all ease-in-out 0.7s;
}

/* --- EMBEDS & IFRAMES (Instagram, YouTube, Video) --- */

/* Base rules for standard iframes and videos to match image width */
.content iframe,
.content .wp-video {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 600px;
  margin: 50px auto !important; /* Forces centering */
}

/* Special constraints specifically for Instagram so it stays centered but doesn't stretch and break */
.content .instagram-media,
.content iframe.instagram-media {
  display: block !important;
  width: 100% !important;
  min-width: 320px !important;
  max-width: 540px !important; /* Instagram's native max-width */
  margin: 50px auto !important; /* Forces centering */
}

/* Ensure native <video> elements fill their container properly */
.wp-video {
  width: 100% !important;
  height: auto !important;
}

.wp-video video {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  display: block !important;
  margin: 0 auto !important;
}

/* parallax */

/* SINGLE POST IMAGE CONTAINER - BORDER RADIUS REMOVED */
.wp-caption {
  width: 100% !important;
  height: auto;
  min-height: 600px;
  position: relative;
  overflow: hidden;
  font-size: 16px;
  margin-top: 100px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  border-radius: 0; /* Forced to 0 for sharp edges */
}

.wp-caption .size-full {
  width: 100vmax;
  z-index: -1;
  position: absolute;
  top: 0;
  left: 50%;
  height: auto;
  transform: translate(-50%, 0);
  pointer-events: none;
}

.wp-caption img {
  min-height: 100%;
  width: 100%;
}

/* cursor */

#assegai {
  display: block;
  content: "";
  width: 30px;
  height: 30px;
  margin-top: -16px;
  margin-left: -18px;
  border: 2px solid #000;
  border-radius: 50%;
  -webkit-transition: -webkit-transform 0.4s ease-out;
  -moz-transition: -moz-transform 0.4s ease-out;
  -o-transition: -o-transform 0.4s ease-out;
  transition: transform ease-in-out 0.4s;
  transition: border ease-in-out 0.4s;
  z-index: 9999999999999;
  pointer-events: none;
  opacity: 0.3;
}

#assegai.curshov {
  border-width: 5px;
  -ms-transform: scale(0.5);
  -webkit-transform: scale(0.2);
  transform: scale(0.5);
  opacity: 0.6;
  -webkit-transition: -webkit-transform 0.4s ease-out;
  -moz-transition: -moz-transform 0.4s ease-out;
  -o-transition: -o-transform 0.4s ease-out;
  transition: transform ease-in-out 0.4s;
  transition: border ease-in-out 0.4s;
}

#assegai.curslit {
  border-color: #fff;
}

#assegai.cursor-loader:before {
  content: "";
  display: block;
  width: 5px;
  height: 5px;
  background: #000;
  border-radius: 6px;
}

@-webkit-keyframes rotating {
  from {
    -webkit-transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(360deg);
  }
}

#assegai.cursor-loader {
  -webkit-animation: rotating 1s linear infinite;
  border: none;
  opacity: 1;
}

.logos {
  position: absolute;
  top: -32px;
  left: 16px;
  display: flex;
  gap: 24px;
  align-items: baseline;
}

.post-logos {
  display: flex;
  gap: 24px;
  align-items: baseline;
}

img.logo {
  height: 50px;
  width: auto;
}

/* Large Devices, Wide Screens */

@media only screen and (max-width: 1200px) {
  .swiper-container {
    width: 100%;
    height: 500px;
    position: absolute;
    top: 50%;
    margin-top: -250px;
  }
  .container {
    width: 960px;
  }
  .content p,
  .content h1,
  .content h2,
  .content ul {
    padding: 0 200px;
  }
  .wp-caption {
    width: 100% !important;
    min-height: 600px;
  }
}

/* Medium Devices, Desktops */

@media only screen and (max-width: 992px) {
  .swiper-container {
    width: -webkit-calc(100% - 40px);
    width: -moz-calc(100% - 40px);
    width: calc(100% - 40px);
    height: 500px;
    position: absolute;
    top: 50%;
    margin-top: -250px;
  }
  .grid-mode .swiper-wrapper {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
  }
  .container {
    width: 750px;
  }
  .content p,
  .content h1,
  .content h2,
  .content ul {
    padding: 0 100px;
  }
  .wp-caption {
    width: 100% !important;
    min-height: 400px;
  }
  .content iframe {
    height: 400px;
  }

  .logos img {
    height: 40px;
    width: auto;
  }
}

/* Small Devices, Tablets */

@media only screen and (max-width: 768px) {
  #assegai {
    display: none;
  }
  .container {
    width: 480px;
  }
  .caption h5 {
    margin: 0;
    position: relative;
    display: inline-block;
  }
  .caption h1 {
    font-size: 32px;
    margin: 0;
    letter-spacing: 0px;
    line-height: inherit;
  }

  .content iframe {
    height: 300px !important;
    margin: 30px auto !important; /* Proper margin on mobile */
  }

  .content p,
  .content h1,
  .content h2,
  .content ul {
    padding: 0;
  }
  .content h1 {
    font-size: 50px;
  }
  .wp-caption {
    width: 100% !important;
    min-height: 300px;
  }
  .footer {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
  }
  .footer .social {
    padding-left: 0 !important;
    margin-bottom: 0 !important;
  }
  .footer .about-footer {
    padding-left: 0 !important;
  }
  .footer a {
    font-family: "maaxmedium";
    text-decoration: none;
    margin-right: 15px;
    margin-left: 0;
  }
  .swiper-slide {
    width: 80% !important;
  }
  .meta {
    padding: 50px 0;
    display: flex;
  }
  .meta .col {
    width: 50%;
  }

  .logos img {
    height: 32px;
    width: auto;
  }
}

/* Extra Small Devices, Phones */

@media only screen and (max-width: 480px) {
  .header {
    position: fixed !important;
    top: 40px !important;
    left: 40px !important;
    right: 40px !important;
    z-index: 999999 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    color: #000;
  }
  .view-toggle-container {
    padding-top: 0;
  }
  .container {
    width: auto;
    padding: 0 20px;
  }
  .content {
    padding: 50px 20px;
  }
  .footer {
    width: auto !important;
    bottom: 20px !important;
    left: 20px !important;
    right: 20px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
  }
  .footer .social,
  .footer .about-footer {
    padding-left: 0px !important;
  }
  .footer a {
    font-family: "maaxmedium";
    font-size: 12px;
    text-decoration: none;
    margin-right: 10px;
    display: inline-block;
    text-align: left;
  }
  .grid-mode .swiper-wrapper {
    grid-template-columns: 1fr !important;
  }
  .meta {
    padding: 50px 0;
    display: block;
  }
  .meta .col {
    width: 100%;
  }
  .content ul li {
    display: inline-block;
    width: 100%;
    margin-right: 10px;
    border-bottom: 2px solid #000;
    vertical-align: top;
    margin-bottom: 0;
    height: auto;
    padding: 50px 0;
  }
  .wp-caption img {
    min-height: auto;
    width: 100%;
  }
}
