/* =========================================================
   Sri Tech Associates
   ========================================================= */
:root {
  --ink: #121212;
  --ink-2: #1c1c1c;
  --ink-3: #2a2a2a;
  --paper: #f4f1ea;
  --paper-2: #ebe6db;
  --line: rgba(18, 18, 18, .12);
  --line-light: rgba(255, 255, 255, .14);
  --muted: #5d5a54;
  --muted-light: rgba(255, 255, 255, .62);
  --accent: #e9a23b;
  --accent-2: #f5c26b;

  --f-display: "Lexend", system-ui, sans-serif;
  --f-body: "Inter", system-ui, sans-serif;

  --container: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --radius: 18px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-h: 92px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
svg { flex-shrink: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); font-weight: 500; line-height: 1.08; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
::selection { background: var(--accent); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 8vw, 112px) 0; position: relative; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 22px;
}
.eyebrow--light { color: var(--muted-light); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(233, 162, 59, .22); }

.h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); font-weight: 500; letter-spacing: -.025em; }
.h2--xl { font-size: clamp(2.3rem, 4.8vw, 4.2rem); }
.h2 em, .hero__title em { font-style: normal; color: var(--accent); }

/* Split text masks */
.split-line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.split-word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.split-word > span { display: inline-block; will-change: transform; }

/* ---------- Buttons ---------- */
.btn {
  --h: 56px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 28px; border-radius: 999px;
  font-weight: 600; font-size: 15px; white-space: nowrap;
  position: relative; overflow: hidden; isolation: isolate;
  transition: color .4s var(--ease), border-color .4s var(--ease);
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  transform: translateY(101%); transition: transform .5s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn--accent { background: var(--accent); color: var(--ink); }
.btn--accent::before { background: #fff; }
.btn--ghost { border: 1.5px solid rgba(255, 255, 255, .4); color: #fff; }
.btn--ghost::before { background: #fff; }
.btn--ghost:hover { color: var(--ink); border-color: #fff; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark::before { background: var(--accent); }
.btn--dark:hover { color: var(--ink); }
.btn--sm { --h: 44px; padding: 0 20px; font-size: 14px; }
.btn--block { width: 100%; }

.round-btn {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1.5px solid rgba(255, 255, 255, .35); color: #fff;
  transition: background .3s, color .3s, border-color .3s;
}
.round-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.round-btn:hover { background: #fff; color: var(--ink); border-color: #fff; }
.round-btn--dark { border-color: var(--line); color: var(--ink); }
.round-btn--dark:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.round-btn.swiper-button-disabled { opacity: .35; pointer-events: none; }

.chip {
  height: 40px; padding: 0 18px; border-radius: 999px;
  border: 1.5px solid var(--line); font-size: 14px; font-weight: 500;
  transition: background .3s, color .3s, border-color .3s;
}
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
a.chip { display: inline-flex; align-items: center; }

/* ---------- Welcome gate ---------- */
.gate-seen .gate { display: none !important; }
.gate {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--ink); color: #fff;
  display: flex; flex-direction: column; overflow: hidden;
}
.gate::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse at 50% 45%, rgba(18, 18, 18, .3) 0%, rgba(18, 18, 18, .94) 72%);
}
.gate__inner {
  position: relative; z-index: 2; flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 32px 16px 8px;
}
.gate__eyebrow { margin-bottom: clamp(16px, 3vh, 28px); white-space: nowrap; }

.gate__logo {
  --s: clamp(150px, 23vh, 200px);
  position: relative; width: var(--s); height: var(--s); border-radius: 50%;
  display: grid; place-items: center;
  /* leave room for the rotating ring, which sits 22% outside the circle */
  margin: calc(var(--s) * .22 + 8px) 0 calc(var(--s) * .22 + clamp(16px, 3vh, 28px));
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .14);
  transition: background .4s, border-color .4s;
}
.gate__logo img { position: relative; z-index: 1; width: 58%; height: auto; }
.gate__logo:disabled { cursor: progress; }
.gate__logo:focus-visible { outline: 2px solid var(--accent); outline-offset: 8px; border-radius: 50%; }
.gate__ring {
  position: absolute; left: -22%; top: -22%; width: 144%; height: 144%;
  opacity: 0; transition: opacity .8s; animation: fab-spin 20s linear infinite;
}
.gate__ring text { font-family: var(--f-display); font-size: 5.4px; font-weight: 600; fill: var(--accent); }
.gate.is-ready .gate__ring { opacity: 1; }
.gate.is-ready .gate__logo { cursor: pointer; }
.gate.is-ready .gate__logo::after {
  content: ""; position: absolute; inset: -1px; border-radius: 50%;
  border: 1.5px solid var(--accent); animation: gate-pulse 2.2s ease-out infinite;
}
.gate.is-ready .gate__logo:hover { background: rgba(233, 162, 59, .12); border-color: var(--accent); }
.gate.is-ready .gate__logo:hover .gate__ring { animation-duration: 6s; }
@keyframes gate-pulse { from { transform: scale(1); opacity: .8; } to { transform: scale(1.4); opacity: 0; } }

.gate__title {
  font-size: clamp(1.6rem, 3.6vw, 3rem); font-weight: 500; line-height: 1.15;
  max-width: 21ch; margin: 0 0 16px;
}
.gate__title em { font-style: normal; color: var(--accent); }
.gate__lead { color: rgba(255, 255, 255, .7); max-width: 48ch; margin: 0 0 clamp(24px, 4vh, 36px); font-size: clamp(.95rem, 1.2vw, 1.05rem); }

.gate__status { width: min(280px, 72vw); }
.gate__bar { height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .14); margin-bottom: 12px; overflow: hidden; transition: opacity .5s; }
.gate__bar i { display: block; height: 100%; width: 0; background: var(--accent); }
.gate.is-ready .gate__bar { opacity: 0; }
.gate__hint {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted-light); font-variant-numeric: tabular-nums;
}
.gate__hint b { font-weight: 600; color: #fff; }
.gate.is-ready .gate__hint { color: #fff; }
.gate__hint svg { width: 15px; height: 15px; fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; animation: gate-nudge 1.4s ease-in-out infinite; }
@keyframes gate-nudge { 50% { transform: translateY(-4px); } }

.gate__foot {
  position: relative; z-index: 2;
  display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 14px;
  padding: 16px 16px 28px;
  font-size: 11.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .45);
}
.gate__foot i { font-style: normal; color: var(--accent); }
@media (max-height: 640px) {
  .gate__lead, .gate__foot { display: none; }
}
@media (max-width: 600px) {
  .gate__foot { gap: 4px 10px; font-size: 10.5px; }
  .gate__eyebrow { font-size: 11px; letter-spacing: .1em; }
}

.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 120;
  background: var(--accent); transform-origin: 0 50%; transform: scaleX(0);
}

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h); color: #fff;
  transition: background .4s var(--ease), color .4s var(--ease), transform .5s var(--ease), box-shadow .4s;
}
.header.is-scrolled {
  background: rgba(244, 241, 234, .86); color: var(--ink);
  backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 1px 0 var(--line);
}
.header.is-hidden { transform: translateY(-100%); }
.header__inner { height: 100%; display: flex; align-items: center; gap: 32px; }

.logo { display: inline-grid; align-items: center; flex-shrink: 0; }
.logo__img { grid-area: 1 / 1; height: 60px; width: auto; transition: opacity .4s var(--ease); }
/* white logo over the dark hero and open menu, full-colour logo on the light scrolled header */
.header .logo__img--color { opacity: 0; }
.header.is-scrolled .logo__img--color { opacity: 1; }
.header.is-scrolled .logo__img--white { opacity: 0; }
body.menu-open .header .logo__img--white { opacity: 1; }
body.menu-open .header .logo__img--color { opacity: 0; }
.logo--footer .logo__img { height: 96px; }

.nav { display: flex; gap: 30px; margin-left: auto; }
.nav a { font-size: 14.5px; font-weight: 500; position: relative; padding: 6px 0; }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 100%;
  background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.nav a:hover::after, .nav a.is-current::after { transform: scaleX(1); transform-origin: left; }

/* Projects dropdown */
.nav__item { position: relative; display: flex; align-items: center; }
.nav__drop { display: inline-flex; align-items: center; gap: 6px; }
.nav__drop svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
.nav__item:hover .nav__drop svg, .nav__item:focus-within .nav__drop svg { transform: rotate(180deg); }
.nav__menu {
  position: absolute; top: 100%; left: 50%; z-index: 5;
  padding-top: 16px; /* hover bridge between link and panel */
  opacity: 0; visibility: hidden; transform: translate(-50%, 10px);
  transition: opacity .3s var(--ease), transform .4s var(--ease), visibility .3s;
}
.nav__item:hover .nav__menu, .nav__item:focus-within .nav__menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav__menu-inner {
  min-width: 290px; padding: 10px; border-radius: 16px;
  background: var(--paper); color: var(--ink);
  box-shadow: 0 24px 60px -18px rgba(0, 0, 0, .35), 0 0 0 1px var(--line);
}
.nav__menu-label { margin: 6px 12px 8px; font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.nav .nav__menu a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 11px 12px; border-radius: 10px; font-size: 15px; white-space: nowrap;
  transition: background .25s, color .25s;
}
.nav .nav__menu a::after { content: none; }
.nav__menu a b { font-size: 12px; font-weight: 600; min-width: 26px; text-align: center; padding: 2px 8px; border-radius: 999px; background: var(--paper-2); }
.nav .nav__menu a:hover, .nav .nav__menu a[aria-current="page"] { background: var(--ink); color: #fff; }
.nav__menu a:hover b, .nav__menu a[aria-current="page"] b { background: var(--accent); color: var(--ink); }
.nav .nav__menu .nav__menu-all { margin-top: 6px; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; font-weight: 600; }

.burger { display: none; width: 44px; height: 44px; position: relative; margin-left: auto; }
.burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
body.menu-open .burger span:first-child { top: 21px; transform: rotate(45deg); }
body.menu-open .burger span:last-child { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--ink); color: #fff;
  padding: calc(var(--header-h) + 32px) var(--gutter) 32px;
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease);
  visibility: hidden;
}
body.menu-open .mobile-menu { clip-path: inset(0 0 0 0); visibility: visible; }
body.menu-open .header { color: #fff; background: transparent; box-shadow: none; backdrop-filter: none; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
  font-family: var(--f-display); font-weight: 500; font-size: clamp(2rem, 9vw, 3.2rem); line-height: 1.25;
  opacity: 0; transform: translateY(30px); transition: opacity .5s, transform .6s var(--ease);
}
body.menu-open .mobile-menu nav a { opacity: 1; transform: none; }
body.menu-open .mobile-menu nav a:nth-child(2) { transition-delay: .05s; }
body.menu-open .mobile-menu nav a:nth-child(3) { transition-delay: .1s; }
body.menu-open .mobile-menu nav a:nth-child(4) { transition-delay: .15s; }
body.menu-open .mobile-menu nav a:nth-child(5) { transition-delay: .2s; }
body.menu-open .mobile-menu nav a:nth-child(6) { transition-delay: .25s; }
body.menu-open .mobile-menu nav a:nth-child(7) { transition-delay: .3s; }
.mobile-menu__foot { color: var(--accent); font-weight: 600; margin: 0; }
.mobile-menu { overflow-y: auto; }
.mobile-menu__sub { display: flex; flex-direction: column; padding: 2px 0 10px 18px; margin-left: 4px; border-left: 2px solid rgba(233, 162, 59, .5); }
.mobile-menu nav .mobile-menu__sub a {
  font-family: var(--f-body); font-weight: 500; font-size: 1.05rem; line-height: 1.4; padding: 6px 0;
  color: rgba(255, 255, 255, .78); transition-delay: .12s;
}
.mobile-menu__sub a b { font-size: 12px; font-weight: 600; color: var(--accent); margin-left: 4px; }
.mobile-menu nav .mobile-menu__sub a[aria-current="page"] { color: #fff; }

/* ---------- Hero: full-bleed service photography, text bottom-left ---------- */
.hero {
  position: relative; height: 100vh; height: 100svh; min-height: 620px;
  color: #fff; overflow: hidden; background: var(--ink);
}
.hero__swiper { position: absolute; inset: 0; }
.hero__swiper .swiper-slide { overflow: hidden; }
.hero__swiper img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); transition: transform 9s linear; }
.hero__swiper .swiper-slide-active img { transform: scale(1.02); }
/* light touch: a soft top band for the header, a low corner fade for the text */
.hero__shade {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, .42) 0%, rgba(10, 10, 10, 0) 18%),
    linear-gradient(0deg, rgba(10, 10, 10, .72) 0%, rgba(10, 10, 10, .2) 32%, rgba(10, 10, 10, 0) 55%),
    radial-gradient(120% 90% at 0% 100%, rgba(10, 10, 10, .45) 0%, rgba(10, 10, 10, 0) 55%);
}
.hero__content {
  position: relative; z-index: 3; height: 100%;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 32px;
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: clamp(36px, 6vh, 64px);
}
.hero__text { max-width: 640px; }
.hero__eyebrow { margin-bottom: 14px; font-size: 12px; letter-spacing: .2em; }
.hero__label { display: inline-block; color: #fff; }
.hero__title {
  font-size: clamp(1.9rem, 3.4vw, 3.1rem); font-weight: 500; line-height: 1.12; letter-spacing: -.025em;
  margin: 0 0 16px;
}
.hero__title em { color: var(--accent-2); }
.hero__line { color: rgba(255, 255, 255, .8); font-size: clamp(.95rem, 1.1vw, 1.05rem); max-width: 48ch; min-height: 3.2em; margin: 0 0 26px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__actions .btn { --h: 50px; padding: 0 24px; font-size: 14.5px; font-weight: 500; }

/* slide counter, progress line and arrows (bottom-right) */
.hero__controls { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
.hero__count { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-display); font-size: 13px; letter-spacing: .12em; color: rgba(255, 255, 255, .6); font-variant-numeric: tabular-nums; }
.hero__count b { font-weight: 500; color: #fff; }
.hero__count i { width: 14px; height: 1px; background: rgba(255, 255, 255, .45); }
.hero__progress { position: relative; width: 120px; height: 1px; background: rgba(255, 255, 255, .25); overflow: hidden; }
.hero__progress i { position: absolute; inset: 0; background: #fff; transform-origin: left; transform: scaleX(0); }
.hero__arrows { display: flex; gap: 10px; flex-shrink: 0; }
.hero__arrows .round-btn { width: 46px; height: 46px; border-color: rgba(255, 255, 255, .35); background: rgba(10, 10, 10, .18); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }

/* ---------- Marquee ---------- */
.marquee { background: var(--ink); color: rgba(255, 255, 255, .72); overflow: hidden; padding: 18px 0; border-top: 1px solid var(--line-light); }
.marquee__track { display: flex; align-items: center; width: max-content; animation: marquee 48s linear infinite; }
.marquee__track > * { margin-right: 40px; }
.marquee__track span { font-family: var(--f-body); font-weight: 500; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; white-space: nowrap; }
.marquee__track i { font-style: normal; font-size: 10px; color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- About ---------- */
.about__statement {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2.6rem); line-height: 1.22; letter-spacing: -.02em;
  max-width: 1100px; margin-bottom: clamp(44px, 6vw, 80px);
}
.about__statement .w { opacity: .14; transition: opacity .2s; }
.about__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.about__grid .stats { margin-top: 0; }
.about__body .h2 { margin-bottom: 28px; }
.about__body > p { color: var(--muted); max-width: 52ch; }
.about__body > .btn { margin-top: 12px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 40px; border-top: 1px solid var(--line); }
.stat { padding: 24px 0; border-bottom: 1px solid var(--line); }
.stat:nth-child(odd) { padding-right: 20px; border-right: 1px solid var(--line); }
.stat:nth-child(even) { padding-left: 24px; }
.stat__num { display: block; font-family: var(--f-display); font-weight: 400; font-size: clamp(2.4rem, 4.5vw, 3.6rem); line-height: 1; font-variant-numeric: tabular-nums; }
.stat__label { font-size: 14px; color: var(--muted); }

/* ---------- Section head ---------- */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head__aside { max-width: 400px; color: var(--muted); margin: 0; }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }

/* ---------- Services ---------- */
.services { background: var(--ink); color: #fff; }
.services .section-head__aside { color: var(--muted-light); }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-light); border: 1px solid var(--line-light); border-radius: var(--radius); overflow: hidden; }
.service { position: relative; padding: clamp(26px, 3vw, 40px); background: var(--ink); overflow: hidden; min-height: 340px; display: flex; flex-direction: column; transition: background .5s var(--ease); }
.service:hover { background: var(--ink-3); }
.service__no { font-family: var(--f-display); font-size: 14px; color: var(--muted-light); }
.service__icon { width: 48px; height: 48px; margin: 28px 0 22px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .6s var(--ease); }
.service:hover .service__icon { transform: translateY(-6px) rotate(-4deg); }
.service h3 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); margin-bottom: 14px; }
.service p { color: rgba(255, 255, 255, .7); font-size: 15px; }
.service ul { list-style: none; padding: 0; margin: auto 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.service li { font-size: 12.5px; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line-light); color: rgba(255, 255, 255, .8); }
a.service { color: inherit; }
.service__more { margin-top: auto; padding-top: 18px; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--accent); }
.service__more svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .4s var(--ease); }
a:hover > .service__more svg { transform: translateX(5px); }

/* Outline button for light backgrounds */
.btn--ghost-dark { border: 1.5px solid var(--ink); color: var(--ink); }
.btn--ghost-dark::before { background: var(--ink); }
.btn--ghost-dark:hover { color: #fff; }

/* ---------- Why Sri Tech / objectives ---------- */
.why__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 24px); }
.why__item { padding: clamp(24px, 2.6vw, 34px); border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.why__no { display: block; font-family: var(--f-display); font-weight: 700; font-size: 2.2rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--accent); margin-bottom: 22px; }
.why__item h3 { font-size: clamp(1.15rem, 1.5vw, 1.35rem); line-height: 1.25; margin-bottom: 10px; }
.why__item p { margin: 0; color: var(--muted); font-size: 15px; }
.why__foot { display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; margin-top: clamp(32px, 4vw, 48px); padding-top: 28px; border-top: 1px solid var(--line); }
.why__sectors { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.why__sectors span { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-right: 6px; }
.why__sectors a { padding: 8px 15px; border-radius: 999px; border: 1.5px solid var(--line); font-size: 14px; font-weight: 500; transition: background .3s, color .3s, border-color .3s; }
.why__sectors a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.why__links { display: flex; flex-wrap: wrap; gap: 12px; }

.objectives { background: var(--paper-2); }
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 24px); margin-bottom: clamp(56px, 7vw, 96px); }
.mv__card { padding: clamp(28px, 4vw, 52px); border-radius: var(--radius); background: var(--ink); color: #fff; }
.mv__card .eyebrow { margin-bottom: 18px; }
.mv__text { margin: 0; font-family: var(--f-display); font-weight: 400; font-size: clamp(1.3rem, 2.2vw, 1.9rem); line-height: 1.3; letter-spacing: -.015em; }

/* ---------- Services page: one row per trade ---------- */
.svc { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; padding: clamp(40px, 5vw, 64px) 0; border-top: 1px solid var(--line); scroll-margin-top: var(--header-h); }
.svc:first-child { border-top: 0; padding-top: 0; }
.svc--flip .svc__media { order: 2; }
.svc__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--ink); }
.svc__media img { width: 100%; height: 100%; object-fit: cover; }
.svc__no { font-family: var(--f-display); font-weight: 700; font-size: 14px; color: var(--muted); }
.svc__title { font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -.03em; margin: 10px 0 18px; }
.svc__body > p { color: var(--muted); max-width: 50ch; margin: 0 0 24px; }
.svc__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.svc__list li { padding: 11px 0 11px 22px; border-top: 1px solid var(--line); font-size: 15px; position: relative; }
.svc__list li::before { content: ""; position: absolute; left: 2px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--accent); }

.sectors { background: var(--ink); color: #fff; }
.sectors .section-head__aside { color: var(--muted-light); }
.sector-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-light); border: 1px solid var(--line-light); border-radius: var(--radius); overflow: hidden; }
.sector-grid a { display: flex; flex-direction: column; height: 100%; padding: clamp(24px, 3vw, 36px); background: var(--ink); transition: background .5s var(--ease); }
.sector-grid a:hover { background: var(--ink-3); }
.sector-grid h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); margin-bottom: 10px; }
.sector-grid p { margin: 0; color: rgba(255, 255, 255, .7); font-size: 15px; }

/* In-page jump links under a page header */
.page-hero__title em { font-style: normal; color: var(--accent); }
.page-hero__jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(28px, 4vw, 40px); }
.page-hero__jump a { padding: 8px 15px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .3); font-size: 14px; font-weight: 500; transition: background .3s, color .3s, border-color .3s; }
.page-hero__jump a:hover { background: #fff; color: var(--ink); border-color: #fff; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Process (compact) ---------- */
.process { background: var(--paper-2); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 0 20px; }
.step { position: relative; padding: 26px 0 8px; border-top: 2px solid var(--line); transition: border-color .9s var(--ease); }
.step::before {
  content: ""; position: absolute; top: -8px; left: 0; width: 14px; height: 14px; border-radius: 50%;
  background: var(--paper-2); border: 2px solid var(--line); transition: border-color .6s, background .6s;
}
.step.is-in { border-top-color: var(--accent); }
.step.is-in::before { border-color: var(--accent); background: var(--accent); }
.step__no { display: block; font-family: var(--f-display); font-weight: 700; font-size: 2.2rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.2px var(--ink); margin-bottom: 16px; }
.step h3 { font-size: 1.08rem; line-height: 1.25; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--muted); margin: 0; }

.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tags span { font-size: 12px; padding: 3px 10px; border-radius: 999px; background: var(--paper-2); color: var(--ink); }

/* ---------- Before / After ---------- */
.transform { background: var(--ink-2); color: #fff; overflow: hidden; }
.transform::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 48px 48px;
}
.transform .container { position: relative; }
.transform .section-head__aside { color: rgba(255, 255, 255, .7); }
.ba-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.ba-tabs button { height: 42px; padding: 0 20px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .3); font-size: 14px; font-weight: 500; transition: background .3s, color .3s; }
.ba-tabs button:hover { border-color: #fff; }
.ba-tabs button.is-active { background: var(--accent); color: var(--ink); border-color: var(--accent); }

.ba {
  position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55); user-select: none; background: var(--ink-3);
}
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .4s; }
.ba.is-swapping img { opacity: 0; }
.ba__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__label {
  position: absolute; top: 20px; padding: 7px 16px; border-radius: 999px;
  font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; pointer-events: none;
}
.ba__label--before { left: 20px; background: var(--ink); color: #fff; }
.ba__label--after { right: 20px; background: var(--accent); color: var(--ink); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; pointer-events: none; }
.ba__handle span {
  position: absolute; top: 50%; left: 50%; translate: -50% -50%;
  width: 58px; height: 58px; border-radius: 50%; background: #fff; color: var(--ink);
  display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
  transition: scale .3s var(--ease);
}
.ba:hover .ba__handle span { scale: 1.08; }
.ba__handle svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; touch-action: pan-y; }
.ba__range:focus-visible + .ba__handle span, .ba:has(.ba__range:focus-visible) .ba__handle span { outline: 3px solid var(--accent); outline-offset: 3px; }

/* ---------- Gallery: store-wise ---------- */
.scope-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.gal__cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.gal__cats .chip b { font-weight: 600; font-size: 12px; opacity: .55; margin-left: 6px; }
.gal__body { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 24px; align-items: start; }
.gal__stores { display: flex; flex-direction: column; gap: 8px; }
.gal-store {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 16px 18px; border-radius: 14px; text-align: left;
  border: 1px solid var(--line); background: #fff;
  transition: background .3s, color .3s, border-color .3s;
}
.gal-store b { display: block; font-family: var(--f-display); font-weight: 600; font-size: 1rem; line-height: 1.3; }
.gal-store small { display: block; color: var(--muted); font-size: 13px; }
.gal-store em { font-style: normal; font-size: 12px; padding: 3px 9px; border-radius: 999px; background: var(--paper-2); white-space: nowrap; }
.gal-store:hover { border-color: var(--ink); }
.gal-store.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.gal-store.is-active small { color: var(--muted-light); }
.gal-store.is-active em { background: var(--accent); color: var(--ink); }

.gal__viewer { min-width: 0; }
.gal__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px 16px; flex-wrap: wrap; margin-bottom: 14px; }
.gal__name { font-size: clamp(1.4rem, 2.4vw, 2rem); }
.gal__meta { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.gal__tags { margin-top: 0; }
.gal__tags span { background: #fff; border: 1px solid var(--line); }
.gal__main { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; background: var(--ink); }
.gal__main .swiper-slide { cursor: zoom-in; }
.gal__main img { width: 100%; height: 100%; object-fit: contain; }
.gal__prev, .gal__next { position: absolute; top: 50%; translate: 0 -50%; z-index: 3; background: rgba(18, 18, 18, .45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.gal__prev { left: 16px; }
.gal__next { right: 16px; }
.gal__count, .gal__zoom {
  position: absolute; bottom: 16px; z-index: 3; padding: 6px 12px; border-radius: 999px;
  background: rgba(18, 18, 18, .62); color: #fff; font-size: 13px; font-variant-numeric: tabular-nums; pointer-events: none;
}
.gal__count { left: 16px; }
.gal__zoom { right: 16px; }
.gal__thumbs { margin-top: 12px; }
.gal__thumbs .swiper-slide {
  width: 112px; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; cursor: pointer;
  opacity: .5; transition: opacity .3s; box-shadow: inset 0 0 0 2px transparent;
}
.gal__thumbs .swiper-slide img { width: 100%; height: 100%; object-fit: cover; }
.gal__thumbs .swiper-slide:hover { opacity: .85; }
.gal__thumbs .swiper-slide-thumb-active { opacity: 1; }
.gal__thumbs .swiper-slide-thumb-active::after { content: ""; position: absolute; inset: 0; border: 2.5px solid var(--accent); border-radius: 10px; }

/* ---------- Clients ---------- */
.clients { background: var(--paper-2); padding-top: 0; }
.clients__marquee { padding: 28px 0; margin-bottom: clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--line); background: var(--paper); overflow: hidden; }
.clients__row { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.clients__row + .clients__row { margin-top: 18px; }
.clients__row--reverse { animation-direction: reverse; }
.clients__row span { padding-right: 56px; font-family: var(--f-display); font-weight: 500; font-size: clamp(1.3rem, 2.6vw, 2rem); white-space: nowrap; color: var(--ink); opacity: .85; }
.clients__row span:nth-child(3n+2) { color: transparent; -webkit-text-stroke: 1px var(--ink); }
.clients__marquee:hover .clients__row { animation-play-state: paused; }

.scope-count { margin: 20px 0 24px; color: var(--muted); font-size: 15px; min-height: 1.6em; }
.scope-count b { color: var(--ink); }
.client-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.client {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 500;
  background: var(--paper); border: 1px solid var(--line);
  transition: opacity .4s, background .3s, color .3s, border-color .3s;
}
.client.is-dim { opacity: .3; }
.client.is-match { background: var(--ink); color: #fff; border-color: var(--ink); }
.client { position: relative; }
.client a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; } /* whole chip is clickable */
.client:hover { border-color: var(--ink); }
.client:has(a:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.client a:focus-visible { outline: none; }

.gal__all { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.gal__all p { margin: 0; color: var(--muted); max-width: 52ch; }

/* =========================================================
   Projects pages (projects.html, project.html)
   ========================================================= */
.page-hero {
  position: relative; overflow: hidden; background: var(--ink); color: #fff;
  padding: calc(var(--header-h) + clamp(40px, 7vw, 88px)) 0 clamp(44px, 6vw, 72px);
}
.page-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .32; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 48px 48px;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(10, 10, 10, .85) 0%, rgba(10, 10, 10, .35) 70%), linear-gradient(0deg, rgba(10, 10, 10, .7), rgba(10, 10, 10, 0) 50%);
}
.page-hero__inner { position: relative; z-index: 2; }
.page-hero__title { font-size: clamp(2.2rem, 5vw, 4.2rem); line-height: 1.06; letter-spacing: -.03em; max-width: 15ch; margin-bottom: 18px; }
.page-hero__lead { color: rgba(255, 255, 255, .78); max-width: 56ch; font-size: clamp(1rem, 1.3vw, 1.15rem); margin: 0; }
.page-hero__facts { display: flex; flex-wrap: wrap; gap: 0; margin-top: clamp(28px, 4vw, 44px); border-top: 1px solid var(--line-light); }
.page-hero__facts:empty { display: none; }
.page-hero__facts > div { display: flex; flex-direction: column; gap: 2px; padding: 18px 32px 0 0; margin-right: 32px; border-right: 1px solid var(--line-light); }
.page-hero__facts > div:last-child { border-right: 0; margin-right: 0; }
.page-hero__facts b { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.1; }
.page-hero__facts span { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-light); }
.page-hero__facts a:hover { color: var(--accent); }
.link-light { color: #fff; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; }

/* Project page: full-photo header with text at the bottom */
.page-hero--project.page-hero--photo { min-height: min(88vh, 860px); min-height: min(88svh, 860px); display: flex; flex-direction: column; justify-content: flex-end; }
.page-hero--project.page-hero--photo .page-hero__bg { opacity: 1; }
.page-hero--project.page-hero--photo::before { opacity: 0; }
.page-hero--project.page-hero--photo::after {
  background:
    linear-gradient(180deg, rgba(10, 10, 10, .6) 0%, rgba(10, 10, 10, 0) 28%, rgba(10, 10, 10, .2) 50%, rgba(10, 10, 10, .92) 100%),
    linear-gradient(90deg, rgba(10, 10, 10, .55) 0%, rgba(10, 10, 10, 0) 65%);
}
.page-hero--project .page-hero__facts b { font-size: clamp(1.1rem, 1.8vw, 1.45rem); }

.crumbs ol { list-style: none; margin: 0 0 clamp(20px, 3vw, 32px); padding: 0; display: flex; flex-wrap: wrap; gap: 6px 0; font-size: 13.5px; color: var(--muted-light); }
.crumbs li:not(:last-child)::after { content: "/"; margin: 0 10px; opacity: .5; }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: #fff; }

/* Category tabs + cards */
.cat-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(28px, 4vw, 44px); }
.cat-tabs .chip b { font-weight: 600; font-size: 12px; opacity: .55; margin-left: 6px; }
.cat-tabs .chip.is-active b { opacity: .8; }

.pcards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: clamp(16px, 2vw, 24px); }
.pcard > a {
  display: flex; flex-direction: column; height: 100%;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
}
.pcard > a:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -32px rgba(0, 0, 0, .4); border-color: transparent; }
.pcard__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink); }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.pcard > a:hover .pcard__media img { transform: scale(1.06); }
.pcard__ph {
  position: absolute; inset: 0; display: grid; place-items: center;
  background-color: var(--ink-2);
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 32px 32px;
}
.pcard__ph span {
  font-family: var(--f-display); font-weight: 800; font-size: clamp(3.4rem, 7vw, 5rem); letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 1.4px rgba(233, 162, 59, .8); transition: transform .8s var(--ease);
}
.pcard > a:hover .pcard__ph span { transform: scale(1.08); }
.pcard__badge, .pcard__count { position: absolute; z-index: 1; padding: 5px 11px; border-radius: 999px; font-size: 12px; line-height: 1.3; }
.pcard__badge { top: 14px; left: 14px; background: var(--accent); color: var(--ink); font-weight: 600; letter-spacing: .04em; }
.pcard__count { bottom: 14px; right: 14px; background: rgba(18, 18, 18, .66); color: #fff; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.pcard__body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.pcard__type { margin: 0 0 6px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pcard h3 { font-size: 1.35rem; line-height: 1.2; margin-bottom: 14px; }
.pcard__trades { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.pcard__trades li { font-size: 12px; padding: 3px 10px; border-radius: 999px; background: var(--paper-2); }
.pcard__more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.pcard__more svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .4s var(--ease); }
.pcard > a:hover .pcard__more svg { transform: translateX(5px); }
.pcard > a:hover .pcard__more { color: #b7761b; }

/* Project page: description + work done */
.p-intro__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.p-intro__about { position: sticky; top: calc(var(--header-h) + 24px); }
.p-intro__desc { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.35rem, 2.4vw, 2rem); line-height: 1.32; letter-spacing: -.015em; margin: 0; }
.p-intro__tags { margin-top: 28px; }
.p-intro__tags span { background: #fff; border: 1px solid var(--line); font-size: 13px; padding: 5px 12px; }
.p-intro__work-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.work-count { font-size: 13px; color: var(--muted); }
.work { list-style: none; margin: 0; padding: 0; }
.work li {
  display: grid; grid-template-columns: 56px 1fr auto; grid-template-rows: auto auto; gap: 4px 20px;
  padding: 22px 0; border-top: 1px solid var(--line);
}
.work li:last-child { border-bottom: 1px solid var(--line); }
.work__icon { grid-row: span 2; width: 56px; height: 56px; border-radius: 14px; background: var(--ink); display: grid; place-items: center; }
.work__icon svg { width: 28px; height: 28px; fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.work__no { grid-column: 3; grid-row: 1; font-family: var(--f-display); font-weight: 700; font-size: 14px; color: var(--muted); }
.work h3 { grid-column: 2; grid-row: 1; font-size: 1.2rem; line-height: 1.3; align-self: end; }
.work p { grid-column: 2 / 4; grid-row: 2; margin: 0; color: var(--muted); font-size: 15px; }

/* Project page: photos */
.p-gallery { background: var(--paper-2); }
.p-photos { columns: 3 280px; column-gap: 16px; }
.p-photo {
  position: relative; display: block; width: 100%; margin: 0 0 16px; break-inside: avoid;
  border-radius: 14px; overflow: hidden; background: var(--ink); cursor: zoom-in;
}
.p-photo img { width: 100%; height: auto; transition: transform .9s var(--ease); }
.p-photo:hover img { transform: scale(1.04); }
.p-photo__cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 14px 12px; text-align: left;
  background: linear-gradient(transparent, rgba(0, 0, 0, .72)); color: #fff; font-size: 13.5px; line-height: 1.4;
  opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .5s var(--ease);
}
.p-photo:hover .p-photo__cap, .p-photo:focus-visible .p-photo__cap { opacity: 1; transform: none; }
@media (hover: none) { .p-photo__cap { opacity: 1; transform: none; } }

/* Project page: more projects + pager */
.p-more .section-head { align-items: center; margin-bottom: clamp(28px, 4vw, 44px); }
.p-more__title { font-size: clamp(2rem, 4.4vw, 3.4rem); }
.p-more__title em { font-style: normal; color: var(--accent); }
.p-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.p-more__cards + .p-pager { margin-top: clamp(40px, 5vw, 64px); }
.p-pager a { display: flex; flex-direction: column; gap: 4px; padding: 22px 24px; border-radius: var(--radius); border: 1px solid var(--line); transition: background .3s, color .3s, border-color .3s; }
.p-pager a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.p-pager span { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.p-pager a:hover span { color: var(--accent); }
.p-pager b { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.1rem, 1.8vw, 1.4rem); }
.p-pager__prev span::before { content: "← "; }
.p-pager__next { text-align: right; }
.p-pager__next span::after { content: " →"; }

/* Closing call to action */
.cta-band { background: var(--accent); color: var(--ink); padding: clamp(48px, 6vw, 80px) 0; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; }
.cta-band .h2 em { color: var(--ink); background: linear-gradient(transparent 64%, rgba(255, 255, 255, .55) 64%, rgba(255, 255, 255, .55) 92%, transparent 92%); }
.client__full { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.scope-count .client__full { display: inline-block; margin: 0 4px 1px 2px; vertical-align: middle; }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq__aside { color: var(--muted); margin-top: 24px; }
.faq__aside a { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.acc { border-top: 1px solid var(--line); }
.acc:last-child { border-bottom: 1px solid var(--line); }
.acc summary {
  list-style: none; cursor: pointer; padding: 26px 48px 26px 0; position: relative;
  font-family: var(--f-display); font-weight: 500; font-size: clamp(1.1rem, 1.8vw, 1.35rem); line-height: 1.3;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 28px; height: 28px; margin-top: -14px;
  border-radius: 50%; border: 1.5px solid var(--line);
  background:
    linear-gradient(var(--ink), var(--ink)) center / 11px 1.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 1.5px 11px no-repeat;
  transition: transform .4s var(--ease), background-color .3s;
}
.acc[open] summary::after { transform: rotate(45deg); background-color: var(--accent); border-color: var(--accent); }
.acc__body { overflow: hidden; }
.acc__body p { color: var(--muted); padding-bottom: 26px; margin: 0; max-width: 60ch; }

/* ---------- Contact ---------- */
.contact { background: var(--ink); color: #fff; overflow: hidden; }
.contact__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.contact__lead { color: rgba(255, 255, 255, .75); max-width: 44ch; margin: 28px 0 40px; font-size: 1.05rem; }
.contact__list { list-style: none; margin: 0; padding: 0; }
.contact__list li { display: flex; flex-direction: column; padding: 16px 0; border-top: 1px solid var(--line-light); }
.contact__list li span:first-child { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-light); }
.contact__list a, .contact__list li > span:last-child { font-size: 1.15rem; font-weight: 500; }
.contact__list a:hover { color: var(--accent); }

.form { background: rgba(255, 255, 255, .05); border: 1px solid var(--line-light); border-radius: 24px; padding: clamp(24px, 3.5vw, 44px); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; margin: 0 0 18px; border: 0; padding: 0; min-width: 0; }
.field > span { font-size: 12.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-light); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: #fff; background: rgba(255, 255, 255, .06);
  border: 1.5px solid var(--line-light); border-radius: 12px; padding: 13px 16px;
  transition: border-color .3s, background .3s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #fff 50%), linear-gradient(135deg, #fff 50%, transparent 50%); background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat; }
.field select option { color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background-color: rgba(255, 255, 255, .1); }
.field input.is-invalid { border-color: #ff7a6b; }
.chip-checks { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-checks label { cursor: pointer; }
.chip-checks input { position: absolute; opacity: 0; pointer-events: none; }
.chip-checks i { display: inline-block; font-style: normal; font-size: 13.5px; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line-light); transition: background .3s, color .3s, border-color .3s; }
.chip-checks input:checked + i { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.chip-checks input:focus-visible + i { outline: 2px solid var(--accent); outline-offset: 2px; }
.form__note { margin: 14px 0 0; font-size: 14px; color: var(--accent-2); min-height: 1.4em; }

/* ---------- Footer ---------- */
.footer { background: #0b0b0b; color: rgba(255, 255, 255, .7); padding: 40px 0 32px; overflow: hidden; }
.footer__big {
  font-family: var(--f-display); font-weight: 500; font-size: min(15vw, 14.5rem); line-height: .9;
  letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .14);
  margin-bottom: 56px; white-space: nowrap;
}
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--line-light); }
.footer__grid > div { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.footer__grid h4 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 8px; font-family: var(--f-body); font-weight: 600; }
.footer__grid a:hover { color: var(--accent); }
.footer__tag { max-width: 34ch; margin-top: 16px; }
.footer__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 28px; font-size: 14px; }
.to-top:hover { color: var(--accent); }

/* ---------- Floating WhatsApp ---------- */
.fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 80;
  width: 108px; height: 108px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink); color: #fff;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .3), inset 0 0 0 1px rgba(255, 255, 255, .08);
  transition: transform .5s var(--ease), opacity .4s, visibility .4s;
  opacity: 0; visibility: hidden; transform: scale(.6);
}
.fab.is-visible { opacity: 1; visibility: visible; transform: scale(1); }
.fab:hover { transform: scale(1.06); }

/* rotating "TALK TO US" ring */
.fab__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: fab-spin 14s linear infinite; }
.fab__ring text { font-family: var(--f-display); font-size: 10.5px; font-weight: 600; letter-spacing: .1em; fill: #fff; }
.fab:hover .fab__ring { animation-duration: 5s; }
@keyframes fab-spin { to { transform: rotate(360deg); } }

/* green WhatsApp disc in the centre */
.fab__icon {
  position: relative; width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center; background: #25d366; color: #fff;
  transition: transform .5s var(--ease);
}
.fab__icon svg { width: 28px; height: 28px; }
.fab:hover .fab__icon { transform: rotate(-12deg) scale(1.06); }
.fab__icon::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25d366; z-index: -1; animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { from { transform: scale(1); opacity: .55; } to { transform: scale(1.45); opacity: 0; } }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(8, 8, 8, .96);
  opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__swiper { height: 100%; }
.lightbox__swiper .swiper-slide { display: grid; place-items: center; padding: 72px 16px 88px; }
.lightbox__swiper .swiper-slide img { max-height: 100%; max-width: 100%; width: auto; object-fit: contain; border-radius: 8px; }
.lightbox__close { position: absolute; top: 18px; right: 18px; z-index: 5; width: 48px; height: 48px; border-radius: 50%; color: #fff; font-size: 18px; border: 1.5px solid rgba(255, 255, 255, .3); }
.lightbox__close:hover { background: #fff; color: var(--ink); }
.lightbox__prev, .lightbox__next { position: absolute; top: 50%; translate: 0 -50%; z-index: 5; }
.lightbox__prev { left: 20px; }
.lightbox__next { right: 20px; }
.lightbox__meta { position: absolute; left: 0; right: 0; bottom: 24px; z-index: 5; display: flex; justify-content: center; gap: 20px; color: #fff; font-size: 14px; }
.lightbox__count { position: static !important; width: auto !important; color: var(--muted-light); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .nav, .header__cta { display: none; }
  .burger { display: block; }
  .services__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 28px 20px; }
  .why__grid { grid-template-columns: 1fr 1fr; }
  .sector-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .about__grid, .faq__grid, .contact__grid, .p-intro__grid, .mv { grid-template-columns: 1fr; }
  .svc { grid-template-columns: 1fr; gap: 24px; }
  .svc--flip .svc__media { order: 0; }
  .p-intro__about { position: static; }
  .ba { aspect-ratio: 4 / 3; }
  .hero__content { flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 28px; }
  .hero__arrows { display: none; }
}

@media (max-width: 600px) {
  :root { --header-h: 76px; }
  .header .logo__img { height: 50px; }
  .services__grid { grid-template-columns: 1fr; }
  .service { min-height: 0; }
  .service__icon { margin: 24px 0 20px; }
  .hero__content { padding-top: calc(var(--header-h) + 24px); padding-bottom: 32px; gap: 24px; }
  .hero__progress { width: 80px; }
  .hero__title br { display: none; }
  .hero__line { min-height: 0; }
  .why__grid, .sector-grid, .svc__list { grid-template-columns: 1fr; }
  .why__links, .why__links .btn, .cta-band__actions { width: 100%; }
  .cta-band__actions .btn { flex: 1 1 auto; }
  .hero__actions .btn { flex: 1 1 auto; }
  .steps { grid-template-columns: 1fr 1fr; }
  .gal__main { aspect-ratio: 4 / 3; }
  .gal__prev, .gal__next { display: none; }
  .gal__thumbs .swiper-slide { width: 84px; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .stat:nth-child(odd) { padding-right: 12px; }
  .stat:nth-child(even) { padding-left: 14px; }
  .footer__grid { grid-template-columns: 1fr; }
  .lightbox__prev, .lightbox__next { display: none; }
  .ba__handle span { width: 46px; height: 46px; }
  .ba__label { top: 12px; font-size: 10.5px; padding: 5px 11px; }
  .ba__label--before { left: 12px; }
  .ba__label--after { right: 12px; }
  .fab { width: 90px; height: 90px; right: 12px; bottom: 12px; }
  .fab__icon { width: 46px; height: 46px; }
  .fab__icon svg { width: 24px; height: 24px; }
  .client { padding: 7px 13px; font-size: 13px; }
  .page-hero__facts > div { padding-right: 18px; margin-right: 18px; }
  .work li { grid-template-columns: 46px 1fr auto; gap: 4px 14px; padding: 18px 0; }
  .work__icon { width: 46px; height: 46px; border-radius: 12px; }
  .work__icon svg { width: 24px; height: 24px; }
  .p-photos { columns: 1; }
  .p-pager { grid-template-columns: 1fr; }
  .p-pager__next { text-align: left; }
  .gal__all .btn, .cta-band .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .about__statement .w { opacity: 1; }
  .hero__swiper img { transform: none !important; }
}
