/* ==========================================================
   Badri Design — custom styles (light theme, matches live site)
   ========================================================== */
:root {
  --bd-bg: #ffffff;
  --bd-bg-soft: #f7f7f7;
  --bd-ink: #161616;
  --bd-gray: #7a7a7a;
  --bd-line: #ececec;
  --bd-blue: #3888e0;
  --bd-orange: #f27300;
  --bd-radius: 16px;
  --bd-font: 'Poppins', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bd-bg);
  color: var(--bd-ink);
  font-family: var(--bd-font);
  overflow-x: hidden;
  margin: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.eyebrow {
  color: var(--bd-gray);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  font-size: .78rem;
  margin-bottom: .6rem;
}

.section-title {
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 1rem;
  color: var(--bd-ink);
}

.section-sub {
  color: var(--bd-gray);
  max-width: 520px;
  margin-bottom: 1.5rem;
}

.section-sub-left {
  color: var(--bd-gray);
  max-width: 480px;
  margin-bottom: 2rem;
}

/* ---------- Buttons ---------- */
.cssbuttons-io-button,
.btn-dark-custom {
  background: var(--bd-blue, #3888e0);
  color: white;
  font-family: inherit;
  padding: 0.35em;
  padding-left: 1.4em;
  padding-right: 3.4em;
  font-size: 16px;
  font-weight: 500;
  border-radius: 0.9em;
  border: none;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  height: 2.8em;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cssbuttons-io-button:hover,
.btn-dark-custom:hover {
  color: white;
  background: var(--bd-blue, #3888e0);
}

.cssbuttons-io-button .icon,
.btn-dark-custom .icon {
  background: white;
  margin-left: 1em;
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2.2em;
  width: 2.2em;
  border-radius: 0.7em;
  box-shadow: 0.1em 0.1em 0.6em 0.2em rgba(56, 136, 224, 0.35);
  right: 0.3em;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.cssbuttons-io-button:hover .icon,
.btn-dark-custom:hover .icon {
  width: calc(100% - 0.6em);
  box-shadow: 0.1em 0.1em 0.8em 0.3em rgba(56, 136, 224, 0.45);
}

.cssbuttons-io-button .icon svg,
.btn-dark-custom .icon svg {
  width: 1.1em;
  height: 1.1em;
  transition: transform 0.3s ease;
  color: var(--bd-blue, #3888e0);
}

.cssbuttons-io-button:hover .icon svg,
.btn-dark-custom:hover .icon svg {
  transform: translateX(0.15em);
}

.cssbuttons-io-button:active .icon,
.btn-dark-custom:active .icon {
  transform: scale(0.95);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  /* padding:20px 0; */
  background: rgba(255, 255, 255, .7);
  backdrop-filter: blur(6px);
  transition: background .35s ease, padding .35s ease, box-shadow .35s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, .95);
  /* padding: 12px 0; */
  box-shadow: 0 2px 16px rgba(0, 0, 0, .06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: .6rem;
}

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--bd-blue), var(--bd-orange));
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-text strong {
  display: block;
  font-size: .95rem;
  line-height: 1.1;
  letter-spacing: .5px;
}

.brand-text em {
  display: block;
  font-style: normal;
  font-size: .62rem;
  color: var(--bd-gray);
}

.brand-text em b {
  color: var(--bd-ink);
}

.main-nav {
  gap: 2rem;
}

.main-nav a {
  font-weight: 500;
  font-size: .92rem;
  color: var(--bd-gray);
  transition: color .25s ease;
}

.main-nav a:hover {
  color: var(--bd-ink);
}

.menu-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--bd-line);
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 16px;
  height: 2px;
  background: var(--bd-ink);
  transition: all .3s ease;
}

/* ---------- Offcanvas menu ---------- */
.offcanvas-menu {
  position: fixed;
  top: 0;
  right: -420px;
  width: 100%;
  max-width: 400px;
  height: 100%;
  background: #fff;
  z-index: 1200;
  transition: right .45s cubic-bezier(.77, 0, .18, 1);
  padding: 60px 40px;
  box-shadow: -10px 0 40px rgba(0, 0, 0, .08);
}

.offcanvas-menu.open {
  right: 0;
}

.offcanvas-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .4);
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s ease, visibility .4s ease;
}

.offcanvas-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.menu-close {
  background: none;
  border: none;
  color: var(--bd-ink);
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
  position: absolute;
  top: 24px;
  right: 30px;
}

.offcanvas-nav {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
  margin-top: 2.5rem;
}

.offcanvas-nav a {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--bd-ink);
}

.offcanvas-nav a:hover {
  color: var(--bd-blue);
}

.offcanvas-social {
  display: flex;
  gap: 1rem;
  margin-top: 3rem;
}

.offcanvas-social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--bd-line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bd-ink);
  transition: all .3s ease;
}

.offcanvas-social a:hover {
  background: var(--bd-ink);
  color: #fff;
  border-color: var(--bd-ink);
}

/* ---------- Hero ---------- */
.hero {
  padding: 150px 0 60px;
}

.hero-title {
  font-size: clamp(1.9rem, 4.6vw, 3.1rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 2.5rem;
  color: var(--bd-ink);
}

/* Dynamic Scroll Text Colors */
.creative-expertise-text,
.brands-grow-text,
.powerful-tools-text,
.badri-design-text,
.our-journey-text,
.inspire-us-text {
  color: var(--bd-ink);
  transition: color 0.2s ease-in-out;
  display: inline-block;
}

.creative-expertise-text.active-blue,
.powerful-tools-text.active-blue,
.our-journey-text.active-blue {
  color: var(--bd-blue, #3888e0);
}

.brands-grow-text.active-orange,
.badri-design-text.active-orange,
.inspire-us-text.active-orange {
  color: var(--bd-orange, #f27300);
}

.hero-stack {
  position: relative;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2.5rem;
  perspective: 1200px;
}

.stack-card {
  --tx: 0px;
  --base-rot: 0deg;
  --push-x: 0px;
  --push-y: 0px;
  --tilt: 0deg;
  --lift: 0px;
  --scale: 1;
  position: absolute;
  width: 210px;
  height: 210px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .15);
  background: #fff;
  transform:
    translateX(var(--tx)) translate(var(--push-x), var(--push-y)) translateY(var(--lift)) rotate(calc(var(--base-rot) + var(--tilt))) scale(var(--scale));
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s ease, z-index 0s;
  cursor: pointer;
  will-change: transform;
}

.stack-card:nth-child(1) {
  z-index: 1;
  --tx: -400px;
  --base-rot: -10deg;
}

.stack-card:nth-child(2) {
  z-index: 2;
  --tx: -200px;
  --base-rot: -5deg;
}

.stack-card:nth-child(3) {
  z-index: 3;
  --tx: 0px;
  --base-rot: 0deg;
}

.stack-card:nth-child(4) {
  z-index: 2;
  --tx: 200px;
  --base-rot: 5deg;
}

.stack-card:nth-child(5) {
  z-index: 1;
  --tx: 400px;
  --base-rot: 10deg;
}

.stack-card.is-active {
  z-index: 20 !important;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .25);
}

.stack-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.hero-text {
  color: var(--bd-gray);
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.8;
}

/* ---------- Services ---------- */
.services {
  padding: 100px 0;
}

.services-tagline {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.typing-cursor {
  font-weight: 100;
  color: var(--bd-blue, #3888e0);
  animation: blink 0.7s infinite;
  margin-left: 3px;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.service-row {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  border: 1px solid var(--bd-line);
  border-radius: 14px;
  padding: 1.1rem 1.6rem;
  transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}

.service-row:hover {
  border-color: #666666;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .07);
  transform: translateY(-2px);
}

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 64px;
  flex-shrink: 0;
  overflow: hidden;
}

.service-icon img {
  width: 100%;
  height: 100%;
  max-width: 64px;
  max-height: 64px;
  object-fit: contain;
  border-radius: inherit;
  display: block;
}

.service-text {
  flex: 1;
  min-width: 0;
}

.service-row h4 {
  font-size: 1.05rem;
  margin-bottom: .25rem;
}

.service-row p {
  color: var(--bd-gray);
  font-size: .9rem;
  margin: 0;
  line-height: 1.5;
}

/* ---------- Tools / Skills ---------- */
.tools {
  padding: 80px 0;
  background: var(--bd-bg-soft);
}

.skill-card {
  text-align: center;
}

.skill-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1rem;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .12);
}

.icon-ai {
  background: linear-gradient(135deg, #4a1e00, #e59400);
}

.icon-ps {
  background: linear-gradient(135deg, #00184f, #2d7cf0);
}

.icon-ae {
  background: linear-gradient(135deg, #1a0033, #7b1fff);
}

.icon-cdr {
  background: linear-gradient(135deg, #0b3d1c, #39b25a);
}

.skill-card h4 {
  font-size: .95rem;
  font-weight: 600;
  margin-bottom: 1.4rem;
  color: var(--bd-ink);
}

.skill-slider {
  position: relative;
  width: 100%;
  height: 2px;
  background: #dcdcdc;
  margin-top: 1rem;
}

.skill-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0%;
  background: var(--bd-orange);
  transition: width 1.6s cubic-bezier(.16, 1, .3, 1);
}

.skill-handle {
  position: absolute;
  top: 50%;
  left: 0%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bd-orange);
  transition: left 1.6s cubic-bezier(.16, 1, .3, 1);
}

.skill-percent {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  font-size: .78rem;
  color: var(--bd-gray);
  white-space: nowrap;
}

/* ---------- About ---------- */
.about {
  padding: 100px 0;
}

.about-text {
  color: var(--bd-gray);
  margin-bottom: 1.1rem;
  line-height: 1.8;
}

.about-tagline {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--bd-ink);
}

.founder-photo {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1.2rem;
  /* box-shadow: 0 20px 40px rgba(0, 0, 0, .12); */
}

.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founder-name {
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.2;
}

.founder-role {
  color: var(--bd-gray);
}

.trademark-strip {
  max-width: 600px;
  margin: 4rem auto 0;
  padding-top: 3rem;
  /* border-top: 1px solid var(--bd-line); */
  display: flex;
  align-items: center;
  gap: 1.8rem;
  cursor: pointer;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.trademark-strip:hover {
  border-color: var(--bd-blue);
  transform: translateY(-2px);
}

.view-badge {
  position: relative;
  width: 96px;
  height: 96px;
  flex: 0 0 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: spinBadge 12s linear infinite;
}

.view-badge-text {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: var(--bd-gray);
}

.view-badge-arrow-wrapper {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.trademark-strip:hover .view-badge-arrow-wrapper {
  transform: scale(1.35);
}

.view-badge-arrow {
  position: relative;
  z-index: 5;
  color: var(--bd-ink);
  pointer-events: none;
  animation: counterSpin 12s linear infinite;
}

/* ---------- Trademark Modal Popup ---------- */
.trademark-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2500;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.trademark-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.trademark-modal-content {
  position: relative;
  max-width: 750px;
  width: 100%;
  max-height: 90vh;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.92);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.trademark-modal-overlay.open .trademark-modal-content {
  transform: scale(1);
}

.trademark-modal-content img {
  max-width: 100%;
  max-height: 85vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  display: block;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

.trademark-modal-close {
  position: absolute;
  top: -18px;
  right: -18px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffffff;
  border: none;
  color: #161616;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: background 0.25s ease, transform 0.25s ease, color 0.25s ease;
}

.trademark-modal-close:hover {
  background: var(--bd-orange, #f27300);
  color: #ffffff;
  transform: scale(1.1);
}

@media (max-width: 576px) {
  .trademark-modal-close {
    top: 10px;
    right: 10px;
  }
}

@keyframes spinBadge {
  to {
    transform: rotate(360deg);
  }
}

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

/* ---------- Numbers ---------- */
.numbers {
  padding: 90px 0;
}

.counter {
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  font-weight: 800;
  color: var(--bd-orange);
}

.numbers p {
  color: var(--bd-gray);
  margin: 0;
}

/* ---------- Team ---------- */
.team {
  padding: 90px 0;
  background: var(--bd-bg-soft);
}

.team-watermark {
  font-size: clamp(8rem, 16vw, 14rem);
  font-weight: 800;
  color: #dedede;
  line-height: .8;
  text-align: center;
}

.team-list {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  margin-top: 1rem;
}

.team-row {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--bd-line);
}

.team-row img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.team-row h4 {
  font-size: 1.05rem;
  margin-bottom: .15rem;
}

.team-row p {
  color: var(--bd-gray);
  margin: 0;
  font-size: .88rem;
}

/* ---------- Testimonials ---------- */
.testimonials {
  padding: 100px 0;
}

.video-grid {
  display: flex;
  gap: 1rem;
  height: 100%;
}

.video-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}

.video-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #111;
  flex: 1;
}

.video-card.tall {
  flex: 0 0 auto;
  width: 48%;
}

.video-card img,
.video-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: pointer;
}

.sound-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.65);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  backdrop-filter: blur(6px);
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 2;
}

.video-card:hover .sound-badge {
  background: var(--bd-orange, #f27300);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(242, 115, 0, 0.4);
}

.review-list {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  /* max-height: 520px; */
  overflow-y: auto;
  padding-right: .5rem;
}

.review-item {
  display: flex;
  gap: .9rem;
}

.review-item img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 44px;
}

.review-item h5 {
  font-size: .92rem;
  margin-bottom: .2rem;
  font-weight: 600;
}

.review-item h5 span {
  color: var(--bd-gray);
  font-weight: 400;
  font-size: .78rem;
  margin-left: .4rem;
}

.stars {
  color: var(--bd-orange);
  font-size: .72rem;
  margin-bottom: .3rem;
}

.review-item p {
  color: var(--bd-gray);
  font-size: .88rem;
  margin: 0;
  line-height: 1.6;
}

.read-more {
  color: var(--bd-blue);
}

.see-all-reviews {
  display: inline-block;
  margin-top: 1.4rem;
  color: var(--bd-blue);
  font-weight: 600;
  font-size: .9rem;
}

.see-all-reviews:hover {
  text-decoration: underline;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bd-bg-soft);
  padding-top: 0;
}

/* Infinite Marquee Ticker (Osty Theme Style) */
.footer-marquee {
  overflow: hidden;
  width: 100%;
  padding: 2.2rem 0;
  background: var(--bd-ink, #161616);
  color: #ffffff;
  white-space: nowrap;
  position: relative;
  margin-bottom: 4rem;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 25s linear infinite;
}

.footer-marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding-right: 2.5rem;
}

.marquee-content span {
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #ffffff;
}

.marquee-dot {
  color: var(--bd-orange, #f27300);
  font-size: clamp(1.8rem, 4.2vw, 3rem) !important;
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.cta-title {
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.cta-title span {
  color: var(--bd-blue, #3888e0);
}

.footer-grid h5 {
  color: var(--bd-gray);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: .78rem;
  margin-bottom: 1rem;
}

.footer-social {
  display: flex;
  gap: .8rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--bd-line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bd-ink);
  transition: all .3s ease;
}

.footer-social a:hover {
  background: var(--bd-ink);
  color: #fff;
  border-color: var(--bd-ink);
}

.footer-email {
  font-size: 1rem;
  color: var(--bd-ink);
}

.footer-email:hover {
  color: var(--bd-blue);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.footer-nav a {
  color: var(--bd-ink);
}

.footer-nav a:hover {
  color: var(--bd-blue);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.6rem 0;
  margin-top: 3rem;
  border-top: 1px solid var(--bd-line);
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  color: var(--bd-gray);
  font-size: .85rem;
}

.back-to-top {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bd-ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .3s ease;
}

.back-to-top:hover {
  transform: translateY(-4px);
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media(max-width:991px) {
  .hero {
    padding-top: 130px;
  }

  .hero-stack {
    height: 200px;
  }

  .stack-card {
    width: 160px;
    height: 160px;
  }

  .stack-card:nth-child(1) {
    --tx: -260px;
  }

  .stack-card:nth-child(2) {
    --tx: -130px;
  }

  .stack-card:nth-child(4) {
    --tx: 130px;
  }

  .stack-card:nth-child(5) {
    --tx: 260px;
  }

  .video-grid {
    flex-direction: column;
  }

  .video-card.tall {
    width: 100%;
  }
}

@media(max-width:767px) {
  .hero-stack {
    height: 170px;
  }

  .stack-card {
    width: 120px;
    height: 120px;
  }

  .stack-card:nth-child(1) {
    --tx: -190px;
  }

  .stack-card:nth-child(2) {
    --tx: -95px;
  }

  .stack-card:nth-child(4) {
    --tx: 95px;
  }

  .stack-card:nth-child(5) {
    --tx: 190px;
  }

  .service-row {
    padding: 0.95rem 1.25rem;
    gap: 1rem;
    border-radius: 12px;
  }

  .service-icon {
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    border-radius: 10px;
  }

  .service-icon img {
    max-width: 56px;
    max-height: 56px;
  }
}

@media(max-width:576px) {
  .hero-stack {
    height: 150px;
  }

  .stack-card {
    width: 92px;
    height: 92px;
  }

  .stack-card:nth-child(1) {
    --tx: -135px;
  }

  .stack-card:nth-child(2) {
    --tx: -68px;
  }

  .stack-card:nth-child(4) {
    --tx: 68px;
  }

  .stack-card:nth-child(5) {
    --tx: 135px;
  }

  .service-row {
    padding: 0.85rem 1rem;
    gap: 0.85rem;
    border-radius: 10px;
  }

  .service-icon {
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    border-radius: 8px;
  }

  .service-icon img {
    max-width: 50px;
    max-height: 50px;
  }
}

/* ==========================================================
   Page hero / breadcrumb (used by about.html, portfolio.html)
   ========================================================== */
.page-hero {
  padding: 150px 0 60px;
  text-align: center;
  background: var(--bd-bg-soft);
}

.page-hero-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  margin-bottom: .8rem;
  color: var(--bd-ink);
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-size: .9rem;
  color: var(--bd-gray);
}

.breadcrumb-nav a {
  color: var(--bd-gray);
  transition: color .25s ease;
}

.breadcrumb-nav a:hover {
  color: var(--bd-blue);
}

.breadcrumb-sep {
  font-size: .7rem;
  color: #c9c9c9;
}

.breadcrumb-current {
  color: var(--bd-ink);
  font-weight: 600;
}

/* ==========================================================
   About page — intro + approach/what-we-do
   ========================================================== */
.about-intro {
  padding: 70px 0 20px;
}

.approach {
  padding: 70px 0;
}

.approach-card {
  height: 100%;
  border: 1px solid var(--bd-line);
  border-radius: var(--bd-radius);
  padding: 2.2rem;
}

.approach-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--bd-bg-soft);
  color: var(--bd-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
}

.approach-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.approach-card p {
  color: var(--bd-gray);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.approach-card p:last-child {
  margin-bottom: 0;
}

/* ==========================================================
   Portfolio page
   ========================================================== */
.portfolio-wrap {
  padding-top: 20px;
}

.portfolio-section {
  padding: 70px 0;
  border-bottom: 1px solid var(--bd-line);
}

.portfolio-section:last-child {
  border-bottom: none;
}

.portfolio-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.portfolio-row {
  width: 100%;
}

/* shimmer skeleton shown until the image finishes loading */
.portfolio-img {
  position: relative;
  width: 100%;
  /* aspect-ratio: 16/7; */
  border-radius: var(--bd-radius);
  overflow: hidden;
  background: linear-gradient(100deg, #eee 30%, #f6f6f6 50%, #eee 70%);
  background-size: 200% 100%;
  animation: shimmer 1.4s ease-in-out infinite;
}

.portfolio-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity .5s ease;
}

.portfolio-img img.is-loaded {
  opacity: 1;
}

.portfolio-img:has(img.is-loaded) {
  animation: none;
  background: none;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

/* floating left dock nav */
.portfolio-dock {
  position: fixed;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: .7rem;
}

.dock-pill {
  display: flex;
  align-items: center;
  gap: .6rem;
  background: #fff;
  border: 1px solid var(--bd-line);
  border-radius: 50px;
  padding: .55rem 1rem .55rem .7rem;
  font-size: .8rem;
  font-weight: 600;
  color: var(--bd-gray);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
  transition: all .3s ease;
  white-space: nowrap;
}

.dock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d6d6d6;
  flex: 0 0 8px;
  transition: background .3s ease;
}

.dock-pill:hover {
  color: var(--bd-ink);
  border-color: var(--bd-blue);
}

.dock-pill.active {
  color: #fff;
  background: var(--bd-ink);
  border-color: var(--bd-ink);
}

.dock-pill.active .dock-dot {
  background: var(--bd-orange);
}

/* collapse to icon-only dots on smaller screens */
@media(max-width:991px) and (min-width:768px) {
  .portfolio-dock {
    left: 12px;
  }

  .dock-pill {
    padding: .5rem;
    border-radius: 50%;
  }

  .dock-pill span:not(.dock-dot) {
    display: none;
  }
}

@media(max-width:767px) {
  .portfolio-dock {
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    transform: none;
    flex-direction: row;
    gap: .5rem;
    background: #fff;
    border-top: 1px solid var(--bd-line);
    padding: .7rem .8rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 -6px 18px rgba(0, 0, 0, .06);
  }

  .portfolio-dock::-webkit-scrollbar {
    display: none;
  }

  .dock-pill {
    border-radius: 50px;
    padding: .5rem .9rem;
    flex: 0 0 auto;
  }

  .dock-pill span:not(.dock-dot) {
    display: inline !important;
  }

  /* force labels back on */
  /* room so the last item isn't flush against the screen edge */
  .portfolio-dock::after {
    content: "";
    flex: 0 0 4px;
  }
}

/* leave page content clear of the fixed bottom bar */
@media(max-width:767px) {
  .site-footer {
    padding-bottom: 64px;
  }
}

/* ==========================================================
   Portfolio lightbox
   ========================================================== */
.portfolio-img {
  cursor: zoom-in;
}

.portfolio-img::after {
  content: "\f00e";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .55);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
}

.portfolio-img:hover::after {
  opacity: 1;
}

/* always show the hint on touch devices since :hover doesn't fire */
@media(hover:none) {
  .portfolio-img::after {
    opacity: .85;
  }
}

.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(10, 10, 10, .94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 70px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}

.lightbox-overlay.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  max-width: 1100px;
  width: 100%;
}

.lightbox-content img {
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 12px;
  display: block;
  background: #111;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  border: none;
  color: #fff;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .25s ease;
}

.lightbox-close:hover,
.lightbox-nav:hover {
  background: rgba(255, 255, 255, .22);
}

.lightbox-close {
  top: -52px;
  right: 0;
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-prev {
  left: -58px;
}

.lightbox-next {
  right: -58px;
}

.lightbox-counter {
  position: absolute;
  bottom: -34px;
  left: 50%;
  transform: translateX(-50%);
  color: #bbb;
  font-size: .82rem;
  letter-spacing: .5px;
}

/* mobile: keep controls on-screen instead of off the edges */
@media(max-width:767px) {
  .lightbox-overlay {
    padding: 20px;
  }

  .lightbox-close {
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, .5);
  }

  .lightbox-prev {
    left: 8px;
  }

  .lightbox-next {
    right: 8px;
  }

  .lightbox-counter {
    bottom: -28px;
  }
}

/* ==========================================================
   Services page
   ========================================================== */
.services-hero {
  padding: 150px 0 70px;
  background: var(--bd-bg-soft);
}

.services-hero-title {
  font-size: clamp(1.9rem, 4.6vw, 2.9rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 2.5rem;
  color: var(--bd-ink);
}

/* staggered zigzag image row */
/* staggered zigzag image row (Bootstrap col-md-2 grid) */
.brand-stack {
  margin-bottom: 2.5rem;
}

.brand-stack-item {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 30px rgba(0, 0, 0, .12);
}

.brand-stack-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* zigzag offset applies to the column wrapper, only at md+ so mobile stays flush */
@media(min-width:768px) {
  .brand-stack>div:nth-child(even) .brand-stack-item {
    transform: translateY(24px);
  }

  .brand-stack>div:nth-child(odd) .brand-stack-item {
    transform: translateY(-6px);
  }
}

.services-hero-text {
  color: var(--bd-gray);
  max-width: 640px;
  margin: 0 auto 2rem;
  line-height: 1.8;
}

.services-hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-outline-custom {
  display: inline-block;
  background: #fff;
  border: 1px solid var(--bd-line);
  color: var(--bd-ink);
  font-weight: 600;
  font-size: .9rem;
  padding: .85rem 1.9rem;
  border-radius: 6px;
  transition: all .3s ease;
}

.btn-outline-custom:hover {
  border-color: var(--bd-ink);
  background: var(--bd-bg-soft);
  color: var(--bd-ink);
}

/* branding services list */
.branding-services {
  padding: 100px 0;
}

.branding-list {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
}

.branding-item {
  display: flex;
  gap: 1.4rem;
  align-items: flex-start;
}

.branding-number {
  font-size: 2.6rem;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--bd-line);
  line-height: 1;
  flex: 0 0 auto;
}

.branding-content h4 {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: .5rem;
  color: var(--bd-ink);
}

.branding-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bd-line);
  display: inline-block;
}

.branding-content p {
  color: var(--bd-gray);
  margin: 0;
  line-height: 1.7;
}

/* decorative illustration (approximation of the reference icon) */
.branding-illustration {
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1/1;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.illus-bulb {
  font-size: 8rem;
  color: var(--bd-ink);
  position: relative;
  z-index: 2;
}

.illus-doc {
  position: absolute;
  right: 15%;
  top: 20%;
  font-size: 6rem;
  color: var(--bd-line);
  z-index: 1;
}

.illus-logo {
  position: absolute;
  right: 14%;
  bottom: 12%;
  font-weight: 800;
  font-size: 1.6rem;
  background: var(--bd-ink);
  color: #fff;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

.illus-sparkle {
  position: absolute;
  color: var(--bd-orange);
  font-size: 1.3rem;
}

.sparkle-1 {
  top: 8%;
  left: 18%;
}

.sparkle-2 {
  bottom: 18%;
  left: 10%;
}

/* responsive: shrink the zigzag stack on small screens */
@media(max-width:767px) {
  .services-hero {
    padding-top: 130px;
  }

  .brand-stack-item {
    border-radius: 14px;
  }

  .illus-bulb {
    font-size: 5.5rem;
  }

  .illus-doc {
    font-size: 4rem;
  }
}