/* ===== STUDIO 64 — PAGE STYLES =====
   Component layouts and page-specific rules.
   Depends on: fonts.css (font-faces) and reset.css (tokens + reset).
   Load order: fonts.css → reset.css → style.css
   ==================================== */


/* ============ NAVBAR ============ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2vw;
  height: 72px;
  background: var(--ink);
  border-bottom: var(--border-thick);
}
.nav-logo {
  display: flex; align-items: center;
  height: 100%;
}
.nav-logo img {
  height: 46px; width: auto;
  display: block;
}
.nav-links { display: flex; gap: 4px; align-items: center; height: 100%; }
.nav-links a {
  font-family: var(--geo);
  font-size: 0.78rem; font-weight: 700;
  color: var(--paper);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 0 16px;
  height: 100%;
  display: flex; align-items: center;
  transition: background 0.15s, color 0.15s;
}
.nav-links a:hover { background: var(--acid); color: var(--ink); }
.nav-cta {
  font-family: var(--bebas);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: var(--hot);
  color: var(--white);
  padding: 12px 26px;
  border: 3px solid var(--white);
  transition: transform 0.12s;
  cursor: pointer;
}
.nav-cta:hover { transform: translate(-2px,-2px); }
.nav-burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.nav-burger span { display: block; width: 28px; height: 3px; background: var(--paper); }

/* ===== MOBILE FULL-SCREEN MENU ===== */
.mobile-menu {
  position: fixed; inset: 0; z-index: 1500;
  background: var(--ink);
  display: flex; align-items: center; justify-content: center;
  transform: translateY(-100%);
  transition: transform 0.5s cubic-bezier(0.76,0,0.24,1);
  visibility: hidden;
}
.mobile-menu.show { transform: translateY(0); visibility: visible; }
.mobile-menu-links { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 24px; }
.mobile-menu-links a {
  font-family: var(--bebas), var(--geo);
  font-size: clamp(2.1rem, 9vw, 3.6rem); line-height: 1.12;
  text-transform: uppercase; letter-spacing: 1px;
  color: var(--paper); padding: 6px 0;
  transition: color 0.2s;
}
.mobile-menu-links a:active, .mobile-menu-links a:hover { color: var(--acid); }
.mobile-menu-cta {
  margin-top: 26px;
  line-height: 1;
  background: var(--hot); color: var(--white);
  border: 3px solid var(--white);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.mobile-menu-cta:active, .mobile-menu-cta:hover {
  color: var(--ink); background: var(--acid); border-color: var(--acid);
}
/* Burger floats above the overlay; hidden while the menu is open (the X closes it) */
.nav-burger { position: relative; z-index: 1600; transition: opacity 0.2s ease; }
.nav-burger.open { opacity: 0; pointer-events: none; }
/* Dedicated close (X) button inside the overlay */
.mobile-menu-close {
  position: absolute; top: 14px; right: 2vw; z-index: 2;
  background: none; border: 0; cursor: pointer;
  font-family: var(--body); font-size: 2.8rem; line-height: 1;
  color: var(--paper); padding: 6px 12px;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:active { color: var(--acid); }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--ink);
  display: flex; flex-direction: column; justify-content: center;
  padding: 120px 2vw 50px;
  overflow: hidden;
}
/* Hero 2 collage photo behind everything */
.hero-photo-bg {
  position: absolute; inset: 0;
  background: url('../assets/images/ui/hero-bg.webp') center/cover no-repeat;
  z-index: 0;
}
/* Smaller hero image on mobile — saves ~280KB on slow connections */
@media (max-width: 768px) {
  .hero-photo-bg {
    background-image: url('../assets/images/ui/hero-bg-mobile.webp');
  }
}
/* Dark scrim so the headline stays legible over the busy collage */
.hero-photo-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.7) 55%, rgba(10,10,10,0.82) 100%);
}
.hero-grid-bg {
  position: absolute; inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(242,240,235,0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242,240,235,0.10) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}
.hero-eyebrow {
  font-family: var(--geo);
  font-size: 0.82rem; font-weight: 700;
  color: var(--white);
  text-transform: uppercase; letter-spacing: 2px;
  margin-bottom: 24px;
  display: inline-block;
  background: var(--blue);
  border: 2px solid var(--blue);
  padding: 7px 16px;
}
.hero-headline {
  font-family: var(--bebas), var(--geo);
  font-weight: 700;
  font-size: clamp(3.2rem, 11vw, 11rem);
  line-height: 0.82;
  color: var(--paper);
  text-transform: uppercase;
  letter-spacing: 0;
}
/* FiraGO carries extra vertical metrics — pull the lines tight + trim each line box */
/* Bebas is Latin-only -> Georgian falls back to FiraGO, whose glyphs are taller
   than the 0.82 line-box. Pad the reveal mask so ascenders/descenders aren't
   clipped, then cancel the padding with an equal negative margin so the tight
   line spacing stays visually identical. */
.hero-headline .line {
  display: block;
  overflow: hidden;
  padding: 0.28em 0;
  margin: -0.28em 0;
}
.hero-headline .line span {
  display: block;
  line-height: 0.82;
}
.hero-headline .accent { color: var(--blue); }
.hero-headline .outline {
  color: transparent;
  -webkit-text-stroke: 2px var(--paper);
}
.hero-bottom {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-top: 50px;
  flex-wrap: wrap; gap: 30px;
}
.hero-tagline {
  font-family: var(--geo);
  font-size: 1.15rem; font-weight: 700;
  color: var(--paper);
  line-height: 1.45;
  max-width: 460px;
  align-self: flex-end;
}
.hero-tagline .quote-author {
  display: block;
  margin-top: 14px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--blue);
}
.hero-ctas { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.btn-primary {
  font-family: var(--bebas);
  font-weight: 700;
  font-size: 1.5rem; letter-spacing: 1px;
  text-transform: uppercase;
  background: var(--acid);
  color: var(--ink);
  padding: 14px 38px;
  border: var(--border);
  box-shadow: var(--shadow);
  transition: transform 0.12s, box-shadow 0.12s;
  cursor: pointer;
  display: inline-block;
}
.btn-primary:hover {
  transform: translate(4px,4px);
  box-shadow: 4px 4px 0 var(--ink);
}
/* ============ HERO SCROLL-SHRINK (pinned stage) ============ */
/* Default / mobile: extras hidden — hero behaves exactly as before */
.hero-stage, .hero-sig, .hero-dim { display: none; }

@media (min-width: 769px) {
  .hero-pin {
    position: relative;
    height: 100vh;
    background: var(--ink);
    overflow: hidden;
  }
  /* The whole hero becomes the shrinking card */
  .hero-pin .hero {
    position: absolute;
    inset: 0;
    min-height: 0;
    z-index: 2;
    transform-origin: 50% 50%; /* off-centre origins make the shrink drift */
    will-change: transform;
    padding-top: 100px;
  }
  /* Hero is now locked to exactly 100vh — slightly smaller headline + tighter
     lines + smaller bottom gap so the tagline and Labs button stay visible */
  .hero-pin .hero-headline { font-size: clamp(3rem, 8.5vw, 8.5rem); line-height: 0.78; }
  .hero-pin .hero-headline .line span { line-height: 0.78; }
  .hero-pin .hero-bottom { margin-top: 32px; }
  /* Dark stage behind the card with two opposing Bebas lines */
  .hero-stage {
    display: block;
    position: absolute; inset: 0;
    z-index: 1;
    background: var(--ink);
    overflow: hidden;
  }
  .hero-stage-line {
    position: absolute;
    left: 0;
    white-space: nowrap;
    font-family: var(--bebas), var(--geo);
    font-weight: 700;
    font-size: clamp(5rem, 13vw, 12rem);
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 4px;
  }
  .hero-stage-line.line-a { top: 10%; color: var(--paper); }
  .hero-stage-line.line-b { bottom: 10%; color: transparent; -webkit-text-stroke: 2px var(--acid); }
  /* Gray dim overlay that fades in over the shrunken card */
  .hero-dim {
    display: block;
    position: absolute; inset: 0;
    z-index: 3;
    background: #555;
    opacity: 0;
    pointer-events: none;
  }
  /* Acid "64" signature that draws itself on top of the dimmed card */
  .hero-sig {
    display: block;
    position: absolute;
    left: 50%; top: 50%;
    width: 30vw; max-width: 460px;
    transform: translate(-50%, -50%);
    z-index: 4;
    pointer-events: none;
    opacity: 0; /* revealed by JS once stroke-dash lengths are measured */
    overflow: visible;
  }
  .hero-sig path { stroke: var(--acid); }
}

/* 64 Labs "Coming soon" popup — matches the acid button */
.labs-popup-overlay {
  position: fixed; inset: 0;
  z-index: 2000;
  display: none;
  align-items: center; justify-content: center;
  background: rgba(10,10,10,0.55);
  cursor: pointer;
}
.labs-popup-overlay.show { display: flex; }
.labs-popup {
  font-family: var(--bebas);
  font-weight: 700;
  font-size: clamp(2.2rem, 6vw, 5rem);
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--acid);
  border: var(--border-thick);
  box-shadow: var(--shadow-lg);
  padding: 36px 64px;
  transform: rotate(-2deg);
  animation: labsPop 0.25s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes labsPop {
  0% { transform: rotate(-2deg) scale(0.7); opacity: 0; }
  100% { transform: rotate(-2deg) scale(1); opacity: 1; }
}
/* Sponsorship contact popup */
.sponsor-overlay {
  position: fixed; inset: 0;
  z-index: 2100;
  display: none;
  align-items: center; justify-content: center;
  background: rgba(10,10,10,0.65);
  padding: 24px;
}
.sponsor-overlay.show { display: flex; }
.sponsor-modal {
  position: relative;
  width: 100%; max-width: 480px;
  background: var(--paper);
  border: var(--border-thick);
  box-shadow: var(--shadow-lg);
  padding: 36px 32px 32px;
  animation: labsPop2 0.25s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes labsPop2 {
  0% { transform: scale(0.8); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.sponsor-close {
  position: absolute; top: 10px; right: 12px;
  width: 38px; height: 38px;
  background: transparent;
  border: none;
  font-family: var(--bebas);
  font-size: 2rem; line-height: 1;
  cursor: pointer;
  color: var(--ink);
  transition: transform 0.12s;
}
.sponsor-close:hover { transform: scale(1.2); }
.sponsor-modal-title {
  font-family: var(--bebas), var(--geo);
  font-weight: 700;
  font-size: 2.2rem;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 6px;
}
.sponsor-modal-sub {
  font-family: var(--geo);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 22px;
}
.sponsor-form { display: flex; flex-direction: column; gap: 14px; }
.sponsor-form label {
  font-family: var(--geo);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex; flex-direction: column; gap: 6px;
}
.sponsor-form input,
.sponsor-form textarea {
  font-family: var(--body);
  font-size: 0.95rem;
  font-weight: 400;
  padding: 11px 13px;
  border: var(--border);
  background: var(--white);
  color: var(--ink);
  width: 100%;
  resize: vertical;
}
.sponsor-form input:focus,
.sponsor-form textarea:focus {
  outline: 3px solid var(--blue);
  outline-offset: -1px;
}
.sponsor-send {
  font-family: var(--bebas), var(--geo);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: var(--acid);
  color: var(--ink);
  border: var(--border);
  box-shadow: var(--shadow);
  padding: 13px;
  margin-top: 6px;
  cursor: pointer;
  transition: transform 0.12s, box-shadow 0.12s;
}
.sponsor-send:hover { transform: translate(4px,4px); box-shadow: 4px 4px 0 var(--ink); }
/* About popup */
.about-modal { max-width: 560px; }
.about-body p { font-family: var(--body); font-weight: 400; font-size: 1rem; line-height: 1.65; color: var(--ink); margin-bottom: 16px; }
.about-q { font-weight: 700 !important; color: var(--blue); }
.about-list { display: flex; flex-direction: column; gap: 12px; margin-top: 4px; }
.about-list li { position: relative; padding-left: 22px; font-family: var(--body); font-size: 0.98rem; line-height: 1.55; color: var(--ink); }
.about-list li::before { content: "—"; position: absolute; left: 0; color: var(--hot); font-weight: 700; }
.about-list strong { font-weight: 700; }
/* anchor-jump offset for fixed navbar */
section[id] { scroll-margin-top: 80px; }

/* ============ MARQUEE STRIP ============ */
.strip {
  background: var(--hot);
  border-top: var(--border-thick);
  border-bottom: var(--border-thick);
  padding: 16px 0;
  overflow: hidden;
}
.strip-track {
  display: flex; align-items: center; gap: 40px;
  width: max-content;
  flex-wrap: nowrap;
  will-change: transform;
}
.strip-item {
  display: flex; align-items: center; gap: 40px;
}
.strip-item span {
  font-family: var(--bebas), var(--geo);
  font-weight: 700;
  font-size: 1.85rem;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
  line-height: 1;
}
.strip-item img {
  height: 40px;
  width: 40px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

/* ============ SOCIAL STRIP (static, black, matches red strip height) ============ */
.social-strip {
  background: var(--ink);
  border-bottom: var(--border-thick);
  padding: 16px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.social-link {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--paper);
  color: var(--paper);
  transition: background 0.15s, color 0.15s, transform 0.12s;
}
.social-link svg { width: 22px; height: 22px; display: block; fill: currentColor; }
.social-link:hover {
  background: var(--paper);
  color: var(--ink);
  transform: translate(-2px,-2px);
}

/* ============ CLIENT LOGO STRIP ============ */
.client-strip {
  background: var(--hot);
  border-top: var(--border-thick);
  border-bottom: var(--border-thick);
  padding: 16px 0;
  overflow: hidden;
}
.client-strip-track {
  display: flex;
  align-items: center;
  gap: 60px;
  width: max-content;
  flex-wrap: nowrap;
  will-change: transform;
}
.client-strip-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.client-strip-item img {
  height: 36px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  display: block;
}

/* ============ SECTION SHELL ============ */
.section {
  padding: 100px 2vw;
  max-width: var(--max-w);
  margin: 0 auto;
}
.section-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  border-bottom: var(--border-thick);
  padding-bottom: 24px;
  margin-bottom: 50px;
  flex-wrap: wrap; gap: 20px;
}
.section-tag {
  font-family: 'FiraGO', sans-serif;
  font-weight: 400;
  font-size: 0.78rem;
  text-transform: uppercase; letter-spacing: 1px;
  display: flex; align-items: center; gap: 12px;
}
.section-tag .num {
  font-family: var(--bebas), sans-serif;
  font-weight: 700;
  font-size: 1rem;
  background: var(--ink); color: var(--acid);
  padding: 4px 10px;
}
/* case-study section tag (04 მაგალითები) — fixed label in pinned heads */
.cs-tag { position: absolute; top: 40px; right: 60px; z-index: 5; }
.ks-section .cs-tag { color: var(--ink); }
.sk-section .cs-tag { color: var(--paper); }
.sk-section .cs-tag .num { background: var(--paper); color: var(--ink); }
.section-title .accent  { color: var(--blue); }
.section-title .accent-acid { color: var(--acid); }
.section-title .outline {
  color: transparent;
  -webkit-text-stroke: 2px var(--ink);
}
/* dark-bg sections need paper-coloured outline */
.logo-section .section-title .outline,
.portfolio-section .section-title .outline {
  -webkit-text-stroke: 2px var(--paper);
}
.section-title {
  font-family: var(--bebas), var(--geo);
  font-weight: 700;
  font-size: clamp(2.5rem, 6vw, 6rem);
  text-transform: uppercase;
  line-height: 0.88;
  letter-spacing: 0;
  max-width: 900px;
}
.section-tagline {
  font-family: var(--geo);
  font-weight: 700;
  font-size: 1.05rem;
  color: #333;
  line-height: 1.5;
  max-width: 620px;
  margin-top: 18px;
}

/* ============ WORK GRID ============ */
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.work-card {
  background: var(--white);
  border: var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.15s, box-shadow 0.15s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.work-card:hover {
  transform: translate(4px,4px);
  box-shadow: 4px 4px 0 var(--ink);
}
.work-card-info { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.work-card-info .cat {
  font-family: var(--geo);
  font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  background: var(--acid);
  padding: 5px 12px;
  display: inline-block;
  margin-bottom: 14px;
}
.work-card-info h3 {
  font-family: var(--bebas), var(--geo);
  font-weight: 700;
  font-size: 2.2rem;
  text-transform: uppercase; line-height: 0.92;
  margin-bottom: 10px;
}
.work-card-info p {
  font-family: var(--geo);
  font-size: 0.95rem; color: #333; line-height: 1.5;
  margin-bottom: 22px;
}
/* YouTube embed inside work card */
.work-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-bottom: var(--border);
  background: var(--ink);
  overflow: hidden;
}
.yt-facade {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block; padding: 0; border: 0;
  background: var(--ink); cursor: pointer;
}
.yt-facade img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: opacity 0.2s;
}
.yt-facade:hover img { opacity: 0.85; }
.yt-play {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 76px; height: 54px;
  background: var(--hot);
  border: 3px solid var(--white);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.15s, background 0.2s;
}
.yt-play::after {
  content: ""; display: block;
  border-left: 20px solid var(--white);
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  margin-left: 4px;
}
.yt-facade:hover .yt-play { transform: translate(-50%, -50%) scale(1.08); background: var(--blue); }

.work-video iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0; display: block;
}
/* Sponsorship CTA button on each card */
.sponsor-btn {
  font-family: var(--geo);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  text-align: left;
  background: var(--ink);
  color: var(--paper);
  border: var(--border);
  box-shadow: 5px 5px 0 var(--ink);
  padding: 14px 20px;
  margin-top: auto;
  width: 100%;
  cursor: pointer;
  transition: transform 0.12s, box-shadow 0.12s, background 0.15s, color 0.15s;
  display: block;
  line-height: 1.3;
}
.sponsor-btn:hover {
  background: var(--acid);
  color: var(--ink);
  transform: translate(3px,3px);
  box-shadow: 2px 2px 0 var(--ink);
}


/* ============ BIG TYPE MARQUEE ============ */
.type-marquee {
  background: var(--paper);
  border-top: var(--border-thick);
  border-bottom: var(--border-thick);
  padding: 30px 0;
  overflow: hidden;
}
.type-track {
  display: flex; gap: 30px;
  width: max-content;
  flex-wrap: nowrap;
  will-change: transform;
}
.type-track span {
  font-family: var(--bebas), var(--geo);
  font-size: clamp(5rem, 14vw, 12rem);
  text-transform: uppercase;
  letter-spacing: 0;
  white-space: nowrap;
  line-height: 1;
}
.type-track span.fill { color: var(--ink); }
.type-track span.stroke {
  color: transparent;
  -webkit-text-stroke: 3px var(--ink);
}

/* ============ SERVICES ============ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: var(--border);
  background: var(--ink);
  box-shadow: var(--shadow);
}
.service-card {
  background: var(--paper);
  padding: 36px 28px;
  border-right: var(--border);
  border-bottom: var(--border);
  transition: background 0.15s, color 0.15s;
  cursor: default;
  min-height: 240px;
  display: grid;
  grid-template-rows: auto auto 1fr;
}
.service-card:hover { background: var(--acid); }
.service-card .num {
  font-family: var(--mono);
  font-size: 0.85rem; font-weight: 700;
}
.service-card h3 {
  font-family: var(--bebas), var(--geo);
  font-size: 1.8rem;
  text-transform: uppercase; line-height: 0.95;
  margin: 24px 0 12px;
  align-self: end;
}
.service-card p {
  font-family: 'FiraGO', sans-serif;
  font-weight: 400;
  font-size: 0.85rem; color: #333; line-height: 1.5;
}

/* ============ STATEMENT ============ */
.statement {
  background: var(--ink);
  border-top: var(--border-thick);
  border-bottom: var(--border-thick);
  padding: 120px 2vw;
}
.statement-inner { max-width: var(--max-w); margin: 0 auto; }
.statement h2 {
  font-family: var(--display);
  font-size: clamp(2.4rem, 5.5vw, 5.5rem);
  text-transform: uppercase;
  color: var(--paper);
  line-height: 0.85;
  letter-spacing: -1px;
}
.statement h2 .acid { color: var(--acid); }
.statement h2 .hot { color: var(--hot); }
.statement p {
  font-family: var(--body);
  font-size: 1.1rem;
  color: rgba(242,240,235,0.6);
  line-height: 1.6;
  max-width: 540px;
  margin-top: 36px;
  margin-left: auto;
}


/* ============ KETI CASE STUDY SECTION ============ */
.ks-section {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 600vh;            /* tall scroll runway (incl. exit + outro) */
  background: #fff;
}

/* Sticky inner — locks the whole split to the viewport */
.ks-sticky {
  position: relative;   /* pinned by GSAP ScrollTrigger, not CSS sticky */
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}

/* Left column = clipped viewport for the moving text track */
.ks-left {
  position: relative;
  z-index: 2;            /* text paints OVER the right media */
}
.ks-left-track {
  position: absolute;
  top: 0; left: 0; right: 0;
  padding: 22.5vh 60px 22.5vh 80px;
  will-change: transform;
}
.ks-row { display: flex; align-items: center; gap: 22px; }
.ks-arrow {
  font-family: 'FiraGO', sans-serif;
  font-size: clamp(1.6rem, 2.4vw, 2.4rem);
  line-height: 1;
  color: #000;
  flex: none;
  opacity: 0;
  transform: translateX(-16px);
}
.ks-col { min-width: 0; display: flex; flex-direction: column; align-items: center; text-align: center; }

/* Right column = the FROZEN media box (never scrolls) */
.ks-right {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

/* Media card wrapper */
.ks-card {
  position: relative;
  width: min(345px, 32vw);
  aspect-ratio: 9/16;
}
.ks-media-item {
  position: absolute;
  inset: 0;
  opacity: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 14px 16px 0 #d8f000;
  transform-origin: center center;
  will-change: transform, opacity;
  backface-visibility: hidden;
}
.ks-media-item.active { opacity: 1; }
.ks-media-item img,
.ks-media-item video {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}

/* Text blocks — each is a fixed slot the track scrolls through */
.ks-block {
  height: 55vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0.7;
  will-change: opacity, transform;
}

.ks-label {
  display: block;
  font-family: 'FiraGO', sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: #888;
  margin-top: 22px;
}
.ks-title {
  font-family: var(--bebas);
  font-size: clamp(3rem, 6vw, 7.5rem);
  text-transform: uppercase;
  line-height: 0.88;
  color: #000;
  margin-bottom: 0;
}
.ks-stat {
  font-family: var(--bebas);
  font-size: clamp(5rem, 9vw, 11rem);
  line-height: 0.85;
  color: #000;
  white-space: nowrap;
}
.ks-row-top { align-items: flex-start; }
.ks-row-top .ks-arrow {
  margin-top: calc(0.425 * clamp(5rem, 9vw, 11rem) - 0.5 * clamp(1.6rem, 2.4vw, 2.4rem));
}
.ks-blue { color: var(--blue); }

/* Outro overlay — social buttons centred over the pinned split, revealed at the end */
.ks-outro {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.ks-outro .ks-social-btn { pointer-events: none; }


/* Social footer (separate section after the runway) */
.ks-social {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}
.ks-social-btns { display: flex; gap: 36px; align-items: center; }
.ks-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  color: #000;
  text-decoration: none;
  opacity: 0;
  transform: translateY(50px);
  transition: color 0.2s ease;
}
.ks-social-btn:hover { opacity: 0.55 !important; }
.ks-social-btn svg { width: 42px; height: 42px; }

/* Statement must sit behind keti */
.statement { position: relative; z-index: 1; }

/* Responsive — stack & disable the runway on mobile */


/* ===== SUKHISHVILI CASE STUDY (dark clone of Keti) ===== */
/* ============ KETI CASE STUDY SECTION ============ */
.sk-section {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 520vh;            /* tall scroll runway (incl. exit + outro) */
  background: #000;
}

/* Sticky inner — locks the whole split to the viewport */
.sk-sticky {
  position: relative;   /* pinned by GSAP ScrollTrigger, not CSS sticky */
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}

/* Left column = clipped viewport for the moving text track */
.sk-left {
  position: relative;
  z-index: 2;            /* text paints OVER the right media */
}
.sk-left-track {
  position: absolute;
  top: 0; left: 0; right: 0;
  padding: 22.5vh 60px 22.5vh 80px;
  will-change: transform;
}
.sk-row { display: flex; align-items: center; gap: 22px; }
.sk-arrow {
  font-family: 'FiraGO', sans-serif;
  font-size: clamp(1.6rem, 2.4vw, 2.4rem);
  line-height: 1;
  color: #fff;
  flex: none;
  opacity: 0;
  transform: translateX(-16px);
}
.sk-col { min-width: 0; display: flex; flex-direction: column; align-items: center; text-align: center; }

/* Right column = the FROZEN media box (never scrolls) */
.sk-right {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}

/* Media card wrapper */
.sk-card {
  position: relative;
  width: min(620px, 46vw);
  aspect-ratio: 16/9;
}
.sk-media-item {
  position: absolute;
  inset: 0;
  opacity: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 14px 16px 0 #ff3b1f;
  transform-origin: center center;
  will-change: transform, opacity;
  backface-visibility: hidden;
}
.sk-media-item.active { opacity: 1; }
.sk-media-item img,
.sk-media-item video {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}

/* Text blocks — each is a fixed slot the track scrolls through */
.sk-block {
  height: 55vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0.7;
  will-change: opacity, transform;
}

.sk-label {
  display: block;
  font-family: 'FiraGO', sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: #888;
  margin-top: 22px;
}
.sk-title {
  font-family: var(--bebas);
  font-size: clamp(3rem, 6vw, 7.5rem);
  text-transform: uppercase;
  line-height: 0.88;
  color: #fff;
  margin-bottom: 0;
}
.sk-stat {
  font-family: var(--bebas);
  font-size: clamp(5rem, 9vw, 11rem);
  line-height: 0.85;
  color: #fff;
  white-space: nowrap;
}
.sk-red { color: #ff3b1f; }
.sk-logo {
  width: clamp(240px, 34vw, 460px);
  height: auto;
  display: block;
}


/* Responsive — stack & disable the runway on mobile */


/* ===== SERVICES ACCORDION (05 მომსახურება) ===== */
.svc-acc { border-top: var(--border-thick); }
.svc-item { border-bottom: var(--border); }
.svc-head {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 0; background: none; border: 0; cursor: pointer; text-align: left; color: var(--ink);
}
.svc-title {
  font-family: var(--display); font-size: clamp(1.5rem, 3.6vw, 3.2rem);
  text-transform: uppercase; line-height: 1.02; letter-spacing: -0.5px;
  transition: color 0.25s;
}
.svc-icon {
  flex: none; font-family: var(--display); font-weight: 400;
  font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1; color: var(--ink);
  transition: transform 0.4s cubic-bezier(0.45,0,0.55,1), color 0.25s;
}
.svc-head:hover .svc-title, .svc-head:hover .svc-icon,
.svc-item.open .svc-title, .svc-item.open .svc-icon { color: var(--hot); }
.svc-item.open .svc-icon { transform: rotate(45deg); }
.svc-panel { overflow: hidden; height: 0; }
.svc-panel-inner { overflow: hidden; min-height: 0; }
.svc-body { padding: 2px 0 38px; max-width: 880px; }
.svc-text {
  font-family: var(--body); font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.65; color: rgba(10,10,10,0.78); margin: 0 0 22px;
}
.svc-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.svc-chips .chip {
  font-family: var(--body); font-size: 0.86rem; line-height: 1;
  padding: 9px 16px; border: 1.5px solid var(--ink); border-radius: 999px; color: var(--ink);
}
.svc-chip-label {
  flex-basis: 100%; margin-top: 8px;
  font-family: var(--body); font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px; color: var(--hot);
}
.svc-chip-label:first-child { margin-top: 0; }

/* ============ CTA ============ */
.cta {
  background: var(--acid);
  border-top: var(--border-thick);
  border-bottom: var(--border-thick);
  padding: 100px 2vw;
}
.cta-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 1.2fr 0.8fr;
  gap: 60px; align-items: center;
}
.cta h2 {
  font-family: var(--bebas), var(--geo);
  font-size: clamp(3rem, 8vw, 8rem);
  text-transform: uppercase;
  line-height: 0.85;
  letter-spacing: -1px;
  font-weight: 400;
}
.cta p {
  font-family: 'FiraGO', sans-serif;
  font-weight: 400;
  font-size: 1.05rem;
  margin: 28px 0;
  max-width: 420px; line-height: 1.5;
}
.cta-img { border: var(--border); box-shadow: var(--shadow-lg); overflow: hidden; }
.cta-img img { width: 100%; aspect-ratio: 4/5; object-fit: cover; background: var(--ink); display: block; }
.btn-dark {
  font-family: var(--bebas), var(--geo);
  font-size: 1.4rem; letter-spacing: 1px;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--paper);
  padding: 18px 40px;
  border: var(--border);
  box-shadow: var(--shadow);
  display: inline-block;
  transition: transform 0.12s, box-shadow 0.12s;
  cursor: pointer;
}
.btn-dark:hover { transform: translate(4px,4px); box-shadow: 4px 4px 0 var(--ink); }


/* ============ FOOTER ============ */
.footer { background: var(--ink); color: var(--paper); padding: 70px 2vw 30px; }
.footer-top {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px; padding-bottom: 50px;
  border-bottom: var(--border);
  border-color: rgba(242,240,235,0.2);
}
.footer-logo { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.footer-logo-img { height: 42px; width: auto; display: block; }
.footer-logo span { font-family: var(--bebas), var(--geo); font-size: 2.4rem; color: var(--acid); letter-spacing: 2px; line-height: 1; }
.footer-brand p { font-family: 'FiraGO', sans-serif; font-weight: 400; font-size: 0.9rem; color: rgba(242,240,235,0.5); line-height: 1.6; max-width: 320px; }
.footer-col h4 { font-family: var(--bebas), var(--geo); font-size: 1.1rem; font-weight: 400; text-transform: uppercase; letter-spacing: 1px; color: var(--acid); margin-bottom: 18px; }
.footer-col a { display: block; font-family: 'FiraGO', sans-serif; font-weight: 400; font-size: 0.9rem; color: rgba(242,240,235,0.7); padding: 5px 0; transition: color 0.15s; }
.footer-col a:hover { color: var(--acid); }
.footer-bottom { max-width: var(--max-w); margin: 0 auto; padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom span, .footer-bottom a { font-family: 'FiraGO', sans-serif; font-weight: 400; font-size: 0.8rem; color: rgba(242,240,235,0.4); }

.touch-bar { background: var(--hot); padding: 24px 2vw; text-align: center; border-bottom: var(--border-thick); }
.touch-bar a { font-family: var(--bebas), var(--geo); font-size: clamp(1.8rem, 4vw, 3rem); color: var(--white); text-transform: uppercase; letter-spacing: 2px; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .work-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-inner { grid-template-columns: 1fr; }
  .cta-img { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}


/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* ============ PORTFOLIO / VIDEO SECTION ============ */
.portfolio-section {
  position: relative;
  z-index: 1;
  background: #1c1c1c;
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-top: var(--border-thick);
  border-bottom: var(--border-thick);
}
.portfolio-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 3px solid var(--paper);
  padding: 104px 2vw 24px;
  flex-shrink: 0;
  flex-wrap: wrap;
  gap: 20px;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}
.portfolio-head .section-title {
  color: var(--paper);
  font-size: clamp(2.5rem, 3.8vw, 4.2rem);
  line-height: 0.88;
  max-width: 75%;
}
.portfolio-head .section-tag { color: var(--paper); }
.portfolio-head .section-tag .num { background: var(--paper); color: var(--ink); }
.portfolio-track-wrapper {
  flex: 1;
  overflow: hidden;
  padding: 80px 2vw;
  display: flex;
  align-items: center;
}
.portfolio-track {
  display: flex;
  gap: 20px;
  align-items: center;
  will-change: transform;
  flex-shrink: 0;
}
.portfolio-card {
  position: relative;
  height: calc(100vh - 390px);
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  flex-shrink: 0;
  cursor: pointer;
  background: #000;
  box-shadow: 0 8px 40px rgba(0,0,0,0.6);
  user-select: none;
}
.portfolio-card video { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.portfolio-card .play-pulse {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s;
}
.portfolio-card.is-paused:hover .play-pulse { opacity: 1; }
.play-pulse svg { width: 60px; height: 60px; fill: rgba(255,255,255,0.82); filter: drop-shadow(0 2px 10px rgba(0,0,0,0.5)); }
.portfolio-controls {
  position: absolute;
  bottom: 14px; right: 14px;
  display: flex; gap: 8px;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.2s;
}
.portfolio-card:hover .portfolio-controls,
.portfolio-card.is-playing .portfolio-controls { opacity: 1; }
.pctrl-btn {
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.15s;
  flex-shrink: 0;
}
.pctrl-btn:hover { background: rgba(0,0,0,0.82); }
.pctrl-btn svg { width: 16px; height: 16px; fill: #fff; pointer-events: none; display: block; }

/* ============ LOGO SECTION ============ */
.logo-section {
  position: relative;
  z-index: 2;        /* slides OVER the video section */
  background: #1c1c1c;
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-top: var(--border-thick);
}
.logo-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 3px solid rgba(255,255,255,0.9);
  padding: 104px 2vw 24px;
  flex-shrink: 0;
  flex-wrap: wrap;
  gap: 20px;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}
.logo-head .section-title { color: var(--paper); font-size: clamp(2.5rem, 3.8vw, 4.2rem); line-height: 0.88; max-width: 75%; }
.logo-head .section-tag { color: var(--paper); }
.logo-head .section-tag .num { background: var(--paper); color: var(--ink); }
.logo-track-wrapper {
  flex: 1;
  overflow: hidden;
  padding: 80px 2vw;
  display: flex;
  align-items: center;
}
.logo-track { display: flex; gap: 20px; align-items: center; will-change: transform; flex-shrink: 0; }
.logo-card {
  position: relative;
  height: calc(100vh - 390px);
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  overflow: hidden;
  flex-shrink: 0;
  background: #f7f7f7;
  border: 2px solid rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  box-sizing: border-box;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  transition: box-shadow 0.2s;
}
.logo-card:hover { box-shadow: 0 8px 40px rgba(0,0,0,0.14); }
.logo-card img { width: 100%; height: 100%; object-fit: contain; display: block; }

/* ===== PORTFOLIO + LOGO: stack vertically on mobile (no pin / no horizontal scroll) ===== */


/* ============ FULLSCREEN OVERLAY ============ */
.pf-overlay {
  position: fixed; inset: 0;
  background: #000;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.pf-overlay.show { opacity: 1; pointer-events: all; }
.pf-close {
  position: absolute;
  top: 16px; right: 20px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.1rem; cursor: pointer; z-index: 2;
  transition: background 0.15s;
  line-height: 1;
  font-family: var(--mono);
}
.pf-close:hover { background: rgba(255,255,255,0.2); }
.pf-video { width: 100%; height: 100%; object-fit: contain; display: block; }
.pf-controls {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px 28px 28px;
  background: linear-gradient(transparent, rgba(0,0,0,0.78));
  display: flex; align-items: center; gap: 14px; z-index: 2;
}
.pf-ctrl-btn { background: none; border: none; cursor: pointer; padding: 4px; flex-shrink: 0; display: flex; align-items: center; }
.pf-ctrl-btn svg { width: 22px; height: 22px; fill: #fff; display: block; }
.pf-progress {
  flex: 1; height: 4px;
  background: rgba(255,255,255,0.25);
  border-radius: 2px; cursor: pointer; position: relative; transition: height 0.1s;
}
.pf-progress:hover { height: 6px; }
.pf-fill { height: 100%; width: 0%; background: var(--acid); border-radius: 2px; pointer-events: none; }
.pf-time { font-family: var(--mono); font-size: 0.7rem; color: rgba(255,255,255,0.65); flex-shrink: 0; min-width: 86px; text-align: right; }


/* ============================================================
   MOBILE POLISH PASS —


/* ============================================================
   RESPONSIVE — mobile (max-width: 768px)
   Single consolidated block. Sections in page order:
   Navbar → Hero → Section shell → Work → Services → Statement
   → Case studies (Keti / Sukhishvili) → CTA → Touch bar
   → Footer → Portfolio & Logo → Fullscreen player
   ============================================================ */
@media (max-width: 768px) {

  /* ── Navbar ── */
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }

  /* ── Hero ── */
  .hero { padding: 100px 20px 50px; min-height: 100svh; }
  .hero-eyebrow { font-size: 0.72rem; }
  .hero-bottom { flex-direction: column; align-items: flex-start; margin-top: 36px; gap: 24px; }
  .hero-tagline { font-size: 1rem; max-width: 100%; }
  .hero-ctas { width: auto; }
  .btn-primary { font-size: 1.2rem; padding: 14px 32px; }

  /* ── Mobile menu CTA button ── */
  .mobile-menu-cta {
    line-height: 1;
    padding: 14px 28px !important;
  }

  /* ── Section shell ── */
  .section { padding: 64px 20px; }
  .section-head { margin-bottom: 32px; }
  .section-tagline { font-size: 0.95rem; margin-top: 14px; }

  /* ── Work grid ── */
  .work-grid { gap: 20px; }

  /* ── Type marquee ── */
  .type-marquee { padding: 20px 0; }

  /* ── Services grid ── */
  .services-grid { grid-template-columns: 1fr; }
  .service-card { border-right: none; }

  /* ── Services accordion ── */
  .svc-title { font-size: clamp(1.3rem, 7vw, 2rem); }
  .svc-text { font-size: 0.95rem; }
  .svc-chips .chip { font-size: 0.8rem; padding: 8px 14px; }

  /* ── Statement ── */
  .statement { padding: 72px 20px; }
  .statement h2 { font-size: clamp(2rem, 10vw, 3.6rem); line-height: 0.88; }
  .statement p { margin-left: 0; font-size: 1rem; max-width: 100%; }

  /* ── Keti case study — stat grid layout, portrait at top, social buttons at bottom ── */
  .ks-section { height: auto; z-index: auto; }
  .ks-sticky { position: relative; height: auto; display: flex; flex-direction: column; overflow: hidden; }
  .ks-right { order: -1; display: block; height: 300px; padding: 0; }
  .ks-card { width: 100%; height: 100%; aspect-ratio: unset; border-radius: 0; }
  .ks-media-item { border-radius: 0; box-shadow: none; }
  .ks-left { overflow: visible; }
  .ks-left-track { position: relative; transform: none !important; padding: 0; display: grid; grid-template-columns: 1fr 1fr; }
  .ks-block { height: auto; padding: 24px 20px; opacity: 1 !important; border-bottom: var(--border); border-right: var(--border); display: flex; align-items: center; justify-content: center; }
  .ks-block:first-child { grid-column: 1 / -1; border-bottom: var(--border-thick); background: var(--ink); padding: 32px 20px; }
  .ks-block:first-child .ks-title { color: var(--paper); font-size: clamp(2rem, 9vw, 3rem); }
  .ks-block:first-child .ks-label { color: var(--acid); }
  .ks-block:nth-child(even) { border-right: none; }
  .ks-arrow { display: none; }
  .ks-col { align-items: center; text-align: center; }
  .ks-title { font-size: clamp(1.4rem, 6vw, 2rem); line-height: 0.9; }
  .ks-stat { font-size: clamp(1.6rem, 7vw, 2.4rem); white-space: normal; }
  .ks-label { font-size: 0.7rem; margin-top: 10px; }
  .ks-outro { display: flex; position: relative; inset: auto; padding: 32px 20px; pointer-events: auto; }
  .ks-outro .ks-social-btn { opacity: 1 !important; transform: none !important; pointer-events: auto; }

  /* ── Sukhishvili case study — same grid layout, dark colours, no portrait ── */
  .sk-section { height: auto; z-index: auto; }
  .sk-sticky { position: relative; height: auto; display: block; overflow: hidden; }
  .sk-right { display: none; }
  .sk-left { overflow: visible; }
  .sk-left-track { position: relative; transform: none !important; padding: 0; display: grid; grid-template-columns: 1fr 1fr; }
  .sk-block { height: auto; padding: 24px 20px; opacity: 1 !important; border-bottom: 1px solid rgba(255,255,255,0.15); border-right: 1px solid rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; }
  .sk-block:first-child { grid-column: 1 / -1; border-bottom: 3px solid rgba(255,255,255,0.25); padding: 32px 20px; }
  .sk-logo { width: clamp(160px, 50vw, 260px); }
  .sk-block:nth-child(even) { border-right: none; }
  .sk-arrow { display: none; }
  .sk-col { align-items: center; text-align: center; }
  .sk-title { font-size: clamp(1.2rem, 5.5vw, 1.8rem); line-height: 0.95; }

  /* ── Case study section tags ── */
  .cs-tag { top: 20px; right: 20px; }

  /* ── CTA ── */
  .cta { padding: 64px 20px; }
  .cta-inner { grid-template-columns: 1fr; }
  .cta-img { display: none; }
  .cta h2 { font-size: clamp(2.6rem, 12vw, 5rem); }
  .cta p { font-size: 0.95rem; margin: 20px 0; }
  .btn-dark { width: 100%; text-align: center; font-size: 1.2rem; padding: 16px 24px; }

  /* ── Touch bar ── */
  .touch-bar { padding: 20px; }

  /* ── Footer ── */
  .footer { padding: 50px 20px 24px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; gap: 8px; }

  /* ── Portfolio & Logo sections — stack cards vertically, clip overflow ── */
  .portfolio-section, .logo-section { height: auto; overflow: hidden; }
  .portfolio-head, .logo-head { padding: 92px 5vw 20px; }
  .portfolio-head .section-title, .logo-head .section-title { max-width: 100%; }
  .portfolio-track-wrapper, .logo-track-wrapper { overflow: hidden; padding: 32px 5vw 48px; }
  .portfolio-track, .logo-track { flex-direction: column; width: 100%; gap: 22px; align-items: stretch; }
  .portfolio-card { height: auto; width: 100%; aspect-ratio: 16 / 9; }
  .logo-card { height: auto; width: 100%; max-width: 340px; aspect-ratio: 1 / 1; margin: 0 auto; padding: 30px; }

  /* ── Fullscreen video player ── */
  .pf-controls { padding: 14px 16px 20px; gap: 10px; }
  .pf-time { font-size: 0.65rem; min-width: 70px; }

}

/* ============================================================
   RESPONSIVE — narrow phones (max-width: 480px)
   Refinements for iPhone mini/SE class screens.
   ============================================================ */
@media (max-width: 480px) {

  /* Mobile menu CTA: cap size so it always fits with breathing room */
  .mobile-menu-cta {
    font-size: clamp(1.5rem, 8vw, 2rem) !important;
    padding: 14px 22px !important;
  }

  /* Case-study stat/text grids: single column — no clipped words */
  .ks-left-track, .sk-left-track { grid-template-columns: 1fr; }
  .ks-block, .sk-block { border-right: none !important; }

  /* Sukhishvili header: clear the "04" tag so it doesn't crowd the logo */
  .sk-block:first-child { padding-top: 72px; }
}
