/* Balaji Developer — design system */
:root {
  --bg: #fff;
  --bg2: #f7f7f8;
  --bg3: #ececee;
  --ink: #141414;
  --muted: #6b6b70;
  --line: rgba(20, 20, 20, .12);
  --gold: #a67c2e;
  --gold2: #8c6420;
  --gold-d: #7a5818;
  --ff-d: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
  --ff-b: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
  --pad: clamp(16px, 4vw, 64px);
  --max: 1440px;
  --nav-h: 76px;
  --ease: cubic-bezier(.22, .8, .2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--ff-b);
  font-size: clamp(15px, .9vw + 11px, 17px);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased
}

img {
  max-width: 100%;
  display: block
}

a {
  color: inherit;
  text-decoration: none
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer
}

ul {
  list-style: none
}

::selection {
  background: var(--gold);
  color: #000
}

:focus-visible {
  outline: 2px solid var(--gold2);
  outline-offset: 3px
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap
}

.skip {
  position: fixed;
  left: 12px;
  top: -60px;
  z-index: 200;
  background: var(--gold);
  color: #000;
  padding: 10px 16px;
  font-weight: 600;
  transition: top .2s
}

.skip:focus {
  top: 12px
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: var(--pad)
}

section {
  position: relative
}

.sec {
  padding-block: clamp(72px, 11vw, 160px)
}

.eyebrow {
  font-size: .72rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 500
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gold)
}

h1,
h2,
h3,
h4 {
  font-family: var(--ff-d);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -.01em
}

.h-xl {
  font-size: clamp(2.7rem, 8.2vw, 7.6rem)
}

.h-lg {
  font-size: clamp(1.9rem, 5vw, 4.4rem)
}

.h-md {
  font-size: clamp(1.6rem, 2.8vw, 2.5rem)
}

h1,
h2,
h3 {
  overflow-wrap: break-word
}

em,
.it {
  font-style: italic;
  color: var(--gold2)
}

.lead {
  font-size: clamp(1.05rem, 1.2vw + .7rem, 1.35rem);
  color: #cfc9bd;
  max-width: 60ch;
  line-height: 1.75
}

.muted {
  color: var(--muted)
}

/* buttons */
.btn {
  --p: 16px 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: var(--p);
  min-height: 48px;
  font-size: .78rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 600;
  border: 1px solid var(--gold);
  color: var(--ink);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: color .45s var(--ease), border-color .3s
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: translateY(101%);
  transition: transform .5s var(--ease);
  z-index: -1
}

.btn:hover {
  color: #000
}

.btn:hover::before {
  transform: none
}

.btn.solid {
  background: var(--gold);
  color: #000
}

.btn.solid::before {
  background: var(--ink)
}

.btn svg,
.btn i {
  width: 16px;
  height: 16px;
  transition: transform .4s var(--ease)
}

.btn:hover svg {
  transform: translateX(4px)
}

.link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .76rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold2);
  padding-block: 8px;
  border-bottom: 1px solid transparent;
  transition: border-color .3s, gap .3s
}

.link:hover {
  border-color: var(--gold2);
  gap: 16px
}

.link svg {
  width: 16px;
  height: 16px
}

/* loader */
.loader {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: var(--bg);
  display: grid;
  place-items: center;
  transition: opacity .7s var(--ease), visibility .7s
}

.loader.done {
  opacity: 0;
  visibility: hidden
}

.loader-in {
  display: grid;
  justify-items: center;
  gap: 26px
}

.loader img {
  width: clamp(110px, 18vw, 170px);
  animation: pulse 1.8s ease-in-out infinite
}

.loader-bar {
  width: min(220px, 50vw);
  height: 1px;
  background: var(--line);
  overflow: hidden
}

.loader-bar i {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  animation: load 1.3s var(--ease) forwards
}

@keyframes load {
  to {
    transform: scaleX(1)
  }
}

@keyframes pulse {
  50% {
    opacity: .6
  }
}

/* cursor */
.cur,
.cur-dot {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 250;
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s
}

.cur {
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), background .3s, opacity .3s;
  mix-blend-mode: difference
}

.cur-dot {
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  background: var(--gold);
  border-radius: 50%
}

.cur.on,
.cur-dot.on {
  opacity: 1
}

.cur.hov {
  width: 76px;
  height: 76px;
  margin: -38px 0 0 -38px;
  background: rgba(201, 162, 75, .15)
}

@media (hover:none),
(pointer:coarse) {

  .cur,
  .cur-dot {
    display: none
  }
}

body.has-cursor,
body.has-cursor a,
body.has-cursor button {
  cursor: none
}

body.has-cursor input,
body.has-cursor textarea,
body.has-cursor select {
  cursor: text
}

/* header */
.hdr {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--nav-h);
  transition: background .4s, backdrop-filter .4s, transform .5s var(--ease), border-color .4s;
  border-bottom: 1px solid transparent
}

.hdr.scrolled {
  background: rgba(11, 11, 12, .82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-color: var(--line)
}

.hdr.hide {
  transform: translateY(-100%)
}

.hdr-in {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0
}

.brand img {
  height: 58px;
  width: auto;
  object-fit: contain
}

.nav {
  display: flex;
  gap: clamp(20px, 3vw, 46px)
}

.nav a {
  font-size: .74rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  font-weight: 500;
  position: relative;
  padding: 8px 0;
  color: #d8d2c6
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 100%;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s var(--ease)
}

.nav a:hover,
.nav a[aria-current=page] {
  color: var(--gold2)
}

.nav a:hover::after,
.nav a[aria-current=page]::after {
  transform: scaleX(1);
  transform-origin: left
}

.hdr-cta {
  display: inline-flex
}

.hdr-cta.btn {
  --p: 12px 22px;
  min-height: 44px
}

.burger {
  display: none;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  margin-right: -8px
}

.burger span {
  width: 26px;
  height: 1.5px;
  background: var(--ink);
  transition: transform .4s var(--ease), opacity .3s
}

.burger[aria-expanded=true] span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg)
}

.burger[aria-expanded=true] span:nth-child(2) {
  opacity: 0
}

.burger[aria-expanded=true] span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg)
}

.mmenu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 20px) var(--pad) 40px;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path .7s var(--ease), visibility .7s;
  overflow-y: auto
}

.mmenu.open {
  clip-path: inset(0);
  visibility: visible
}

.mmenu-logo {
  width: 120px;
  margin-bottom: 28px
}

.mmenu nav {
  display: grid;
  gap: 4px
}

.mmenu nav a {
  font-family: var(--ff-d);
  font-size: clamp(2.2rem, 10vw, 3.6rem);
  line-height: 1.2;
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding-block: 6px;
  border-bottom: 1px solid var(--line);
  transform: translateY(30px);
  opacity: 0;
  transition: transform .7s var(--ease), opacity .7s, color .3s
}

.mmenu nav a small {
  font-family: var(--ff-b);
  font-size: .7rem;
  color: var(--gold);
  letter-spacing: .2em
}

.mmenu.open nav a {
  transform: none;
  opacity: 1
}

.mmenu.open nav a:nth-child(2) {
  transition-delay: .08s
}

.mmenu.open nav a:nth-child(3) {
  transition-delay: .16s
}

.mmenu.open nav a:nth-child(4) {
  transition-delay: .24s
}

.mmenu nav a:hover,
.mmenu nav a[aria-current=page] {
  color: var(--gold2)
}

.mmenu-foot {
  margin-top: 32px;
  display: grid;
  gap: 8px;
  font-size: .9rem;
  color: var(--muted)
}

body.lock {
  overflow: hidden
}

@media (max-width:980px) {

  .nav,
  .hdr-cta {
    display: none
  }

  .burger {
    display: flex
  }

  .brand img {
    height: 50px
  }
}

/* page transition */
.curtain {
  position: fixed;
  inset: 0;
  z-index: 280;
  background: var(--gold);
  transform: translateY(100%);
  pointer-events: none
}

/* hero */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-block: calc(var(--nav-h) + 40px) clamp(40px, 7vw, 90px);
  isolation: isolate
}

.hero-bg {
  position: absolute;
  inset: -8% 0;
  z-index: -3
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.85)
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(180deg, rgba(11, 11, 12, .55) 0%, rgba(11, 11, 12, .25) 35%, rgba(11, 11, 12, .92) 100%), linear-gradient(90deg, rgba(11, 11, 12, .7), transparent 70%)
}

#hero3d {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: .55
}

.hero-grid {
  display: grid;
  gap: clamp(28px, 4vw, 56px);
  width: 100%
}

.hero h1 {
  max-width: 13ch
}

.ln {
  display: block;
  overflow: hidden;
  padding-bottom: .1em
}

.ln>span {
  display: inline-block
}

.hero-sub {
  max-width: 52ch;
  color: #d8d2c6;
  font-size: clamp(1rem, 1.1vw + .7rem, 1.25rem)
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted)
}

.hero-meta b {
  color: var(--ink);
  font-weight: 500
}

.scroll-ind {
  position: absolute;
  right: var(--pad);
  bottom: clamp(40px, 7vw, 90px);
  writing-mode: vertical-rl;
  font-size: .68rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 14px
}

.scroll-ind::after {
  content: "";
  width: 1px;
  height: 56px;
  background: linear-gradient(var(--gold), transparent);
  animation: drip 2s ease-in-out infinite;
  transform-origin: top
}

@keyframes drip {
  0% {
    transform: scaleY(0)
  }

  60% {
    transform: scaleY(1)
  }

  100% {
    transform: scaleY(1);
    opacity: 0
  }
}

@media (max-width:720px) {
  .scroll-ind {
    display: none
  }
}

/* page hero (inner) */
.phero {
  padding-top: calc(var(--nav-h) + clamp(60px, 10vw, 140px));
  padding-bottom: clamp(40px, 6vw, 80px);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  isolation: isolate
}

.phero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: .28
}

.phero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.phero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(11, 11, 12, .4), var(--bg))
}

.crumbs {
  display: flex;
  gap: 10px;
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 26px
}

.crumbs a:hover {
  color: var(--gold2)
}

.phero h1 {
  max-width: 16ch
}

.phero .lead {
  margin-top: 26px
}

/* marquee */
.marq {
  border-block: 1px solid var(--line);
  overflow: hidden;
  padding-block: 22px;
  background: var(--bg2)
}

.marq-t {
  display: flex;
  width: max-content;
  animation: mq 38s linear infinite
}

.marq span {
  font-family: var(--ff-d);
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  padding-inline: 28px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 56px;
  color: #d8d2c6
}

.marq span::after {
  content: "◆";
  font-size: .5em;
  color: var(--gold)
}

@keyframes mq {
  to {
    transform: translateX(-50%)
  }
}

/* intro */
.split {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 72px);
  align-items: center
}

.split>* {
  min-width: 0
}

.split>.a {
  grid-column: span 6
}

.split>.b {
  grid-column: span 6
}

.split.r>.a {
  order: 2
}

.img-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--bg3)
}

.img-frame img {
  position: absolute;
  inset: -10% 0;
  width: 100%;
  height: 120%;
  object-fit: cover
}

.img-frame.wide {
  aspect-ratio: 16/11
}

.badge {
  position: absolute;
  left: 0;
  bottom: 0;
  background: var(--bg);
  padding: 20px 26px;
  border-top: 1px solid var(--gold);
  z-index: 2;
  max-width: 70%
}

.badge b {
  font-family: var(--ff-d);
  font-size: 2.6rem;
  color: var(--gold2);
  display: block;
  line-height: 1
}

.badge span {
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted)
}

.stack>*+* {
  margin-top: clamp(18px, 2vw, 28px)
}

@media (max-width:860px) {
  .split {
    grid-template-columns: minmax(0, 1fr)
  }

  .split>.a,
  .split>.b {
    grid-column: 1/-1
  }

  .split.r>.a {
    order: 0
  }

  .img-frame {
    aspect-ratio: 4/3
  }
}

/* stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line)
}

.stat {
  padding: clamp(28px, 4vw, 56px) clamp(14px, 2vw, 32px);
  border-right: 1px solid var(--line)
}

.stat:last-child {
  border: 0
}

.stat b {
  font-family: var(--ff-d);
  font-weight: 500;
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  line-height: 1;
  color: var(--gold2);
  display: block
}

.stat span {
  display: block;
  margin-top: 12px;
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted)
}

@media (max-width:760px) {
  .stats {
    grid-template-columns: 1fr 1fr
  }

  .stat:nth-child(2) {
    border-right: 0
  }

  .stat:nth-child(-n+2) {
    border-bottom: 1px solid var(--line)
  }
}

/* section head */


.sh {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: clamp(32px, 5vw, 72px)
}

.sh h2 {
  margin-top: 18px;
  max-width: 14ch
}

/* project cards */


.pgrid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: clamp(18px, 2.4vw, 36px) !important;
}

.pcard {
  grid-column: auto !important;
  width: auto !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

 

@media (max-width: 767px) {
  .pgrid {
     grid-template-columns: 1fr !important;
  }
}

.pcard .ph {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--bg3)
}

.pcard.big .ph {
  aspect-ratio: 16/10
}

.pcard .ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease), filter .6s
}

.pcard:hover .ph img {
  transform: scale(1.07)
}

.pcard .ph::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, .75));
  opacity: .8;
  transition: opacity .5s
}

.tag {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  background: rgba(11, 11, 12, .75);
  backdrop-filter: blur(8px);
  padding: 7px 12px;
  font-size: .66rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  border: 1px solid var(--line)
}

.tag.gold {
  border-color: var(--gold);
  color: var(--gold2)
}

.view {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gold);
  color: #000;
  display: grid;
  place-items: center;
  transform: scale(.6) rotate(-45deg);
  opacity: 0;
  transition: .5s var(--ease)
}

.view svg {
  width: 20px;
  height: 20px
}

.pcard:hover .view,
.pcard:focus-visible .view {
  transform: none;
  opacity: 1
}

@media (hover:none) {
  .view {
    opacity: 1;
    transform: none;
    width: 44px;
    height: 44px
  }
}

.pcard .pi {
  padding-top: 18px;
  display: grid;
  gap: 6px
}

.pcard h3 {
  font-size: clamp(1.5rem, 2.2vw, 2.1rem)
}

.pcard .pl {
  font-size: .8rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px
}

.pcard .pl svg {
  width: 14px;
  height: 14px;
  color: var(--gold)
}

.pcard .pp {
  font-size: .74rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold2)
}

@media (max-width:1000px) {

  .pcard,
  .pcard.big {
    grid-column: span 6
  }

  .pcard.big .ph {
    aspect-ratio: 4/5
  }
}

@media (max-width:620px) {

  .pcard,
  .pcard.big {
    grid-column: 1/-1
  }

  .pcard .ph,
  .pcard.big .ph {
    aspect-ratio: 4/3
  }
}

#pgrid .pcard {
  grid-column: span 4
}

@media (max-width:1000px) {
  #pgrid .pcard {
    grid-column: span 6
  }
}

@media (max-width:620px) {
  #pgrid .pcard {
    grid-column: 1/-1
  }
}

/* highlights */
.hl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line)
}

.hl>div {
  background: var(--bg);
  padding: clamp(26px, 3.4vw, 52px);
  transition: background .5s
}

.hl>div:hover {
  background: var(--bg3)
}

.hl i,
.hl svg.ic {
  width: 34px;
  height: 34px;
  color: var(--gold);
  stroke-width: 1.2;
  margin-bottom: 26px
}

.hl h3 {
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  margin-bottom: 12px
}

.hl p {
  color: var(--muted);
  font-size: .95rem
}

@media (max-width:900px) {
  .hl {
    grid-template-columns: 1fr 1fr
  }
}

@media (max-width:580px) {
  .hl {
    grid-template-columns: 1fr
  }
}

/* gallery */
.gal {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: clamp(110px, 15vw, 230px);
  gap: clamp(10px, 1.4vw, 20px)
}

.gal button {
  position: relative;
  overflow: hidden;
  background: var(--bg3);
  display: block
}

.gal button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease)
}

.gal button:hover img {
  transform: scale(1.08)
}

.gal button::after {
  content: attr(data-cap);
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 34px 16px 14px;
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-align: left;
  background: linear-gradient(transparent, rgba(0, 0, 0, .8));
  opacity: 0;
  transform: translateY(10px);
  transition: .5s var(--ease)
}

.gal button:hover::after,
.gal button:focus-visible::after {
  opacity: 1;
  transform: none
}

.g1 {
  grid-column: span 7;
  grid-row: span 3
}

.g2 {
  grid-column: span 5;
  grid-row: span 2
}

.g3 {
  grid-column: span 5;
  grid-row: span 1
}

.g4 {
  grid-column: span 4;
  grid-row: span 2
}

.g5 {
  grid-column: span 8;
  grid-row: span 2
}

@media (max-width:760px) {
  .gal {
    grid-auto-rows: 34vw
  }

  .g1,
  .g5 {
    grid-column: span 12;
    grid-row: span 2
  }

  .g2,
  .g3,
  .g4 {
    grid-column: span 6;
    grid-row: span 2
  }
}

/* CTA */
.cta {
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  border-top: 1px solid var(--line)
}

.cta-bg {
  position: absolute;
  inset: 0;
  z-index: -2
}

.cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .3
}

.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse at center, rgba(11, 11, 12, .45), var(--bg) 78%)
}

.cta h2 {
  max-width: 15ch;
  margin: 22px auto 28px
}

.cta .lead {
  margin: 0 auto 40px
}

.cta .row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap
}

/* about */
.vm {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(18px, 2.4vw, 36px)
}

.vm>div {
  border: 1px solid var(--line);
  padding: clamp(28px, 4vw, 60px);
  background: var(--bg2);
  position: relative;
  overflow: hidden
}

.vm>div::before {
  content: attr(data-n);
  position: absolute;
  right: 20px;
  top: -14px;
  font-family: var(--ff-d);
  font-size: 9rem;
  line-height: 1;
  color: rgba(201, 162, 75, .07)
}

.vm h3 {
  margin: 16px 0 18px
}

@media (max-width:760px) {
  .vm {
    grid-template-columns: 1fr
  }
}

.vals {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 2vw, 30px)
}

.val {
  border-top: 1px solid var(--gold);
  padding-top: 22px
}

.val small {
  font-family: var(--ff-d);
  color: var(--gold);
  font-size: 1.4rem
}

.val h3 {
  font-size: 1.6rem;
  margin: 8px 0 10px
}

.val p {
  color: var(--muted);
  font-size: .93rem
}

@media (max-width:980px) {
  .vals {
    grid-template-columns: 1fr 1fr
  }
}

@media (max-width:540px) {
  .vals {
    grid-template-columns: 1fr
  }
}

.story {
  display: grid;
  gap: 0
}

.chap {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: clamp(18px, 4vw, 64px);
  padding-block: clamp(28px, 4vw, 52px);
  border-top: 1px solid var(--line)
}

.chap:last-child {
  border-bottom: 1px solid var(--line)
}

.chap .n {
  font-family: var(--ff-d);
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  color: var(--gold);
  line-height: 1
}

.chap h3 {
  font-size: clamp(1.5rem, 2.6vw, 2.3rem);
  margin-bottom: 12px
}

.chap p {
  color: #cfc9bd;
  max-width: 62ch
}

@media (max-width:620px) {
  .chap {
    grid-template-columns: 1fr;
    gap: 10px
  }
}

.quote {
  font-family: var(--ff-d);
  font-size: clamp(1.8rem, 4.2vw, 3.6rem);
  line-height: 1.18;
  max-width: 24ch
}

#about3d {
  width: 100%;
  height: 100%;
  display: block
}

.cvs-box {
  position: relative;
  aspect-ratio: 1;
  max-height: 560px;
  border: 1px solid var(--line);
  background: var(--bg2)
}

.cvs-box .cap {
  position: absolute;
  left: 18px;
  bottom: 14px;
  font-size: .66rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted)
}

/* projects page */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: clamp(28px, 4vw, 52px);
  /* position: sticky; */
  top: var(--nav-h);
  z-index: 20;
  padding-block: 14px;
  background: linear-gradient(var(--bg) 70%, transparent)
}

.chip {
  padding: 11px 20px;
  min-height: 44px;
  border: 1px solid var(--line);
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  transition: .35s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 10px
}

.chip:hover {
  border-color: var(--gold)
}

.chip[aria-pressed=true] {
  background: var(--gold);
  color: #000;
  border-color: var(--gold)
}

.chip sup {
  font-size: .62rem;
  opacity: .7
}

.empty {
  display: none;
  padding: 60px 0;
  color: var(--muted);
  text-align: center
}

.pcount {
  font-size: .76rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px
}

/* modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 180;
  display: none;
  align-items: stretch;
  justify-content: flex-end
}

.modal.open {
  display: flex
}

.m-back {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .72);
  backdrop-filter: blur(6px)
}

.m-pan {
  position: relative;
  width: min(1100px, 100%);
  background: var(--bg);
  overflow-y: auto;
  overscroll-behavior: contain;
  border-left: 1px solid var(--line)
}

.m-x {
  position: sticky;
  top: 14px;
  float: right;
  margin: 14px 14px -62px 0;
  z-index: 5;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(11, 11, 12, .85);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  transition: .3s
}

.m-x:hover {
  background: var(--gold);
  color: #000
}

.m-x svg {
  width: 20px;
  height: 20px
}

.m-main {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--bg3);
  overflow: hidden
}

.m-main img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.m-nav {
  position: absolute;
  inset: auto 16px 16px auto;
  display: flex;
  gap: 8px
}

.m-nav button {
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  background: rgba(11, 11, 12, .8);
  display: grid;
  place-items: center;
  transition: .3s
}

.m-nav button:hover {
  background: var(--gold);
  color: #000
}

.m-nav svg {
  width: 18px;
  height: 18px
}

.m-th {
  display: flex;
  gap: 8px;
  padding: 8px;
  background: var(--bg2);
  overflow-x: auto
}

.m-th button {
  flex: 0 0 clamp(70px, 12vw, 110px);
  aspect-ratio: 16/10;
  opacity: .5;
  border: 1px solid transparent;
  transition: .3s
}

.m-th button[aria-current=true] {
  opacity: 1;
  border-color: var(--gold)
}

.m-th img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.m-body {
  padding: clamp(22px, 4vw, 56px);
  display: grid;
  gap: 30px
}

.m-body h2 {
  font-size: clamp(2rem, 4.4vw, 3.6rem)
}

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line)
}

.facts div {
  background: var(--bg);
  padding: 16px 18px
}

.facts dt {
  font-size: .64rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted)
}

.facts dd {
  font-family: var(--ff-d);
  font-size: 1.25rem;
  margin-top: 4px
}

.am {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px 28px
}

.am li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: .93rem;
  color: #cfc9bd;
  padding-block: 8px;
  border-bottom: 1px solid var(--line)
}

.am svg {
  width: 16px;
  height: 16px;
  color: var(--gold);
  flex: none;
  margin-top: 5px
}

.m-act {
  display: flex;
  gap: 12px;
  flex-wrap: wrap
}

@media (max-width:640px) {
  .m-pan {
    border: 0
  }

  .m-main {
    aspect-ratio: 4/3
  }
}

/* lightbox */
.lb {
  position: fixed;
  inset: 0;
  z-index: 190;
  background: rgba(0, 0, 0, .94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(12px, 4vw, 56px)
}

.lb.open {
  display: flex
}

.lb img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain
}

.lb .m-x {
  position: absolute;
  top: 16px;
  right: 16px;
  margin: 0
}

.lb p {
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted)
}

/* contact */
/* new css add on */
html.force-show [data-r],
html.force-show [data-i],
html.force-show [data-stagger] > *,
html.force-show .ln > span,
html.force-show form {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

/* end  */


.cgrid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(36px, 6vw, 110px);
  align-items: start
}

@media (max-width:900px) {
  .cgrid {
    grid-template-columns: 1fr
  }
}

.cinfo li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 6px 16px;
  padding-block: 22px;
  border-top: 1px solid var(--line)
}

.cinfo li:last-child {
  border-bottom: 1px solid var(--line)
}

.cinfo .ico {
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--gold);
  grid-row: span 2
}

.cinfo .ico svg {
  width: 18px;
  height: 18px
}

.cinfo small {
  font-size: .66rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--muted)
}

.cinfo a:hover {
  color: var(--gold2)
}

.cinfo address {
  font-style: normal
}

form {
  display: grid;
  gap: 22px
}

.row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px
}

@media (max-width:560px) {
  .row2 {
    grid-template-columns: 1fr
  }
}

.fld {
  position: relative;
  display: grid;
  gap: 8px
}

.fld label {
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted)
}

.fld label i {
  color: var(--gold);
  font-style: normal
}

.fld input,
.fld select,
.fld textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(243, 239, 232, .28);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  padding: 12px 0;
  min-height: 48px;
  border-radius: 0;
  transition: border-color .3s;
  appearance: none;
  -webkit-appearance: none
}

.fld select {
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 12px) 55%, calc(100% - 6px) 55%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  padding-right: 30px
}

.fld select option {
  background: var(--bg2);
  color: var(--ink)
}

.fld textarea {
  resize: vertical;
  min-height: 130px
}

.fld input:focus,
.fld select:focus,
.fld textarea:focus {
  outline: 0;
  border-color: var(--gold)
}

.fld.err input,
.fld.err select,
.fld.err textarea {
  border-color: #e0705f
}

.msg {
  font-size: .78rem;
  color: #f0917f;
  min-height: 0;
  display: none
}

.fld.err .msg {
  display: block
}

.fnote {
  font-size: .8rem;
  color: var(--muted)
}

.ok {
  display: none;
  border: 1px solid var(--gold);
  padding: 28px;
  background: rgba(201, 162, 75, .07)
}

.ok.show {
  display: block
}

.ok h3 {
  font-size: 1.8rem;
  margin-bottom: 8px
}

.map {
  position: relative;
  height: clamp(300px, 45vw, 520px);
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--bg3)
}

.map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(1) invert(.92) contrast(.9) hue-rotate(180deg)
}

.map-cap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 18px
}

/* footer */
.ftr {
  background: var(--bg2);
  border-top: 1px solid var(--line);
  padding-top: clamp(56px, 8vw, 110px)
}

.fgrid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(28px, 4vw, 64px);
  padding-bottom: clamp(40px, 6vw, 40px)
}

.fgrid img {
  width: 150px;
  margin-bottom: 20px
}

.fgrid h4 {
  font-family: var(--ff-b);
  font-size: .7rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  font-weight: 600
}

.fgrid li {
  margin-bottom: 11px;
  font-size: .92rem;
  color: #cfc9bd
}

.fgrid a:hover {
  color: var(--gold2)
}

.fgrid p {
  color: var(--muted);
  font-size: .92rem;
  max-width: 34ch
}

.soc {
  display: flex;
  gap: 10px;
  margin-top: 22px
}

.soc a {
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  transition: .3s
}

.soc a:hover {
  background: var(--gold);
  color: #000;
  border-color: var(--gold)
}

.soc svg {
  width: 18px;
  height: 18px
}

.fbot {
  border-top: 1px solid var(--line);
  padding-block: 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: .78rem;
  color: var(--muted);
  align-items: center
}

.totop {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-size: .7rem;
  min-height: 44px
}

.totop svg {
  width: 16px;
  height: 16px
}

@media (max-width:900px) {
  .fgrid {
    grid-template-columns: 1fr 1fr
  }

  .fgrid>div:first-child {
    grid-column: 1/-1
  }
}

@media (max-width:520px) {
  .fgrid {
    grid-template-columns: 1fr
  }
}

.wa {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--gold);
  color: #000;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .5);
  transition: transform .3s
}

.wa:hover {
  transform: scale(1.08)
}

.wa svg {
  width: 24px;
  height: 24px
}

/* reveal (only when JS+GSAP active) */
.anim [data-r] {
  opacity: 0;
  transform: translateY(40px)
}

.anim [data-i] {
  opacity: 0;
  transform: translateY(30px)
}

.anim .ln>span {
  transform: translateY(110%)
}

.prog {
  position: fixed;
  left: 0;
  top: 0;
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, var(--gold-d), var(--gold2));
  transform: scaleX(0);
  transform-origin: left;
  z-index: 120
}

@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important
  }

  .marq-t {
    animation: none
  }

  .anim [data-r],
  .anim [data-i],
  .anim .ln>span {
    opacity: 1 !important;
    transform: none !important
  }
}

/* ===== LIGHT THEME — Studio Integrate–style layout ===== */
body {
  font-weight: 400;
  font-size: clamp(14px, .5vw + 12px, 16px);
  color: var(--ink)
}

h1,
h2,
h3,
h4 {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  line-height: 1.25
}

.h-xl {
  font-size: clamp(1.5rem, 3.2vw, 2.4rem)
}

.h-lg {
  font-size: clamp(1.25rem, 2.4vw, 1.9rem)
}

.h-md {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem)
}

em,
.it {
  font-style: normal;
  color: var(--gold)
}

.lead {
  color: #3d3d42;
  font-weight: 400;
  font-size: clamp(.95rem, .5vw + .8rem, 1.1rem);
  line-height: 1.85
}

.sec {
  padding-block: clamp(56px, 8vw, 110px)
}

.eyebrow {
  color: var(--muted);
  font-size: .7rem;
  letter-spacing: .28em
}

.eyebrow::before {
  background: var(--ink);
  width: 28px
}

.btn {
  border-color: var(--ink);
  color: var(--ink);
  letter-spacing: .2em;
  font-weight: 500
}

.btn::before {
  background: var(--ink)
}

.btn:hover {
  color: #fff
}

.btn.solid {
  background: var(--ink);
  color: #fff
}

.btn.solid::before {
  background: var(--gold)
}

.link {
  color: var(--ink)
}

.link:hover {
  border-color: var(--ink)
}

.loader {
  background: #fff
}

.loader-bar i {
  background: var(--ink)
}

.cur {
  border-color: var(--ink);
  mix-blend-mode: normal
}

.cur-dot {
  background: var(--ink)
}

.cur.hov {
  background: rgba(20, 20, 20, .08)
}

.prog {
  background: var(--ink)
}

.curtain {
  background: var(--ink)
}

/* header */
.hdr {
  background: #fff;
  border-bottom: 1px solid var(--line);
  height: 84px
}

.hdr.scrolled {
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 1px 14px rgba(0, 0, 0, .05)
}

:root {
  --nav-h: 84px
}

.brand img {
  height: 75px
}

.hdr-in {
  display: grid;
  grid-template-columns: 1fr auto 1fr
}

.nav {
  justify-self: center
}

.nav a {
  color: var(--ink);
  font-size: .78rem;
  letter-spacing: .2em
}

.nav a::after {
  background: var(--ink)
}

.nav a:hover,
.nav a[aria-current=page] {
  color: var(--ink)
}

.hdr-soc {
  display: flex;
  justify-content: flex-end;
  gap: 6px
}

.hdr-soc a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  transition: .3s
}

.hdr-soc a:hover {
  background: var(--ink);
  color: #fff
}

.hdr-soc svg {
  width: 17px;
  height: 17px
}

.hdr-cta {
  display: none !important
}

.burger {
  justify-self: end
}

.burger span {
  background: var(--ink)
}

@media (max-width:980px) {
  .hdr-in {
    display: flex
  }

  .hdr-soc {
    display: none
  }

  .brand img {
    height: 75px
  }
}

.mmenu {
  background: #fff
}

.mmenu nav a {
  font-size: clamp(1.3rem, 6vw, 1.8rem);
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 500
}

.mmenu nav a:hover,
.mmenu nav a[aria-current=page] {
  color: var(--gold)
}

/* slider hero */
 /* ===== Old slider (background image + arrows) ===== */
.slider {
  position: relative;
  height: min(92svh, 960px);
  min-height: 460px;
  margin-top: 84px;
  overflow: hidden;
  background: var(--bg3);
}

.slider::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 46%;
  background: linear-gradient(transparent, rgba(0, 0, 0, .55));
  z-index: 2;
  pointer-events: none;
}

@media (max-width: 620px) {
  .slider {
    height: 72svh;
    margin-top: 76px;
  }
}

.s-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.s-bg-item {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  will-change: opacity, transform;
}

.s-bg-item.active {
  opacity: 1;
  z-index: 1;
  animation: sKenBurns 7s ease-out forwards;
}

@keyframes sKenBurns {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.08);
  }
}

.s-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

#slides {
  position: relative;
  z-index: 3;
}

/* ---------- Arrows ---------- */
.s-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .45);
  background: rgba(0, 0, 0, .3);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .3s, color .3s, border-color .3s, transform .3s;
}

.s-arrow:hover {
  background: rgba(255, 255, 255, .95);
  color: #111;
  border-color: #fff;
  transform: translateY(-50%) scale(1.08);
}

.s-arrow:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.s-prev {
  left: 24px;
}

.s-next {
  right: 24px;
}

@media (max-width: 768px) {
  .s-arrow {
    width: 40px;
    height: 40px;
  }

  .s-arrow svg {
    width: 18px;
    height: 18px;
  }

  .s-prev {
    left: 10px;
  }

  .s-next {
    right: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .s-bg-item.active {
    animation: none;
  }
}

/* intro */
.intro {
  text-align: center;
  padding-block: clamp(56px, 8vw, 110px)
}

.intro .lead {
  margin: 22px auto 0;
  max-width: 62ch
}

.intro h2 {
  max-width: none
}

.sub {
  font-size: .8rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  font-weight: 600
}

/* inner banner */
.phero {
  padding: calc(var(--nav-h) + 34px) 0 34px;
  background: var(--bg2);
  border-bottom: 1px solid var(--line)
}

.phero-bg,
.phero::after {
  display: none
}

.phero .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap
}

.phero h1 {
  max-width: none;
  order: 1;
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  letter-spacing: .2em
}

.phero h1 .ln {
  display: inline
}

.phero h1 .ln>span {
  display: inline
}

.phero .lead {
  display: none
}

.crumbs {
  order: 2;
  margin: 0;
  color: var(--muted)
}

.crumbs a:hover {
  color: var(--ink)
}

.page-intro {
  padding-top: clamp(40px, 6vw, 80px)
}

/* marquee -> hidden; keep clean */
.marq {
  display: none
}

/* cards */
.pcard .ph::after {
  display: none
}

.tag {
  background: #fff;
  color: var(--ink);
  border-color: transparent;
  backdrop-filter: none
}

.tag.gold {
  color: var(--ink);
  border-color: transparent
}

.view {
  background: #fff;
  color: #000
}

.pcard h3 {
  font-size: clamp(.95rem, 1.3vw, 1.1rem);
  letter-spacing: .14em
}

.pcard .pp {
  color: var(--muted)
}

.pcard .pl svg {
  color: var(--ink)
}

.pgrid {
  gap: clamp(24px, 3vw, 44px)
}

.pcard,
.pcard.big {
  grid-column: span 4
}

.pcard.big .ph {
  aspect-ratio: 4/5
}

.pcard .ph {
  aspect-ratio: 4/3
}

@media (max-width:1000px) {

  .pcard,
  .pcard.big {
    grid-column: span 6
  }
}

@media (max-width:620px) {

  .pcard,
  .pcard.big {
    grid-column: 1/-1
  }
}

.stat b,
.badge b {
  color: var(--ink);
  font-weight: 300
}

.badge {
  background: #fff;
  border-top: 2px solid var(--ink)
}

.hl>div {
  background: #fff
}

.hl>div:hover {
  background: var(--bg2)
}

.hl i,
.hl svg.ic {
  color: var(--ink)
}

.hl h3 {
  font-size: 1rem;
  letter-spacing: .16em
}

.chip[aria-pressed=true] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff
}

.chip:hover {
  border-color: var(--ink)
}

.filters {
  background: linear-gradient(#fff 70%, transparent)
}

.gal button::after {
  color: #fff
}

/* cta band */
.cta {
  background: var(--bg2);
  border-top: 1px solid var(--line)
}

.cta-bg {
  display: none
}

.cta::after {
  display: none
}

.cta h2 {
  max-width: none;
  margin: 16px auto 20px;
  font-size: clamp(1.3rem, 2.8vw, 2rem);
  letter-spacing: .2em
}

/* about */
.vm>div {
  background: var(--bg2);
  border-color: var(--line)
}

.vm>div::before {
  color: rgba(20, 20, 20, .05)
}

.val {
  border-color: var(--ink)
}

.val small,
.chap .n {
  color: var(--gold)
}

.val h3,
.chap h3 {
  font-size: 1rem;
  letter-spacing: .16em
}

.chap p {
  color: #3d3d42
}

.quote {
  font-weight: 300;
  text-transform: none;
  letter-spacing: 0;
  font-size: clamp(1.3rem, 2.6vw, 2.1rem);
  line-height: 1.5
}

.cvs-box {
  background: var(--bg2)
}

/* modal & form */
.m-back {
  background: rgba(0, 0, 0, .55)
}

.m-x,
.m-nav button {
  background: rgba(255, 255, 255, .92);
  color: #000
}

.m-x:hover,
.m-nav button:hover {
  background: #000;
  color: #fff
}

.m-th {
  background: var(--bg2)
}

.m-th button[aria-current=true] {
  border-color: var(--ink)
}

.facts div {
  background: #fff
}

.facts dd {
  font-weight: 500;
  font-size: 1rem
}

.am li {
  color: #3d3d42
}

.am svg {
  color: var(--ink)
}

.lb {
  background: rgba(255, 255, 255, .97)
}

.lb .m-x {
  background: #000;
  color: #fff
}

.lb p {
  color: var(--muted)
}

.fld input,
.fld select,
.fld textarea {
  border-bottom-color: rgba(20, 20, 20, .3);
  color: var(--ink)
}

.fld input:focus,
.fld select:focus,
.fld textarea:focus {
  border-color: var(--ink)
}

.fld select {
  background-image: linear-gradient(45deg, transparent 50%, #141414 50%), linear-gradient(135deg, #141414 50%, transparent 50%)
}

.fld label i {
  color: #c0392b
}

.msg {
  color: #c0392b
}

.fld.err input,
.fld.err select,
.fld.err textarea {
  border-color: #c0392b
}

.ok {
  background: var(--bg2);
  border-color: var(--ink)
}

.cinfo .ico {
  color: var(--ink)
}

.cinfo a:hover {
  color: var(--gold)
}

.map iframe {
  filter: grayscale(1) contrast(1.05)
}

/* footer — dark, 3 columns like Studio Integrate */
.ftr {
  background: #141414;
  color: #d4d4d4;
  border: 0;
  padding-top: clamp(48px, 6vw, 40px)
}

.fgrid {
  grid-template-columns: 1.3fr 1fr 1fr;
  border-bottom: 1px solid #2c2c2c
}

.fgrid h4 {
  color: #fff;
  font-size: .74rem;
  letter-spacing: .24em
}

.fgrid li,
.fgrid p {
  color: #a8a8a8;
  font-size: .86rem
}

.fgrid a:hover {
  color: #fff
}

.fgrid li a {
  display: inline-block;
  padding-block: 2px
}

.fgrid .ci {
  display: flex;
  gap: 12px;
  align-items: flex-start
}

.fgrid .ci svg {
  width: 15px;
  height: 15px;
  margin-top: 4px;
  flex: none
}

.soc a {
  border-color: #333;
  color: #fff
}

.soc a:hover {
  background: #fff;
  color: #000;
  border-color: #fff
}

.fbot {
  border: 0;
  color: #8a8a8a
}

.totop {
  color: #fff
}

@media (max-width:900px) {
  .fgrid {
    grid-template-columns: 1fr 1fr
  }
}

@media (max-width:560px) {
  .fgrid {
    grid-template-columns: 1fr
  }
}

.wa {
  background: #31e158;
  color: #fff
}

.curtain {
  visibility: hidden
}

.phero h1 .ln::after {
  content: " "
}

/* about us css */
/* About page — modelled on studiointegrate.in/about
   Place at css/about.css (loaded after css/style.css) */

:root {
  /* Height of your fixed site header. Set to 0 if the header is NOT fixed/overlaid. */
  --si-header-h: 96px;
  --si-ink: #111;
  --si-band: #f4f5f6;
  --si-dark: #1a1a1a;
}

.si-page {
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--si-ink);
  background: #fff;
}

.si-wrap {
  width: 100%;
  max-width: 1680px;
  margin-inline: auto;
  padding-inline: clamp(20px, 3.85vw, 60px);
}

/* ---------- Title band ---------- */
.si-band {
  background: var(--si-band);
  margin-top: var(--si-header-h);
  padding: 22px 0;
}

.si-band .si-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.si-band h1 {
  margin: 0;
  font-size: clamp(1.15rem, 1.55vw, 1.45rem);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1.3;
}

.si-crumbs {
  display: flex;
  gap: 8px;
  font-size: .9rem;
  font-weight: 400;
  color: #777;
}

.si-crumbs a {
  color: #777;
  transition: color .2s;
}

.si-crumbs a:hover {
  color: #111;
}

.si-crumbs span:last-child {
  color: #222;
}

/* ---------- Body ---------- */
.si-main {
  padding: clamp(40px, 5vw, 68px) 0 clamp(70px, 8vw, 120px);
}

.si-h {
  margin: 0;
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
  font-size: 28px;
  margin-bottom: 30px;
  line-height: 1.3;
}

.si-cols {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1fr);
  gap: clamp(32px, 3.2vw, 48px);
  align-items: start;
}

/* Left: Philosophy */
/* .si-left {
  padding-top: 10px;
}

.si-left .si-h {
  margin-bottom: clamp(26px, 4vw, 56px);
} */

.si-left p {
  margin: 0 0 clamp(23px, 0.0vw, 64px);
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  font-weight: 300;
  line-height: 1.75;
  color: #111;
}

.si-left p:last-child {
  margin-bottom: 0;
}

/* Right: Founders */
.si-right .si-h {
  margin-bottom: clamp(30px, 4.4vw, 64px);
}

.si-founders {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: clamp(10px, 1.4vw, 20px);
}

.si-founder {
  margin: 0;
  text-align: center;
}

.si-founder img {
  display: block;
  width: 73%;
  margin-inline: auto;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
  filter: grayscale(1);
  background: #e4e4e4;
  transition: filter .5s ease, transform .5s ease;
}

/* Hover: photo turns to its original colour */
.si-founder:hover img,
.si-founder:focus-within img {
  filter: grayscale(0);
  transform: scale(1.03);
}

@media (prefers-reduced-motion: reduce) {
  .si-founder img {
    transition: filter .2s ease;
  }

  .si-founder:hover img,
  .si-founder:focus-within img {
    transform: none;
  }
}

.si-founder h3 {
  margin: 16px 0 4px;
  font-size: clamp(.7rem, .95vw, .88rem);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.si-page .si-founder em {
  color: #111;
  display: block;
  font-size: clamp(.68rem, .9vw, .85rem);
  font-style: italic;
  font-weight: 600;
  line-height: 1.5;
}

/* Right: Services (black badges) */
.si-h-services {
  margin-top: clamp(44px, 6vw, 92px);
}

.si-services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(10px, 1.4vw, 20px);
  justify-items: center;
}

.si-badge {
  display: block;
  width: 78%;
  height: auto;
}

.si-badge text {
  fill: #fff;
  font-family: 'Poppins', sans-serif;
}

.si-badge .t-top {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 2.2px;
}

.si-badge .t-side {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.6px;
}

.si-badge .t-tag {
  font-size: 10px;
  font-weight: 300;
  letter-spacing: .8px;
}

.si-badge .ico {
  fill: none;
  stroke: #fff;
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Centre icon: 3 line drawings, switched by JS (adds .is-anim to the badge, .on to the active icon) */
.si-badge .ic {
  opacity: 0;
  transition: opacity .6s ease;
}

.si-badge .ic>* {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  /* when hidden: snap back only after the fade-out has finished */
  transition: stroke-dashoffset 0s linear .6s;
}

.si-badge .ic.on {
  opacity: 1;
}

.si-badge .ic.on>* {
  stroke-dashoffset: 0;
  /* when shown: draw the lines */
  transition: stroke-dashoffset 1.5s ease .15s;
}

/* Without JS: just show the first icon, fully drawn */
.si-badge:not(.is-anim) .ic:first-child {
  opacity: 1;
}

.si-badge:not(.is-anim) .ic:first-child>* {
  stroke-dashoffset: 0;
}

@media (prefers-reduced-motion: reduce) {

  /* keep the icon swap, but no line-drawing */
  .si-badge .ic>*,
  .si-badge .ic.on>* {
    transition: none;
    stroke-dashoffset: 0;
  }
}

/* ---------- The Studio ---------- */
.si-studio {
  margin-top: clamp(56px, 7vw, 100px);
}

.si-studio .si-h {
  margin-bottom: clamp(22px, 2.6vw, 36px);
}

.si-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3.4vw, 51px) clamp(14px, 2.1vw, 31px);
}

.si-gallery .g {
  margin: 0;
  overflow: hidden;
  background: #e9e9e9;
}

.si-gallery .land {
  aspect-ratio: 7 / 5;
}

.si-gallery .port {
  aspect-ratio: 5 / 7;
}

.si-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Footer ---------- */
.si-footer {
  background: var(--si-dark);
  color: #fff;
  font-family: 'Poppins', system-ui, sans-serif;
}

.si-foot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding: clamp(48px, 6vw, 84px) 0 clamp(48px, 5vw, 72px);
}

.si-footer h4 {
  margin: 0 0 clamp(22px, 2.4vw, 32px);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.si-footer p {
  margin: 0;
  max-width: 440px;
  font-size: .95rem;
  font-weight: 300;
  line-height: 1.75;
}

.si-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 20px;
}

.si-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: .95rem;
  font-weight: 300;
}

.si-list svg,
.si-list i {
  width: 16px;
  height: 16px;
  flex: none;
}

.si-footer a {
  color: inherit;
  transition: opacity .2s;
}

.si-footer a:hover {
  opacity: .7;
}

.si-foot-bar {
  border-top: 1px solid #343434;
}

.si-foot-bar .si-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 26px;
  font-size: .95rem;
  font-weight: 300;
}

.si-social {
  display: flex;
  gap: 22px;
}

.si-social svg {
  width: 16px;
  height: 16px;
  display: block;
}

/* ---------- Back to top ---------- */
.si-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 50;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #111;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .15);
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .3s, transform .3s, visibility .3s;
}

.si-top.on {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.si-top svg {
  width: 20px;
  height: 20px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .si-cols {
    grid-template-columns: 1fr;
  }

  .si-left {
    padding-top: 0;
  }

  .si-foot-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .si-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .si-foot-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .si-foot-bar .si-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .si-gallery {
    grid-template-columns: 1fr;
  }

  .si-founder h3 {
    letter-spacing: .06em;
  }

  .si-badge {
    width: 92%;
  }

  .si-top {
    right: 14px;
    bottom: 14px;
  }
}

 
/* ===== Mobile menu alignment fix ===== */
@media (max-width:980px) {

  /* menu upar se shuru ho, beech me nahi */
  .mmenu {
    justify-content: flex-start;
    padding-top: calc(var(--nav-h) + 12px);
  }

  .mmenu nav a {
    align-items: center;
    gap: 0;
    padding-block: 12px;
  }

  /* numbers (01, 02...) ka fixed column -> saare links ek hi line se start honge */
  .mmenu nav a small {
    flex: 0 0 3rem;
    font-variant-numeric: tabular-nums;
    line-height: 1;
  }

  /* contact details with icons */
  .mmenu-foot {
    gap: 14px;
  }

  .mmenu-foot a,
  .mmenu-foot span {
    display: flex;
    align-items: center;
    gap: 14px;
    line-height: 1.5;
  }

  .mmenu-foot i {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--gold);
    font-size: .8rem;
  }
}

/* projects buttons css */
/* ===== Projects section: building image background ===== */
/* .sec:has(#bpGrid){
    position: relative;
    background:
        linear-gradient(rgba(255,255,255,.55), rgba(255,255,255,.55)),
        url("/assets/img/construction-bg.jpg") center / cover no-repeat;
    background-attachment: scroll;
} */
/* ===== Footer ke upar full-width moving building image ===== */
/* ===== Footer ke upar continuous moving building image ===== */
.sec:has(#bpGrid){
    position: relative;
    padding-bottom: 320px;
    overflow: hidden;
}

.sec:has(#bpGrid) .wrap{ position: relative; z-index: 3; }

/* Layer 1: image left se right continuous chalti hai */
.sec:has(#bpGrid)::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 300px;
    z-index: 1;
    pointer-events: none;
    background-image: url("/assets/img/bg2.png");
    background-repeat: repeat-x;
    background-size: auto 100%;      /* image zoom nahi hogi, height ke hisaab se fit */
    background-position: 0 bottom;
    animation: bpSlide 40s linear infinite;
}

/* Layer 2: upar white fade + halki roshni */
.sec:has(#bpGrid)::before{
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 300px;
    z-index: 2;
    pointer-events: none;
    background:
        linear-gradient(to bottom, #fff 0%, rgba(255,255,255,0) 30%),
        linear-gradient(110deg, transparent 40%, rgba(255,225,150,.28) 50%, transparent 60%);
    background-size: 100% 100%, 250% 100%;
    background-repeat: no-repeat;
    animation: bpShine 8s linear infinite;
}

/* background-position se move => hamesha dikhega, kabhi ruk ke wapas nahi aayega */
@keyframes bpSlide{
    from { background-position: 0 bottom; }
    to   { background-position: 1600px bottom; }
}

@keyframes bpShine{
    from { background-position: 0 0, 120% 0; }
    to   { background-position: 0 0, -120% 0; }
}

@media (max-width: 768px){
    .sec:has(#bpGrid){ padding-bottom: 220px; }
    .sec:has(#bpGrid)::after,
    .sec:has(#bpGrid)::before{ height: 200px; }
}

@media (prefers-reduced-motion: reduce){
    .sec:has(#bpGrid)::after,
    .sec:has(#bpGrid)::before{ animation: none; }
}
/* ===== Cards ki width kam ===== */
.sec:has(#bpGrid) .wrap{
    max-width: 1100px;      /* pehle ke mukable chhota; aur kam chahiye to 1000px kar do */
    margin-inline: auto;
}

#bpGrid{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 300px));
    justify-content: center;
    gap: 28px;
}
/* ===== Projects filter buttons: center + animation ===== */
#bpFilters {
  justify-content: center;
  gap: 14px;
  padding-block: 6px;
  background: none;
}

#bpFilters .chip {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: 0px;
  padding: 12px 26px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s, color .35s;
  animation: chipIn .7s var(--ease) backwards;
  /* page load par ek ek karke aayenge */
}

#bpFilters .chip:nth-child(2) {
  animation-delay: .08s
}

#bpFilters .chip:nth-child(3) {
  animation-delay: .16s
}

#bpFilters .chip:nth-child(4) {
  animation-delay: .24s
}

/* hover par neeche se gold fill slide hoga */
#bpFilters .chip::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, #d9b765, var(--gold));
  transform: translateY(101%);
  transition: transform .45s var(--ease);
}

#bpFilters .chip:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: 0 10px 22px rgba(166, 124, 46, .28);
}

#bpFilters .chip:hover::before,
#bpFilters .chip[aria-pressed=true]::before {
  transform: none;
}

#bpFilters .chip:active {
  transform: scale(.95);
}

/* selected button */
#bpFilters .chip[aria-pressed=true] {
  background: #fff;
  color: #000;
  border-color: var(--gold);
  box-shadow: 0 10px 22px rgba(166, 124, 46, .3);
}

/* count ek chhote pill me */
#bpFilters .chip sup {
  font-size: .66rem;
  line-height: 1;
  opacity: 1;
  padding: 4px 8px;
  border-radius: 20px;
  background: rgba(0, 0, 0, .07);
  transition: background .35s, transform .35s var(--ease);
}

#bpFilters .chip:hover sup {
  transform: scale(1.1);
}

#bpFilters .chip[aria-pressed=true] sup {
  background: rgba(0, 0, 0, .16);
}

/* project count bhi beech me (nahi chahiye to ye 3 lines hata do) */
#bpCount {
  text-align: center;
}

@keyframes chipIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(.94);
  }
}

@media (max-width: 560px) {
  #bpFilters {
    gap: 8px;
  }

  #bpFilters .chip {
    padding: 10px 16px;
    min-height: 40px;
    font-size: .66rem;
    letter-spacing: .14em;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #bpFilters .chip {
    animation: none;
    transition: none
  }
}

/* projects new css */
#bpLb {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  background: rgba(10, 10, 10, .92);
  color: #fff;
  font-family: Poppins, sans-serif;
  flex-direction: column
}

#bpLb.open {
  display: flex
}

#bpLb .lb-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px
}

#bpLb .lb-ttl {
  font-size: 15px;
  font-weight: 500;
  margin: 0
}

#bpLb .lb-cnt {
  font-size: 13px;
  opacity: .7;
  margin-left: 10px
}

#bpLb button {
  background: rgba(255, 255, 255, .12);
  color: #fff;
  border: 0;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  font-size: 22px;
  cursor: pointer;
  line-height: 1
}

#bpLb button:hover {
  background: rgba(255, 255, 255, .25)
}

#bpLb .lb-stage {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 64px
}

#bpLb .lb-stage img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 6px
}

#bpLb .lb-prev,
#bpLb .lb-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%)
}

#bpLb .lb-prev {
  left: 12px
}

#bpLb .lb-next {
  right: 12px
}

#bpLb.single .lb-prev,
#bpLb.single .lb-next,
#bpLb.single .lb-thumbs {
  display: none
}

#bpLb .lb-thumbs {
  display: flex;
  gap: 8px;
  justify-content: center;
  padding: 10px 16px;
  overflow-x: auto
}

#bpLb .lb-thumbs img {
  width: 64px;
  height: 48px;
  object-fit: cover;
  border-radius: 4px;
  opacity: .55;
  cursor: pointer;
  border: 2px solid transparent
}

#bpLb .lb-thumbs img.on {
  opacity: 1;
  border-color: #fff
}

#bpLb .lb-facts {
  max-height: 26vh;
  overflow: auto;
  padding: 10px 20px 18px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 6px 24px;
  font-size: 13px;
  border-top: 1px solid rgba(255, 255, 255, .15)
}

#bpLb .lb-facts b {
  display: block;
  font-weight: 500;
  opacity: .6;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .04em
}

@media(max-width:600px) {
  #bpLb .lb-stage {
    padding: 0 8px
  }

  #bpLb .lb-prev {
    left: 6px
  }

  #bpLb .lb-next {
    right: 6px
  }
}


/* teams page css */
 /* ============================================================
   team.css  ->  css/ folder (about.css ke saath)
   PREMIUM EDITORIAL LOOK
   Black / white base + champagne-gold accent (logo se match)
   HTML & image paths me koi change nahi. team.js pehle jaisa hi.
   ============================================================ */

:root {
    --tm-gold: #b8975a;
    --tm-gold-dk: #8a6d3b;
    --tm-ink: #111;
    --tm-mute: #7b7b7b;
    --tm-line: #e4e1da;
    --tm-ease: cubic-bezier(.2, .7, .2, 1);
}

.tm-block { margin-bottom: 96px; }
.tm-block:last-child { margin-bottom: 0; }

/* ---------- Section heading ke saath patli line ---------- */
.tm-block > .si-h {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 44px;
}
.tm-block > .si-h::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--tm-gold), var(--tm-line) 35%, transparent);
}

/* ---------- Card ---------- */
.tm-card {
    /* --o: 14px;                */
    position: relative;
    margin: 0;
}

/* gold hairline frame - photo ke peeche, thoda offset me */
.tm-card::before {
    content: "";
    position: absolute;
    top: var(--o);
    left: var(--o);
    width: calc(100% - var(--o));
    aspect-ratio: 4 / 5;
    border: 1px solid rgba(184, 151, 90, .6);
    transition: top .6s var(--tm-ease), left .6s var(--tm-ease), border-color .6s ease;
    pointer-events: none;
}

/* ---------- Photo box ---------- */
.tm-ph {
    position: relative;
    z-index: 1;
    width: calc(100% - var(--o));
    aspect-ratio: 4 / 5;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tm-gold);
    background:
        radial-gradient(90% 60% at 50% 0%, rgba(184, 151, 90, .16) 0%, transparent 70%),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, .03) 0 1px, transparent 1px 11px),
        #0e0e0e;
}

/* initials (jinki photo nahi hai) */
.tm-ph span {
    position: relative;
    font-family: 'Poppins', sans-serif;
    font-weight: 200;
    font-size: 46px;
    letter-spacing: .22em;
    padding-left: .22em;
    color: #cfb07a;
}
.tm-ph span::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -16px;
    width: 26px;
    height: 1px;
    background: var(--tm-gold);
    transform: translateX(-50%);
    transition: width .6s var(--tm-ease);
}

/* photo: B/W premium, hover par colour */
.tm-ph img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transform: scale(1.06);
    filter: grayscale(1) contrast(1.05);
    translate: calc(var(--mx, 0) * 10px) calc(var(--my, 0) * 10px);
    transition: transform 1s var(--tm-ease), filter .8s ease, translate .35s ease-out;
}

/* inner hairline + neeche halka fade */
.tm-ph::after {
    content: "";
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(255, 255, 255, .28);
    box-shadow: inset 0 -110px 70px -60px rgba(0, 0, 0, .45);
    pointer-events: none;
    z-index: 2;
    transition: inset .6s var(--tm-ease), border-color .6s ease;
}
.tm-ph::before { display: none; }

/* ---------- Caption ---------- */
.tm-card figcaption {
    position: relative;
    width: calc(100% - var(--o));
    padding-top: calc(var(--o) + 18px);
    margin-top: 20px;
}
.tm-card figcaption::before {
    content: "";
    position: absolute;
    top: calc(var(--o) + 2px);
    left: 0;
    width: 28px;
    height: 1px;
    background: var(--tm-gold);
    transition: width .6s var(--tm-ease);
}
.tm-card h3 {
    margin: 0 0 7px;
    font-family: 'Poppins', sans-serif;
    font-size: 17px;
    font-weight: 500;
    color: var(--tm-ink);
    line-height: 1.35;
    letter-spacing: .01em;
}
.tm-card em {
    display: block;
    font-style: normal;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--tm-mute);
    line-height: 1.7;
}

/* ---------- Hover ---------- */
.tm-card:hover::before { top: calc(var(--o) * .35); left: calc(var(--o) * .35); border-color: var(--tm-gold); }
.tm-card:hover .tm-ph img { transform: scale(1.12); filter: grayscale(0) contrast(1.02); }
.tm-card:hover .tm-ph::after { inset: 8px; border-color: rgba(255, 255, 255, .6); }
.tm-card:hover figcaption::before { width: 64px; }
.tm-card:hover .tm-ph span::after { width: 56px; }

/* ---------- Leadership ----------
   Row 1 : Director (akela, center)
   Row 2 : Anad Lohar + Dattatray K. Mali (ek hi row) */
.tm-lead {
    --tm-gap: 56px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--tm-gap) 36px;
    max-width: 800px;
    margin: 0 auto;
    align-items: start;
}
.tm-lead .tm-card { text-align: center; }
.tm-lead .tm-card figcaption::before { left: 50%; transform: translateX(-50%); }
.tm-lead .tm-card h3 { font-size: 20px; }
.tm-lead .tm-ph span { font-size: 60px; }

/* Director */
.tm-card--lead {
    --o: 20px;
    grid-column: 1 / -1;
    width: min(100%, 410px);
    margin: 0 auto;
}
.tm-card--lead::before { border-color: var(--tm-gold); }
.tm-card--lead .tm-ph img { filter: grayscale(.15) contrast(1.03); }
.tm-card--lead:hover .tm-ph img { filter: grayscale(0); }
.tm-card--lead h3 { font-size: 25px; font-weight: 500; }
.tm-card--lead em { color: var(--tm-gold-dk); font-weight: 500; letter-spacing: .2em; }
.tm-card--lead figcaption::before { width: 44px; }
.tm-card--lead:hover figcaption::before { width: 90px; }

/* Director se heads tak connector line */
.tm-card--lead::after {
    content: "";
    position: absolute;
    left: calc((100% - var(--o)) / 2);
    top: 100%;
    width: 1px;
    height: var(--tm-gap);
    background: linear-gradient(to bottom, var(--tm-gold), rgba(184, 151, 90, 0));
    transform-origin: top;
}

/* ---------- Team grid ---------- */
.tm-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 52px 30px;
    align-items: start;
}

/* ---------- Animations ---------- */
@keyframes tmReveal { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes tmZoom   { from { scale: 1.28; opacity: .4; } to { scale: 1; opacity: 1; } }
@keyframes tmUp     { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes tmLineGrow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes tmLineIn { from { width: 0; } }
@keyframes tmFrame  { from { opacity: 0; transform: translate(-12px, -12px); } to { opacity: 1; transform: none; } }
@keyframes tmInner  { from { inset: 30px; opacity: 0; } to { inset: 12px; opacity: 1; } }
@keyframes tmBand   { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes tmFailPh { to { clip-path: inset(0 0 0 0); } }
@keyframes tmFailTx { to { opacity: 1; transform: none; } }

/* Title band */
.si-band h1 { animation: tmBand 1.1s var(--tm-ease) .9s both; }
.si-band .si-crumbs { animation: tmUp .9s var(--tm-ease) 1.15s both; }

/* Cards : team.js scroll par .tm-in class lagata hai */
@media (scripting: enabled) {
    .tm-card:not(.tm-in) .tm-ph { clip-path: inset(0 0 100% 0); animation: tmFailPh .01s 5s forwards; }
    .tm-card:not(.tm-in)::before { opacity: 0; animation: tmFailTx .01s 5s forwards; }
    .tm-card:not(.tm-in) figcaption h3,
    .tm-card:not(.tm-in) figcaption em { opacity: 0; transform: translateY(16px); animation: tmFailTx .01s 5s forwards; }
    .tm-card:not(.tm-in) figcaption::before { width: 0; }
    .tm-card--lead:not(.tm-in)::after { transform: scaleY(0); }

    .tm-card.tm-in::before          { animation: tmFrame 1.2s var(--tm-ease) calc(var(--tm-d, 0s) + .35s) backwards; }
    .tm-card.tm-in .tm-ph           { animation: tmReveal 1.2s cubic-bezier(.77, 0, .18, 1) var(--tm-d, 0s) backwards; }
    .tm-card.tm-in .tm-ph img       { animation: tmZoom 1.8s var(--tm-ease) var(--tm-d, 0s) backwards; }
    .tm-card.tm-in .tm-ph::after    { animation: tmInner 1.4s var(--tm-ease) calc(var(--tm-d, 0s) + .5s) backwards; }
    .tm-card.tm-in figcaption h3    { animation: tmUp .8s var(--tm-ease) calc(var(--tm-d, 0s) + .7s) backwards; }
    .tm-card.tm-in figcaption em    { animation: tmUp .8s var(--tm-ease) calc(var(--tm-d, 0s) + .85s) backwards; }
    .tm-card.tm-in figcaption::before { animation: tmLineIn .8s var(--tm-ease) calc(var(--tm-d, 0s) + .6s) backwards; }
    .tm-card--lead.tm-in::after     { animation: tmLineGrow 1s var(--tm-ease) calc(var(--tm-d, 0s) + 1s) backwards; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .tm-grid { grid-template-columns: repeat(3, 1fr); gap: 46px 24px; }
    .tm-lead { max-width: 700px; gap: var(--tm-gap) 26px; }
    .tm-lead .tm-card h3 { font-size: 18px; }
    .tm-card--lead { width: min(100%, 350px); --o: 16px; }
    .tm-card--lead h3 { font-size: 22px; }
}

@media (max-width: 768px) {
    .tm-block { margin-bottom: 64px; }
    .tm-block > .si-h { margin-bottom: 30px; gap: 16px; }
    .tm-card { --o: 10px; }
    .tm-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 16px; }
    .tm-ph span { font-size: 34px; }

    .tm-lead { --tm-gap: 40px; max-width: 540px; gap: var(--tm-gap) 16px; }
    .tm-card--lead { --o: 12px; width: 70%; }
    .tm-lead .tm-ph span { font-size: 40px; }
    .tm-card--lead .tm-ph span { font-size: 54px; }
    .tm-lead .tm-card h3 { font-size: 15px; }
    .tm-card--lead h3 { font-size: 19px; }
    .tm-card h3 { font-size: 15px; }
    .tm-card em { font-size: 10px; letter-spacing: .14em; }
    .tm-ph::after { inset: 9px; }
}

@media (max-width: 480px) {
    .tm-grid { gap: 32px 14px; }
    .tm-lead { --tm-gap: 34px; }
    .tm-card { --o: 8px; }
    .tm-card--lead { --o: 10px; width: 80%; }
    .tm-card h3 { font-size: 14px; }
    .tm-card figcaption { padding-top: calc(var(--o) + 14px); }
}

/* touch devices: hover nahi, isliye photo thodi colour me rakho */
@media (hover: none) {
    .tm-ph img { filter: grayscale(.35) contrast(1.03); }
    .tm-card:hover .tm-ph img { transform: scale(1.06); }
    .tm-card:hover::before { top: var(--o); left: var(--o); }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
    .si-band h1, .si-band .si-crumbs,
    .tm-card::before, .tm-card .tm-ph, .tm-card .tm-ph img, .tm-card .tm-ph::after,
    .tm-card figcaption h3, .tm-card figcaption em, .tm-card figcaption::before,
    .tm-card--lead::after { animation: none !important; clip-path: none !important; opacity: 1 !important; }
    .tm-ph img { translate: none; transition: none; }
}

.tm-block { --k: .8; }

/* .tm-grid .tm-ph,
.tm-grid .tm-card::before {
    width: calc((100% - var(--o)) * var(--k));
} */

.tm-lead .tm-card:not(.tm-card--lead) {
    width: calc(100% * var(--k));
    margin-inline: auto;
}

/* @media (max-width: 768px) {
    .tm-block { --k: .88; }
} */

.tm-block { --k: .55; }          /* desktop: pehle .8 tha */

@media (max-width: 768px) {
    .tm-block { --k: .66; }      /* mobile: pehle .88 tha */
}

/* end teams css  */

/* career page css */
/* ===== Careers page — scoped styles (prefix .cr-) ===== */
.cr {
  --cr-ink: #14130f;
  --cr-muted: #6b6a64;
  --cr-line: #e7e3da;
  --cr-soft: #faf8f3;
  --cr-gold: #b08d57;
  --cr-gold-d: #8f6f3e;
  --cr-radius: 4px;
  font-family: 'Poppins', system-ui, sans-serif;
  color: var(--cr-ink);
}

.cr *,
.cr *::before,
.cr *::after {
  box-sizing: border-box
}

.cr-sec {
  padding: clamp(64px, 9vw, 120px) 0
}

.cr-sec.soft {
  background: var(--cr-soft)
}

.cr-wrap {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  /* padding: 0 clamp(20px, 4vw, 48px) */
}

/* section heading */
.cr-head {
  max-width: 720px;
  margin-bottom: clamp(36px, 5vw, 64px)
}

.cr-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--cr-gold-d);
  font-weight: 500
}

.cr-eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--cr-gold)
}

.cr-title {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  line-height: 1.12;
  font-weight: 300;
  letter-spacing: -.01em;
  margin: 18px 0 0
}

.cr-title em {
  font-style: normal;
  font-weight: 500;
  color: var(--cr-gold-d)
}

.cr-sub {
  margin: 18px 0 0;
  color: var(--cr-muted);
  line-height: 1.8;
  font-size: 1rem;
  max-width: 560px
}

/* why grid */
.cr-why {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--cr-line);
  background: #fff
}

.cr-why-item {
  position: relative;
  padding: 44px 32px 40px;
  border-right: 1px solid var(--cr-line);
  transition: background .35s, transform .35s
}

.cr-why-item:last-child {
  border-right: 0
}

.cr-why-item:hover {
  background: var(--cr-soft)
}

.cr-why-num {
  position: absolute;
  top: 22px;
  right: 26px;
  font-size: .78rem;
  letter-spacing: .15em;
  color: #c9c4b6
}

.cr-why-ico {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid var(--cr-line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cr-gold-d);
  margin-bottom: 26px;
  transition: all .35s
}

.cr-why-item:hover .cr-why-ico {
  background: var(--cr-ink);
  color: #fff;
  border-color: var(--cr-ink)
}

.cr-why-ico svg {
  width: 22px;
  height: 22px
}

.cr-why-item h3 {
  font-size: 1.15rem;
  font-weight: 500;
  margin: 0 0 10px
}

.cr-why-item p {
  margin: 0;
  color: var(--cr-muted);
  font-size: .93rem;
  line-height: 1.75
}

/* openings */
.cr-jobs {
  border-top: 1px solid var(--cr-ink)
}

.cr-job {
  display: grid;
  grid-template-columns: 60px 1.4fr 1.6fr auto;
  align-items: center;
  gap: 24px;
  padding: 32px 12px;
  border-bottom: 1px solid var(--cr-line);
  text-decoration: none;
  color: inherit;
  transition: background .3s, padding .3s
}

.cr-job:hover {
  background: #fff;
  padding-left: 24px;
  padding-right: 24px
}

.cr-job-no {
  font-size: .85rem;
  color: #b5b0a2;
  letter-spacing: .12em
}

.cr-job h3 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 400
}

.cr-job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  color: var(--cr-muted);
  font-size: .9rem
}

.cr-job-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px
}

.cr-job-meta svg {
  width: 16px;
  height: 16px;
  color: var(--cr-gold)
}

.cr-job-go {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--cr-line);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s
}

.cr-job:hover .cr-job-go {
  background: var(--cr-ink);
  border-color: var(--cr-ink);
  color: #fff;
  transform: rotate(-45deg)
}

.cr-job-go svg {
  width: 18px;
  height: 18px
}

.cr-note {
  margin: 28px 0 0;
  color: var(--cr-muted);
  font-size: .95rem
}

/* apply */
.cr-apply {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 0;
  align-items: stretch;
  box-shadow: 0 30px 80px rgba(20, 19, 15, .12)
}

.cr-side {
  background: var(--cr-ink);
  color: #fff;
  padding: clamp(36px, 4vw, 64px);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden
}

.cr-side::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -90px;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(176, 141, 87, .35);
  border-radius: 50%
}

.cr-side::before {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(176, 141, 87, .25);
  border-radius: 50%
}

.cr-side .cr-eyebrow {
  color: var(--cr-gold)
}

.cr-side .cr-title {
  color: #fff;
  font-size: clamp(1.8rem, 3vw, 2.5rem)
}

.cr-side .cr-title em {
  color: var(--cr-gold)
}

.cr-side p.lead {
  color: rgba(255, 255, 255, .7);
  line-height: 1.8;
  font-size: .97rem;
  margin: 18px 0 0
}

.cr-contact {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  gap: 26px;
  position: relative;
  z-index: 1
}

.cr-contact li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: start
}

.cr-contact .ico {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cr-gold)
}

.cr-contact .ico svg {
  width: 18px;
  height: 18px
}

.cr-contact small {
  display: block;
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
  margin-bottom: 4px
}

.cr-contact a,
.cr-contact address {
  color: #fff;
  text-decoration: none;
  font-style: normal;
  font-size: .95rem;
  line-height: 1.65;
  overflow-wrap: anywhere
}

.cr-contact a:hover {
  color: var(--cr-gold)
}

.cr-formbox {
  background: #fff;
  padding: clamp(32px, 4vw, 64px)
}

.cr-formbox h3 {
  margin: 0 0 6px;
  font-size: 1.5rem;
  font-weight: 400
}

.cr-formbox>p {
  margin: 0 0 32px;
  color: var(--cr-muted);
  font-size: .93rem
}

.cr-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px
}

.cr-fld {
  margin-bottom: 22px;
  min-width: 0
}

.cr-fld label {
  display: block;
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--cr-muted);
  margin-bottom: 8px;
  font-weight: 500
}

.cr-fld label i {
  color: #c0392b;
  font-style: normal
}

.cr-fld input:not([type=file]),
.cr-fld select,
.cr-fld textarea {
  width: 100%;
  font: inherit;
  font-size: .97rem;
  color: var(--cr-ink);
  background: var(--cr-soft);
  border: 1px solid var(--cr-line);
  border-radius: var(--cr-radius);
  padding: 14px 16px;
  outline: 0;
  transition: border-color .25s, background .25s, box-shadow .25s;
  appearance: none;
  -webkit-appearance: none
}

.cr-fld select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23666' stroke-width='1.6'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px
}

.cr-fld textarea {
  resize: vertical;
  min-height: 120px
}

.cr-fld input:focus,
.cr-fld select:focus,
.cr-fld textarea:focus {
  border-color: var(--cr-gold);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(176, 141, 87, .14)
}

.cr-fld [aria-invalid=true] {
  border-color: #c0392b !important
}

.cr-fld .msg {
  display: block;
  min-height: 0;
  font-size: .8rem;
  color: #c0392b;
  margin-top: 6px
}

.cr-fld .msg:empty {
  display: none
}

.cr-drop {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border: 1.5px dashed #cfc8b6;
  border-radius: var(--cr-radius);
  background: var(--cr-soft);
  cursor: pointer;
  transition: all .25s
}

.cr-drop:hover {
  border-color: var(--cr-gold);
  background: #fff
}

.cr-drop input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer
}

.cr-drop .ico {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--cr-line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cr-gold-d)
}

.cr-drop .ico svg {
  width: 20px;
  height: 20px
}

.cr-drop b {
  display: block;
  font-weight: 500;
  font-size: .95rem;
  overflow-wrap: anywhere
}

.cr-drop small {
  color: var(--cr-muted);
  font-size: .8rem
}

.cr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font: inherit;
  font-weight: 500;
  font-size: .85rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  background: var(--cr-ink);
  border: 1px solid var(--cr-ink);
  border-radius: var(--cr-radius);
  padding: 18px 38px;
  cursor: pointer;
  transition: all .3s
}

.cr-btn:hover {
  background: var(--cr-gold-d);
  border-color: var(--cr-gold-d);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(143, 111, 62, .3)
}

.cr-btn:disabled {
  opacity: .6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none
}

.cr-btn svg {
  width: 18px;
  height: 18px
}

#careerStatus {
  margin: 20px 0 0;
  font-size: .95rem;
  min-height: 1.4em
}

#careerStatus.ok {
  color: #1c7c3b
}

#careerStatus.err {
  color: #c0392b
}

/* responsive */
@media (max-width:1100px) {
  .cr-why {
    grid-template-columns: repeat(2, 1fr)
  }

  .cr-why-item:nth-child(2) {
    border-right: 0
  }

  .cr-why-item:nth-child(-n+2) {
    border-bottom: 1px solid var(--cr-line)
  }

  .cr-job {
    grid-template-columns: 48px 1fr auto
  }

  .cr-job-meta {
    grid-column: 2/3;
    grid-row: 2
  }

  .cr-job-go {
    grid-row: 1/3;
    grid-column: 3
  }
}

@media (max-width:900px) {
  .cr-apply {
    grid-template-columns: 1fr
  }
}

@media (max-width:640px) {
  .cr-why {
    grid-template-columns: 1fr
  }

  .cr-why-item {
    border-right: 0;
    border-bottom: 1px solid var(--cr-line)
  }

  .cr-why-item:last-child {
    border-bottom: 0
  }

  .cr-row {
    grid-template-columns: 1fr;
    gap: 0
  }

  .cr-job {
    grid-template-columns: 1fr auto;
    gap: 10px 16px;
    padding: 26px 4px
  }

  .cr-job-no {
    display: none
  }

  .cr-job-meta,
  .cr-job-go {
    grid-column: auto;
    grid-row: auto
  }

  .cr-job-meta {
    grid-column: 1/2;
    grid-row: 2
  }

  .cr-job-go {
    grid-column: 2/3;
    grid-row: 1/3;
    width: 42px;
    height: 42px
  }

  .cr-btn {
    width: 100%
  }
}

/* hero css start by  */
 /* hero css — brick wall gallery */
.slider {
  position: relative;
  margin-top: var(--nav-h);
  height: calc(100svh - var(--nav-h));
  min-height: 520px;
  overflow: hidden;
  background: #2a2623;               /* mortar colour */
  padding: 0;
}

.slider::after {
  display: none;
}

#slides {
  display: none;
}

/* 12 columns: full brick = 2 columns, half brick = 1 column */
.g-grid {
  height: 100%;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(5, minmax(0, 1fr));
  gap: clamp(4px, .5vw, 8px);        /* mortar thickness */
}

.g-tile {
  grid-column: span 2;
  position: relative;
  display: block;
  padding: 0;
  overflow: hidden;
  background: #17171a;
  border-radius: 1px;
  cursor: pointer;
  transition: filter .6s var(--ease), opacity .3s;
  animation: gIn .9s var(--ease) calc(.4s + var(--i) * 45ms) backwards;
}

/* brick depth */
.g-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07),
              inset 0 -10px 16px rgba(0, 0, 0, .35);
  transition: opacity .5s;
}

.g-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.72) saturate(.9);
  transition: transform 1s var(--ease), filter .5s;
}

.g-tile:hover img,
.g-tile:focus-visible img {
  transform: scale(1.1);
  filter: brightness(1) saturate(1.05);
}

.g-tile:hover::after {
  opacity: .3;
}

.g-tile.is-hidden {
  visibility: hidden;
}

/* other bricks fade + blur while one is zoomed */
.slider.is-zoomed .g-tile {
  filter: blur(4px) brightness(.55);
}

/* desktop half bricks (rows of 6 / 7 / 6 / 7 / 6 = 32) */
@media (min-width: 1025px) {
  .g-tile:nth-child(7),
  .g-tile:nth-child(13),
  .g-tile:nth-child(20),
  .g-tile:nth-child(26) {
    grid-column: span 1;
  }
}

@keyframes gIn {
  from {
    opacity: 0;
    transform: scale(.88) translateY(18px);
  }
}

/* ---------- Zoom layer ---------- */
.g-zoom {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: none;
}

.g-zoom.open {
  display: block;
}

.gz-back {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 10, .86);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity .5s ease;
}

.g-zoom.show .gz-back {
  opacity: 1;
}

.gz-box {
  position: absolute;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .6);
  cursor: zoom-out;
  transition: left .65s var(--ease), top .65s var(--ease), width .65s var(--ease), height .65s var(--ease);
}

.gz-box img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .25s ease;
}

.gz-box.swap img {
  opacity: 0;
}

.gz-btn {
  position: absolute;
  z-index: 2;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .45);
  background: rgba(0, 0, 0, .35);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity .4s ease, background .3s, color .3s;
}

.g-zoom.show .gz-btn {
  opacity: 1;
  transition-delay: .25s, 0s, 0s;
}

.gz-btn:hover {
  background: #fff;
  color: #111;
}

.gz-close {
  top: calc(18px + env(safe-area-inset-top, 0px));
  right: 18px;
}

.gz-prev,
.gz-next {
  top: 50%;
  margin-top: -26px;
}

.gz-prev {
  left: 18px;
}

.gz-next {
  right: 18px;
}

/* ---------- Responsive ---------- */

/* Tablet: rows of 5 (half + 3 full + half) and 4 full, alternating = 32 exactly */
@media (min-width: 561px) and (max-width: 1024px) {
  .slider {
    height: auto;
    min-height: 0;
  }

  .g-grid {
    height: auto;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    grid-template-rows: none;
    grid-auto-rows: 15vw;
  }

  .g-tile:nth-child(9n+1),
  .g-tile:nth-child(9n+5) {
    grid-column: span 1;
  }
}

/* Mobile: 2 bricks per row, next row = half + 1 full + half */
@media (max-width: 560px) {
  .slider {
    height: auto;
    min-height: 0;
  }

  .g-grid {
    height: auto;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: none;
    grid-auto-rows: 27vw;
  }

  .g-tile:nth-child(5n+3),
  .g-tile:nth-child(5n+5) {
    grid-column: span 1;
  }

  .gz-btn {
    width: 42px;
    height: 42px;
    margin-top: -21px;
  }

  .gz-close {
    margin-top: 0;
  }

  .gz-prev {
    left: 8px;
  }

  .gz-next {
    right: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .g-tile {
    animation: none;
  }
}
/* hearo end css by */