/* ═══════════════════════════════════════════════════════
   TALLERS CLIP — CSS 
   ═══════════════════════════════════════════════════════ */

/* ── Reset ── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box
}

/* ── Design tokens ── */
:root {
  --brand: #080809;
  --brand-r: #0e0e10;
  --brand-c: #131316;
  --brand-i: #0e0e10;
  --accent: #4f8fff;
  --accent-h: #6ea3ff;
  --txt: #eaeaee;
  --txt-m: #8b8b96;
  --txt-f: #55555f;
  --bdr: rgba(255, 255, 255, 0.06);
  --bdr-h: rgba(255, 255, 255, 0.12);
  --font-d: 'Outfit', system-ui, sans-serif;
  --font-b: 'DM Sans', system-ui, sans-serif;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
  font-size: 100%;
}

body {
  background: var(--brand);
  font-family: var(--font-b);
  color: var(--txt);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto
}

a {
  color: inherit;
  text-decoration: none
}

ul,
ol {
  list-style: none
}

button {
  border: none;
  background: none;
  font: inherit;
  color: inherit
}

input,
textarea,
select {
  font: inherit;
  color: inherit
}

::selection {
  background: #4f8fff;
  color: #fff
}

/* ── Layout utilities ── */
.max-w-site {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto
}

.px-site {
  padding-left: 1rem;
  padding-right: 1rem
}

@media(min-width:1024px) {
  .px-site {
    padding-left: 1.5rem;
    padding-right: 1.5rem
  }
}

.flex {
  display: flex
}

.flex-col {
  flex-direction: column
}

.flex-wrap {
  flex-wrap: wrap
}

.items-center {
  align-items: center
}

.items-stretch {
  align-items: stretch
}

.justify-between {
  justify-content: space-between
}

.justify-center {
  justify-content: center
}

.relative {
  position: relative
}

.absolute {
  position: absolute
}

.fixed {
  position: fixed
}

.inset-0 {
  inset: 0
}

.z-0 {
  z-index: 0
}

.z-10 {
  z-index: 10
}

.overflow-hidden {
  overflow: hidden
}

.overflow-x-hidden {
  overflow-x: hidden
}

.overflow-x-auto {
  overflow-x: auto
}

.w-full {
  width: 100%
}

.h-full {
  height: 100%
}

.min-h-screen {
  min-height: 100vh
}

.block {
  display: block
}

.hidden {
  display: none !important
}

.shrink-0 {
  flex-shrink: 0
}

.grow {
  flex-grow: 1
}

.antialiased {
  -webkit-font-smoothing: antialiased
}

/* ── Spacing ── */
.gap-1 {
  gap: .25rem
}

.gap-1\.5 {
  gap: .375rem
}

.gap-2 {
  gap: .5rem
}

.gap-2\.5 {
  gap: .625rem
}

.gap-3 {
  gap: .75rem
}

.gap-3\.5 {
  gap: .875rem
}

.gap-4 {
  gap: 1rem
}

.gap-5 {
  gap: 1.25rem
}

.gap-6 {
  gap: 1.5rem
}

.gap-8 {
  gap: 2rem
}

.gap-10 {
  gap: 2.5rem
}

.mt-3 {
  margin-top: .75rem
}

.mt-4 {
  margin-top: 1rem
}

.mb-1\.5 {
  margin-bottom: .375rem
}

.mb-3 {
  margin-bottom: .75rem
}

.mb-4 {
  margin-bottom: 1rem
}

.mb-5 {
  margin-bottom: 1.25rem
}

.mb-6 {
  margin-bottom: 1.5rem
}

.mb-8 {
  margin-bottom: 2rem
}

.mb-10 {
  margin-bottom: 2.5rem
}

.ml-3 {
  margin-left: .75rem
}

.p-3 {
  padding: .75rem
}

.pt-5 {
  padding-top: 1.25rem
}

.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem
}

.py-0\.5 {
  padding-top: .125rem;
  padding-bottom: .125rem
}

.px-2\.5 {
  padding-left: .625rem;
  padding-right: .625rem
}

.px-3\.5 {
  padding-left: .875rem;
  padding-right: .875rem
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem
}

.py-1 {
  padding-top: .25rem;
  padding-bottom: .25rem
}

.py-1\.5 {
  padding-top: .375rem;
  padding-bottom: .375rem
}

.py-2 {
  padding-top: .5rem;
  padding-bottom: .5rem
}

.py-2\.5 {
  padding-top: .625rem;
  padding-bottom: .625rem
}

/* ── Grid ── */
.grid {
  display: grid
}

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr))
}

@media(min-width:640px) {
  .sm\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }

  .sm\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr))
  }

  .sm\:flex-row {
    flex-direction: row
  }

  .sm\:inline {
    display: inline
  }
}

@media(min-width:768px) {
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }
}

@media(min-width:1024px) {
  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr))
  }

  .lg\:grid-about {
    grid-template-columns: 0.9fr 1.1fr
  }

  .lg\:grid-contact {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }

  .lg\:px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem
  }

  .lg\:-left-12 {
    left: -3rem
  }

  .lg\:-right-12 {
    right: -3rem
  }
}

@media(min-width:640px) {
  .sm\:-left-5 {
    left: -1.25rem
  }

  .sm\:-right-5 {
    right: -1.25rem
  }

  .sm\:flex {
    display: flex
  }
}

/* ── Object-fit ── */
.object-cover {
  object-fit: cover
}

.object-right {
  object-position: right
}

/* ── Typography ── */
.font-display {
  font-family: var(--font-d)
}

.font-body {
  font-family: var(--font-b)
}

.font-semibold {
  font-weight: 600
}

.font-bold {
  font-weight: 700
}

.font-extrabold {
  font-weight: 800
}

.font-medium {
  font-weight: 500
}

.uppercase {
  text-transform: uppercase
}

.tracking-widest {
  letter-spacing: .1em
}

.tracking-tight {
  letter-spacing: -.025em
}

.leading-relaxed {
  line-height: 1.65
}

.text-xs {
  font-size: .75rem
}

.text-sm {
  font-size: .875rem
}

.text-base {
  font-size: 1rem
}

.text-txt {
  color: var(--txt)
}

.text-txt-muted {
  color: var(--txt-m)
}

.text-txt-faint {
  color: var(--txt-f)
}

.text-accent {
  color: var(--accent)
}

.text-white {
  color: #fff
}

.text-green-400 {
  color: #34d399
}

.text-red-400 {
  color: #f87171
}

/* ── Backgrounds ── */
.bg-brand {
  background: var(--brand)
}

.bg-brand-raised {
  background: var(--brand-r)
}

.bg-brand-card {
  background: var(--brand-c)
}

.bg-brand-input {
  background: var(--brand-i)
}

.bg-accent {
  background: var(--accent)
}

.bg-green-400\/10 {
  background: rgba(52, 211, 153, .1)
}

.bg-red-400\/10 {
  background: rgba(248, 113, 113, .1)
}

.bg-bdr {
  background: var(--bdr)
}

.bg-white\/\[0\.03\] {
  background: rgba(255, 255, 255, 0.03)
}

.bg-white\/\[0\.04\] {
  background: rgba(255, 255, 255, 0.04)
}

.bg-black\/70 {
  background: rgba(0, 0, 0, .7)
}

/* ── Borders ── */
.border {
  border: 1px solid var(--bdr)
}

.border-t {
  border-top: 1px solid var(--bdr)
}

.border-b {
  border-bottom: 1px solid var(--bdr)
}

.border-bdr {
  border-color: var(--bdr)
}

.border-bdr-hover {
  border-color: var(--bdr-h)
}

.border-accent\/30 {
  border-color: rgba(79, 143, 255, .3)
}

.border-green-400\/20 {
  border-color: rgba(52, 211, 153, .2)
}

.border-red-400\/20 {
  border-color: rgba(248, 113, 113, .2)
}

/* ── Border-radius ── */
.rounded-lg {
  border-radius: .5rem
}

.rounded-xl {
  border-radius: .75rem
}

.rounded-2xl {
  border-radius: 1rem
}

.rounded-full {
  border-radius: 9999px
}

/* ── Shadows / backdrop ── */
.shadow-2xl {
  box-shadow: 0 25px 50px rgba(0, 0, 0, .5)
}

.backdrop-blur-xl {
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px)
}

/* ── Aspect ratio ── */
.aspect-\[4\/5\] {
  aspect-ratio: 4/5
}

.aspect-\[4\/3\] {
  aspect-ratio: 4/3
}

/* ── Transitions ── */
.transition-all {
  transition: all .3s
}

.transition-colors {
  transition: color .18s, background .18s, border-color .18s
}

.transition-transform {
  transition: transform .3s
}

.duration-300 {
  transition-duration: .3s
}

.duration-500 {
  transition-duration: .5s
}

.duration-700 {
  transition-duration: .7s
}

.duration-\[900ms\] {
  transition-duration: .9s
}

.ease-out {
  transition-timing-function: ease-out
}

/* ── Transform ── */
.translate-y-1 {
  transform: translateY(.25rem)
}

.-translate-y-1\/2 {
  transform: translateY(-50%)
}

.rotate-180 {
  transform: rotate(180deg)
}

/* ── Visibility ── */
.opacity-0 {
  opacity: 0
}

.opacity-85 {
  opacity: .85
}

.invisible {
  visibility: hidden
}

.pointer-events-none {
  pointer-events: none
}

/* ── Animate spin ── */
@keyframes spin {
  to {
    transform: rotate(360deg)
  }
}

.animate-spin {
  animation: spin 1s linear infinite
}

/* ── Max width helpers ── */
.max-w-\[520px\] {
  max-width: 520px
}

.max-w-\[540px\] {
  max-width: 540px
}

.max-w-\[560px\] {
  max-width: 560px
}

/* ── Size helpers ── */
.w-2\.5 {
  width: .625rem
}

.h-2\.5 {
  height: .625rem
}

.w-3 {
  width: .75rem
}

.h-3 {
  height: .75rem
}

.w-4 {
  width: 1rem
}

.h-4 {
  height: 1rem
}

.w-9 {
  width: 2.25rem
}

.h-9 {
  height: 2.25rem
}

.w-10 {
  width: 2.5rem
}

.h-10 {
  height: 2.5rem
}

.w-28 {
  width: 7rem
}

.min-h-\[80px\] {
  min-height: 80px
}

.min-h-\[440px\] {
  min-height: 440px
}

.h-\[220px\] {
  height: 220px
}

/* ── Outline ── */
.outline-none {
  outline: none
}

/* ── Resize ── */
.resize-y {
  resize: vertical
}

/* ── Focus ring ── */
.focus\:border-accent:focus {
  border-color: var(--accent)
}

.focus\:shadow-accent:focus {
  box-shadow: 0 0 0 3px rgba(79, 143, 255, .12)
}

/* ── Hover helpers ── */
.hover\:text-txt:hover {
  color: var(--txt)
}

.hover\:text-accent:hover {
  color: var(--accent)
}

.hover\:bg-accent:hover {
  background: var(--accent)
}

.hover\:bg-txt-muted:hover {
  background: var(--txt-m)
}

.hover\:border-bdr-hover:hover {
  border-color: var(--bdr-h)
}

.hover\:scale-105:hover {
  transform: scale(1.05)
}

/* ── Group hover ── */
.group:hover .group-hover\:scale-105 {
  transform: scale(1.05)
}

/* ── Scroll snap (carousel) ── */
.snap-x {
  scroll-snap-type: x mandatory
}

.snap-mandatory {
  scroll-snap-type: x mandatory
}

.scroll-smooth {
  scroll-behavior: smooth
}

.snap-center {
  scroll-snap-align: center
}

.hide-scrollbar {
  scrollbar-width: none
}

.hide-scrollbar::-webkit-scrollbar {
  display: none
}

.pb-2 {
  padding-bottom: .5rem
}

.px-1 {
  padding-left: .25rem;
  padding-right: .25rem
}

/* ── Position helpers ── */
.top-0 {
  top: 0
}

.left-0 {
  left: 0
}

.right-0 {
  right: 0
}

.bottom-4 {
  bottom: 1rem
}

.left-4 {
  left: 1rem
}

.top-full {
  top: 100%
}

.mt-1\.5 {
  margin-top: .375rem
}

.mt-6 {
  margin-top: 1.5rem
}

.min-w-\[100px\] {
  min-width: 100px
}

.right-0 {
  right: 0
}

.-left-5 {
  left: -1.25rem
}

.-right-5 {
  right: -1.25rem
}

.top-\[40\%\] {
  top: 40%
}

.z-\[1000\] {
  z-index: 1000
}

.z-\[1001\] {
  z-index: 1001
}

.z-10 {
  z-index: 10
}

/* ── Space Y ── */
.space-y-3>*+* {
  margin-top: .75rem
}

/* ════════════════════════════════════════════
   COMPONENT STYLES
   ════════════════════════════════════════════ */

/* ── Loader ── */
.loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: #080809;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .6s var(--ease-out), visibility .6s
}

.loader.done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none
}

.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px
}

.loader-logo {
  width: 130px;
  max-width: 60vw;
  height: auto;
  animation: logoPulse 1.8s ease-in-out infinite;
}

@keyframes logoPulse {

  0%,
  100% {
    transform: scale(0.95);
    opacity: 0.6;
  }

  50% {
    transform: scale(1.05);
    opacity: 1;
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.15));
  }
}

/* ── Typography helpers ── */
.heading-lg {
  font-family: var(--font-d);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.025em;
  color: var(--txt)
}

.label {
  font-family: var(--font-d);
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--accent);
  margin-bottom: 12px
}

/* ── Buttons ── */
.btn-main {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-d);
  font-size: .85rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 60px;
  background: var(--accent);
  color: #fff;
  transition: all .45s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.btn-main::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 60px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .12), transparent);
  opacity: 0;
  transition: opacity .45s
}

.btn-main:hover::before {
  opacity: 1
}

.btn-main:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(79, 143, 255, .25)
}

.btn-main:active {
  transform: translateY(0)
}

.btn-main svg {
  transition: transform .45s var(--ease-out)
}

.btn-main:hover svg {
  transform: translateX(3px)
}

.btn-main.w-full {
  width: 100%;
  justify-content: center
}

.\!rounded-lg {
  border-radius: .5rem !important
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-d);
  font-size: .85rem;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: 60px;
  border: 1px solid rgba(255, 255, 255, .12);
  color: var(--txt-m);
  transition: all .45s var(--ease-out);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(79, 143, 255, .08)
}

/* ── Header ── */
#header {
  transition: all .5s
}

#header.pinned {
  padding-top: 12px !important;
  padding-bottom: 12px !important;
  background: rgba(8, 8, 9, .82);
  backdrop-filter: blur(24px) saturate(1.6);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
}

/* ── Nav ── */
.nav-item {
  font-family: var(--font-d);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--txt-m);
  padding: 9px 18px;
  border-radius: 60px;
  transition: color .18s, background .18s;
  position: relative;
}

.nav-item:hover {
  color: var(--txt)
}

.nav-item.active {
  color: var(--txt)
}

.nav-item.active::after {
  content: '';
  position: absolute;
  bottom: 1px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent)
}

.nav-item.cta {
  background: var(--accent);
  color: #fff;
  margin-left: 8px;
  padding: 9px 22px
}

.nav-item.cta:hover {
  background: var(--accent-h)
}

.nav-item.cta.active::after {
  display: none
}

/* Mobile menu button */
.menu-btn span,
.menu-btn::before,
.menu-btn::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--txt);
  border-radius: 2px;
  transition: all .3s var(--ease-out)
}

.menu-btn::before {
  top: 0
}

.menu-btn span {
  top: 50%;
  transform: translateY(-50%)
}

.menu-btn::after {
  bottom: 0
}

.menu-btn.open::before {
  top: 50%;
  transform: translateY(-50%) rotate(45deg)
}

.menu-btn.open span {
  opacity: 0
}

.menu-btn.open::after {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg)
}

/* ── Hero ── */
.hero-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, #080809 0%, #080809 30%, rgba(8, 8, 9, .72) 52%, rgba(8, 8, 9, .45) 100%)
}

/* ── Reveal animations ── */
.reveal-line span {
  display: inline-block;
  transform: translateY(110%);
  animation: slideUp .9s var(--ease-out) forwards
}

.reveal-line:nth-child(2) span {
  animation-delay: .12s
}

.reveal-line:nth-child(3) span {
  animation-delay: .24s
}

@keyframes slideUp {
  to {
    transform: translateY(0)
  }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out)
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0)
}

.reveal.visible .reveal-child {
  opacity: 1;
  transform: translateY(0)
}

.reveal-child {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out)
}

/* ── Timeline ── */
.timeline-strip {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none
}

.timeline-strip::-webkit-scrollbar {
  display: none
}

.tl-node {
  flex: 0 0 220px;
  padding-right: 24px;
  position: relative
}

.tl-node::before {
  content: attr(data-year);
  position: absolute;
  top: -38px;
  left: 0;
  font-family: var(--font-d);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--accent)
}

.tl-dot {
  position: absolute;
  top: -6px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand);
  border: 2px solid var(--accent);
  box-shadow: 0 0 0 4px rgba(79, 143, 255, .08);
  transition: background .18s
}

.tl-node:hover .tl-dot {
  background: var(--accent)
}

/* ── Filters ── */
.filter {
  font-family: var(--font-d);
  font-size: .78rem;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 60px;
  border: 1px solid rgba(255, 255, 255, .06);
  color: var(--txt-m);
  transition: all .3s;
  cursor: pointer;
}

.filter:hover {
  border-color: rgba(255, 255, 255, .12);
  color: var(--txt)
}

.filter.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff
}

/* ── Projects ── */
.project {
  transition: opacity .5s, transform .5s var(--ease-out)
}

.project.hidden-card {
  display: none !important
}

.project-thumb:hover img {
  transform: scale(1.04)
}

.project-hover {
  display: none !important
}

/* ── Carousel ── */
.category-block {
  position: relative;
  overflow: visible;
  /* arrows at -3rem must NOT be clipped */
}

.carousel-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  width: 100%;
}

.carousel-track::-webkit-scrollbar {
  display: none
}

.carousel-slide {
  width: 100%;
  flex-shrink: 0;
  scroll-snap-align: center;
  padding: 0 .25rem;
}

/* Carousel arrows */
.carousel-prev,
.carousel-next {
  display: none;
  /* hidden on mobile */
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  z-index: 10;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: var(--brand-c);
  border: 1px solid var(--bdr);
  color: #fff;
  transition: background .2s;
  cursor: pointer;
}

.carousel-prev {
  left: -3rem
}

.carousel-next {
  right: -3rem
}

.carousel-prev:hover,
.carousel-next:hover {
  background: var(--accent)
}

@media(min-width:640px) {

  .carousel-prev,
  .carousel-next {
    display: flex
  }

  /* show on desktop via CSS, no JS needed */
}

/* ── Overlay ── */
.overlay.active {
  opacity: 1;
  pointer-events: all
}

.overlay.active .overlay-panel {
  transform: translateY(0) scale(1)
}

#overlay-img img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

/* ── Form ── */
.form-msg.success {
  background: rgba(52, 211, 153, .08);
  border: 1px solid rgba(52, 211, 153, .2);
  color: #34d399
}

.form-msg.error {
  background: rgba(248, 113, 113, .08);
  border: 1px solid rgba(248, 113, 113, .2);
  color: #f87171
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(79, 143, 255, .12);
}

/* ── Input/textarea base ── */
.form-input {
  width: 100%;
  padding: .625rem .875rem;
  background: var(--brand-i);
  border: 1px solid var(--bdr);
  border-radius: .5rem;
  color: var(--txt);
  font-size: .9rem;
  transition: border-color .2s, box-shadow .2s;
}

.form-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(79, 143, 255, .12);
  outline: none;
}

/* ── Language dropdown ── */
#lang-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0)
}

#lang-btn svg {
  transition: transform .3s
}

.lang-open #lang-btn svg {
  transform: rotate(180deg)
}

/* ── Service card ── */
.srv-card {
  background: var(--brand-c);
  border: 1px solid var(--bdr);
  border-radius: 1rem;
  overflow: hidden;
  transition: border-color .5s;
}

.srv-card:hover {
  border-color: rgba(79, 143, 255, .3)
}

.srv-img {
  overflow: hidden;
  height: 220px
}

.srv-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s ease-out;
}

.srv-card:hover .srv-img img {
  transform: scale(1.05)
}

.srv-body {
  padding: clamp(24px, 3vw, 32px)
}

.srv-num {
  font-family: var(--font-d);
  font-size: .65rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: .1em;
  background: rgba(79, 143, 255, .1);
  padding: .25rem .625rem;
  border-radius: 9999px;
}

.srv-title {
  font-family: var(--font-d);
  font-size: 1.15rem;
  font-weight: 700
}

.srv-desc {
  font-size: .85rem;
  color: var(--txt-m);
  line-height: 1.65;
  margin-bottom: 1rem
}

.srv-tag {
  font-size: .72rem;
  color: var(--txt-f);
  background: rgba(255, 255, 255, .04);
  padding: .375rem .75rem;
  border-radius: 9999px;
  border: 1px solid var(--bdr);
}

/* ── Project card ── */
.proj-card {
  background: var(--brand-c);
  border: 1px solid var(--bdr);
  border-radius: 1rem;
  padding: .75rem;
}

.proj-thumb {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: .75rem;
  overflow: hidden;
}

.proj-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .9s ease-out;
}

.proj-thumb:hover img {
  transform: scale(1.05)
}

/* Responsive grid inside carousel slides */
.proj-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media(min-width:640px) {
  .proj-grid {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media(min-width:1024px) {
  .proj-grid {
    grid-template-columns: repeat(3, 1fr)
  }
}

/* ── Contact info ── */
.contact-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: .5rem;
  background: rgba(79, 143, 255, .1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── Map lazy container ── */
.map-container {
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--bdr);
  min-height: 440px;
  background: var(--brand-c);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  min-height: 440px;
  border: 0;
  filter: invert(90%) hue-rotate(180deg) brightness(0.95) contrast(0.9);
}

.map-placeholder {
  width: 100%;
  min-height: 440px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--txt-m);
  font-family: var(--font-d);
  font-size: .9rem;
  cursor: pointer;
  background: var(--brand-c);
  border: none;
  border-radius: 1rem;
}

.map-placeholder svg {
  color: var(--accent)
}

/* ══════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════ */
@media(max-width:1024px) {
  .hero-visual::after {
    background: linear-gradient(180deg, #080809 10%, rgba(8, 8, 9, .65) 50%, #080809 95%)
  }
}

@media(max-width:768px) {
  .nav {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(8, 8, 9, .97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .45s
  }

  .nav.open {
    opacity: 1;
    pointer-events: all
  }

  .nav-item {
    font-size: 1.35rem;
    padding: 12px 24px
  }

  .nav-item.cta {
    margin-left: 0;
    margin-top: 8px
  }

  .menu-btn {
    display: block !important;
    position: relative;
    width: 28px;
    height: 20px;
    z-index: 1001;
  }

  .about-grid {
    grid-template-columns: 1fr !important
  }

  body,
  a,
  button,
  .filter,
  .project,
  .btn-main,
  .btn-ghost,
  .nav-item,
  .menu-btn {
    cursor: auto !important
  }
}

@media(max-width:480px) {
  #projects-grid {
    grid-template-columns: 1fr !important
  }
}

@media print {

  #header,
  .loader {
    display: none
  }

  body {
    background: #fff;
    color: #111
  }
}