/* ============================================================
   Studio Ink Production — main.css (v2.0 — Ported from HTML)
   Source of truth: user's HTML files (index/about/portfolio
   _dropdown_stable). This CSS mirrors the inline <style> blocks
   from those files as closely as possible, with only additions
   needed to support WordPress blocks (blog, contact, footer).
   ============================================================ */

:root {
  --blue: #49bdff;
  --si-header-height: 75px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Montserrat', sans-serif;
  background: #fff;
  color: #111;
  overflow-x: hidden;
}
a, button { text-decoration: none; color: inherit; font: inherit; border: 0; background: transparent; cursor: pointer; }
img, video { display: block; max-width: 100%; }

/* ---------- HEADER (fixed 75px, multi-stop gradient) ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 100;
  background: linear-gradient(90deg,
    rgba(91,176,228,.96) 0%,
    rgba(79,128,157,.90) 41%,
    rgba(19,29,39,.93) 75%,
    rgba(0,0,0,.98) 100%
  );
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.nav-inner {
  height: 75px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 26px;
  gap: 24px;
}
.nav-inner .brand { margin-right: auto; }
.nav-inner > nav { margin-left: 0; }
.brand img { width: 168px; height: auto; }
.brand-text {
  color: #fff;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.brand-text span { color: var(--blue); }

nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 36px;
  margin: 0;
  padding: 0;
  color: #fff;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.2px;
}
nav li { position: relative; }
nav a { color: #fff; }
nav a:hover { color: #e5f6ff; }
nav li.has-dropdown { padding-bottom: 18px; margin-bottom: -18px; }

.dropdown {
  position: absolute;
  top: 100%; left: -20px;
  width: 246px;
  background: rgba(10,13,18,.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(0);
  transition: opacity .18s ease, visibility .18s ease;
  box-shadow: 0 16px 36px rgba(0,0,0,.38);
  padding: 10px 0;
  z-index: 150;
  border: 1px solid rgba(255,255,255,.06);
}
nav li:hover > .dropdown,
nav li:focus-within > .dropdown,
.dropdown:hover { opacity: 1; visibility: visible; pointer-events: auto; }

.dropdown a {
  display: block;
  text-align: center;
  color: #fff;
  font-size: 15px;
  font-weight: 400;
  padding: 12px 14px;
  white-space: nowrap;
}
.dropdown a:hover { background: rgba(255,255,255,.06); }

.burger {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0;
}
.burger span {
  width: 22px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .3s ease, opacity .2s ease;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- MOBILE SLIDE PANEL (burger menu) ---------- */
.si-mobile-panel {
  position: fixed; inset: 0;
  z-index: 140;
  display: none;
}
.si-mobile-panel.is-open { display: block; }
.si-mobile-panel__backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity .3s ease;
}
.si-mobile-panel.is-open .si-mobile-panel__backdrop { opacity: 1; }
.si-mobile-panel__inner {
  position: absolute;
  top: 0; right: 0;
  height: 100%;
  width: min(360px, 86%);
  background: #0a0d12;
  border-left: 1px solid rgba(255,255,255,.06);
  padding: 88px 28px 32px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .34s cubic-bezier(.22,.9,.36,1);
  box-shadow: -24px 0 60px rgba(0,0,0,.4);
}
.si-mobile-panel.is-open .si-mobile-panel__inner { transform: translateX(0); }
.si-mobile-panel__close {
  position: absolute;
  top: 22px; right: 22px;
  width: 40px; height: 40px;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0;
  display: grid; place-items: center;
}
.si-mobile-panel__close span {
  position: absolute;
  width: 22px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: background .2s ease;
}
.si-mobile-panel__close span:first-child { transform: rotate(45deg); }
.si-mobile-panel__close span:last-child  { transform: rotate(-45deg); }
.si-mobile-panel__close:hover span { background: var(--blue); }
ul.si-mobile-nav {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column;
  gap: 4px;
}
ul.si-mobile-nav li { position: relative; }
ul.si-mobile-nav > li > a {
  display: block;
  color: #fff;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -.2px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: color .2s ease;
}
ul.si-mobile-nav > li > a:hover { color: var(--blue); }
ul.si-mobile-nav li.has-dropdown > a::after {
  content: "+";
  float: right;
  font-size: 20px;
  color: var(--blue);
  transition: transform .25s ease;
  transform-origin: center;
}
ul.si-mobile-nav li.has-dropdown.is-open > a::after { content: "−"; }
ul.si-mobile-nav .dropdown {
  position: static;
  width: 100%;
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  padding: 0 0 0 14px;
  margin: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  border: 0;
  pointer-events: none;
  transition: max-height .28s ease, opacity .2s ease;
}
ul.si-mobile-nav li.has-dropdown.is-open > .dropdown {
  max-height: 400px;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  padding: 6px 0 14px 14px;
}
ul.si-mobile-nav .dropdown a {
  display: block;
  color: rgba(255,255,255,.76);
  font-size: 15px;
  padding: 10px 0;
  text-align: left;
  white-space: normal;
}
ul.si-mobile-nav .dropdown a:hover { color: var(--blue); background: transparent; }
body.si-menu-open { overflow: hidden; }

/* ---------- SECTION PRIMITIVE ---------- */
section { width: 100%; position: relative; overflow: hidden; }
.section-shell { width: min(1360px, calc(100% - 64px)); margin: 0 auto; }

/* ---------- LANDING HERO ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(73,189,255,.10) 0%, rgba(73,189,255,0) 22%),
    linear-gradient(180deg, rgba(0,0,0,.10), rgba(0,0,0,.32)),
    linear-gradient(90deg, #2d2d2d, #232323);
  padding-top: 75px;
}
.hero-content {
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
  padding: 80px 0;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero-title {
  margin: 0;
  color: #fff;
  font-size: clamp(36px, 5.4vw, 76px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -2px;
  text-transform: uppercase;
  width: 100%;
  max-width: 92vw;
  margin-inline: auto;
  /* v6.6 — keep long ID translations inside the frame; allow the browser to
   * balance lines so "SOLUTIONS PARTNER" no longer breaks awkwardly. */
  overflow-wrap: normal;
  word-break: normal;
  hyphens: auto;
  text-wrap: balance;
}
.hero-title .blue { color: var(--blue); }

/* v6.5 — Anti-horizontal-scroll safety net (active across whole theme). */
html, body { overflow-x: hidden; }
.hero-content { max-width: 100%; padding-left: clamp(16px, 4vw, 32px); padding-right: clamp(16px, 4vw, 32px); box-sizing: border-box; }
.hero-sub {
  margin: 22px auto 0;
  max-width: 720px;
  color: rgba(255,255,255,.8);
  font-size: 16px;
  letter-spacing: .02em;
  text-transform: uppercase;
  text-align: center;
}
.hero-cta {
  margin-top: 34px;
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: #fff;
  color: #111;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 14px 40px rgba(0,0,0,.22);
  transition: transform .2s ease, box-shadow .2s ease;
}
.hero-cta:hover { transform: translateY(-2px); box-shadow: 0 18px 48px rgba(0,0,0,.3); color: #111; }
.hero-bg-left,
.hero-bg-right {
  position: absolute;
  bottom: 0;
  width: 40%;
  opacity: .6;
  z-index: 1;
}
.hero-bg-left { left: 0; }
.hero-bg-right { right: 0; }
.hero-footer {
  position: absolute;
  left: 18px; bottom: 12px;
  color: rgba(255,255,255,.65);
  font-size: 11px;
  z-index: 2;
}

/* --- Optional Home Hero Background Image (only when ACF image uploaded) ---
 * Scoped to .hero.has-hero-bg so the default dark gradient hero is byte-for-byte
 * unchanged when no image is set. Image sits behind .hero-content (z:2) and
 * .hero-bg-left/right (z:1) at z:0, with a dark gradient overlay on top of it. */
.hero.has-hero-bg { position: relative; overflow: hidden; }
.hero.has-hero-bg .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero.has-hero-bg .hero-bg__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  position: absolute;
  inset: 0;
}
/* v5.0 — show desktop image above 768px, mobile image below. */
.hero.has-hero-bg .hero-bg__img--mobile { display: none; }
@media (max-width: 768px) {
  .hero.has-hero-bg .hero-bg__img--desktop { display: none; }
  .hero.has-hero-bg .hero-bg__img--mobile  { display: block; }
}
.hero.has-hero-bg .hero-bg__overlay {
  position: absolute;
  inset: 0;
  /* Thicker overlay — keeps CTA + rotating word crisp even on bright photos. */
  background:
    linear-gradient(180deg, rgba(10,13,18,.70) 0%, rgba(10,13,18,.90) 100%),
    radial-gradient(ellipse at center, rgba(10,13,18,0) 0%, rgba(10,13,18,.35) 100%);
}
.hero.has-hero-bg .hero-content { position: relative; z-index: 2; }

/* --- Hero rotating word (auto-width to longest item → perfect visual center) --- */
.hero-rotate {
  position: relative;
  display: block;
  width: -moz-max-content;
  width: -webkit-max-content;
  width: max-content;
  max-width: 100vw;
  /* Use transform-centering so item can exceed parent width while staying optically centered */
  left: 50%;
  transform: translateX(-50%);
  margin: 4px 0;
  color: var(--blue);
  line-height: inherit;
  text-align: center;
}
.hero-rotate__sizer {
  visibility: hidden;
  pointer-events: none;
  white-space: nowrap;
  display: block;
}
.hero-rotate__item {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  text-align: center;
  white-space: nowrap;
  color: var(--blue);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .6s ease, transform .6s ease;
}
.hero-rotate__item.is-active { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .hero-rotate__item { transition: opacity .2s linear; transform: none; }
}

/* ---------- SERVICES (landing 2-col) ---------- */
.services {
  background:
    linear-gradient(180deg, rgba(0,0,0,.32), rgba(0,0,0,.76)),
    linear-gradient(90deg, #0a0d12, #0a0d12);
  color: #fff;
  padding: 110px 0 130px;
}
.services-intro {
  text-align: center;
  max-width: 1180px;
  margin: 0 auto 48px;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255,255,255,.82);
}
.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.service-card {
  position: relative;
  min-height: 520px;
  background: linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.75));
  border: 1px solid rgba(255,255,255,.06);
  padding: 40px 34px 34px;
  display: grid;
  grid-template-rows: auto 1fr auto;
}
.service-card h2 {
  margin: 0 0 28px;
  text-align: left;
  font-size: 42px;
  line-height: 1.05;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}
.columns { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.service-card h3 {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 18px;
  font-weight: 700;
}
.service-card ul {
  list-style: none;
  margin: 0; padding: 0;
  color: rgba(255,255,255,.95);
  font-size: 15px;
  line-height: 2.1;
}
.service-btn {
  justify-self: flex-start;
  margin-top: 28px;
  min-width: 240px;
  text-align: center;
  padding: 14px 20px;
  background: #fff;
  color: #111;
  font-size: 14px;
  font-weight: 600;
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.service-btn:hover { transform: translateY(-2px); color: #111; box-shadow: 0 10px 28px rgba(73,189,255,.25); }

/* ---------- SHOWCASE (Ready to Elevate) ---------- */
.showcase {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(73,189,255,.10) 0%, rgba(73,189,255,0) 18%),
    linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.62)),
    linear-gradient(90deg, #0a0d12, #0a0d12);
}
.showcase::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.14), rgba(0,0,0,.7));
}
.showcase-content {
  position: relative; z-index: 2;
  width: min(1860px, calc(100% - 60px));
  padding: 120px 0 110px;
}
.showcase h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(28px, 3.2vw, 60px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -1.2px;
  text-transform: uppercase;
  max-width: 100%;
}
.showcase h2 .cta-title-main,
.showcase h2 .cta-title-brand {
  display: block;
  white-space: nowrap;
}
@media (max-width: 768px) {
  .showcase h2 { font-size: clamp(24px, 5.4vw, 38px); letter-spacing: -.5px; }
  .showcase h2 .cta-title-main,
  .showcase h2 .cta-title-brand { white-space: normal; }
}
.showcase-line {
  width: 360px;
  max-width: 60%;
  height: 2px;
  background: rgba(255,255,255,.92);
  margin: 20px auto 18px;
}
.showcase p {
  margin: 0 auto;
  max-width: 640px;
  color: rgba(255,255,255,.92);
  font-size: 18px;
  line-height: 1.5;
}

/* v5.2 — Optional CTA background image (only when ACF home_cta_background_image set).
 * Scoped to .showcase.has-cta-bg so default Showcase look is byte-for-byte unchanged
 * when no image is uploaded. */
.showcase.has-cta-bg { position: relative; overflow: hidden; }
.showcase.has-cta-bg .showcase-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.showcase.has-cta-bg .showcase-bg__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  position: absolute;
  inset: 0;
}
.showcase.has-cta-bg .showcase-bg__overlay {
  position: absolute;
  inset: 0;
  /* Strong dark overlay so heading + quote stay crisp on bright photos. */
  background:
    linear-gradient(180deg, rgba(10,13,18,.75) 0%, rgba(10,13,18,.92) 100%),
    radial-gradient(ellipse at center, rgba(10,13,18,0) 0%, rgba(10,13,18,.4) 100%);
}
.showcase.has-cta-bg .showcase-content { position: relative; z-index: 2; }

/* ---------- FAQ (landing — below Ready to Elevate) ---------- */
.faq {
  background: #0a0d12;
  color: #fff;
  padding: 120px 0 140px;
}
.faq-shell {
  max-width: 920px;
}
.faq-title {
  margin: 0 0 56px;
  color: #fff;
  font-size: clamp(36px, 4.2vw, 60px);
  line-height: 1;
  letter-spacing: -1.4px;
  font-weight: 800;
  text-align: center;
}
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  background: rgba(255,255,255,.02);
  overflow: hidden;
  transition: border-color .25s ease, background .25s ease;
}
.faq-item.is-open {
  border-color: rgba(73,189,255,.45);
  background: rgba(73,189,255,.05);
}
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 22px 26px;
  background: transparent;
  border: 0;
  color: #fff;
  font: inherit;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
  transition: color .2s ease;
}
.faq-q:hover { color: var(--blue); }
.faq-q__text { flex: 1; }
/* v6.0 — Subtle bullet before each FAQ question (CSS-only, no HTML change). */
.faq-q__text::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  margin-right: 12px;
  vertical-align: middle;
  position: relative;
  top: -2px;
  flex: 0 0 auto;
}
.faq-q__icon {
  position: relative;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  display: inline-block;
  transition: transform .3s ease, color .2s ease;
}
.faq-q__icon::before,
.faq-q__icon::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  background: currentColor;
  transition: transform .3s ease, opacity .2s ease;
}
.faq-q__icon::before { width: 10px; height: 1.5px; transform: translate(-50%,-50%); }
.faq-q__icon::after  { width: 1.5px; height: 10px; transform: translate(-50%,-50%); }
.faq-item.is-open .faq-q { color: var(--blue); }
.faq-item.is-open .faq-q__icon::after { opacity: 0; transform: translate(-50%,-50%) rotate(90deg); }
.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height .35s ease;
}
.faq-a[hidden] { display: block; }
.faq-item.is-open .faq-a { max-height: 2000px; }
.faq-a__inner {
  padding: 0 26px 24px;
  color: rgba(255,255,255,.82);
  font-size: 15px;
  line-height: 1.68;
}
.faq-a__inner p { margin: 0 0 10px; }
.faq-a__inner p:last-child { margin-bottom: 0; }
.faq-a__inner ul { margin: 6px 0 10px; padding-left: 20px; }
.faq-a__inner ul li { margin: 0 0 6px; line-height: 1.55; }
.faq-a__inner a { color: var(--blue); text-decoration: none; border-bottom: 1px solid rgba(73,189,255,.35); }
.faq-a__inner a:hover { color: #fff; border-bottom-color: #fff; }
.faq-a__inner strong { color: #fff; font-weight: 600; }
.faq-clients {
  margin: 14px 0 2px;
  padding: 14px 14px 8px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
}
.faq-clients img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 720px;
  margin: 0 auto;
  filter: brightness(1.05) contrast(1.02);
}
@media (max-width: 720px) {
  .faq { padding: 80px 0 100px; }
  .faq-title { margin-bottom: 32px; }
  .faq-q { padding: 18px 18px; font-size: 15px; gap: 14px; }
  .faq-a__inner { padding: 0 18px 20px; font-size: 14px; }
}

/* ---------- CLIENTS / PARTNERS (full-width composite image) ---------- */
.clients {
  background: #0a0d12;
  padding: 120px 0 140px;
}
.clients-shell {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 48px;
  text-align: center;
}
.clients-title {
  margin: 0 0 64px;
  color: #fff;
  font-size: clamp(32px, 3.6vw, 52px);
  line-height: 1;
  letter-spacing: -1.2px;
  font-weight: 800;
  text-transform: uppercase;
}
.clients-stage {
  display: flex;
  justify-content: center;
  align-items: center;
}
.clients-img {
  display: block;
  width: 100%;
  max-width: 1280px;
  height: auto;
  object-fit: contain;
}
@media (max-width: 720px) {
  .clients { padding: 80px 0 100px; }
  .clients-shell { padding: 0 24px; }
  .clients-title { margin-bottom: 40px; }
}
/* v6.4 — Trusted By: enlarge logo on mobile so partners are clearly visible.
 * Scoped tightly to .clients on small screens; desktop layout (≥769px) is
 * untouched. The bottom-stage rule that capped logos at 36px (line ~2647)
 * is overridden via increased specificity + later cascade. */
@media (max-width: 768px) {
  .clients-stage {
    gap: 24px;
    padding: 0 6px;
  }
  .clients-stage .clients-img,
  .clients-img {
    max-height: 72px;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
  }
}

/* ---------- PLACEHOLDER / WEBSITE 3 empty spacer ---------- */
.placeholder {
  min-height: 720px;
  background: #0a0d12;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.placeholder-box {
  width: min(980px, calc(100% - 40px));
  padding: 50px 24px;
  border: 1px dashed rgba(255,255,255,.16);
  background: rgba(255,255,255,.02);
}
.placeholder h2 {
  margin: 0 0 14px;
  font-size: 42px;
  font-weight: 700;
  color: var(--blue);
}
.placeholder p {
  margin: 0 auto;
  max-width: 720px;
  color: rgba(255,255,255,.74);
  font-size: 16px;
  line-height: 1.7;
}

/* ---------- ABOUT PAGE ---------- */
.about-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  background: #111;
  display: flex; align-items: center; justify-content: center;
  text-align: center; color: #fff;
  overflow: hidden;
}
.about-hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.18) 0%, rgba(0,0,0,.30) 38%, rgba(0,0,0,.72) 100%);
}
.about-hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.about-hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .5; position: absolute; inset: 0; }
.about-hero-content {
  position: relative; z-index: 2;
  width: min(1320px, calc(100% - 56px));
}
.about-hero h1 {
  margin: 0;
  color: var(--blue);
  font-size: 82px;
  line-height: .97;
  letter-spacing: -3.2px;
  font-weight: 800;
}
.about-hero .sub {
  margin-top: 10px;
  color: #fff;
  font-size: 29px;
  line-height: 1.18;
  font-weight: 500;
}
.about-hero .desc {
  margin: 18px auto 0;
  max-width: 1100px;
  color: rgba(255,255,255,.94);
  font-size: 15px;
  line-height: 1.34;
}

.inksider, .journey, .story {
  min-height: calc(100vh - var(--si-header-height));
  min-height: calc(100dvh - var(--si-header-height));
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: linear-gradient(90deg, #0a0d12 0%, #0a0d12 52%, #0a0d12 100%);
}
.inksider-copy, .story-copy {
  display: flex; flex-direction: column; justify-content: center;
  padding: 120px 58px 110px 52px;
  color: #fff;
}
.inksider-copy .hello {
  margin: 0 0 20px;
  color: #fff;
  font-size: 39px;
  font-weight: 300;
  line-height: 1;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}
.inksider-copy .hello::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 156px; height: 4px;
  background: var(--blue);
}
.inksider-copy h2, .journey-box h2 {
  margin: 0 0 32px;
  color: var(--blue);
  font-size: 64px;
  line-height: .96;
  letter-spacing: -2.4px;
  font-weight: 800;
  text-transform: uppercase;
}
.inksider-copy p, .journey-box p, .story-copy p {
  margin: 0 0 28px;
  max-width: 820px;
  color: rgba(255,255,255,.9);
  font-size: 18px;
  line-height: 1.34;
}
.inksider-image, .story-image, .service-media {
  background: #222;
  background-size: cover;
  background-position: center;
}
.journey { background: #0a0d12; }
.journey-text {
  display: flex; align-items: center; justify-content: flex-end;
  padding: 120px 78px 110px 48px;
}
.journey-box { max-width: 820px; text-align: right; color: #fff; margin-left: auto; }
.journey-box h2 { text-align: right; }
.journey-box p { margin-left: auto; }
.journey-media {
  background: #222;
  background-size: cover;
  background-position: center;
  min-height: calc(100vh - var(--si-header-height));
  min-height: calc(100dvh - var(--si-header-height));
}
.story { background: #0a0d12; }

.what {
  background: linear-gradient(180deg, #56a5d0 0%, #12222b 100%);
  padding: 0;
}
.what-header {
  background: transparent;
  text-align: center;
  padding: 96px 24px 64px;
}
.what-header h2 {
  margin: 0;
  color: #fff;
  font-size: 68px;
  line-height: 1;
  letter-spacing: -1.8px;
  font-weight: 800;
  text-transform: uppercase;
}
.what-line {
  width: 528px;
  max-width: calc(100% - 60px);
  height: 4px;
  background: rgba(255,255,255,.95);
  margin: 16px auto 0;
}
.service-row {
  min-height: calc(100vh - var(--si-header-height));
  min-height: calc(100dvh - var(--si-header-height));
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  background: transparent;
}
.service-row.dark,
.service-row.graphic {
  background: transparent;
}
.service-media { min-height: calc(100vh - var(--si-header-height)); min-height: calc(100dvh - var(--si-header-height)); }

/* Alternating rows: odd row of .what (nth-child 3,5) reverses image/text. */
.what > .service-row:nth-child(odd) { grid-template-columns: 1.1fr .9fr; }
.what > .service-row:nth-child(odd) .service-media { order: 2; }
.what > .service-row:nth-child(odd) .service-copy-wrap { order: 1; }
.what > .service-row:nth-child(odd) .service-title-strip {
  width: calc(100% + 58px);
  margin-left: 0;
  margin-right: -58px;
  padding: 15px 58px 17px 26px;
}
.service-copy-wrap {
  display: flex; flex-direction: column; justify-content: center;
  padding: 78px 58px 64px;
  color: #fff;
}

/* v5.4 — About blue service rows: balance vertical alignment between the
 * image column and the copy column. Scoped to .what .service-row so other
 * pages (services, portfolio) are not affected. */
.what .service-row { align-items: stretch; }
.what .service-row .service-copy-wrap {
  justify-content: center;
  /* Symmetric vertical padding so title-strip + body + button feel centered
   * against the full-height image column. */
  padding-top: 64px;
  padding-bottom: 64px;
}
.what .service-row .service-media { align-self: stretch; }

/* v6.3 — About "What We Do" rows: enforce strict 50/50 columns so neither
 * the image nor the text column ever feels dominant. Overrides the global
 * .service-row 0.9fr/1.1fr template (left untouched on other pages).
 * Scoped to .what so the service detail template is not affected. */
.what > .service-row,
.what > .service-row:nth-child(odd) {
  grid-template-columns: 1fr 1fr;
}

/* v6.3 — Thin white separator between consecutive About service rows.
 * 1px line, low-opacity, only between siblings (no leading/trailing line). */
.what > .service-row + .service-row {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.service-title-strip {
  width: calc(100% + 58px);
  margin-left: -58px;
  margin-bottom: 34px;
  padding: 15px 26px 17px 58px;
  background: linear-gradient(90deg, rgba(226,233,238,.98) 0%, rgba(191,208,220,.82) 100%);
  color: #111;
  font-size: 58px;
  line-height: 1;
  letter-spacing: -1.8px;
  font-weight: 800;
}
.service-copy-wrap p {
  margin: 0 0 34px;
  max-width: 650px;
  color: rgba(255,255,255,.92);
  font-size: 17px;
  line-height: 1.4;
}
.detail-btn {
  width: fit-content;
  border: 3px solid rgba(255,255,255,.72);
  color: #fff;
  padding: 14px 28px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 20px;
  transition: background .2s ease, color .2s ease;
}
.detail-btn:hover { background: rgba(255,255,255,.12); color: #fff; }

.quote {
  min-height: calc(100vh - var(--si-header-height));
  min-height: calc(100dvh - var(--si-header-height));
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 110px 24px;
}
.quote-text {
  position: relative; z-index: 2;
  color: #111;
  font-size: 72px;
  line-height: 1.02;
  font-weight: 800;
  font-style: italic;
  letter-spacing: -2.8px;
  padding: 0;
}

/* ---------- PORTFOLIO PAGE ---------- */
.portfolio-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  background:
    linear-gradient(180deg, rgba(73,189,255,.12) 0%, rgba(73,189,255,0) 22%),
    linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.54)),
    #0a0d12;
  display: flex; align-items: end; justify-content: center;
  text-align: center; color: #fff;
  overflow: hidden;
}
.portfolio-hero__bg { position: absolute; inset: 0; z-index: 0; }
.portfolio-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .4; }
/* v5.4 — Desktop/mobile hero swap for Portfolio Page (scoped, ≤768px). */
.portfolio-hero__bg .portfolio-hero__bg-desktop { position: absolute; inset: 0; }
.portfolio-hero__bg .portfolio-hero__bg-mobile  { display: none; position: absolute; inset: 0; }
@media (max-width: 768px) {
  .portfolio-hero__bg .portfolio-hero__bg-desktop { display: none; }
  .portfolio-hero__bg .portfolio-hero__bg-mobile  { display: block; }
}
.portfolio-hero-content {
  position: relative; z-index: 2;
  width: min(1200px, calc(100% - 48px));
  margin-top: 52px;
  padding-bottom: 110px;
}
.portfolio-hero h1 {
  margin: 0;
  color: var(--blue);
  font-size: 82px;
  line-height: .97;
  letter-spacing: -3px;
  font-weight: 800;
}

.catalog {
  background: linear-gradient(90deg, rgba(41,42,42,.98), rgba(28,31,40,.98), rgba(0,0,0,.98));
  color: #fff;
  padding: 50px 0 70px;
}
.catalog-shell { width: min(1280px, calc(100% - 56px)); margin: 0 auto; }
.catalog-topline {
  display: flex; align-items: center; justify-content: center;
  gap: 26px;
  margin-bottom: 18px;
}
.catalog-topline::before, .catalog-topline::after {
  content: "";
  width: 360px;
  max-width: 20vw;
  height: 2px;
  background: rgba(73,189,255,.7);
}
.catalog h2 {
  margin: 0;
  color: var(--blue);
  font-size: 56px;
  line-height: 1;
  letter-spacing: -2px;
  font-weight: 700;
}
.catalog-links {
  text-align: center;
  color: rgba(255,255,255,.9);
  font-size: 15px;
  margin-bottom: 26px;
}
.catalog-links .all { color: var(--blue); font-weight: 700; }
.catalog-links a { cursor: pointer; transition: color .2s ease; }
.catalog-links a:hover, .catalog-links a.active { color: var(--blue); font-weight: 700; }

.catalog-tabs {
  display: flex; justify-content: center; gap: 24px;
  margin-bottom: 34px;
}
.catalog-tab {
  background: transparent; border: 0;
  color: rgba(255,255,255,.82);
  font-size: 23px; font-weight: 600;
  cursor: pointer;
  padding: 0 0 10px;
  border-bottom: 3px solid transparent;
  transition: color .2s ease, border-color .2s ease, transform .2s ease;
}
.catalog-tab.active { color: var(--blue); border-bottom-color: var(--blue); }
.catalog-tab:hover { color: var(--blue); }

.catalog-stage { position: relative; min-height: 646px; }
.catalog-panel { display: none; animation: fadePanel .28s ease; }
.catalog-panel.active { display: block; }

.catalog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.catalog-card {
  position: relative;
  overflow: hidden;
  background: #111;
  min-height: 312px;
  cursor: pointer;
  display: block;
}
.catalog-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.04), rgba(73,189,255,.36));
  opacity: .9;
  transition: opacity .25s ease;
  z-index: 1;
  pointer-events: none;
}
.catalog-thumb, .catalog-media {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  background-size: cover; background-position: center;
  object-fit: cover;
  transform: scale(1);
  transition: transform .38s ease, filter .28s ease;
}
.catalog-media { background: #000; }
.catalog-caption {
  position: absolute;
  left: 22px; bottom: 16px;
  z-index: 2;
  color: #fff;
  transform: translateY(0);
  transition: transform .25s ease, opacity .25s ease;
}
.catalog-caption h4 {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 800;
}
.catalog-caption p { margin: 0; font-size: 18px; }
.catalog-hover-badge {
  position: absolute;
  top: 18px; right: 18px;
  z-index: 2;
  background: rgba(255,255,255,.14);
  color: #fff;
  border: 1px solid rgba(255,255,255,.22);
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .25s ease, transform .25s ease;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.catalog-card:hover .catalog-thumb,
.catalog-card:hover .catalog-media { transform: scale(1.06); filter: brightness(.86); }
.catalog-card:hover .catalog-caption { transform: translateY(-6px); }
.catalog-card:hover .catalog-hover-badge { opacity: 1; transform: translateY(0); }
@keyframes fadePanel {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- CONTACT PAGE (consistent tone) ---------- */
.contact-cine {
  position: relative;
  min-height: 100vh;
  display: grid; place-items: center;
  padding: 160px 24px 140px;
  background: #0a0d12;
  color: #fff;
  overflow: hidden;
}
.contact-cine__bg { position: absolute; inset: 0; z-index: 0; }
.contact-cine__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .22; }
.contact-cine::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(73,189,255,.09) 0%, transparent 55%),
    linear-gradient(180deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.55) 50%, rgba(0,0,0,.78) 100%);
}
.contact-cine__inner {
  position: relative; z-index: 2;
  width: 100%; max-width: 620px;
  text-align: center;
}
.contact-cine h1 {
  margin: 0 0 24px;
  color: var(--blue);
  font-size: clamp(42px, 5vw, 82px);
  line-height: .98;
  letter-spacing: -2px;
  font-weight: 800;
  text-transform: uppercase;
}
.contact-cine__sub {
  color: rgba(255,255,255,.78);
  font-size: 16px;
  line-height: 1.65;
  max-width: 46ch;
  margin: 0 auto 56px;
}
.glass-form {
  padding: 56px 52px 48px;
  border-radius: 6px;
  background: rgba(0,0,0,.42);
  border: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 40px 100px -50px rgba(0,0,0,.95);
  text-align: left;
}
.studioink-form input[type="text"],
.studioink-form input[type="email"],
.studioink-form input[type="tel"],
.studioink-form input[type="url"],
.studioink-form textarea,
.studioink-form select {
  width: 100%;
  padding: 16px 0;
  font: inherit;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.22);
  color: #fff;
  margin: 8px 0 28px;
  border-radius: 0;
  transition: border-color .25s ease;
}
.studioink-form input::placeholder,
.studioink-form textarea::placeholder { color: rgba(255,255,255,.32); }
.studioink-form input:focus, .studioink-form textarea:focus, .studioink-form select:focus { outline: none; border-color: var(--blue); }
.studioink-form textarea { min-height: 130px; resize: vertical; padding: 16px 0; }
.studioink-form label {
  font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--blue); display: block; margin-top: 18px;
}
.studioink-form .wpcf7-submit,
.studioink-form button[type="submit"] {
  margin-top: 18px;
  width: 100%;
  background: transparent;
  color: #fff;
  padding: 18px 32px;
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .22em;
  text-transform: uppercase;
  border: 2px solid var(--blue);
  cursor: pointer;
  transition: background .3s ease, color .3s ease, transform .3s ease;
}
.studioink-form .wpcf7-submit:hover,
.studioink-form button[type="submit"]:hover {
  background: var(--blue);
  color: #0a0d12;
  transform: translateY(-2px);
}
.contact-info-row {
  margin-top: 40px;
  display: flex; justify-content: center; flex-wrap: wrap; gap: 30px;
  font-size: 12px;
  letter-spacing: .1em;
  color: rgba(255,255,255,.68);
  text-transform: uppercase;
}
.contact-info-row i { color: var(--blue); margin-right: 8px; }
.contact-info-row a:hover { color: var(--blue); }

/* ---------- BLOG ---------- */
.page-hero-dark {
  padding: 180px 0 110px;
  background: #0a0d12;
  color: #fff;
  text-align: center;
}
.page-hero-dark h1 {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: clamp(44px, 5vw, 72px);
  line-height: .98;
  font-weight: 800;
  letter-spacing: -1.6px;
}
.page-hero-dark p { color: rgba(255,255,255,.78); max-width: 580px; margin: 0 auto; }

.blog-section { background: #0a0d12; color: #fff; padding: 110px 0 140px; }

/* v5.0 — Tighten the gap between the blog hero and the search form. */
.page-hero-dark--blog { padding-bottom: 48px; }
.page-hero-dark--blog + .blog-section { padding-top: 56px; }
.page-hero-dark--blog .blog-hero__logo {
  display: flex;
  justify-content: center;
  margin: 0 auto 14px;
}
.page-hero-dark--blog .blog-hero__logo img {
  max-width: min(260px, 60vw);
  height: auto;
  display: block;
}
.blog-section > .section-shell > .blog-search { margin-top: 0; margin-bottom: 40px; }

/* v4.9 — Blog search form (premium dark, scoped to .blog-section) */
.blog-search {
  display: flex;
  gap: 10px;
  max-width: 560px;
  margin: 0 auto 56px;
  align-items: stretch;
}
.blog-search__input {
  flex: 1 1 auto;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.14);
  color: #fff;
  padding: 12px 16px;
  font-size: 14px;
  letter-spacing: .01em;
  border-radius: 4px;
  transition: border-color .2s ease, background .2s ease;
}
.blog-search__input::placeholder { color: rgba(255,255,255,.45); }
.blog-search__input:focus {
  outline: none;
  border-color: var(--blue);
  background: rgba(255,255,255,.07);
}
.blog-search__btn {
  background: var(--blue);
  color: #0a0d12;
  border: 0;
  padding: 0 24px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}
.blog-search__btn:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(73,189,255,.28); }
.blog-search-result {
  text-align: center;
  color: rgba(255,255,255,.7);
  font-size: 14px;
  margin: -32px 0 40px;
}
.blog-search-result strong { color: var(--blue); font-weight: 600; }

/* v4.9 — Blog empty state (search no-result + zero-post) */
.blog-empty {
  text-align: center;
  padding: 60px 24px 30px;
  border: 1px dashed rgba(255,255,255,.14);
  border-radius: 6px;
  background: rgba(255,255,255,.02);
  max-width: 640px;
  margin: 0 auto;
}
.blog-empty h3 {
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 10px;
  letter-spacing: -.2px;
}
.blog-empty p {
  color: rgba(255,255,255,.65);
  margin: 0 0 22px;
  font-size: 14px;
  line-height: 1.6;
}
.blog-empty__reset {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 10px 22px;
  border: 1px solid rgba(73,189,255,.4);
  border-radius: 4px;
  transition: background .2s ease, color .2s ease;
}
.blog-empty__reset:hover { background: var(--blue); color: #0a0d12; }

/* v4.9 — Blog pagination (scoped — re-styles existing .si-pagination only inside .blog-section) */
.blog-section .si-pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 72px;
  flex-wrap: wrap;
}
.blog-section .si-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.78);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  border-radius: 4px;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.blog-section .si-pagination .page-numbers:hover { background: rgba(73,189,255,.12); color: #fff; border-color: rgba(73,189,255,.5); }
.blog-section .si-pagination .page-numbers.current {
  background: var(--blue);
  color: #0a0d12;
  border-color: var(--blue);
}
.blog-section .si-pagination .page-numbers.dots { border-color: transparent; }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 28px; }
.blog-card { display: flex; flex-direction: column; gap: 14px; }
.blog-card__media {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #111;
  border: 1px solid rgba(255,255,255,.06);
}
.blog-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.blog-card:hover .blog-card__media img { transform: scale(1.05); }
.blog-card__meta { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--blue); font-weight: 600; }
.blog-card__title { font-size: 22px; line-height: 1.25; font-weight: 700; color: #fff; margin: 0; }
.blog-card__title a { color: inherit; }
.blog-card__title a:hover { color: var(--blue); }
.blog-card__excerpt { color: rgba(255,255,255,.78); font-size: 15px; line-height: 1.55; margin: 0; }
.blog-card__cta {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--blue); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
}

/* ==========================================================================
 * v5.1 — SINGLE BLOG POST (premium long-form article).
 * Full-width dark canvas, 1120px outer container, 920px reading column,
 * 16:9 featured image, cinematic typography. Scoped — only affects .single-post*.
 * ========================================================================== */
/* v5.2 — Force the entire viewport background dark when on a single blog post,
 * so any parent wrapper that defaults to white (theme/plugin gutter) is overridden. */
body.single-post,
body.single.single-post {
  background: #0a0d12 !important;
}
body.single-post #page,
body.single-post .site,
body.single-post #content,
body.single-post #main,
body.single-post main,
body.single-post .site-main,
body.single-post .site-content {
  background: #0a0d12 !important;
}
.single-post-wrap {
  background: #0a0d12;
  color: #fff;
  width: 100%;
  min-height: 100vh;
}
.single-post {
  max-width: 1120px;
  margin: 0 auto;
  padding: 160px 24px 110px;
}

/* Hero — dark, kicker + title + meta. No background image here; the
 * featured image is rendered as a separate cinematic block below. */
.single-post__hero {
  max-width: 920px;
  margin: 0 auto 56px;
  text-align: center;
}
.single-post__kicker {
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 700;
  margin-bottom: 18px;
}
.single-post__title {
  margin: 0 0 20px;
  font-size: clamp(40px, 4.6vw, 68px);
  line-height: 1.04;
  color: #fff;
  font-weight: 800;
  letter-spacing: -1.4px;
}
.single-post__meta {
  margin: 0;
  color: rgba(255,255,255,.65);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 600;
}

/* Featured image — 16:9 cinematic block, full container width. */
.single-post__featured {
  margin: 0 auto 72px;
  max-width: 1120px;
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,.06);
  background: #111;
}
.single-post__featured img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center center;
}

/* Article body — 920px reading column. */
.single-post__content {
  max-width: 920px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.85;
  color: rgba(255,255,255,.86);
}
.single-post__content p { margin: 0 0 1.3em; }
.single-post__content h2,
.single-post__content h3 {
  color: #fff;
  margin-top: 2em;
  line-height: 1.2;
}
.single-post__content h2 { color: var(--blue); font-size: clamp(26px, 2.6vw, 34px); font-weight: 800; letter-spacing: -.4px; }
.single-post__content h3 { font-size: clamp(20px, 2vw, 26px); font-weight: 700; }
.single-post__content a { color: var(--blue); border-bottom: 1px solid rgba(73,189,255,.35); transition: border-color .2s ease; }
.single-post__content a:hover { border-color: var(--blue); }

.single-post__back-wrap {
  max-width: 920px;
  margin: 80px auto 0;
  text-align: center;
}

/* v5.3 — Back-to-Blog moved to top-left (below featured image, above content).
 * Scoped to single blog only via the `--top` modifier; does not affect
 * single-portfolio or any other template. */
.single-post__back-wrap--top {
  margin: 0 auto 36px;
  text-align: left;
}
.single-post__back-wrap--top .project-back {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .single-post { padding: 120px 20px 80px; }
  .single-post__hero { margin-bottom: 40px; }
  .single-post__title { font-size: clamp(30px, 7vw, 40px); letter-spacing: -.6px; }
  .single-post__featured { margin-bottom: 48px; border-radius: 4px; }
  .single-post__content { font-size: 16px; line-height: 1.8; }
  .single-post__back-wrap { margin-top: 56px; }
}

/* v4.8 / v5.1 — Blog inline content polish (scoped to .single-post only) */
.single-post__content img,
.single-post__content figure img,
.single-post__content .wp-block-image img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 32px auto;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,.06);
}
.single-post__content figure {
  margin: 32px 0;
}
.single-post__content figcaption,
.single-post__content .wp-caption-text {
  font-size: 13px;
  color: rgba(255,255,255,.55);
  text-align: center;
  margin-top: 10px;
  letter-spacing: .02em;
}
.single-post__content blockquote {
  border-left: 3px solid var(--blue);
  padding: 4px 0 4px 22px;
  margin: 32px 0;
  color: #fff;
  font-style: italic;
  font-size: 19px;
  line-height: 1.6;
}
.single-post__content ul,
.single-post__content ol {
  margin: 0 0 1.4em 1.4em;
  padding: 0;
}
.single-post__content li { margin-bottom: .55em; }
.single-post__content strong { color: #fff; }
.single-post__content hr {
  border: 0;
  height: 1px;
  background: rgba(255,255,255,.12);
  margin: 48px 0;
}

/* v4.8 — Service page Video tab: tiny play badge over video thumbnail.
 * Scoped to .catalog-card--video only, never touches PHOTO cards. */
.catalog-card--video { position: relative; }
.catalog-card--video .catalog-card__play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(10,13,18,.55);
  border: 1px solid rgba(255,255,255,.4);
  color: #fff;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  backdrop-filter: blur(2px);
  transition: background .2s ease, transform .2s ease;
}
.catalog-card--video:hover .catalog-card__play {
  background: rgba(73,189,255,.85);
  transform: translate(-50%, -50%) scale(1.06);
}

/* ---------- PROJECT (single portfolio) ---------- */
.project-hero { position: relative; overflow: hidden; }
.project-hero__bg { position: absolute; inset: 0; }
.project-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.project-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.2) 0%, rgba(0,0,0,.8) 100%);
}
.project-body { background: #0a0d12; color: #fff; padding: 110px 0 140px; }
.project-back {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--blue);
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: 40px;
  padding: 10px 22px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 4px;
}
.project-back:hover { background: var(--blue); color: #0a0d12; border-color: var(--blue); }
.project-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; }
.project-head h1 { color: var(--blue); font-size: clamp(36px, 4vw, 68px); line-height: 1; font-weight: 800; margin: 0 0 16px; }
.project-head .subtitle { font-size: 18px; color: rgba(255,255,255,.78); margin: 0 0 28px; }
.project-meta dt { color: var(--blue); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; margin: 0 0 4px; font-weight: 700; }
.project-meta dd { margin: 0 0 14px; color: #fff; font-weight: 500; }
.project-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 60px; }
.project-gallery__item { aspect-ratio: 4/3; overflow: hidden; background: #111; border: 1px solid rgba(255,255,255,.06); }
.project-gallery__item img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- SERVICE DETAIL (aligned with mockup precision) ---------- */
.service-detail-hero {
  min-height: 100vh;
  min-height: 100dvh;
  padding: 0 24px;
  color: #fff;
  text-align: center;
  background: #0a0d12;
  position: relative;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.service-detail-hero.hero--left { text-align: left; }
.service-detail-hero.hero--left .service-detail-hero__inner { width: min(1280px, calc(100% - 56px)); margin-left: clamp(24px, 6vw, 86px); margin-right: auto; }
.service-detail-hero.hero--left .service-detail-hero__label { margin-left: 0; }
.service-detail-hero.hero--left .service-detail-hero__tagline { margin-left: 0; }
.service-detail-hero__bg { position: absolute; inset: 0; z-index: 0; }
.service-detail-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .42; }
/* v5.2 — Per-service mobile hero override (≤768px). Desktop image hidden,
 * mobile image revealed. Both share existing cover/opacity treatment. */
.service-detail-hero__bg .service-detail-hero__bg-mobile { display: none; position: absolute; inset: 0; }
.service-detail-hero__bg .service-detail-hero__bg-desktop { position: absolute; inset: 0; }
@media (max-width: 768px) {
  .service-detail-hero__bg .service-detail-hero__bg-desktop { display: none; }
  .service-detail-hero__bg .service-detail-hero__bg-mobile  { display: block; }
}
.service-detail-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,.28) 0%, rgba(0,0,0,.68) 100%);
}
.service-detail-hero__inner { position: relative; z-index: 2; width: min(1280px, calc(100% - 56px)); }
.service-detail-hero__label {
  color: #fff;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -.2px;
  margin-bottom: 16px;
}
.service-detail-hero h1 {
  margin: 0;
  font-size: clamp(48px, 6vw, 96px);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -2.8px;
  text-transform: capitalize;
}
.service-detail-hero h1.title--blue { color: var(--blue); }
.service-detail-hero h1.title--white { color: #fff; }
.service-detail-hero__tagline {
  margin: 18px auto 0;
  max-width: 820px;
  color: rgba(255,255,255,.78);
  font-size: 18px;
  line-height: 1.4;
  font-weight: 500;
  font-style: italic;
}

.service-detail-body {
  background: #0a0d12;
  color: #fff;
  padding: 90px 0 110px;
}
.service-detail-body .section-shell { max-width: 1240px; }
.service-detail-body__head {
  margin: 0 0 22px;
  color: var(--blue);
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -1px;
  text-transform: capitalize;
}
.service-detail-body__copy p {
  font-size: 16px;
  color: rgba(255,255,255,.86);
  line-height: 1.72;
  max-width: none;
  margin: 0 0 18px;
}
.service-detail-body .service-list-heading {
  color: var(--blue);
  font-size: 22px;
  margin: 44px 0 14px;
  text-transform: none;
  letter-spacing: -.3px;
  font-weight: 700;
}
.service-detail-body ul.service-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: block;
}
.service-detail-body ul.service-list li {
  padding: 10px 0 10px 20px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  font-size: 15px;
  position: relative;
  color: rgba(255,255,255,.92);
  line-height: 1.55;
}
.service-detail-body ul.service-list li::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--blue);
  position: absolute; left: 0; top: 18px;
}
.service-detail-body ul.service-list li strong { color: #fff; font-weight: 700; }
.service-list-footer,
.service-closing-line {
  margin: 20px 0 0;
  color: rgba(255,255,255,.78);
  font-size: 15px;
  line-height: 1.6;
  font-style: italic;
}
.service-doc-head {
  margin: 60px 0 22px;
  color: var(--blue);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -.6px;
}
.service-detail-body .catalog-tabs { justify-content: center; margin-bottom: 26px; }
.service-detail-body .catalog-stage { min-height: auto; }
.service-detail-body .catalog-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-detail-body .catalog-card { min-height: 220px; }
.service-cta-wrap {
  margin-top: 64px;
  text-align: center;
}
.service-cta {
  display: inline-block;
  padding: 18px 42px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.service-cta--white { background: #fff; color: #0a0d12; }
.service-cta--white:hover { background: var(--blue); color: #0a0d12; transform: translateY(-2px); box-shadow: 0 16px 40px rgba(73,189,255,.22); }
.service-cta--dark { background: #141820; color: #fff; border: 1px solid rgba(255,255,255,.14); }
.service-cta--dark:hover { background: var(--blue); color: #0a0d12; border-color: var(--blue); transform: translateY(-2px); box-shadow: 0 16px 40px rgba(73,189,255,.22); }

/* ---------- FOOTER ---------- */
.site-footer {
  background: #0a0d12;
  color: rgba(255,255,255,.7);
  padding: 80px 24px 32px;
  font-size: 13px;
}
.site-footer .footer-logo {
  max-height: 44px;
  width: auto;
  margin-bottom: 16px;
  display: block;
}
.site-footer .inner {
  width: min(1280px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.site-footer h4 { color: var(--blue); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; margin: 0 0 16px; font-weight: 700; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer ul li { padding: 6px 0; }
.site-footer a:hover { color: var(--blue); }
.site-footer .bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 22px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  font-size: 11px; letter-spacing: .08em;
  color: rgba(255,255,255,.5);
}

/* ---------- PAGINATION ---------- */
.si-pagination { margin-top: 60px; display: flex; justify-content: center; gap: 8px; }
.si-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 14px;
  border-radius: 2px; font-size: 13px; font-weight: 600;
  color: #fff; border: 1px solid rgba(255,255,255,.16);
}
.si-pagination .page-numbers.current { background: var(--blue); color: #0a0d12; border-color: var(--blue); }

/* ---------- 404 ---------- */
.not-found {
  min-height: 70vh; display: grid; place-items: center;
  background: #0a0d12; color: #fff; text-align: center;
  padding: 120px 24px;
}
.not-found h1 { font-size: clamp(60px, 10vw, 160px); color: var(--blue); font-weight: 800; margin: 0 0 14px; }
.not-found p { color: rgba(255,255,255,.7); margin: 0 0 30px; }

/* ---------- RESPONSIVE (matches HTML breakpoints) ---------- */
@media (max-width: 1024px) {
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
  .catalog-stage { min-height: 980px; }
  .project-gallery { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .services-grid, .columns { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .project-head { grid-template-columns: 1fr; }
  .credential-cta { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav-inner { height: 75px; padding: 0 18px; flex-direction: row; align-items: center; justify-content: space-between; gap: 0; }
  .site-header nav { display: none; }
  .burger { display: inline-flex; }
  .section-shell { width: calc(100% - 28px); }
  .hero, .showcase, .placeholder { min-height: auto; }
  .hero-content, .showcase-content { padding: 90px 0 80px; }
  .hero-title, .showcase h2 { font-size: 36px; letter-spacing: -1.4px; line-height: 1.05; }
  .hero-rotate__sizer, .hero-rotate__item { white-space: normal; }
  .hero-rotate {
    display: block;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    max-width: 100%;
  }
  .hero-sub, .showcase p, .placeholder p { font-size: 14px; }
  .about-hero h1, .inksider-copy h2, .journey-box h2, .what-header h2, .service-title-strip, .quote-text { font-size: 40px; letter-spacing: -2px; }
  .inksider, .journey, .story, .service-row { grid-template-columns: 1fr; }
  .inksider-copy, .story-copy, .journey-text { padding: 60px 24px; }
  .journey-text { justify-content: flex-start; }
  .journey-box { text-align: left; }
  .journey-box h2, .journey-box p { text-align: left; margin-left: 0; }
  .inksider-image, .journey-media, .story-image { min-height: 320px; }
  .service-media { min-height: 280px; }
  .service-copy-wrap { padding: 48px 24px; }
  .service-title-strip { width: calc(100% + 24px); margin-left: -24px; padding-left: 24px; }
  .what > .service-row:nth-child(odd) .service-title-strip { width: calc(100% + 24px); margin-left: -24px; margin-right: 0; padding: 15px 24px 17px 24px; }
  .portfolio-hero h1 { font-size: 46px; letter-spacing: -2px; }
  .portfolio-hero { min-height: 520px; }
  .catalog h2 { font-size: 40px; }
  .catalog-tab { font-size: 18px; }
  .catalog-grid { grid-template-columns: 1fr; }
  .catalog-stage { min-height: auto; }
  .blog-grid { grid-template-columns: 1fr; }
  .project-gallery { grid-template-columns: 1fr; }
  .site-footer .inner { grid-template-columns: 1fr 1fr; }
  .glass-form { padding: 36px 24px; }
  .quote-text { font-size: 36px !important; letter-spacing: -1px; }
  .service-detail-hero { padding: 110px 18px 60px; min-height: auto; }
  .service-detail-hero h1 { font-size: clamp(40px, 10vw, 60px); letter-spacing: -1.4px; }
  .service-detail-hero.hero--left .service-detail-hero__inner { margin-left: 0; }
  .service-detail-body { padding: 60px 0 80px; }
  .service-detail-body__head { font-size: 28px; }
}

/* ---------- MOBILE SAFETY (visual-scale fluid hero override) ---------- */
@media (max-width: 768px) {
  .about-hero,
  .service-detail-hero,
  .portfolio-hero,
  .inksider,
  .journey,
  .story,
  .service-row,
  .quote {
    min-height: auto;
    padding-top: 80px;
    padding-bottom: 80px;
  }
  .journey-media,
  .inksider-image,
  .story-image,
  .service-media {
    min-height: 320px;
  }

  /* v5.0 — About page mobile: force IMAGE → TEXT stacking (no zigzag).
   * Desktop zigzag (nth-child reorder) remains unchanged above 768px. */
  .inksider,
  .journey,
  .story,
  .service-row {
    display: flex !important;
    flex-direction: column !important;
  }
  .inksider > .inksider-image     { order: 1 !important; }
  .inksider > .inksider-copy      { order: 2 !important; }
  .journey  > .journey-media      { order: 1 !important; }
  .journey  > .journey-text       { order: 2 !important; }
  .story    > .story-image        { order: 1 !important; }
  .story    > .story-copy         { order: 2 !important; }
  .service-row > .service-media     { order: 1 !important; }
  .service-row > .service-copy-wrap { order: 2 !important; }
  /* Neutralise desktop odd-row reversal — every row remains image-first. */
  .what > .service-row:nth-child(odd) > .service-media     { order: 1 !important; }
  .what > .service-row:nth-child(odd) > .service-copy-wrap { order: 2 !important; }
}

/* ---------- COLLAPSIBLE CONTENT (auto-applied by JS when overflowing) ---------- */
.si-collapsible { position: relative; }
.si-collapsible.has-overflow:not(.is-expanded) {
  max-height: calc(100vh - 150px);
  overflow: hidden;
}
.si-collapsible.has-overflow:not(.is-expanded)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 96px;
  background: linear-gradient(180deg, rgba(10,13,18,0) 0%, rgba(10,13,18,.95) 100%);
  pointer-events: none;
  z-index: 1;
}
.si-collapsible__toggle {
  display: none;
  margin: 18px 0 0;
  padding: 10px 22px;
  background: transparent;
  border: 1px solid rgba(255,255,255,.32);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
  position: relative;
  z-index: 2;
}
.si-collapsible__toggle:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #0a0d12;
}
.si-collapsible.has-overflow .si-collapsible__toggle { display: inline-block; }

/* Mobile: bypass collapsible — content flows naturally, no clip / no button */
@media (max-width: 768px) {
  .si-collapsible.has-overflow:not(.is-expanded) {
    max-height: none;
    overflow: visible;
  }
  .si-collapsible.has-overflow:not(.is-expanded)::after { display: none; }
  .si-collapsible.has-overflow .si-collapsible__toggle { display: none; }
}

/* ---------- CREDENTIALS MODAL ---------- */
.si-modal {
  position: fixed; inset: 0;
  z-index: 200;
  display: none;
}
.si-modal.is-open { display: block; }
.si-modal__overlay {
  position: absolute; inset: 0;
  background: rgba(5,7,11,.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  transition: opacity .3s ease;
}
.si-modal.is-open .si-modal__overlay { opacity: 1; }
.si-modal__dialog {
  position: relative;
  width: min(540px, calc(100% - 32px));
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  margin: 24px auto;
  top: 50%;
  transform: translateY(-50%) scale(.98);
  background: linear-gradient(160deg, #111620 0%, #0a0d12 60%);
  border: 1px solid rgba(73,189,255,.18);
  border-radius: 16px;
  padding: 40px 44px 36px;
  box-shadow: 0 32px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.02) inset;
  opacity: 0;
  transition: opacity .35s ease, transform .35s cubic-bezier(.22,.9,.36,1);
}
.si-modal.is-open .si-modal__dialog { opacity: 1; transform: translateY(-50%) scale(1); }
.si-modal__close {
  position: absolute;
  top: 18px; right: 18px;
  width: 38px; height: 38px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
  display: grid; place-items: center;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.si-modal__close:hover { background: var(--blue); border-color: var(--blue); transform: rotate(90deg); }
.si-modal__close span {
  position: absolute;
  width: 14px; height: 1.8px;
  background: #fff;
  border-radius: 2px;
}
.si-modal__close span:first-child { transform: rotate(45deg); }
.si-modal__close span:last-child  { transform: rotate(-45deg); }

.si-modal__header { margin-bottom: 28px; }
.si-modal__eyebrow {
  display: inline-block;
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.si-modal__title {
  margin: 0 0 10px;
  color: #fff;
  font-size: 28px;
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -.6px;
}
.si-modal__sub {
  margin: 0;
  color: rgba(255,255,255,.62);
  font-size: 14px;
  line-height: 1.6;
}

.si-modal__form .si-field { margin-bottom: 18px; }
.si-modal__form .si-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 18px;
}
.si-modal__form .si-row .si-field { margin-bottom: 0; }
.si-modal__form label {
  display: block;
  color: rgba(255,255,255,.68);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.si-modal__form label span { color: var(--blue); }
.si-modal__form input {
  width: 100%;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  padding: 14px 16px;
  color: #fff;
  font: 400 15px/1.3 Montserrat, sans-serif;
  outline: none;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.si-modal__form input::placeholder { color: rgba(255,255,255,.3); }
.si-modal__form input:focus {
  border-color: var(--blue);
  background: rgba(73,189,255,.06);
  box-shadow: 0 0 0 4px rgba(73,189,255,.12);
}
.si-modal__form input.is-error {
  border-color: #ff6a6a;
  background: rgba(255,106,106,.06);
}

.si-modal__foot { margin-top: 28px; }
.si-modal__submit {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 24px;
  background: var(--blue);
  color: #0a0d12;
  border: 0;
  border-radius: 10px;
  font: 700 13px/1 Montserrat, sans-serif;
  letter-spacing: .18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.si-modal__submit .arrow { font-size: 18px; transform: translateY(-1px); transition: transform .25s ease; }
.si-modal__submit:hover { background: #fff; box-shadow: 0 20px 40px rgba(73,189,255,.25); transform: translateY(-2px); }
.si-modal__submit:hover .arrow { transform: translate(4px,-1px); }
.si-modal__submit:disabled { opacity: .6; cursor: wait; }
.si-modal__note {
  margin: 14px 0 0;
  color: rgba(255,255,255,.42);
  font-size: 11px;
  line-height: 1.6;
  text-align: center;
}

.si-modal__success {
  text-align: center;
  padding: 12px 0 8px;
}
.si-modal__success-icon {
  width: 80px; height: 80px;
  margin: 0 auto 18px;
  background: rgba(73,189,255,.1);
  border: 1.5px solid var(--blue);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--blue);
}
.si-modal__success h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -.5px;
}
.si-modal__success p {
  color: rgba(255,255,255,.6);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}
.si-modal__success a { color: var(--blue); font-weight: 600; }

@media (max-width: 520px) {
  .si-modal__dialog { padding: 34px 22px 28px; border-radius: 14px; }
  .si-modal__title { font-size: 22px; }
  .si-modal__form .si-row { grid-template-columns: 1fr; gap: 0; }
  .si-modal__form .si-row .si-field { margin-bottom: 18px; }
}

/* ---------- PROGRESSIVE ENHANCEMENT FALLBACKS ---------- */
/* When JS is disabled or fails to execute (caching plugin, offline, etc.)
   keep content usable: FAQ answers visible, mobile nav visible,
   modal inert (CTAs fall back to direct href). */
html.no-js .faq-a[hidden] { display: block !important; max-height: none !important; }
html.no-js .faq-item { border-color: rgba(255,255,255,.12); }
html.no-js .faq-q__icon { display: none; }
html.no-js .burger { display: none !important; }
html.no-js .si-mobile-panel { display: none !important; }
html.no-js .si-modal { display: none !important; }
@media (max-width: 860px) {
  html.no-js .site-header nav { display: block !important; position: absolute; top: 75px; left: 0; right: 0; background: #0a0d12; padding: 16px 20px; }
  html.no-js .site-header nav ul { flex-direction: column; gap: 10px; }
}

/* ---------- CHROME/WEBKIT RENDERING SAFETY ---------- */
/* Prevent Chrome sub-pixel jitter on transformed elements */
.hero-rotate__item,
.si-modal__dialog,
.si-mobile-panel__inner,
.dropdown,
.catalog-thumb,
.catalog-card {
  -webkit-transform: translateZ(0);
}
/* Prevent Chrome z-index stacking bug on overlay surfaces */
.si-modal, .si-mobile-panel { isolation: isolate; }
/* Force form input text color in Chrome autofill */
.si-modal__form input:-webkit-autofill,
.si-modal__form input:-webkit-autofill:hover,
.si-modal__form input:-webkit-autofill:focus {
  -webkit-text-fill-color: #fff;
  -webkit-box-shadow: 0 0 0 1000px rgba(10,13,18,.96) inset;
  transition: background-color 9999s ease-in-out 0s;
}

/* ---------- Polylang language switcher (top-right, non-intrusive) ---------- */
.si-lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 18px;
  padding: 6px 10px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .4px;
  line-height: 1;
}
.si-lang-switch__opt {
  color: rgba(255,255,255,.72);
  text-decoration: none;
  padding: 4px 8px;
  border-radius: 999px;
  transition: color .15s ease, background-color .15s ease;
}
.si-lang-switch__opt:hover { color: #fff; }
.si-lang-switch__opt.is-active {
  color: #0a0d12;
  background: var(--blue);
}
.si-lang-switch__sep {
  color: rgba(255,255,255,.22);
  font-weight: 400;
  user-select: none;
}
@media (max-width: 860px) {
  .si-lang-switch { margin-left: auto; margin-right: 10px; padding: 4px 6px; font-size: 11px; }
  .si-lang-switch__opt { padding: 3px 6px; }
}

/* ---------- Active-menu state (subtle blue accent) ---------- */
nav li.current-menu-item > a,
nav li.current_page_item > a,
nav li.current-menu-parent > a,
nav li.current_page_parent > a {
  color: var(--blue);
}
nav li.current-menu-item > a::after,
nav li.current_page_item > a::after {
  content: "";
  display: block;
  width: 14px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
  margin-top: 4px;
}
ul.si-mobile-nav li.current-menu-item > a,
ul.si-mobile-nav li.current_page_item > a,
ul.si-mobile-nav li.current-menu-parent > a { color: var(--blue); }

/* ---------- Tablet breakpoint (768-1024px) — polish only ---------- */
@media (min-width: 768px) and (max-width: 1024px) {
  /* Header keeps right-aligned nav with tighter gaps */
  .nav-inner { padding: 0 20px; gap: 16px; }
  nav ul { gap: 18px; }
  /* Landing two-col service grid: tighter gutter */
  .services-grid { gap: 22px; }
  /* Service body container wider but with side breathing */
  .service-detail-body .section-shell { max-width: 900px; padding-left: 28px; padding-right: 28px; }
  /* Project documentation tidier at mid widths */
  .catalog-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  /* FAQ + Clients: same layout but tighter padding */
  .faq-shell, .clients-shell { padding-left: 28px; padding-right: 28px; }
  /* Modal fits tablet nicely */
  .si-modal__box { max-width: 520px; }
  /* v6.6.2 TABLET NAV FIX — at 768-1024 use hamburger.
   * Previously this block hid the burger AND tried to show desktop nav
   * (`nav { display: block }`), but `.site-header nav { display: none }`
   * from the 860px rule had higher specificity → BOTH ended up hidden,
   * leaving only the language switcher visible on iPad. We now ALIGN with
   * the burger behaviour for the entire tablet range. Desktop nav only
   * appears from 1025px upward where there is real room. */
  .site-header nav[aria-label="Primary"] { display: none !important; }
  .burger { display: inline-flex !important; }
}

/* ---------- Lightbox (portfolio gallery + project gallery + video) ---------- */
body.si-lb-open { overflow: hidden; }
/* HARD GUARD — must win over the .si-lightbox { display: flex } rule below
 * so the [hidden] attribute actually hides the overlay on initial load. */
.si-lightbox[hidden] { display: none !important; }
.si-lightbox {
  position: fixed; inset: 0; z-index: 2500;
  background: rgba(4,8,14,.92);
  display: flex; align-items: center; justify-content: center;
  padding: 5vh 4vw; animation: si-lb-fade .18s ease-out;
}
@keyframes si-lb-fade { from { opacity: 0; } to { opacity: 1; } }
.si-lightbox__close {
  position: absolute; top: 18px; right: 22px;
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,.08); color: #fff;
  border: 1px solid rgba(255,255,255,.2); font-size: 26px; line-height: 1;
  cursor: pointer; transition: background-color .15s ease;
}
.si-lightbox__close:hover { background: rgba(73,189,255,.25); }
.si-lightbox__stage {
  max-width: 1200px; width: 100%; max-height: 90vh;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.si-lightbox__img {
  max-width: 100%; max-height: 82vh; object-fit: contain;
  border-radius: 6px; box-shadow: 0 12px 40px rgba(0,0,0,.5);
}
.si-lightbox__video {
  width: 100%; aspect-ratio: 16 / 9; background: #000;
  border-radius: 6px; overflow: hidden;
}
.si-lightbox__video iframe,
.si-lightbox__video video { width: 100%; height: 100%; border: 0; display: block; }
.si-lightbox__caption {
  margin: 0; color: rgba(255,255,255,.76); font-size: 14px; text-align: center;
}

/* Catalog card — unified button variant (v5.1) */
.catalog-card--btn {
  border: 0; padding: 0; background: transparent; color: inherit;
  text-align: left; cursor: pointer; position: relative;
  display: block; width: 100%;
}
.catalog-card--btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.catalog-video-play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 42px; color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.6);
  pointer-events: none;
}

/* Project gallery (single-portfolio) — buttons */
.project-gallery__btn {
  border: 0; padding: 0; background: transparent; cursor: pointer;
  display: block; width: 100%; overflow: hidden; border-radius: 6px;
}
.project-gallery__btn img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.project-gallery__btn:hover img { transform: scale(1.04); }
.project-gallery__btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

/* Project video preview (single-portfolio) */
.project-video-preview { margin: 56px 0 24px; }
.project-video-btn {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  background-size: cover; background-position: center;
  border: 0; cursor: pointer; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.project-video-btn::before {
  content: ""; position: absolute; inset: 0; background: rgba(4,8,14,.28);
  transition: background-color .2s ease;
}
.project-video-btn:hover::before { background: rgba(4,8,14,.12); }
.project-video-play {
  position: relative; z-index: 1;
  width: 86px; height: 86px; border-radius: 50%;
  background: rgba(255,255,255,.92); color: #0a0d12;
  display: flex; align-items: center; justify-content: center;
  font-size: 34px; padding-left: 6px;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}

/* Project body copy */
.project-body__copy {
  color: rgba(255,255,255,.84); font-size: 17px; line-height: 1.7; max-width: 72ch;
}
.project-body__copy p { margin: 0 0 14px; }


/* ---------- ADMIN BAR COMPENSATION ----------
 * When user logged in to WP Admin, body has class `.admin-bar` and WordPress
 * adds a 32px (>=783px) or 46px (<783px) bar on top. Our fixed header (top:0)
 * needs to shift down, and full-viewport sections need to shrink accordingly.
 * Public visitors are NOT affected. */
body.admin-bar .site-header { top: 32px; }
/* Hero overlay model: subtract only admin bar (header overlays, doesn't push) */
body.admin-bar .about-hero,
body.admin-bar .service-detail-hero,
body.admin-bar .portfolio-hero {
  min-height: calc(100vh - 32px);
  min-height: calc(100dvh - 32px);
}
/* Content sections: subtract admin bar + header (header pushes them down) */
body.admin-bar .inksider,
body.admin-bar .journey,
body.admin-bar .story,
body.admin-bar .journey-media,
body.admin-bar .service-row,
body.admin-bar .service-media,
body.admin-bar .quote {
  min-height: calc(100vh - var(--si-header-height) - 32px);
  min-height: calc(100dvh - var(--si-header-height) - 32px);
}
@media screen and (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; position: fixed; }
  body.admin-bar .about-hero,
  body.admin-bar .service-detail-hero,
  body.admin-bar .portfolio-hero {
    min-height: calc(100vh - 46px);
    min-height: calc(100dvh - 46px);
  }
  body.admin-bar .inksider,
  body.admin-bar .journey,
  body.admin-bar .story,
  body.admin-bar .journey-media,
  body.admin-bar .service-row,
  body.admin-bar .service-media,
  body.admin-bar .quote {
    min-height: calc(100vh - var(--si-header-height) - 46px);
    min-height: calc(100dvh - var(--si-header-height) - 46px);
  }
}


/* ---------- HERO CONTENT NUDGE (move text closer to bottom for premium spacing) ---------- */
.about-hero,
.service-detail-hero,
.portfolio-hero,
.project-hero {
  align-items: flex-end !important;
}
.about-hero-content,
.service-detail-hero__inner,
.portfolio-hero-content,
.project-hero__inner {
  padding-bottom: 18vh !important;
  transform: none !important;
}
.hero-content {
  /* Homepage hero kept slightly nudged from center, design balance preserved */
  transform: translateY(24px);
}
@media (max-width: 768px) {
  .about-hero,
  .service-detail-hero,
  .portfolio-hero,
  .project-hero {
    align-items: center !important;
  }
  .hero-content,
  .about-hero-content,
  .service-detail-hero__inner,
  .portfolio-hero-content,
  .project-hero__inner {
    padding-bottom: 0 !important;
    transform: none !important;
  }
}

/* ---------- PROJECT HERO consistency (single portfolio) ---------- */
.project-hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}
.project-hero__inner {
  position: relative;
  z-index: 2;
  width: min(1280px, calc(100% - 56px));
}
.project-hero__title {
  margin: 0;
  color: var(--blue);
  font-size: clamp(48px, 6vw, 96px);
  line-height: .98;
  font-weight: 800;
  letter-spacing: -2px;
  text-transform: uppercase;
}
.project-hero__tagline {
  margin: 16px auto 0;
  max-width: 760px;
  color: rgba(255,255,255,.92);
  font-size: clamp(15px, 1.4vw, 19px);
  line-height: 1.55;
  font-style: italic;
}
@media (max-width: 768px) {
  .project-hero { min-height: auto; padding: 110px 18px 60px; }
}

/* v5.3 — Mobile fix for single project/portfolio hero only:
 *   - ensure hero clears the fixed 75px mobile header
 *   - give a safe min-height so the cover image isn't cropped to a sliver
 *   - keep text block vertically centered over the image
 *   - object-position: center center to minimise awkward cropping
 * Scoped to .project-hero inside @media (max-width: 768px). Desktop untouched. */
@media (max-width: 768px) {
  .project-hero {
    /* override the rule immediately above this block */
    min-height: 460px !important;
    padding-top: 95px !important;
    padding-bottom: 60px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .project-hero__bg img {
    object-fit: cover;
    object-position: center center;
  }
  .project-hero__inner {
    padding-bottom: 0 !important;
    transform: none !important;
  }
}
body.admin-bar .project-hero {
  min-height: calc(100vh - 32px);
  min-height: calc(100dvh - 32px);
}
@media screen and (max-width: 782px) {
  body.admin-bar .project-hero { min-height: auto; }
}


/* ============================================================
   MOBILE RESPONSIVE REFINEMENTS (v6.4) — DESKTOP UNCHANGED
   Scoped strictly to @media max-width queries.
   Targets: 390 / 414 / 768 viewports.
   ============================================================ */
@media (max-width: 768px) {
  /* No horizontal scroll */
  html, body { overflow-x: hidden; max-width: 100vw; }

  /* Header / Logo / Switcher */
  .site-header { padding: 0; }
  .nav-inner { height: 64px; padding: 0 16px; }
  .logo img { max-height: 38px; width: auto; }
  .si-lang-switch { gap: 4px; font-size: 11px; padding: 4px 8px; }
  .si-lang-switch__opt { padding: 2px 6px; }
  .burger { padding: 6px; }

  /* Hero — All Pages */
  .hero-title { font-size: clamp(28px, 8.4vw, 44px) !important; letter-spacing: -1.2px; line-height: 1.05; overflow-wrap: break-word; }
  .hero-sub { font-size: clamp(13px, 3.6vw, 16px); line-height: 1.5; padding: 0 8px; }
  .hero-cta { font-size: 13px; padding: 12px 22px; }

  /* Service Hero */
  .service-detail-hero { padding: 110px 20px 70px !important; }
  .service-detail-hero h1 { font-size: clamp(36px, 9vw, 52px); letter-spacing: -1.2px; }
  .service-detail-hero__tagline { font-size: clamp(13px, 3.6vw, 16px); line-height: 1.5; padding: 0 8px; margin-top: 12px; }

  /* About Hero */
  .about-hero { padding: 110px 20px 70px; }
  .about-hero h1, .about-hero-content h1 { font-size: clamp(36px, 9vw, 48px); letter-spacing: -1.2px; }

  /* Portfolio Hero */
  .portfolio-hero { padding: 110px 20px 70px; }
  .portfolio-hero h1 { font-size: clamp(36px, 9vw, 48px) !important; letter-spacing: -1.2px; }

  /* Showcase split CTA on mobile — auto wrap natural, single column */
  .showcase h2 .cta-title-main,
  .showcase h2 .cta-title-brand { white-space: normal !important; }

  /* Service grid stacking */
  .services-grid { grid-template-columns: 1fr !important; gap: 28px; }
  .service-card { padding: 28px 20px; }
  .service-card .columns { grid-template-columns: 1fr; gap: 20px; }
  .services-intro { font-size: 14px; padding: 0 8px; }

  /* About sections — text padding clean */
  .inksider-copy, .story-copy, .journey-text { padding: 56px 20px !important; }
  .inksider-copy p, .journey-box p, .story-copy p { font-size: 15px; line-height: 1.55; max-width: 100%; }
  .hello { font-size: 11px; letter-spacing: .25em; }

  /* What We Do service-row */
  .service-copy-wrap { padding: 40px 20px !important; }
  .service-copy-wrap p { font-size: 14px; line-height: 1.55; }
  .service-title-strip { font-size: 26px !important; padding: 12px 20px 14px !important; }

  /* Portfolio grid */
  .archive-portfolio-grid,
  .portfolio-grid { grid-template-columns: 1fr !important; gap: 16px; padding: 0 16px; }
  .portfolio-card { width: 100%; }

  /* Project detail */
  .project-hero h1, .project-hero__title { font-size: clamp(34px, 9vw, 50px) !important; letter-spacing: -1px; }
  .project-hero__tagline { font-size: 14px; padding: 0 12px; }

  /* Catalog — 3-grid stack */
  .catalog-grid { grid-template-columns: 1fr !important; gap: 14px; }
  .catalog-card { width: 100%; }

  /* FAQ */
  .faq h2 { font-size: 30px !important; letter-spacing: -1px; }
  .faq-item { padding: 18px 16px; }
  .faq-item h3 { font-size: 15px; }

  /* Contact form */
  .contact-cine { padding: 80px 20px !important; }
  .glass-form { padding: 28px 18px !important; }
  .glass-form label { font-size: 12px; }
  .glass-form input, .glass-form textarea { font-size: 15px; padding: 12px 14px; }
  .glass-form button { width: 100%; font-size: 13px; padding: 13px; }

  /* Footer */
  .site-footer .inner { grid-template-columns: 1fr !important; gap: 32px; padding: 48px 20px; }
  .site-footer h4 { font-size: 14px; }
  .site-footer ul li { font-size: 14px; }

  /* Modal credential — keep usable on small screens */
  .si-modal__dialog { width: calc(100% - 28px) !important; max-width: 420px; }
  .si-modal__title { font-size: 22px !important; line-height: 1.25; }
  .si-modal__sub { font-size: 13px; }
  .si-row { grid-template-columns: 1fr; gap: 0; }
  .si-modal__form input { font-size: 15px; }

  /* Buttons general — not too wide, not too tall */
  .service-cta, .hero-cta, .glass-form button { max-width: 360px; margin-left: auto; margin-right: auto; }

  /* Clients logo strip — readable (v6.5: nudged a touch larger for mobile) */
  .clients-stage { gap: 24px; padding: 0 8px; }
  .clients-img { max-height: 72px; }

  /* Quote section */
  .quote-text { font-size: 28px !important; padding: 0 16px; line-height: 1.25; letter-spacing: -.5px; }

  /* About hero mobile background variant — see ACF field about_hero_image_mobile */
  .about-hero-bg img { object-position: center top; }
  .about-hero-bg .about-hero-bg__mobile { display: block; }
  .about-hero-bg .about-hero-bg__desktop { display: none; }
}

@media (min-width: 769px) {
  .about-hero-bg .about-hero-bg__mobile { display: none; }
  .about-hero-bg .about-hero-bg__desktop { display: block; }
}

/* Small phones <=414 — extra tightening */
@media (max-width: 414px) {
  .hero-title { font-size: 32px !important; }
  .service-detail-hero h1 { font-size: 34px !important; }
  .about-hero h1, .about-hero-content h1, .portfolio-hero h1 { font-size: 34px !important; }
  .showcase h2 { font-size: 26px !important; }
  .quote-text { font-size: 24px !important; }
  .si-modal__title { font-size: 20px !important; }
}

/* ============================================================
   MOBILE POLISH (v6.4.1) — issues from client screenshots
   1) Home hero CTA overlapping copyright
   2) Mobile menu panel too sparse / large gaps
   3) Service-row still 2 columns on mobile
   ============================================================ */
@media (max-width: 768px) {

  /* --- A. MOBILE HEADER --- */
  .logo { max-width: 185px; }
  .logo img { max-height: 40px; }
  .nav-inner { height: 76px; padding: 0 14px; gap: 10px; }

  /* --- B. HOMEPAGE HERO — fix CTA / copyright overlap --- */
  .hero { display: flex; align-items: center; justify-content: center; }
  .hero-content {
    padding: 130px 24px 110px !important;
    transform: none !important;
    gap: 0 !important;
  }
  .hero-title {
    font-size: clamp(34px, 10vw, 46px) !important;
    line-height: 1.05 !important;
    letter-spacing: -1px !important;
    margin: 0 !important;
  }
  .hero-sub {
    font-size: 13px !important;
    line-height: 1.5 !important;
    max-width: 320px !important;
    margin: 18px auto 0 !important;
  }
  .hero-cta {
    margin-top: 28px !important;
    padding: 14px 26px !important;
    font-size: 13px !important;
    width: auto !important;
    max-width: 320px !important;
  }
  .hero-footer {
    bottom: 14px !important;
    font-size: 10px !important;
    max-width: 80% !important;
    line-height: 1.4 !important;
    text-align: center !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    padding: 0 !important;
  }

  /* --- C. MOBILE MENU PANEL — tighter, balanced --- */
  .si-mobile-panel__inner {
    width: min(86%, 380px);
    padding: 80px 32px 40px;
  }
  .si-mobile-panel__close { top: 22px; right: 22px; }
  .si-mobile-list { gap: 4px !important; padding-top: 8px !important; }
  .si-mobile-list a,
  .si-mobile-list .nav-dropdown-trigger {
    font-size: 20px !important;
    padding: 14px 0 !important;
    letter-spacing: 0 !important;
  }
  .si-mobile-list .has-dropdown .dropdown {
    padding: 6px 0 12px 14px !important;
  }
  .si-mobile-list .has-dropdown .dropdown a {
    font-size: 15px !important;
    padding: 8px 0 !important;
    color: rgba(255,255,255,.78);
  }
  .si-mobile-panel .si-lang-switch {
    margin-top: 24px;
    align-self: flex-start;
  }

  /* --- D. SERVICE-ROW (About What We Do) — TRUE single column stack --- */
  .service-row {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: 1fr !important;
    min-height: auto !important;
  }
  .service-media {
    width: 100% !important;
    min-height: 280px !important;
    order: 2 !important;
  }
  .service-copy-wrap {
    width: 100% !important;
    order: 1 !important;
    padding: 56px 24px 42px !important;
  }
  /* Reset alternating order rules from desktop nth-child */
  .what > .service-row:nth-child(odd) .service-media { order: 2 !important; }
  .what > .service-row:nth-child(odd) .service-copy-wrap { order: 1 !important; }
  .service-title-strip {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 16px 18px !important;
    font-size: clamp(28px, 9vw, 40px) !important;
    line-height: 1.05 !important;
    letter-spacing: -1px !important;
  }
  .what > .service-row:nth-child(odd) .service-title-strip {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 16px 18px !important;
  }
  .service-copy-wrap p {
    font-size: 15px !important;
    line-height: 1.55 !important;
    max-width: 100% !important;
  }
  .detail-btn {
    font-size: 14px !important;
    padding: 13px 22px !important;
    border-width: 2px !important;
    width: auto !important;
    max-width: 220px !important;
    white-space: nowrap;
  }
  .detail-btn span { margin-left: 6px; }
}

/* ============================================================
   PORTFOLIO EMPTY STATE (v6.5) — clean, premium, no fake data
   ============================================================ */
.catalog-empty {
  min-height: 460px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
  color: rgba(255,255,255,.84);
}
.catalog-empty__icon {
  color: var(--blue);
  opacity: .9;
  margin-bottom: 22px;
}
.catalog-empty__title {
  margin: 0 0 8px;
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 700;
  letter-spacing: -.6px;
  color: #fff;
}
.catalog-empty__sub {
  margin: 0 0 28px;
  max-width: 460px;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255,255,255,.66);
}
.catalog-empty__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border: 1.5px solid var(--blue);
  border-radius: 4px;
  color: var(--blue);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: background .2s ease, color .2s ease;
}
.catalog-empty__cta:hover {
  background: var(--blue);
  color: #0a0d12;
}
@media (max-width: 768px) {
  .catalog-empty { min-height: 360px; padding: 60px 20px; }
  .catalog-empty__title { font-size: 22px; }
  .catalog-empty__sub { font-size: 14px; }
}

/* ============================================================
   v6.6 — TRUSTED BY: LARGER LOGOS ON MOBILE (progressive)
   - User feedback: previous 72px cap still looked too small on phone.
   - Composite logo image keeps aspect ratio; we lift max-height +
     ensure full container width usage on small screens.
   - Desktop (>768px) is UNTOUCHED — original 1280px cap stays.
   ============================================================ */
@media (max-width: 768px) {
  .clients-shell { padding: 0 16px; }
  .clients-stage {
    width: 100% !important;
    padding: 0 !important;
    gap: 0 !important;
  }
  .clients-stage .clients-img,
  .clients-img {
    width: 100% !important;
    max-width: 100% !important;
    max-height: 140px !important;
    height: auto !important;
    object-fit: contain !important;
    image-rendering: -webkit-optimize-contrast;
  }
}
@media (max-width: 480px) {
  .clients-stage .clients-img,
  .clients-img {
    max-height: 120px !important;
  }
}
@media (max-width: 414px) {
  .clients-stage .clients-img,
  .clients-img {
    max-height: 110px !important;
  }
}
@media (max-width: 390px) {
  .clients-stage .clients-img,
  .clients-img {
    max-height: 100px !important;
  }
}
@media (max-width: 360px) {
  .clients-stage .clients-img,
  .clients-img {
    max-height: 92px !important;
  }
}

/* ============================================================
   v6.6 — HOME HERO TITLE: HARD ANTI-BREAK (EN + ID)
   Prevent ugly orphaned words like "SOLUTIONS\nPARTNER".
   Allow long ID translations to scale down gracefully instead
   of overflowing the frame. Desktop layout unchanged.
   ============================================================ */
@media (max-width: 768px) {
  .hero-title {
    /* Force the rotating word + trailing words to balance on 2-3 lines
       cleanly. Override earlier !important rules with later cascade. */
    font-size: clamp(26px, 8vw, 40px) !important;
    line-height: 1.06 !important;
    letter-spacing: -.6px !important;
    text-wrap: balance;
    overflow-wrap: normal;
    word-break: keep-all;
    hyphens: none;
    max-width: 100% !important;
    padding-inline: 4px;
  }
  /* Subtitle: never overflow */
  .hero-sub {
    max-width: 92vw !important;
    overflow-wrap: break-word;
    word-break: normal;
  }
}
@media (max-width: 414px) {
  .hero-title {
    font-size: 30px !important;
    letter-spacing: -.4px !important;
  }
}
@media (max-width: 390px) {
  .hero-title {
    font-size: 28px !important;
  }
}
@media (max-width: 360px) {
  .hero-title {
    font-size: 26px !important;
    line-height: 1.08 !important;
  }
}



/* ============================================================
   v6.6.1 — TRUSTED BY: PREMIUM REBALANCE (per-breakpoint, additive)
   Logo composite aspect ratio = 3.17:1. Previous max-height caps
   (140/120/.../92px) actually SHRUNK the logos below their natural
   width-based size on most phones. v6.6.1 strategy:
     1. Use width-based sizing (vw) — natural aspect ratio drives height.
     2. NO max-height clamp on mobile/tablet (lets logos breathe).
     3. Increase desktop max-width 1280 → 1400 + better padding.
     4. Tighter section padding on mobile to remove dead black space.
     5. Title margin-bottom reduced on mobile so logo dominates.
   This block is appended LAST → wins the cascade vs v6.6.
   Hero / Footer / Structure UNTOUCHED.
   ============================================================ */

/* --- Desktop (≥1025px) — premium spacing + slightly larger composite --- */
@media (min-width: 1025px) {
  .clients {
    padding: 140px 0 160px !important;
  }
  .clients-title {
    margin-bottom: 80px !important;
    font-size: clamp(38px, 3.6vw, 56px) !important;
  }
  .clients-stage .clients-img,
  .clients-img {
    max-width: 1400px !important;
    width: 90% !important;
  }
}

/* --- Tablet (769–1024px) — comfortable readable scale --- */
@media (min-width: 769px) and (max-width: 1024px) {
  .clients {
    padding: 110px 0 120px !important;
  }
  .clients-shell {
    padding: 0 40px !important;
  }
  .clients-title {
    margin-bottom: 56px !important;
    font-size: clamp(34px, 4vw, 44px) !important;
  }
  .clients-stage .clients-img,
  .clients-img {
    max-width: 100% !important;
    width: 88% !important;
    max-height: none !important;
  }
}

/* --- Mobile (≤768px) — DOMINANT logo, tight section --- */
@media (max-width: 768px) {
  .clients {
    padding: 64px 0 72px !important;
  }
  .clients-shell {
    padding: 0 !important;
    max-width: 100% !important;
  }
  .clients-title {
    margin: 0 0 36px !important;
    font-size: clamp(28px, 7.5vw, 36px) !important;
    letter-spacing: -.8px !important;
    padding: 0 16px;
  }
  .clients-stage {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 0 !important;
    padding: 0 !important;
    width: 100% !important;
  }
  .clients-stage .clients-img,
  .clients-img {
    display: block !important;
    width: 100vw !important;
    max-width: 100vw !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
    image-rendering: -webkit-optimize-contrast;
    margin-inline: auto !important;
  }
}

/* --- Small phones (≤480px) — slight tighten on side breathing --- */
@media (max-width: 480px) {
  .clients {
    padding: 56px 0 64px !important;
  }
  .clients-stage .clients-img,
  .clients-img {
    width: 100vw !important;
    max-width: 100vw !important;
  }
}

/* --- 414 / 390 / 360 — keep dominant (full viewport-width logo) --- */
@media (max-width: 414px) {
  .clients-shell { padding: 0 !important; }
  .clients-stage .clients-img,
  .clients-img { width: 100vw !important; max-width: 100vw !important; }
}
@media (max-width: 390px) {
  .clients-stage .clients-img,
  .clients-img { width: 100vw !important; max-width: 100vw !important; }
}
@media (max-width: 360px) {
  .clients { padding: 48px 0 56px !important; }
  .clients-title { margin-bottom: 28px !important; }
  .clients-stage .clients-img,
  .clients-img { width: 100vw !important; max-width: 100vw !important; }
}

/* ============================================================
   v6.6.2 — TABLET / iPad NAVIGATION FIX (768–1024 inclusive)
   Issue (client screenshot): on iPad portrait + landscape only the
   language switcher was visible — burger AND desktop nav both got
   hidden because of conflicting media queries (max-860 hid nav,
   then min-768/max-1024 hid the burger). Per-tablet behaviour now:
     • 768–1024px → hamburger menu (same UX as mobile).
     • ≥1025px    → desktop nav (unchanged).
   Header polish: logo / lang switcher / burger in a single row,
   never overflowing the viewport. Hero/content/footer untouched.
   ============================================================ */
@media (min-width: 768px) and (max-width: 1024px) {
  /* Lock the row layout: brand left, lang+burger right */
  .site-header .nav-inner {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    height: 72px !important;
    padding: 0 22px !important;
    gap: 12px !important;
    max-width: 100vw;
    box-sizing: border-box;
    overflow: visible;
  }
  .site-header .brand {
    margin-right: auto !important;
    flex: 0 0 auto;
  }
  .site-header .brand img {
    width: auto !important;
    max-height: 42px;
    height: auto;
  }
  /* Hide desktop primary nav, force burger visible */
  .site-header > .nav-inner > nav,
  .site-header nav[aria-label="Primary"] {
    display: none !important;
  }
  .site-header .burger {
    display: inline-flex !important;
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
  }
  /* Language switcher stays compact + before the burger */
  .site-header .si-lang-switch {
    flex: 0 0 auto;
    order: 0;
    margin-left: auto;
    margin-right: 6px;
  }
  /* Mobile slide-panel must remain reachable from tablet.
   * NOTE: Do NOT force `display: block` here — the panel default is
   * `display: none`, flipped to `display: block` only via `.is-open`.
   * Forcing block at the media-query level pins the overlay visible
   * even after JS removes `is-open` → X button appears to do nothing. */
  .si-mobile-panel__inner {
    width: min(420px, 86vw);
  }
  /* No horizontal scroll */
  html, body { overflow-x: hidden; }
}

/* Belt-and-braces: ensure ≥1025px shows desktop nav, hides burger. */
@media (min-width: 1025px) {
  .site-header .burger { display: none !important; }
  .site-header nav[aria-label="Primary"] { display: block !important; }
}

