@font-face {
      font-family: 'Norman';
      src: url('../fonts/Norman-Bold.otf') format('opentype');
      font-weight: bold;
    }

    * { box-sizing: border-box; }
    body { 
      font-family: 'Outfit', sans-serif; 
      overflow-x: hidden; 
      background: #000;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }
    .kopac-font { font-family: 'Norman', sans-serif; }

    /* HERO */
    .outline-text {
      font-size: clamp(3rem, 12vw, 10rem);
      line-height: 1;
      color: transparent;
      -webkit-text-stroke: 1px rgba(255,255,255,0.75);
      text-stroke: 1px rgba(255,255,255,0.75);
      position: absolute;
      white-space: nowrap;
      pointer-events: none;
      z-index: 9;
    }

    .outline-left  { left: -40%; top: 50%; transform: translateY(-50%); }
    .outline-right { right: -40%; top: 50%; transform: translateY(-50%); }
    .hero-text { font-size: clamp(2.5rem,8vw,10rem); line-height:1; z-index:10; position:relative; }

    .hero-swiper .swiper-slide { height:100vh; background-size:cover; background-position:right; position:relative; }
    .hero-slide-caption {
      position: absolute;
      right: 32px;
      bottom: 28px;
      z-index: 2;
      max-width: min(420px, calc(100vw - 48px));
      padding: 10px 14px;
      color: #fff;
      font-size: 13px;
      line-height: 1.35;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      background: rgba(0, 0, 0, 0.45);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      border: 1px solid rgba(255, 255, 255, 0.18);
    }
    .hero-overlay { position:absolute; inset:0; background:rgba(0,0,0,0.55); z-index:5; }
    .hero-content { position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); text-align:center; z-index:10; width:100%; }
    .hero-description { position:absolute; bottom:10%; left:10%; max-width:550px; z-index:15; }

    @media (max-width: 768px) {
      .hero-slide-caption {
        right: 16px;
        bottom: 16px;
        max-width: calc(100vw - 32px);
        padding: 8px 12px;
        font-size: 11px;
      }
    }

    /* BURGER ICON */
    .navIcon {
      position: fixed;
      right: 25px;
      top: 22.5px;
      cursor: pointer;
      z-index: 1000;
      padding: 10px 12px;
      border-radius: 0;
      background: rgba(248, 243, 235, 0.72);
      border: 1px solid rgba(197, 165, 90, 0.34);
      box-shadow: 0 10px 24px -18px rgba(32, 24, 18, 0.38);
      backdrop-filter: blur(6px);
      -webkit-backdrop-filter: blur(6px);
      transition: transform 0.22s ease, background-color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
      mix-blend-mode: normal !important;
    }
    .navIcon:hover {
      transform: translateY(-1px);
      background: rgba(248, 243, 235, 0.86);
      border-color: rgba(197, 165, 90, 0.5);
      box-shadow: 0 14px 28px -18px rgba(32, 24, 18, 0.44);
    }
    .icon-line1, .icon-line2, .icon-line3 { 
      width: 25px; 
      height: 1px;
      background: #151515;
      margin: 6px 0;
      transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    }
    .navIcon.open .icon-line1,
    .navIcon.open .icon-line2,
    .navIcon.open .icon-line3 { background: #000 !important; }
    .navIcon.open .icon-line1 { transform: rotate(-45deg) translate(-5px, 5px); }
    .navIcon.open .icon-line2 { opacity: 0; width: 0; }
    .navIcon.open .icon-line3 { transform: rotate(45deg) translate(-5px, -5px); }
    .navIcon.open.mix-blend-difference { mix-blend-mode: normal !important; }
    .navIcon.open {
      background: rgba(248, 243, 235, 0.92);
      border-color: rgba(197, 165, 90, 0.4);
    }

    /* MULTI-LAYER MENU */
    .menu-layers {
      position: fixed;
      inset: 0;
      width: 100%;
      height: 100%;
      z-index: 200;
      overflow: hidden;
      pointer-events: none;
    }

    .menu-layers .layer {
      position: absolute;
      inset: 0;
      transform: translateX(100%);
      transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
    }

    .layer1 { background: #1a1a1a; z-index: 1; }
    .layer2 { background: #555; z-index: 2; }
    .layer3 { background: #fff; z-index: 3; }
    .layer4 {
      background: #fff;
      z-index: 4;
      display: flex;
      align-items: stretch;
      justify-content: center;
    }

    .menu-layers.active .layer1 { transform: translateX(0); transition-delay: 0s; }
    .menu-layers.active .layer2 { transform: translateX(0); transition-delay: 0.10s; }
    .menu-layers.active .layer3 { transform: translateX(0); transition-delay: 0.15s; }
    .menu-layers.active .layer4 { transform: translateX(0); transition-delay: 0.20s; }

    .menu-layers.closing .layer1 { transform: translateX(100%); transition-delay: 0.20s; }
    .menu-layers.closing .layer2 { transform: translateX(100%); transition-delay: 0.15s; }
    .menu-layers.closing .layer3 { transform: translateX(100%); transition-delay: 0.10s; }
    .menu-layers.closing .layer4 { transform: translateX(100%); transition-delay: 0s; }

    /* MENU CONTENT */
    .menu-content {
      display: flex;
      width: 100%;
      height: 100%;
      color: #000;
      pointer-events: auto;
    }

    .menu-left {
      flex: 1;
      background: #fec431;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      padding: 3rem 3rem 2rem 3rem;
      border-right: 1px solid #e5e5e5;
      position: relative;
    }

    .menu-logo {
    width: 12rem;
      position: absolute;
      top: 1.5rem;
      left: 2rem;
    }

    .menu-left-center {
      flex: 1;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: flex-start;
      text-align: left;
      padding-left: 1rem;
      margin-top: 3rem;
    }

    .menu-left-center h2 {
      font-family: 'Norman', sans-serif;
      font-size: 2rem;
      margin-bottom: 0.6rem;
      color: #000;
    }

    .menu-left-center p {
      font-size: 0.95rem;
      color: #555;
      line-height: 1.6;
      margin-bottom: 1rem;
      max-width: 280px;
    }

    .menu-left-center a {
      color: #000;
      font-weight: 500;
      text-decoration: underline;
      transition: opacity 0.3s ease;
    }
    .menu-left-center a:hover { opacity: 0.7; }

    .menu-left-bottom {
      font-size: 0.9rem;
      color: #444;
    }

    .menu-social {
      display: flex;
      gap: 1rem;
      margin-bottom: 0.5rem;
    }
    .menu-social a { 
      font-weight: 500; 
      color: #000; 
      transition: opacity 0.3s ease;
    }
    .menu-social a:hover { opacity: 0.6; }

    /* RIGHT MENU LINKS */
.menu-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 6rem 4rem;
  overflow: hidden;

  /* Prevent subpixel jitter */
  backface-visibility: hidden;
  transform: translateZ(0);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.link-wrapper {
  overflow: hidden;
  height: fit-content;
  transition: overflow 0.3s ease;
  contain: layout paint style;
}

.link-wrapper:hover {
  overflow: visible;
  z-index: 5;
}

.menu-right a {
  display: inline-block;
  font-family: 'Norman', sans-serif;
  font-size: clamp(2rem, 6vw, 5rem);
  font-weight: bold;
  transform: translateY(120%);
  opacity: 0;
  transition: transform 1.1s cubic-bezier(0.19, 1, 0.22, 1),
              opacity 0.6s ease,
              color 0.4s ease;
  will-change: transform;
  transform-origin: center bottom;
  position: relative;
  overflow: hidden;
  line-height: 1em;
  white-space: nowrap;
  color: #000;
}

.menu-layers.active .layer4 .menu-right a {
  transform: translateY(0);
  opacity: 1;
}

/* Character containers */
.menu-right .char {
  display: inline-block;
  position: relative;
  overflow: hidden;
  vertical-align: top;
  height: 1em;

  /* Prevent flicker */
  backface-visibility: hidden;
  transform: translateZ(0);
}

.menu-right .char span {
  display: block;
  line-height: 1em;
  transform: translateY(0);
  will-change: transform;
}

/* Bottom layer starts below */
.menu-right .char span:nth-child(2) {
  position: absolute;
  left: 0;
  top: 100%;
  transform: translateY(0);
    color: #fec431;
}

/* Entrance delays */
.menu-layers.active .layer4 .menu-right .link-wrapper:nth-child(1) a { transition-delay: 0.3s; }
.menu-layers.active .layer4 .menu-right .link-wrapper:nth-child(2) a { transition-delay: 0.6s; }
.menu-layers.active .layer4 .menu-right .link-wrapper:nth-child(3) a { transition-delay: 0.9s; }
.menu-layers.active .layer4 .menu-right .link-wrapper:nth-child(4) a { transition-delay: 1.2s; }
.menu-layers.active .layer4 .menu-right .link-wrapper:nth-child(5) a { transition-delay: 1.5s; }
.menu-layers.active .layer4 .menu-right .link-wrapper:nth-child(6) a { transition-delay: 1.8s; }
.menu-layers.active .layer4 .menu-right .link-wrapper:nth-child(7) a { transition-delay: 2.1s; }

.menu-layers.closing .layer4 .menu-right a {
  transform: translateY(120%);
  opacity: 0;
  transition-delay: 0s;
}


    /* LANGUAGE SELECTOR */
    .menu-languages {
      margin-top: 1.5rem;
      font-family: 'Outfit', sans-serif;
    }

    .menu-languages h4 {
      font-size: 0.75rem;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      margin-bottom: 0.5rem;
      color: #222;
      opacity: 0.7;
    }

    .lang-options a {
      position: relative;
      font-size: 0.95rem;
      color: #000;
      text-decoration: none;
      opacity: 0.7;
      transition: opacity 0.3s ease, color 0.3s ease;
    }

    .lang-options a::after {
      content: "";
      position: absolute;
      bottom: -2px;
      left: 0;
      width: 0%;
      height: 1px;
      background: #000;
      transition: width 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    }

    .lang-options a:hover::after { width: 100%; }
    .lang-options a:hover { opacity: 1; color: #000; }
    .lang-options a.active { opacity: 1; font-weight: 600; color: #000; }
    .lang-options a.active::after { width: 100%; }

    /* HERO LANGUAGE SELECTOR */
    .hero-lang {
      font-family: 'Outfit', sans-serif;
      letter-spacing: 0.15em;
      background-color: #fff;
      padding: 20px;
      color: #000;
      mix-blend-mode: normal;
    }

    .hero-lang a {
      position: relative;
      color: #000;
      opacity: 0.7;
      text-decoration: none;
      transition: opacity 0.3s ease, color 0.3s ease;
    }

    .hero-lang a::after {
      content: "";
      position: absolute;
      bottom: -3px;
      left: 0;
      width: 0%;
      height: 1px;
      background: #000;
      transition: width 0.4s ease;
    }

    .hero-lang a:hover { opacity: 1; }
    .hero-lang a:hover::after { width: 100%; }
    .hero-lang a.active { opacity: 1; font-weight: 600; }
    .hero-lang a.active::after { width: 100%; }

    /* QUOTES SLIDER */
    .quotes-slider {
      display: flex;
      align-items: stretch;
    }

    .quotes-slider .swiper-wrapper {
      height: 100% !important;
    }

    .quotes-slider .swiper-slide {
      display: flex !important;
      align-items: center;
      justify-content: center;
      height: auto !important;
    }

    .quotes-slider .swiper-slide > div {
      width: 100%;
    }

    .quote-slide {
      display: flex;
      justify-content: center;
      min-height: 100%;
    }

    .quote-slide-inner {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      width: 100%;
      text-align: center;
    }

    .quote-divider {
      display: block;
      width: 2.5rem;
      height: 2px;
      flex: 0 0 auto;
      margin: 0 auto 0.75rem;
      background: #fec431;
      opacity: 0.7;
    }

    /* WORKS SLIDER */
    .works-slider {
      width: 100vw;
      position: relative;
      overflow: hidden;
    }

    .work-item {
      position: relative;
      height: 22rem;
      display: inline-block;
    }

    .work-img {
      height: 100%;
      width: auto;
      max-width: none;
      object-fit: cover;
      display: block;
      transition: transform 0.6s cubic-bezier(0.19,1,0.22,1);
    }

    .work-item:hover .work-img {
      transform: scale(1.05);
    }

    .see-all-underlink {
      position: relative;
      display: inline-block;
      width: auto;
      font-family: 'Outfit', sans-serif;
      font-weight: 400;
      font-size: 0.9rem;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: #3a2d1f;
      text-decoration: none;
      overflow: hidden;
      transition: color 0.4s ease;
    }

    .see-all-underlink::after {
      content: "";
      position: absolute;
      bottom: 0;
      left: 0;
      height: 1px;
      width: 100%;
      background-color: rgba(58, 45, 31, 0.5);
      transform: scaleX(0);
      transform-origin: left;
      transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
    }

    .see-all-underlink:hover {
      color: #000;
    }

    .see-all-underlink:hover::after {
      transform: scaleX(1);
    }

    /* FILTER BUTTONS */
    .filter-btn-s {
      position: relative;
      background: transparent;
      border: 1px solid #d4d4d4;
      color: #1a1a1a;
      font-family: 'Outfit', sans-serif;
      text-transform: uppercase;
      font-size: 0.8rem;
      letter-spacing: 0.1em;
      padding: 0.6rem 1.4rem;
      transition: all 0.4s ease;
      overflow: hidden;
    }

    .filter-btn-s::after {
      content: "";
      position: absolute;
      inset: 0;
      background: #000;
      transform: scaleX(0);
      transform-origin: left;
      transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
      z-index: 0;
    }

    .filter-btn-s span {
      position: relative;
      z-index: 1;
      transition: color 0.3s ease;
    }

    .filter-btn-s:hover::after { transform: scaleX(1); }
    .filter-btn-s:hover span { color: #fff; }

    /* WORKS SLIDER */
    .works-swiper .swiper-slide {
      width: auto;
      padding: 0 8px;
    }

    .works-slider img {
      height: 350px;
      object-fit: cover;
      display: block;
    }

    .works-swiper-controls button {
      width: 42px;
      height: 42px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border: 1px solid #d9ccb2;
      background: #fff;
      color: #1a1a1a;
      transition: background-color 0.2s ease, opacity 0.2s ease;
    }

    .works-swiper-controls button:hover {
      background: #f6f0e5;
    }

    .works-swiper-controls button.swiper-button-disabled {
      opacity: 0.35;
      cursor: not-allowed;
    }

    /* SLIDER ARROW OVERLAY */
    .slider-arrow-overlay {
      position: absolute;
      top: 0;
      right: 0;
      height: 100%;
      width: 220px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      z-index: 10;
      overflow: hidden;
    }

    .slider-arrow-overlay::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(to left, rgba(0, 0, 0, 0.5), transparent);
      opacity: 0;
      transition: opacity 0.6s ease;
      pointer-events: none;
      z-index: 0;
    }

    .slider-arrow-overlay:hover::after {
      opacity: 1;
    }

    .slider-arrow-overlay .material-symbols-outlined {
      position: relative;
      font-size: 42px;
      color: #fff;
      opacity: 0.8;
      transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.5s ease;
      z-index: 2;
    }

    .slider-arrow-overlay:hover .material-symbols-outlined {
      transform: translateX(8px);
      opacity: 1;
    }

    .slider-arrow-overlay::before {
      content: '';
      position: absolute;
      top: 0;
      right: 0;
      width: 50%;
      height: 100%;
      background: linear-gradient(to left, rgba(255,255,255,0.12), transparent);
      opacity: 0;
      transform: translateX(100%);
      transition: opacity 0.6s ease, transform 1s ease;
      z-index: 1;
    }

    .slider-arrow-overlay:hover::before {
      opacity: 1;
      transform: translateX(0);
    }



/* SOCIAL ICONS */
    .social-icon {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 32px;
      height: 32px;
      border-radius: 50%;
      background: transparent;
      border: 1px solid currentColor;
      color: #1a1a1a;
      transition: all 0.3s ease;
    }
    .social-icon:hover {
      background: #1a1a1a;
      color: #fff;
      transform: translateY(-2px);
    }

    /* FORM STYLES */
    .form-label {
      display: block;
      font-size: 0.875rem;
      font-weight: 500;
      color: #1a1a1a;
      margin-bottom: 0.5rem;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }

    .form-input, .form-select, .form-textarea {
      width: 100%;
      padding: 0.75rem;
      border: 1px solid #e7dfd3;
      background: #fdfaf4;
      color: #1a1a1a;
      font-size: 0.95rem;
      font-family: 'Outfit', sans-serif;
      transition: all 0.3s ease;
    }

    .form-input:focus, .form-select:focus, .form-textarea:focus {
      outline: none;
      border-color: #fec431;
      background: #fff;
    }

    .form-textarea {
      resize: vertical;
      min-height: 150px;
    }

    .form-consent-wrap {
      padding-top: 0.15rem;
    }

    .form-consent {
      display: flex;
      align-items: flex-start;
      gap: 0.75rem;
      cursor: pointer;
      color: #4f4a3f;
      font-size: 0.9rem;
      line-height: 1.55;
    }

    .form-consent__input {
      position: absolute;
      opacity: 0;
      pointer-events: none;
    }

    .form-consent__box {
      width: 1.1rem;
      height: 1.1rem;
      border: 1px solid #cdbb97;
      background: #fdfaf4;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      margin-top: 0.2rem;
      transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    }

    .form-consent__box .material-symbols-outlined {
      font-size: 14px;
      line-height: 1;
      color: #1a1a1a;
      opacity: 0;
      transform: scale(0.75);
      transition: opacity 0.18s ease, transform 0.18s ease;
    }

    .form-consent__input:checked + .form-consent__box {
      background: #c5a55a;
      border-color: #b89449;
      box-shadow: 0 2px 8px rgba(197, 165, 90, 0.35);
    }

    .form-consent__input:checked + .form-consent__box .material-symbols-outlined {
      opacity: 1;
      transform: scale(1);
    }

    .form-consent__input:focus-visible + .form-consent__box {
      outline: 2px solid rgba(197, 165, 90, 0.45);
      outline-offset: 2px;
    }

    .form-consent__link {
      text-decoration: underline;
      color: #2f2a22;
      transition: color 0.2s ease;
    }

    .form-consent__link:hover {
      color: #1a1a1a;
    }

    .form-button {
      width: 100%;
      padding: 1rem;
      background: #c5a55a;
      color: #1a1a1a;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 1px;
      border: 1px solid #b89449;
      cursor: pointer;
      transition: all 0.3s ease;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.75rem;
      position: relative;
    }

    .form-button:hover {
      background: #b89449;
      color: #1a1a1a;
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(197, 165, 90, 0.35);
    }

    .form-button:disabled {
      cursor: wait;
      transform: none;
      box-shadow: none;
    }

    .form-button__spinner {
      width: 1rem;
      height: 1rem;
      border-radius: 9999px;
      border: 2px solid currentColor;
      border-right-color: transparent;
      display: none;
      flex-shrink: 0;
      animation: form-spin 0.8s linear infinite;
    }

    .form-button--submitting .form-button__spinner {
      display: inline-block;
    }

    .form-status {
      font-size: 0.9rem;
      line-height: 1.6;
      color: #6b655a;
      transition: opacity 0.2s ease;
    }

    .form-message {
      display: flex;
      align-items: flex-start;
      gap: 0.9rem;
      padding: 1rem 1.1rem;
      border: 1px solid transparent;
      animation: form-message-in 0.25s ease;
    }

    .form-message__icon {
      width: 1.8rem;
      height: 1.8rem;
      border-radius: 9999px;
      flex-shrink: 0;
      position: relative;
      margin-top: 0.1rem;
    }

    .form-message__title {
      font-size: 0.82rem;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      font-weight: 600;
      margin-bottom: 0.2rem;
    }

    .form-message__text {
      font-size: 0.95rem;
      line-height: 1.6;
    }

    .form-message--success {
      background: #edf8ef;
      border-color: #bfdcc6;
      color: #204d2d;
    }

    .form-message--success .form-message__icon {
      background: #2f8f49;
    }

    .form-message--success .form-message__icon::before {
      content: "";
      position: absolute;
      left: 0.43rem;
      top: 0.48rem;
      width: 0.85rem;
      height: 0.45rem;
      border-left: 2px solid #fff;
      border-bottom: 2px solid #fff;
      transform: rotate(-45deg);
    }

    .form-message--error {
      background: #fff4f2;
      border-color: #e7c0b8;
      color: #8a2e22;
    }

    .form-message--error .form-message__icon {
      background: #c95b47;
    }

    .form-message--error .form-message__icon::before,
    .form-message--error .form-message__icon::after {
      content: "";
      position: absolute;
      left: 0.85rem;
      top: 0.42rem;
      width: 2px;
      height: 0.95rem;
      background: #fff;
    }

    .form-message--error .form-message__icon::before {
      transform: rotate(45deg);
    }

    .form-message--error .form-message__icon::after {
      transform: rotate(-45deg);
    }

    @keyframes form-spin {
      to { transform: rotate(360deg); }
    }

    @keyframes form-message-in {
      from {
        opacity: 0;
        transform: translateY(6px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    /* RESPONSIVE */


 .filter-btn {
      position: relative;
      background: transparent;
      border: 1px solid #d4d4d4;
      color: #1a1a1a;
      font-family: 'Outfit', sans-serif;
      text-transform: uppercase;
      font-size: 0.8rem;
      letter-spacing: 0.1em;
      padding: 0.6rem 1.4rem;
      transition: all 0.4s ease;
      overflow: hidden;
      display: block;
      width: 100%;
      text-align: left;
    }

    .filter-btn::after {
      content: "";
      position: absolute;
      inset: 0;
      background: #000;
      transform: scaleX(0);
      transform-origin: left;
      transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
      z-index: 0;
    }

    .filter-btn span {
      position: relative;
      z-index: 1;
      transition: color 0.3s ease;
    }

    .filter-btn:hover::after { transform: scaleX(1); }
    .filter-btn:hover span { color: #fff; }
    .filter-btn.active { background: #1a1a1a; color: #fff; border-color: #1a1a1a; }
    .filter-btn.active::after { transform: scaleX(1); }

    /* ===== LOADING SPINNER ===== */
    .loading-spinner {
      border: 3px solid #f3f3f3;
      border-top: 3px solid #1a1a1a;
      border-radius: 50%;
      width: 40px;
      height: 40px;
      animation: spin 1s linear infinite;
      margin: 0 auto;
    }

    @keyframes spin {
      0% { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
    }

    /* ===== CHIP STYLES ===== */
    .chip {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.4rem 0.8rem;
      background: #1a1a1a;
      color: #fff;
      border-radius: 2px;
      font-size: 0.75rem;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      cursor: pointer;
      transition: all 0.3s ease;
    }

    .chip:hover {
      background: #333;
      transform: translateY(-1px);
    }

    .chip::after {
      content: '×';
      font-size: 1.2rem;
      line-height: 1;
    }

    /* ===== DROPDOWN ARROW ===== */
    .dropdown-arrow {
      transition: transform 0.3s ease;
    }

    .dropdown-arrow.open {
      transform: rotate(180deg);
    }



/* ===== ARCHIVE TABS ===== */
    .archive-tabs-label {
      margin-bottom: 0.55rem;
    }

    .archive-tabs-breakout {
      width: calc(100% + max(0px, 50vw - 50%));
      max-width: none;
    }

    .archive-tabs-scroll {
      scrollbar-width: none;
      -ms-overflow-style: none;
      -webkit-overflow-scrolling: touch;
      touch-action: pan-x;
    }

    .archive-tabs-scroll::-webkit-scrollbar {
      display: none;
    }

    .archive-tabs {
      align-items: flex-end;
      gap: 0.4rem;
      padding-right: 1.5rem;
    }

    @media (min-width: 768px) {
      .archive-tabs {
        padding-right: 4rem;
      }
    }

    .archive-tabs .cms-tab-btn {
      position: relative;
      color: #7d745f;
      background: rgba(239, 230, 214, 0.45);
      border: 1px solid transparent;
      border-bottom: 0;
      margin-bottom: -1px;
      transition:
        color 0.25s ease,
        background-color 0.25s ease,
        border-color 0.25s ease;
    }

    .archive-tabs .cms-tab-btn:hover {
      color: #2c2525;
      background: rgba(239, 230, 214, 0.45);
    }

    .archive-tabs .cms-tab-btn.is-active {
      color: #2c2525;
      background: #e6cf96;
      border-color: #c8b07a;
      font-weight: 500;
    }

    .archive-tabs .cms-tab-btn.is-active::after {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      bottom: -1px;
      height: 1px;
      background: #e6cf96;
    }

    .archive-tabs .cms-tab-btn:focus-visible {
      outline: none;
      background: rgba(239, 230, 214, 0.45);
      color: #2c2525;
      border-color: rgba(44, 37, 37, 0.28);
    }

    @media (max-width: 767px) {
      .mobile-cms-tab-btn {
        color: #2c2525;
        background: rgba(255,255,255,0.82);
        border: 1px solid #e7dfd3;
      }

      .mobile-cms-tab-btn.is-active {
        background: #e6cf96;
        border-color: #c8b07a;
        color: #2c2525;
      }
    }

    /* Tab panel animations */
    [data-tab-panel] {
      animation: fadeIn 0.4s ease-in;
    }
    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(10px); }
      to { opacity: 1; transform: translateY(0); }
    }


@media (max-width: 768px) {

  /* Layout container */
  .menu-content {
    flex-direction: column;
    justify-content: flex-start;
    overflow-y: auto;
    position: relative;
    padding-top: 5rem; /* space for logo */
    height: 100vh;
  }

  /* --- Slower, smooth vertical layer animation --- */
  .menu-layers .layer {
    transform: translateY(100%);
    transition: transform 1s cubic-bezier(0.77, 0, 0.175, 1);
  }
  .menu-layers.active .layer1,
  .menu-layers.active .layer2,
  .menu-layers.active .layer3,
  .menu-layers.active .layer4 {
    transform: translateY(0);
  }
  .menu-layers.closing .layer1,
  .menu-layers.closing .layer2,
  .menu-layers.closing .layer3,
  .menu-layers.closing .layer4 {
    transform: translateY(100%);
  }

  /* --- Fixed logo --- */
      .menu-logo {
        position: fixed;
        top: 1.5rem;
        left: 1.5rem;
        z-index: 300;
    }

  /* --- Menu right (main links) --- */
  .menu-right {
    order: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* move links higher */
    align-items: center;
    text-align: center;
    padding-top: 5.25rem; /* lift links a bit higher on mobile */
    padding-bottom: 2rem;
    flex-grow: 1;
    min-height: auto;
    overflow: visible;
  }

  .menu-right a {
    font-size: clamp(1.95rem, 8vw, 3.15rem);
    line-height: 1.16;
    text-align: center;
  }

  .link-wrapper {
    text-align: center;
    margin-bottom: 0.5rem;
    height: auto;
    overflow: visible;
  }

  /* --- Footer (menu-left) --- */
  .menu-left {
    order: 2;
    position: fixed; /* stays visible always */
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fec431;
    border-top: 1px solid #e5e5e5;
    padding: 1.25rem 1rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  /* Hide title + description */
  .menu-left-center {
    display: none;
  }

  /* Language selector */
  .menu-languages {
    margin: 0 0 1rem 0;
    text-align: center;
  }

  .menu-languages h4 {
    display: none;
  }

  .lang-options {
    justify-content: center;
    gap: 1rem;
  }

  .lang-options a {
    font-size: 1rem;
  }

  /* Social links + copyright */
  .menu-left-bottom {
    text-align: center;
    font-size: 0.8rem;
  }

  .menu-social {
    justify-content: center;
    gap: 1.25rem;
    margin-bottom: 0.5rem;
  }
}

.transition-overlay {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 150px;
  height: 150px;
  background: #000; /* or brand color */
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  z-index: 9998;
  pointer-events: none;
  will-change: transform, border-radius, width, height, opacity;
}

.transition-logo-fixed {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 300px;
  height: auto;
  transform: translate(-50%, -50%) scale(1);
  opacity: 0;
  z-index: 9999;
  will-change: transform, opacity;
  pointer-events: none;
  filter: invert(1); /* optional for dark bg */
}

/* ────────────────────────────────────────────
   CMS Content Typography
   Dodaj u public/assets/css/main.css
   ──────────────────────────────────────────── */

/* Rich text iz CKEditor-a */
.cms-content p {
  margin-bottom: 1.25rem;
  line-height: 1.75;
}
.cms-content p:last-child {
  margin-bottom: 0;
}
.cms-content h2 {
  font-family: 'kopac-font', serif;
  font-size: 1.75rem;
  color: #2c2525;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  line-height: 1.25;
}
.cms-content h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #2c2525;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}
.cms-content h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #3f3a33;
  margin-top: 1.25rem;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.cms-content strong, .cms-content b {
  font-weight: 600;
  color: #2c2525;
}
.cms-content em, .cms-content i {
  font-style: italic;
}
.cms-content u {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cms-content a {
  color: #2c2525;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.cms-content a:hover {
  color: #d8ccb8;
}
.cms-content ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1.25rem;
}
.cms-content ul li {
  padding-left: 1.25rem;
  position: relative;
  margin-bottom: 0.5rem;
}
.cms-content ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: #d8ccb8;
}
.cms-content ol {
  list-style: none;
  counter-reset: cms-counter;
  padding: 0;
  margin-bottom: 1.25rem;
}
.cms-content ol li {
  counter-increment: cms-counter;
  padding-left: 2rem;
  position: relative;
  margin-bottom: 0.5rem;
}
.cms-content ol li::before {
  content: counter(cms-counter) '.';
  position: absolute;
  left: 0;
  color: #8a816f;
  font-size: 0.85em;
}
.cms-content blockquote {
  border-left: 2px solid #d8ccb8;
  padding-left: 1.25rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: #3f3a33;
}

.cms-signature {
  margin-top: 1.35rem;
  font-family: "Outfit", sans-serif;
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.35;
  display: inline-block;
  text-align: left;
  padding: 0.42rem 0.7rem;
  background: #f7f1e6;
  border: 1px solid #e7dfd3;
  color: #6f6658;
  opacity: 0.94;
}

/* Force smaller quote size on CMS page/tab quote blocks */
.cms-tab-panel blockquote.font-light,
.archive-tab-panel blockquote.font-light {
  font-size: 1rem !important;
  line-height: 1.65 !important;
}
@media (min-width: 768px) {
  .cms-tab-panel blockquote.font-light,
  .archive-tab-panel blockquote.font-light {
    font-size: 1.125rem !important;
  }
}
@media (max-width: 768px) {

  /* visina footer bara (prilagodi po potrebi) */
  :root { --menu-footer-h: 220px; }

  .menu-content{
    /* bitno: da scroll sadržaj ne ide ispod fixed footera */
    padding-bottom: var(--menu-footer-h);
  }

  .menu-right{
    /* da linkovi ne završe ispod fixed footera */
    padding-bottom: calc(var(--menu-footer-h) + 1.5rem);
    position: relative;
    z-index: 1;
  }

  .menu-left{
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;

    /* KLJUČNO: neka footer bude iznad svega */
    z-index: 9999;

    /* ostalo kako već imaš */
    background: #fec431;
  }

  /* opcionalno, ali korisno: osiguraj klikabilnost u footeru */
  .menu-left,
  .menu-left *{
    pointer-events: auto;
  }
}
