@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:wght@400;500;600&display=swap');

/* ==========================================================
   LIMA Ã¢â‚¬â€ CLEAN FINAL CSS
   ========================================================== */

:root {
  --lime: #caff00;
  --white: #f7f7f1;
  --line: rgba(255,255,255,.96);
  --black: #050505;
  --transition: 1180ms cubic-bezier(.19,1,.22,1);
  --content-transition: 620ms cubic-bezier(.22,.8,.22,1);
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
}

body {
  margin: 0;
  overflow: hidden;
  background: var(--lime);
  color: var(--white);
  font-family: Helvetica, Arial, sans-serif;
}

.site-shell {
  position: relative;
  width: 100vw;
  height: 100vh;
  min-height: 680px;
  overflow: hidden;
  background: var(--lime);
}


/* ==========================================================
   LANGUAGE FLAGS
   ========================================================== */

.language-switch {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.language-option {
  width: 20px;
  height: 20px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  opacity: .6;
  transition:
    opacity .25s ease,
    transform .25s ease;
}

.language-option img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.language-option:hover {
  opacity: 1;
  transform: scale(1.08);
}

.language-option.is-active {
  opacity: 1;
}


/* ==========================================================
   HEADER
   ========================================================== */

.topbar {
  position: fixed;
  z-index: 20;
  top: clamp(46px, 6.1vh, 56px);
  left: clamp(98px, 5.85vw, 112px);
  right: clamp(98px, 5.85vw, 112px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: auto;
  height: clamp(34px, 3vw, 39px);
}

.menu-toggle {
  width: clamp(30px, 2.4vw, 37px);
  height: clamp(22px, 2vw, 29px);
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: grid;
  gap: 5px;
  align-content: center;
}

.menu-toggle span {
  display: block;
  width: clamp(27px, 1.8vw, 31px);
  height: 3px;
  border-radius: 0;
  background: #5f7705;
  transition: transform .35s ease, opacity .35s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ==========================================================
   MENU
   ========================================================== */

.menu-panel {
  position: fixed;
  z-index: 18;
  top: clamp(92px, 13vh, 140px);
  right: 0;
  min-width: clamp(205px, 16vw, 245px);
  padding: clamp(18px, 1.7vw, 44px) clamp(24px, 2.2vw, 34px);
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.1vw, 16px);
  border-radius: -14px 0 0 4px;
  background: rgba(255,255,255,.13);
  backdrop-filter: blur(18px);
  opacity: 0;
  pointer-events: none;
  transform: translateX(104%);
  transition: opacity .42s ease, transform .58s cubic-bezier(.19,1,.22,1);
}

.menu-panel.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.menu-panel a {
  color: var(--white);
  text-decoration: none;
  font-size: clamp(10px, .72vw, 13px);
  font-weight: 300;
  letter-spacing: .035em;
  /* text-transform: uppercase; */
}

.menu-panel .social-links {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 2px;
}

.menu-panel .instagram-link,
.menu-panel .linkedin-link {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: fit-content;
  opacity: .9;
}

.instagram-icon,
.linkedin-icon {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: rgba(255,255,255,.92);
  stroke-width: 1.45;
}

/* ==========================================================
   SLIDER / SLIDES
   ========================================================== */

.slider,
.slide {
  position: absolute;
  inset: 0;
}

.slide {
  z-index: 1;
  opacity: 0;
  overflow: hidden;
  background: #c9ff00;
  transform: scale(1.035);
  transition: opacity var(--transition), transform var(--transition);
}

.slide.is-active {
  z-index: 2;
  opacity: 1;
  transform: scale(1);
}

.frame {
  position: absolute;
  z-index: 3;
  inset:
    clamp(98px, 11.8vh, 108px)
    clamp(96px, 5.85vw, 112px)
    clamp(76px, 9vh, 86px);
  padding:
    clamp(42px, 4.8vw, 62px)
    clamp(76px, 4.8vw, 86px)
    clamp(48px, 6.2vh, 62px);
  border: 2px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  isolation: isolate;
  background: transparent;
}

/* Image clipped inside the frame */
.frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: linear-gradient(180deg, rgb(0 0 0 / 0%), rgb(0 0 0 / 0%)), linear-gradient(90deg, rgb(0 0 0 / 0%), rgb(0 0 0 / 0%) 47%, rgb(0 0 0 / 0%)), var(--bg);
  background-size: cover;
  background-position: center center;
  transform: scale(1.002);
}

.frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle at 48% 34%, rgba(255, 255, 255, .06), transparent 33%), linear-gradient(180deg, rgba(0, 0, 0, .02), rgb(0 0 0 / 24%));
}

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

.project-category {
  position: absolute;
  z-index: 4;
  top: clamp(42px, 5.5vh, 54px);
  left: clamp(72px, 4.7vw, 84px);
  color: var(--lime);
  font-size: clamp(11px, .74vw, 14px);
  line-height: 1;
  /* font-weight: 900; */
  letter-spacing: .13em;
  text-transform: uppercase;
}

.client-mark {
  display: none;
}

.slide-content {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(640px, 1.18fr) minmax(390px, .82fr);
  gap: clamp(42px, 5vw, 92px);
  align-items: end;
}

h1 {
  max-width: clamp(680px, 49vw, 900px);
  margin: 0;
  font-family:
    "Inter Tight",
    "Helvetica Neue",
    "Helvetica Now Display",
    Helvetica,
    Arial,
    sans-serif;
  font-size: clamp(50px, 4.05vw, 73px);
  line-height: .84;
  letter-spacing: -0.055em;
  font-weight: 400;
  text-transform: none;
  text-shadow: none;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

h1::after {
  content: "";
  display: block;
  width: clamp(72px, 4.8vw, 88px);
  height: clamp(7px, .5vw, 9px);
  margin-top: clamp(28px, 3.05vh, 36px);
  background: var(--lime);
}

.copy-block {
  max-width: clamp(420px, 33vw, 570px);
  justify-self: start;
  margin-left: clamp(40px, 6vw, 120px);
  padding-bottom: 0;
}

.copy-block p {
  margin: 0 0 clamp(22px, 2.6vh, 32px);
  color: rgba(255,255,255,.92);
  font-family: Helvetica, Arial, sans-serif;
  font-size: clamp(13px, .86vw, 16px);
  line-height: 1.38;
  font-weight: 400;
  letter-spacing: -0.004em;
  text-shadow: none;
}

.button-row {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  gap: clamp(12px, 1.15vw, 18px);
  margin: 0;
}

.pill {
  min-width: clamp(136px, 8.9vw, 158px);
  min-height: clamp(34px, 2.35vw, 42px);
  padding: 0 clamp(18px, 1.4vw, 26px);
  border: 1px solid rgba(255,255,255,.92);
  border-radius: 3px;
  background: transparent;
  color: var(--white);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(13px, .88vw, 17px);
  line-height: 1;
  font-weight: 500;
  letter-spacing: 0;
  text-align: center;
  transition: background .25s ease, color .25s ease, transform .25s ease;
}

.pill-primary {
  background: var(--lime);
  color: #627b05;
  border-color: var(--lime);
}

.pill:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,.12);
}

.pill-primary:hover {
  background: #e5ff52;
  border-color: #e5ff52;
}

/* Slide content animation */
.slide .slide-content h1,
.slide .copy-block {
  transition:
    opacity var(--content-transition),
    transform var(--content-transition),
    filter var(--content-transition);
  will-change: opacity, transform, filter;
}

.slide:not(.is-active) .slide-content h1,
.slide:not(.is-active) .copy-block {
  opacity: 0;
  transform: translateY(18px);
  filter: blur(8px);
}

.slide.is-leaving .slide-content h1 {
  opacity: 0;
  transform: translateY(18px);
  filter: blur(8px);
  transition-delay: 60ms;
}

.slide.is-leaving .copy-block {
  opacity: 0;
  transform: translateY(18px);
  filter: blur(8px);
  transition-delay: 110ms;
}

.slide.is-entering {
  z-index: 3;
  opacity: 1;
  transform: scale(1.018);
}

.slide.is-entering .slide-content h1,
.slide.is-entering .copy-block {
  opacity: 0;
  transform: translateY(22px);
  filter: blur(8px);
}

.slide.is-entering.is-active {
  transform: scale(1);
}

.slide.is-entering.is-active .slide-content h1 {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  transition-delay: 430ms;
}

.slide.is-entering.is-active .copy-block {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  transition-delay: 540ms;
}

/* ==========================================================
   NAVIGATION ARROWS
   ========================================================== */

.nav-arrow {
  position: fixed;
  z-index: 16;
  top: 50%;
  width: clamp(34px, 2.7vw, 42px);
  height: clamp(34px, 2.7vw, 42px);
  padding: 0 0 2px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 0;
  background: rgba(0,0,0,.18);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(20px, 1.7vw, 26px);
  line-height: 1;
  cursor: pointer;
  opacity: .7;
  transition: opacity .25s ease, transform .25s ease, background .25s ease;
}

.nav-arrow:hover {
  opacity: 1;
  background: rgba(255,255,255,.12);
}

.nav-prev {
  left: clamp(40px, 2.45vw, 42px);
  transform: translateY(-50%);
}

.nav-next {
  right: clamp(40px, 2.45vw, 42px);
  transform: translateY(-50%);
}

/* ========================================================== 
   FOOTER 
   ========================================================== */
.footer-words {
  position: fixed;
  z-index: 20;
  left: clamp(98px, 5.85vw, 112px);
  right: clamp(98px, 5.85vw, 112px);
  bottom: clamp(30px, 4vh, 42px);
  display: block;
  color: var(--black);
  font-family: Helvetica, Arial, sans-serif;
  font-size: clamp(11px, -0.18vw, 15px);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: uppercase;
} 
.footer-words > span { 
  display: none; 
} 
.footer-words-set { 
  display: none; 
  grid-template-columns: repeat(4, 1fr); 
} 
.footer-words-set.is-active { 
  display: grid; 
} 
.footer-words span { 
  color: rgba(5,5,5,.6); 
} 
.footer-words span.is-active,.footer-words span[data-active="true"] { 
  color: rgba(5,5,5,.6); 
} 
.footer-words span.is-inactive,.footer-words span[data-active="false"] { 
  color: rgba(5,5,5,.2); 
} 
.footer-words span:nth-child(2),.footer-words span:nth-child(3) { 
  text-align: center; 
} 
.footer-words span:nth-child(4) { 
  text-align: right; 
}

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

@media (max-width: 980px) {
  body {
    overflow: hidden;
  }

  .site-shell {
    min-height: 100vh;
  }

  .topbar {
    top: 28px;
    left: 30px;
    right: 30px;
  }

  .brand-logo {
    height: clamp(26px, 5vw, 36px);
  }

  .menu-panel {
    top: 112px;
  }

  .frame {
    inset: 88px 30px 92px;
    padding: 34px 26px 42px;
  }

  .project-category {
    top: 30px;
    left: 26px;
  }

  .slide-content {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  h1 {
    max-width: min(86vw, 760px);
    font-size: clamp(40px, 9vw, 64px);
    line-height: .86;
    letter-spacing: -0.05em;
    font-weight: 400;
  }

  .copy-block {
    max-width: min(82vw, 620px);
    justify-self: start;
    margin-left: 0;
  }

  .copy-block p {
    font-size: clamp(12px, 2vw, 14px);
    line-height: 1.4;
  }

  .nav-prev {
    left: 42px;
  }

  .nav-next {
    right: 42px;
  }

  .footer-words {
    left: 30px;
    right: 30px;
    bottom: 30px;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    font-size: clamp(9px, 1.4vw, 10px);
  }

  .footer-words span:nth-child(n) {
    text-align: left;
  }
}

@media (max-width: 620px) {
  .topbar {
    top: 22px;
    left: 20px;
    right: 20px;
  }

  .brand-logo {
    height: 24px;
  }

  .menu-panel {
    top: 76px;
    min-width: 190px;
  }

  .frame {
    inset: 76px 16px 104px;
    padding: 28px 18px 34px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(34px, 11vw, 50px);
    line-height: .87;
    letter-spacing: -0.045em;
  }

  h1::after {
    width: 62px;
    height: 7px;
    margin-top: 22px;
  }

  .copy-block {
    max-width: 100%;
  }

  .copy-block p {
    font-size: 13px;
  }

  .button-row {
    flex-wrap: wrap;
    gap: 10px;
  }

  .pill {
    min-width: 112px;
    min-height: 34px;
    font-size: 11px;
  }

  .nav-arrow {
    top: auto;
    bottom: 112px;
  }

  .nav-prev {
    left: 24px;
    transform: none;
  }

  .nav-next {
    right: 24px;
    transform: none;
  }

  .footer-words {
    left: 20px;
    right: 20px;
    bottom: 28px;
  }
}

/* ==========================================================
    Ã¢â‚¬â€ FINAL REQUESTED ADJUSTMENTS
   ========================================================== */

/* Remove the thin white outline around the inner frame */
.frame {
  border: 0 !important;
}

/* Slightly thicker title, still clean and editorial */
h1 {
  font-weight: 1000 !important;
  letter-spacing: -0.042em !important;
}

/* Move paragraph/buttons left, closer to VISUAL SYSTEMS footer alignment */
.slide-content {
  grid-template-columns: minmax(600px, 1fr) minmax(520px, 1fr) !important;
  gap: clamp(28px, 3.3vw, 58px) !important;
}

.copy-block {
  justify-self: start !important;
  margin-left: 0 !important;
}

@media (max-width: 980px) {
  .slide-content {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
  }

  .copy-block {
    margin-left: 0 !important;
  }

  h1 {
    font-weight: 500 !important;
  }
}

.portfolio-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(24px, 5vw, 72px);
  background: rgba(0, 0, 0, .88);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .28s ease, visibility .28s ease;
}

.portfolio-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.portfolio-modal-image,
.portfolio-modal-video {
  display: block;
  width: min(88vw, 1180px);
  max-height: 82vh;
  border: 0;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .45);
}

.portfolio-modal-image {
  height: auto;
  object-fit: contain;
}

.portfolio-modal-video {
  aspect-ratio: 16 / 9;
  height: auto;
  background: #000;
}

.portfolio-modal-close,
.portfolio-modal-nav {
  position: absolute;
  z-index: 1001;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 0;
  color: var(--white);
  background: rgba(0,0,0,.18);
  cursor: pointer;
  opacity: .7;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .25s ease, transform .25s ease, background .25s ease;
}

.portfolio-modal-close:hover,
.portfolio-modal-nav:hover {
  opacity: 1;
  background: rgba(255,255,255,.12);
}

.portfolio-modal-close {
  top: clamp(20px, 4vw, 44px);
  right: clamp(20px, 4vw, 44px);
  width: clamp(34px, 2.7vw, 42px);
  height: clamp(34px, 2.7vw, 42px);
  padding: 0 0 2px;
  font-size: clamp(20px, 1.7vw, 26px);
}

.portfolio-modal-nav {
  top: 50%;
  width: clamp(34px, 2.7vw, 42px);
  height: clamp(34px, 2.7vw, 42px);
  padding: 0 0 2px;
  font-size: clamp(20px, 1.7vw, 26px);
  transform: translateY(-50%);
}

.portfolio-modal-nav:hover {
  transform: translateY(-50%);
}

.portfolio-modal-prev {
  left: clamp(40px, 2.45vw, 42px);
}

.portfolio-modal-next {
  right: clamp(40px, 2.45vw, 42px);
}

.portfolio-modal-counter {
  position: absolute;
  left: 50%;
  bottom: clamp(18px, 4vw, 42px);
  margin: 0;
  transform: translateX(-50%);
  color: var(--white);
  font-size: 14px;
  letter-spacing: .08em;
}

@media (max-width: 720px) {
  .portfolio-modal {
    padding: 18px;
  }

  .portfolio-modal-image,
  .portfolio-modal-video {
    width: 100%;
    max-height: 76vh;
  }

  .portfolio-modal-nav {
    width: clamp(34px, 2.7vw, 42px);
    height: clamp(34px, 2.7vw, 42px);
    font-size: clamp(20px, 1.7vw, 26px);
  }
}
