﻿:root {
  --font-ui: "Poppins", "Segoe UI", sans-serif;
  --bg: #050607;
  --bg-2: #0b0f15;
  --text: #f3f6fb;
  --text-muted: #b8c3d6;
  --accent: #e52b2b;
  --accent-2: #f5c36b;
  --panel: rgba(255, 255, 255, 0.06);
  --panel-strong: rgba(255, 255, 255, 0.1);
  --panel-dark: rgba(6, 9, 16, 0.65);
  --glass: rgba(13, 17, 27, 0.48);
  --border: rgba(255, 255, 255, 0.14);
  --border-strong: rgba(255, 255, 255, 0.2);
  --radius-xs: 10px;
  --radius-sm: 14px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --space-1: clamp(0.35rem, 0.3vw + 0.25rem, 0.6rem);
  --space-2: clamp(0.6rem, 0.4vw + 0.35rem, 0.9rem);
  --space-3: clamp(0.9rem, 0.7vw + 0.35rem, 1.3rem);
  --space-4: clamp(1.1rem, 1vw + 0.4rem, 1.7rem);
  --space-5: clamp(1.4rem, 1.3vw + 0.5rem, 2.2rem);
  --space-6: clamp(1.8rem, 1.6vw + 0.7rem, 2.8rem);
  --space-7: clamp(2.4rem, 2.4vw + 0.9rem, 3.9rem);
  --space-8: clamp(3rem, 3.5vw + 1.2rem, 5rem);
  --shadow-1: 0 12px 30px rgba(0, 0, 0, 0.3);
  --shadow-2: 0 20px 52px rgba(0, 0, 0, 0.4);
  --shadow-3: 0 34px 88px rgba(0, 0, 0, 0.54);
  --shadow-float: 0 30px 64px rgba(0, 0, 0, 0.48), 0 10px 26px rgba(0, 0, 0, 0.35);
  --shadow-inset: inset 0 1px 0 rgba(255, 255, 255, 0.22);
  --ring: 0 0 0 2px rgba(229, 43, 43, 0.55);
  --max-content: min(1240px, 92vw);
  --ease-standard: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(125% 90% at 8% 8%, rgba(229, 43, 43, 0.15), transparent 44%),
    radial-gradient(110% 95% at 94% 2%, rgba(82, 127, 214, 0.16), transparent 46%),
    linear-gradient(180deg, #05070d 0%, #050607 46%, #0b1018 100%);
  color: var(--text);
  font-family: var(--font-ui);
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  z-index: -2;
  opacity: 0.15;
  background-image:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.015) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.012) 0 1px, transparent 1px 4px);
}

body::after {
  z-index: -1;
  background:
    radial-gradient(120% 80% at 50% -10%, transparent 30%, rgba(0, 0, 0, 0.5) 100%),
    radial-gradient(90% 80% at 50% 130%, rgba(0, 0, 0, 0.52), transparent 70%);
}

[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease-standard), transform 0.8s var(--ease-standard);
}

[data-animate].animate-in {
  opacity: 1;
  transform: translateY(0);
}

@keyframes float3d {
  0% {
    translate: 0 0;
  }

  50% {
    translate: 0 -7px;
  }

  100% {
    translate: 0 0;
  }
}

@keyframes glowPulse {
  0% {
    filter: saturate(1) brightness(1);
  }

  50% {
    filter: saturate(1.08) brightness(1.04);
  }

  100% {
    filter: saturate(1) brightness(1);
  }
}

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

img,
video {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #fff;
  line-height: 1.16;
  letter-spacing: -0.02em;
  margin: 0;
}

h1 {
  font-size: clamp(2.2rem, 3.8vw, 4rem);
}

h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
}

p {
  color: var(--text-muted);
  line-height: 1.75;
}

:focus-visible {
  outline: 2px solid rgba(229, 43, 43, 0.85);
  outline-offset: 3px;
}

.container,
.content-limit,
.case-page .case-container,
.projects-shell,
.projects-header,
.project-gallery,
.mission-vision-section,
.contact-section,
.about-section,
.projects-grid {
  width: var(--max-content);
  margin-inline: auto;
}

.section {
  padding-block: var(--space-8);
}

.stack > * + * {
  margin-top: var(--space-4);
}

.grid {
  display: grid;
  gap: var(--space-4);
}

.text-muted {
  color: var(--text-muted);
}

.shadow-sm {
  box-shadow: var(--shadow-1);
}

.shadow-md {
  box-shadow: var(--shadow-2);
}

.shadow-lg {
  box-shadow: var(--shadow-3);
}

.radius-sm {
  border-radius: var(--radius-sm);
}

.radius-md {
  border-radius: var(--radius-md);
}

.radius-lg {
  border-radius: var(--radius-lg);
}

.glass,
.card,
.media-tile,
.hero-shell,
.contact-card,
.mission-box,
.vision-box,
.video-card,
.project-card,
.hero-media-card,
.hero-preview,
.hero-text,
.contact-form-box,
.about-text,
.about-image,
.gallery-item,
.case-page .hero-content-wrapper,
.case-page .meta-card,
.case-page .media-item,
.case-page .hero-banner,
.projects-grid .card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-2), var(--shadow-inset);
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
}

.hero-shell {
  display: grid;
  gap: var(--space-5);
}

.btn,
.subproject-button,
.contact-form button {
  --btn-base: rgba(255, 255, 255, 0.08);
  --btn-border: rgba(255, 255, 255, 0.24);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  border: 1px solid var(--btn-border);
  color: #fff;
  background: linear-gradient(160deg, var(--btn-base), rgba(255, 255, 255, 0.04));
  box-shadow: var(--shadow-1), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: border-color 0.28s var(--ease-standard),
    box-shadow 0.28s var(--ease-standard),
    background-color 0.28s var(--ease-standard);
}

.btn::before,
.subproject-button::before,
.contact-form button::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.04) 45%);
  opacity: 0.6;
  pointer-events: none;
}

.btn-primary,
.contact-form button,
.subproject-button {
  --btn-base: rgba(229, 43, 43, 0.5);
  --btn-border: rgba(255, 181, 181, 0.6);
  box-shadow: 0 14px 34px rgba(229, 43, 43, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.btn:hover,
.subproject-button:hover,
.contact-form button:hover {
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.36);
}

.btn:active,
.subproject-button:active,
.contact-form button:active {
  transform: translateY(1px) scale(0.99);
}

.chip,
.meta-pill,
.hero-meta-chip,
.case-pill,
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06));
  color: #fff;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 600;
}

.media-tile img,
.media-item img,
.project-media img,
.gallery-item img {
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3), 0 18px 34px rgba(0, 0, 0, 0.26);
  transform: translateZ(8px);
  transition: transform 0.35s var(--ease-standard), filter 0.35s var(--ease-standard);
}

.media-tile:hover img,
.media-item:hover img,
.project-media img:hover,
.gallery-item:hover img {
  transform: translateZ(14px) scale(1.04);
  filter: saturate(1.08);
}

.hero-image,
.hero-preview img,
#heroImage {
  animation: glowPulse 9.5s ease-in-out infinite;
}

.media-tile,
.video-card,
.service-card,
.projects-grid .card,
.projects-shell .project-card,
.case-page .media-item,
.gallery-item,
.hero-media-card,
.hero-preview,
.about-image,
.contact-card,
.mission-box,
.vision-box,
.contact-form-box,
.hero-text,
.case-page .hero-content-wrapper {
  position: relative;
  isolation: isolate;
  transform-style: preserve-3d;
}

.video-card::before,
.service-card::before,
.projects-grid .card::before,
.projects-shell .project-card::before,
.case-page .media-item::before,
.gallery-item::before,
.about-image::before,
.contact-card::before,
.mission-box::before,
.vision-box::before,
.contact-form-box::before,
.hero-text::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.03) 50%);
  opacity: 0.55;
}

.video-card::after,
.service-card::after,
.projects-grid .card::after,
.projects-shell .project-card::after,
.case-page .media-item::after,
.gallery-item::after,
.about-image::after,
.contact-card::after,
.mission-box::after,
.vision-box::after,
.contact-form-box::after,
.hero-text::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 8%;
  right: 8%;
  bottom: -16px;
  height: 24px;
  border-radius: 999px;
  pointer-events: none;
  background: radial-gradient(50% 85% at 50% 50%, rgba(0, 0, 0, 0.52), transparent 78%);
  filter: blur(8px);
  opacity: 0.8;
}

[data-tilt] {
  --tilt-rx: 0deg;
  --tilt-ry: 0deg;
  --tilt-lift: 0px;
  --tilt-z: 0px;
  transform-style: preserve-3d;
  transform: perspective(1100px)
    rotateX(var(--tilt-rx))
    rotateY(var(--tilt-ry))
    translate3d(0, calc(var(--tilt-lift) * -1), var(--tilt-z));
  transition: transform 0.28s var(--ease-standard),
    box-shadow 0.28s var(--ease-standard),
    border-color 0.28s var(--ease-standard),
    background-color 0.28s var(--ease-standard);
  will-change: transform;
}

[data-tilt]:hover {
  --tilt-lift: 10px;
}

.btn[data-tilt],
.subproject-button[data-tilt],
.contact-form button[data-tilt] {
  animation: float3d 7.4s ease-in-out infinite;
}

.video-card,
.service-card,
.projects-grid .card,
.projects-shell .project-card,
.case-page .media-item,
.gallery-item,
.hero-media-card,
.hero-preview,
.about-image,
.contact-card,
.mission-box,
.vision-box,
.contact-form-box,
.hero-text {
  animation: float3d 8s ease-in-out infinite;
}

.video-card:nth-child(2n),
.service-card:nth-child(2n),
.projects-grid .card:nth-child(2n),
.projects-shell .project-card:nth-child(2n),
.case-page .media-item:nth-child(2n),
.gallery-item:nth-child(2n),
.contact-card:nth-child(2n) {
  animation-duration: 9.6s;
  animation-delay: -1.7s;
}

.video-card:nth-child(3n),
.service-card:nth-child(3n),
.projects-grid .card:nth-child(3n),
.projects-shell .project-card:nth-child(3n),
.case-page .media-item:nth-child(3n),
.gallery-item:nth-child(3n),
.mission-box,
.vision-box {
  animation-duration: 11.5s;
  animation-delay: -2.2s;
}

.hero-media-card,
.hero-preview,
.hero-text,
.contact-form-box,
.about-image {
  animation-duration: 10.2s;
}

/* Navbar + shared chrome */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1100;
  backdrop-filter: blur(18px) saturate(135%);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
  background: linear-gradient(180deg, rgba(8, 11, 19, 0.78), rgba(8, 11, 19, 0.58));
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.34);
}

.nav-shell {
  width: var(--max-content);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
}

.logo img {
  height: 46px;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.35));
}

.nav-menu {
  gap: 0.45rem;
}

.nav-menu li a,
.services-link {
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.55rem 0.9rem;
  color: var(--text-muted);
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.nav-menu li a:hover,
.nav-menu li a:focus-visible,
.services-link:hover,
.services-link:focus-visible {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.08);
}

.services-trigger,
.menu-toggle {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.dropdown-menu {
  background: rgba(8, 11, 18, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  box-shadow: var(--shadow-2);
}

#site-footer {
  position: relative;
  z-index: 1;
}

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, rgba(4, 6, 11, 0.9), rgba(2, 4, 8, 0.94));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* Home page */
main {
  display: flex;
  flex-direction: column;
  gap: clamp(3rem, 4vw, 5.25rem);
}

.hero-section {
  padding: clamp(6.5rem, 9vw, 8.8rem) 0 clamp(4.2rem, 7vw, 6.4rem);
  background:
    radial-gradient(90% 80% at 0% 0%, rgba(229, 43, 43, 0.16), transparent 50%),
    radial-gradient(86% 78% at 100% 8%, rgba(112, 132, 255, 0.18), transparent 48%),
    transparent;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  align-items: center;
  gap: clamp(1.4rem, 3vw, 2.8rem);
}

.hero-copy h1 {
  margin: 0.6rem 0 0.8rem;
  font-size: clamp(2rem, 3vw + 0.5rem, 3.3rem);
}

.hero-copy .lede,
.section-subtitle {
  margin: 0;
  max-width: 66ch;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.72rem;
  color: #ff8c8c;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: var(--space-4);
}

.hero-actions .btn,
.subproject-button {
  padding: 0.75rem 1.2rem;
}

.hero-media-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 240px;
  position: relative;
  width: min(100%, 680px);
  aspect-ratio: 16 / 9;
}

.hero-media {
  display: grid;
  width: 100%;
  justify-items: center;
  justify-content: center;
}

.hero-media-card .hero-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-media-card::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: calc(var(--radius-xl) - 10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  pointer-events: none;
}

.hero-media-card[data-tilt]:hover {
  --tilt-lift: 10px;
}

.video-showcase {
  padding: clamp(5rem, 8vw, 7.4rem) 0 clamp(3.2rem, 6vw, 4.6rem);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(8, 12, 19, 0.68), rgba(7, 10, 16, 0.92));
}

.section-heading-wrapper {
  margin-bottom: clamp(1.5rem, 2.5vw, 2.2rem);
}

.section-subtitle {
  margin-top: 0.55rem;
  margin-bottom: 1.1rem;
}

.hero-meta,
.hero-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.video-meta {
  display: none;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(0.8rem, 1.3vw, 1.1rem);
}

.video-card,
.service-card {
  border-radius: var(--radius-md);
}

.video-card {
  padding: 0.65rem 0.65rem 0.85rem;
}

.video-card[data-tilt]:hover,
.service-card[data-tilt]:hover {
  --tilt-lift: 9px;
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
}

.video-frame iframe,
.video-frame video,
.video-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-frame iframe {
  border: 0;
}

.video-frame video,
.video-poster {
  transition: transform 0.35s var(--ease-standard);
}

.video-card:hover video,
.video-card:hover .video-poster {
  transform: scale(1.015);
}

.play-button {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(5, 8, 14, 0.54);
  color: #fff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.38);
}

.play-button.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.service-card {
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.03) 42%);
  opacity: 0.6;
  pointer-events: none;
}

.service-card h3,
.video-caption,
.section-heading,
.hero-copy h1 {
  color: #fff;
}

.video-caption {
  padding: 0.72rem 0.3rem 0.2rem;
}

/* Projects landing */
.projects-hero {
  min-height: 78vh;
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  overflow: hidden;
}

.projects-hero::before {
  background:
    linear-gradient(180deg, rgba(3, 4, 7, 0.22), rgba(3, 4, 7, 0.58)),
    radial-gradient(90% 80% at 12% 20%, rgba(229, 43, 43, 0.2), transparent 50%);
}

.projects-hero .hero-inner {
  padding-inline: min(5vw, 64px);
}

.projects-grid {
  padding-top: clamp(2rem, 4vw, 3.6rem);
  padding-bottom: clamp(3rem, 6vw, 4.8rem);
}

.projects-grid .cards-wrapper {
  background: transparent;
}

.projects-grid .card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-2), var(--shadow-inset);
}

.projects-grid .card[data-tilt]:hover {
  --tilt-lift: 11px;
  border-color: rgba(229, 43, 43, 0.52);
  box-shadow: 0 30px 74px rgba(0, 0, 0, 0.56), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.projects-grid .card .label {
  background: linear-gradient(180deg, transparent, rgba(4, 7, 11, 0.92));
}

.scroll-indicator {
  color: rgba(255, 255, 255, 0.8);
}

.subproject-button {
  padding: 0.78rem 1.25rem;
}

.subproject-button[data-tilt]:hover {
  --tilt-lift: 6px;
}

/* About */
.about-section {
  margin-top: clamp(4.5rem, 8vw, 7rem);
  gap: var(--space-5);
  align-items: stretch;
}

.about-text,
.about-image {
  border-radius: var(--radius-lg);
  padding: clamp(1rem, 2vw, 1.4rem);
}

.about-image img {
  border-radius: calc(var(--radius-lg) - 6px);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mission-vision-section {
  margin-block: clamp(2.4rem, 5vw, 4rem) clamp(4rem, 8vw, 6rem);
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mission-box,
.vision-box {
  padding: clamp(1.2rem, 2vw, 1.8rem);
}

.mission-box[data-tilt]:hover,
.vision-box[data-tilt]:hover,
.about-image[data-tilt]:hover {
  --tilt-lift: 9px;
}

/* Contact */
.contact-section {
  margin-top: clamp(4.4rem, 7vw, 6.4rem);
  margin-bottom: clamp(4rem, 8vw, 6rem);
}

.contact-intro {
  gap: var(--space-5);
}

.contact-cards {
  gap: var(--space-4);
}

.contact-card {
  border-radius: var(--radius-md);
  padding: clamp(1rem, 1.7vw, 1.3rem);
}

.contact-card[data-tilt]:hover,
.contact-form-box[data-tilt]:hover {
  --tilt-lift: 8px;
}

.contact-card i {
  color: var(--accent);
}

.contact-form-box {
  border-radius: var(--radius-lg);
  padding: clamp(1rem, 2vw, 1.6rem);
  gap: var(--space-5);
}

.contact-form input,
.contact-form textarea {
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(232, 236, 246, 0.74);
}

.contact-form button {
  padding: 0.75rem 1.2rem;
}

/* Landscape */
.sub-hero {
  margin-top: clamp(4.5rem, 8vw, 7rem);
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: clamp(360px, 52vh, 520px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-3);
}

.sub-hero-overlay {
  background:
    linear-gradient(180deg, rgba(4, 8, 11, 0.22), rgba(4, 8, 11, 0.75)),
    radial-gradient(90% 95% at 12% 16%, rgba(50, 150, 106, 0.24), transparent 44%);
}

.hero-meta span {
  background: rgba(5, 12, 20, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.project-gallery {
  margin-block: clamp(2.6rem, 5vw, 4rem) clamp(4rem, 8vw, 6rem);
}

.gallery-grid {
  gap: clamp(0.8rem, 1.2vw, 1.1rem);
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}

.gallery-item[data-tilt]:hover {
  --tilt-lift: 7px;
}

.gallery-item figcaption {
  background: linear-gradient(180deg, transparent, rgba(5, 8, 14, 0.84));
}

/* Interior page baseline (sub7) */
.interior-hero {
  padding: clamp(6rem, 8vw, 7.8rem) 1.1rem clamp(3rem, 5vw, 4rem);
  background:
    radial-gradient(95% 88% at 15% 16%, rgba(229, 43, 43, 0.18), transparent 46%),
    radial-gradient(92% 84% at 90% 10%, rgba(129, 164, 255, 0.14), transparent 44%);
}

.interior-hero .hero-shell {
  width: min(1240px, 95vw);
  margin: 0 auto;
  grid-template-columns: 1.08fr 0.92fr;
}

.hero-text {
  padding: clamp(1.2rem, 2.5vw, 2rem);
}

.hero-preview {
  min-height: 280px;
  overflow: hidden;
}

.hero-preview[data-tilt]:hover,
.hero-text[data-tilt]:hover {
  --tilt-lift: 9px;
}

.projects-header,
.projects-shell {
  width: min(1400px, 95vw);
}

.projects-header {
  padding: clamp(1.6rem, 3vw, 2.6rem) 0 clamp(0.2rem, 1vw, 0.8rem);
}

.projects-shell {
  margin-bottom: clamp(3.4rem, 7vw, 5.8rem);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(1rem, 1.8vw, 1.4rem);
}

.projects-shell .project-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.projects-shell .project-card[data-tilt]:hover {
  --tilt-lift: 10px;
}

.project-media {
  padding: 0.65rem;
  gap: 0.55rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-media img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.project-body {
  padding: clamp(0.95rem, 1.6vw, 1.3rem);
}

.meta-list {
  gap: 0.55rem;
}

.meta-item {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
}

/* Case page namespace */
body.case-page {
  color: var(--text);
}

.case-page .case-container {
  width: min(1400px, 95vw);
  padding-bottom: clamp(4rem, 7vw, 6rem);
}

.case-page .case-hero {
  padding-top: clamp(5.2rem, 8vw, 7.2rem);
  margin-bottom: clamp(2rem, 5vw, 3.7rem);
  scroll-margin-top: 96px;
}

.case-page .hero-banner {
  position: relative;
  width: 100%;
  margin-bottom: clamp(1.5rem, 3.5vw, 2.6rem);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #05070b;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: var(--shadow-3);
}

.case-page .hero-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(80% 90% at 86% 16%, rgba(255, 255, 255, 0.18), transparent 60%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.62));
  pointer-events: none;
  z-index: 1;
}

.case-page .hero-banner img,
.case-page .hero-banner video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  transition: transform 0.55s var(--ease-standard), opacity 0.4s ease;
}

.case-page .hero-banner.updating {
  opacity: 0.8;
}

.case-page .hero-banner.updating img {
  opacity: 0;
  transform: scale(1.04);
}

.case-page .hero-content-wrapper {
  position: absolute;
  inset: auto clamp(0.8rem, 2vw, 1.5rem) clamp(0.8rem, 2vw, 1.5rem) clamp(0.8rem, 2vw, 1.5rem);
  padding: clamp(1rem, 2.6vw, 1.9rem);
  z-index: 2;
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.case-page .hero-banner.updating .hero-content-wrapper {
  opacity: 0;
  transform: translateY(12px);
}

.case-image-controls {
  position: absolute;
  top: clamp(0.75rem, 1.8vw, 1.15rem);
  right: clamp(0.75rem, 1.8vw, 1.15rem);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(8, 12, 20, 0.72);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(14px);
}

.case-image-controls[hidden] {
  display: none;
}

.case-image-button {
  width: 2.4rem;
  height: 2.4rem;
  border: 0;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.13);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.case-image-button:hover {
  background: rgba(255, 255, 255, 0.24);
  transform: translateY(-1px);
}

.case-image-button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.case-image-count {
  min-width: 3.2rem;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  text-align: center;
}

.hero-image-open-button {
  position: absolute;
  top: clamp(0.75rem, 1.8vw, 1.15rem);
  left: clamp(0.75rem, 1.8vw, 1.15rem);
  z-index: 4;
  width: 3.1rem;
  height: 3.1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  color: #fff;
  background: rgba(8, 12, 20, 0.72);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(14px);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-image-open-symbol {
  display: inline-grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  border: 2px solid currentColor;
  border-radius: 50%;
  line-height: 1;
  font-size: 1.2rem;
  font-weight: 900;
}

.hero-image-open-button:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.hero-image-open-button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.case-page .case-title {
  margin-top: 0.75rem;
  margin-bottom: 0.85rem;
  font-size: clamp(2rem, 4.6vw, 3.9rem);
}

.case-page .case-description {
  margin: 0 0 1rem;
  max-width: 66ch;
}

.case-page .meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.7rem;
  max-width: 1000px;
}

.case-page .meta-card {
  border-radius: var(--radius-sm);
  padding: 0.62rem 0.75rem;
  gap: 0.6rem;
  color: #f2f4f9;
}

.case-page .meta-card i {
  color: #ff6d6d;
  width: 1rem;
  text-align: center;
}

.case-page .media-gallery {
  margin-top: clamp(1.5rem, 3vw, 2.4rem);
}

.case-page .media-gallery-title {
  margin-bottom: clamp(0.9rem, 2.6vw, 1.5rem);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case-page .media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: clamp(0.85rem, 1.5vw, 1.2rem);
}

.case-page .media-item {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  cursor: pointer;
  background: rgba(8, 12, 20, 0.75);
  padding: 0;
}

.case-page .media-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(2, 4, 8, 0.68));
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.case-page .media-item:hover::after {
  opacity: 1;
}

.case-page .media-item[data-tilt]:hover {
  --tilt-lift: 9px;
  border-color: rgba(229, 43, 43, 0.58);
  box-shadow: 0 26px 56px rgba(0, 0, 0, 0.56), inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.case-page .media-item.selected {
  border-color: rgba(229, 43, 43, 0.96);
  box-shadow: 0 0 0 3px rgba(229, 43, 43, 0.36), 0 24px 54px rgba(0, 0, 0, 0.52);
}

.case-page .media-item:focus-visible {
  box-shadow: var(--ring), var(--shadow-2);
}

.case-page .project-showcase,
.case-page .case-section {
  margin-top: clamp(2.4rem, 5vw, 4rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.case-page .project-card {
  padding: clamp(1rem, 2vw, 1.6rem);
  border-radius: var(--radius-lg);
}

.case-page .project-header {
  display: flex;
  align-items: flex-start;
  gap: clamp(1rem, 2vw, 1.8rem);
  flex-wrap: wrap;
}

.case-page .project-image-main {
  flex: 1;
  min-width: 280px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.case-page .project-image-main.selected {
  box-shadow: var(--ring), var(--shadow-1);
}

.case-page .project-info {
  flex: 1;
  min-width: 260px;
}

.case-page .project-title {
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  color: #fff;
  margin-bottom: 0.9rem;
}

.case-page .project-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0.65rem;
  margin-top: 1rem;
}

.case-page .project-meta-item {
  padding: 0.6rem 0.75rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
}

.case-page .project-meta-item i {
  color: #ff6d6d;
}

.page-slide-up main {
  animation: pageSlideUp 0.5s var(--ease-standard);
}

@keyframes pageSlideUp {
  from {
    opacity: 0.82;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RTL support */
[dir="rtl"] .hero-copy,
[dir="rtl"] .hero-text,
[dir="rtl"] .about-text,
[dir="rtl"] .contact-text-side,
[dir="rtl"] .case-page .hero-content-wrapper,
[dir="rtl"] .case-page .project-info {
  text-align: right;
}

[dir="rtl"] .hero-actions,
[dir="rtl"] .hero-meta,
[dir="rtl"] .hero-meta-row,
[dir="rtl"] .contact-cards,
[dir="rtl"] .meta-list {
  justify-content: flex-end;
}

[dir="rtl"] .case-page .meta-card,
[dir="rtl"] .meta-item,
[dir="rtl"] .contact-card,
[dir="rtl"] .project-meta-item {
  flex-direction: row-reverse;
}

[dir="rtl"] .case-page .project-title::after {
  left: auto;
  right: 0;
}

[dir="rtl"] .projects-grid .card .number {
  left: 14px;
  right: auto;
}

/* Responsive */
@media (max-width: 1024px) {
  :root {
    --max-content: min(1240px, 94vw);
  }

  .mission-vision-section {
    grid-template-columns: 1fr;
  }

  .interior-hero .hero-shell {
    grid-template-columns: 1fr;
  }

  .hero-preview {
    min-height: 240px;
  }

  .case-page .meta-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
}

@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-media {
    order: -1;
  }

  .hero-copy {
    order: 1;
  }

  .hero-copy .lede {
    margin-inline: auto;
  }

  .hero-actions,
  .hero-meta,
  .hero-meta-row,
  .video-meta {
    justify-content: center;
  }

  .section-heading-wrapper {
    text-align: center;
  }

  .hero-meta-desktop {
    display: none !important;
  }

  .video-meta {
    display: flex;
  }

  .video-showcase {
    padding-top: clamp(4.3rem, 10vw, 5.4rem);
  }
}

@media (max-width: 800px) {
  .nav-shell {
    padding-inline: 0.55rem;
  }

  .nav-menu {
    border-radius: 0 0 16px 16px;
    box-shadow: var(--shadow-2);
  }

  .projects-shell {
    grid-template-columns: 1fr;
  }

  .project-media {
    grid-template-columns: 1fr;
  }

  .case-page .hero-banner {
    display: grid;
    gap: 0.85rem;
    aspect-ratio: auto;
    overflow: visible;
    border: none;
    box-shadow: none;
    background: transparent;
  }

  .case-page .hero-banner::before {
    content: none;
  }

  .case-page .hero-banner img {
    border-radius: var(--radius-lg);
    max-height: 340px;
    box-shadow: var(--shadow-2);
  }

  .case-page .hero-content-wrapper {
    position: static;
    inset: auto;
    padding: 0.95rem;
  }

  .case-image-controls {
    top: 0.75rem;
    right: 0.75rem;
  }

  .hero-image-open-button {
    top: 0.75rem;
    left: 0.75rem;
  }

  .case-page .media-grid {
    grid-template-columns: 1fr;
  }

  .contact-form-box {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .sub-hero {
    min-height: 320px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .case-page .case-title {
    font-size: clamp(1.7rem, 8vw, 2.2rem);
  }

  .case-page .meta-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

  .case-page .hero-banner img {
    max-height: 270px;
  }

  .btn,
  .subproject-button,
  .contact-form button {
    width: 100%;
  }

  .hero-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
  }
}

/* Reduced motion + touch */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-animate] {
    opacity: 1 !important;
    transform: none !important;
  }

  [data-tilt] {
    transform: none !important;
  }

  .page-slide-up main {
    animation: none !important;
  }
}

@media (hover: none), (pointer: coarse) {
  [data-tilt] {
    transform: none;
  }

  [data-tilt]:hover {
    --tilt-lift: 0px;
  }
}

/* Mobile layout safeguards */
@media (max-width: 800px) {
  body {
    overflow-x: hidden;
  }

  .content-limit,
  .projects-grid,
  .projects-shell,
  .projects-header,
  .project-gallery,
  .case-page .case-container,
  .contact-section,
  .about-section,
  .mission-vision-section {
    width: min(100% - 24px, 100%);
    max-width: 100%;
  }

  .hero-section {
    height: auto;
    min-height: auto;
    padding: 4.8rem 0 2.8rem;
    overflow: hidden;
  }

  .hero-grid {
    gap: 1.25rem;
  }

  .hero-media-card {
    width: 100%;
    min-height: 0;
    aspect-ratio: 4 / 3;
    border-radius: 20px;
  }

  .hero-copy h1 {
    font-size: 2rem;
    line-height: 1.18;
    letter-spacing: 0;
  }

  .eyebrow,
  .hero-kicker,
  .case-pill,
  .meta-pill,
  .hero-meta-chip {
    max-width: 100%;
    letter-spacing: 0.08em;
    white-space: normal;
    overflow-wrap: anywhere;
    text-align: center;
  }

  .hero-meta,
  .hero-meta-row,
  .video-meta {
    width: 100%;
    max-width: 100%;
    justify-content: center;
  }

  .section-heading-wrapper,
  .section-subtitle {
    max-width: 100%;
  }

  .video-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .video-card,
  .service-card {
    min-width: 0;
  }

  .projects-hero {
    min-height: 62vh;
    padding: 6rem 1rem 2.75rem;
    border-radius: 0 0 22px 22px;
  }

  .projects-hero .hero-inner {
    width: 100%;
    padding-inline: 0;
    align-items: stretch;
    text-align: center;
  }

  .projects-hero .hero-content {
    width: 100%;
  }

  .projects-hero h1 {
    margin: 0;
    font-size: 2rem;
    line-height: 1.1;
    letter-spacing: 0;
    overflow-wrap: anywhere;
  }

  .projects-grid {
    padding: 2rem 0 3.2rem;
  }

  .projects-shell {
    display: block;
    padding: 0;
    overflow: hidden;
  }

  .cards-wrapper {
    display: block;
    width: 100%;
    min-width: 0;
    overflow: visible;
  }

  .cards {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.9rem;
    padding: 0.9rem;
    overflow: visible;
  }

  .card,
  .projects-grid .card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    flex: initial;
    aspect-ratio: 16 / 11;
  }

  .projects-grid .card .label {
    max-width: calc(100% - 1.5rem);
    font-size: 1rem;
    line-height: 1.25;
    letter-spacing: 0.03em;
    overflow-wrap: anywhere;
  }

  .projects-grid .card .number {
    opacity: 0.9;
    font-size: 2rem;
  }

  .scroll-indicator {
    display: none;
  }

  .case-page .case-hero {
    padding-top: 2rem;
    margin-bottom: 2rem;
  }

  .case-page .hero-banner {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    grid-template-columns: minmax(0, 1fr);
    overflow: visible;
  }

  .case-page .hero-banner > * {
    min-width: 0;
    max-width: 100%;
  }

  .case-page .hero-banner img,
  .case-page .hero-banner video {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
  }

  .case-page .hero-content-wrapper {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .case-page .case-title {
    font-size: 1.9rem;
    line-height: 1.14;
    letter-spacing: 0;
    overflow-wrap: anywhere;
  }

  .case-page .case-description {
    max-width: 100%;
  }

  .case-page .meta-grid,
  .case-page .project-meta-grid {
    width: 100%;
    max-width: 100%;
    grid-template-columns: minmax(0, 1fr);
  }

  .case-page .meta-card,
  .case-page .project-meta-item,
  .meta-item {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .case-page .media-grid,
  .project-media,
  .landscape-gallery .gallery-grid {
    width: 100%;
    max-width: 100%;
    grid-template-columns: minmax(0, 1fr);
  }

  .project-gallery {
    padding-inline: 0;
  }

  .interior-hero {
    padding: 4.8rem 0.75rem 2.8rem;
  }

  .interior-hero .hero-shell {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-copy h1,
  .projects-hero h1 {
    font-size: 1.75rem;
  }

  .section-heading {
    font-size: 1.75rem;
    letter-spacing: 0;
  }

  .hero-copy .lede,
  .section-subtitle,
  .case-page .case-description,
  .sub-hero .lede {
    font-size: 0.95rem;
    line-height: 1.65;
  }

  .hero-media-card,
  .case-page .hero-banner img,
  .hero-preview {
    border-radius: 16px;
  }

  .cards {
    padding: 0.75rem;
  }

  .case-page .case-title {
    font-size: 1.65rem;
  }
}

@media (max-width: 768px) {
  .video-showcase {
    padding: 3.5rem 0 2.75rem;
  }

  .video-showcase .content-limit {
    width: min(100% - 24px, 100%);
    max-width: 100%;
  }

  .video-showcase .section-heading-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0.85rem;
    width: 100%;
    max-width: 100%;
    margin: 0 auto 1.5rem;
    text-align: center;
  }

  .video-showcase .eyebrow {
    display: none;
  }

  .video-showcase .section-heading {
    width: 100%;
    max-width: 24rem;
    margin: 0 auto;
    padding-bottom: 0.7rem;
    font-size: clamp(1.45rem, 6vw, 1.85rem);
    line-height: 1.2;
    letter-spacing: 0;
    text-align: center;
    white-space: normal;
    word-break: normal;
    overflow-wrap: normal;
  }

  .video-showcase .section-subtitle {
    width: 100%;
    max-width: 34rem;
    margin: 0 auto;
    font-size: 0.95rem;
    line-height: 1.65;
    text-align: center;
    white-space: normal;
    word-break: normal;
    overflow-wrap: normal;
  }

  .video-showcase .video-meta {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;
    gap: 0.65rem;
    width: 100%;
    max-width: 28rem;
    margin: 0.25rem auto 0;
  }

  .video-showcase .meta-pill {
    flex: 1 1 130px;
    min-width: 130px;
    max-width: 100%;
    justify-content: center;
    padding: 0.65rem 0.8rem;
    line-height: 1.25;
    letter-spacing: 0.04em;
    text-align: center;
    white-space: normal;
    word-break: normal;
    overflow-wrap: normal;
  }

  .projects-hero {
    height: auto;
    min-height: 58vh;
    padding: 5.5rem 1rem 2.5rem;
    align-items: flex-end;
  }

  .projects-hero .hero-inner {
    width: 100%;
    max-width: 100%;
    gap: 0.9rem;
    align-items: stretch;
    text-align: center;
  }

  .projects-hero .hero-content {
    width: 100%;
    padding: 0.7rem 0.9rem;
  }

  .projects-hero h1 {
    margin: 0;
    font-size: clamp(1.7rem, 8vw, 2.25rem);
    line-height: 1.1;
    letter-spacing: 0;
    white-space: normal;
    word-break: normal;
    overflow-wrap: normal;
  }

  .projects-hero .subproject-button {
    width: 100%;
    max-width: 18rem;
    margin: 0 auto;
    align-self: center;
    white-space: normal;
    word-break: normal;
    overflow-wrap: normal;
  }

  .projects-grid {
    width: min(100% - 24px, 100%);
    max-width: 100%;
    padding: 1.5rem 0 3rem;
  }

  .projects-grid .projects-shell {
    display: block;
    width: 100%;
    max-width: 100%;
    padding: 0;
    overflow: hidden;
  }

  .projects-grid .cards-wrapper {
    display: block;
    width: 100%;
    min-width: 0;
    overflow: visible;
  }

  .projects-grid .cards {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    min-width: 0;
    max-width: 100%;
    gap: 0.9rem;
    padding: 0.85rem;
    overflow: visible;
  }

  .projects-grid .card {
    width: 100%;
    height: auto;
    max-width: 100%;
    min-width: 0;
    min-height: 210px;
    aspect-ratio: 16 / 11;
  }

  .projects-grid .card .label {
    position: relative;
    inset: auto;
    width: auto;
    transform: none;
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: calc(100% - 1.5rem);
    font-size: 0.95rem;
    line-height: 1.25;
    letter-spacing: 0.03em;
    white-space: normal;
    word-break: normal;
    overflow-wrap: normal;
  }

  .projects-grid .card .number {
    opacity: 0.9;
    font-size: 2rem;
  }

  .scroll-indicator {
    display: none;
  }
}
