/* Nadir Alüminyum — dark / gold facade site */
:root {
  --bg: #0b0c0e;
  --bg-2: #12141a;
  --bg-3: #1a1d26;
  --surface: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.1);
  --text: #f4f4f2;
  --muted: #9aa0ae;
  --gold: #d4af37;
  --gold-2: #f0d78c;
  --gold-dim: rgba(212, 175, 55, 0.15);
  --red: #e10600;
  --font-display: "Manrope", sans-serif;
  --font-nav: "Manrope", sans-serif;
  --font-body: "Plus Jakarta Sans", sans-serif;
  --container: 1240px;
  --header-h: 76px;
  --header-gap: 10px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 1rem;
  letter-spacing: -0.015em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

p,
li,
td,
label,
input,
textarea,
select {
  font-family: var(--font-body);
}

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

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

ul {
  list-style: none;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--gold);
  font-family: var(--font-nav);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::after {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}

h1,
h2,
.display {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0;
  text-wrap: balance;
}

h3,
h4,
h5,
h6 {
  font-family: var(--font-body);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.accent {
  color: var(--gold);
}

/* Header */
.site-header {
  position: fixed;
  top: var(--header-gap);
  right: 0;
  left: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.35s var(--ease), border-color 0.35s;
  border-bottom: 1px solid transparent;
  overflow: visible;
}

.site-header.is-scrolled {
  background: rgba(11, 12, 14, 0.88);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
  overflow: visible;
}

.header-nav-cluster {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-left: auto;
  min-width: 0;
  overflow: visible;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
  overflow: visible;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  height: 60px;
  width: auto;
  max-width: 275px;
  object-fit: contain;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.25rem;
  font-family: var(--font-nav);
  flex-wrap: nowrap;
}

.nav-item,
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  font-family: var(--font-nav);
  font-size: calc(0.68rem + 1px);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  transition:
    color 0.25s var(--ease),
    background 0.25s var(--ease),
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.nav-item {
  position: relative;
  padding: 0.52rem 0.72rem 0.72rem;
  color: rgba(255, 255, 255, 0.72);
  background: transparent;
  border: none;
  border-radius: 0;
}

.nav-item::after {
  content: "";
  position: absolute;
  left: 0.55rem;
  bottom: 0.2rem;
  width: calc(100% - 1.1rem);
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-2) 70%, #fff1b8 100%);
  transform: scaleX(0);
  transform-origin: left center;
  opacity: 0;
  transition:
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.2s var(--ease);
  box-shadow: 0 0 14px rgba(212, 175, 55, 0.55);
  pointer-events: none;
  z-index: 1;
}

.nav-item:hover {
  color: #fff;
}

.nav-item:hover::after,
.nav-dropdown:hover > a.nav-item::after,
.nav-dropdown:focus-within > a.nav-item::after {
  transform: scaleX(1);
  opacity: 1;
}

.nav-item.is-active {
  color: var(--gold-2);
  background: transparent;
}

.nav-item.is-active::after {
  transform: scaleX(1);
  opacity: 1;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-2) 70%, rgba(232, 201, 106, 0.75) 100%);
}

.nav-cta {
  border-radius: 999px;
  padding: 0.52rem 1rem;
  margin-left: 0.15rem;
  font-weight: 700;
  color: #111;
  background: linear-gradient(135deg, var(--gold) 0%, #e8c96a 100%);
  border: none;
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.26);
}

.nav-cta:hover {
  color: #111;
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(212, 175, 55, 0.36);
  filter: brightness(1.04);
}

.nav-dropdown > a .bi-chevron-down {
  font-size: 0.58rem;
  opacity: 0.55;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

.nav-dropdown:hover > a .bi-chevron-down,
.nav-dropdown:focus-within > a .bi-chevron-down {
  opacity: 0.9;
  transform: translateY(1px);
}

.nav-dropdown {
  position: relative;
}

/* Hover köprüsü — alt menüye inerken menünün kapanmaması için */
.nav-dropdown::after {
  content: "";
  position: absolute;
  left: -0.75rem;
  right: -0.75rem;
  top: 100%;
  height: 1.1rem;
}

.nav-dropdown > a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.85rem);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 240px;
  padding: 0.75rem;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 4px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
  z-index: 1100;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
  position: relative;
  display: block;
  padding: 0.7rem 0.85rem 0.88rem;
  letter-spacing: 0.06em;
  font-size: calc(0.72rem + 1px);
  color: rgba(255, 255, 255, 0.78);
  background: transparent;
  transition: color 0.25s var(--ease);
}

.nav-dropdown-menu a::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  bottom: 0.35rem;
  width: calc(100% - 1.7rem);
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-2) 70%, #fff1b8 100%);
  transform: scaleX(0);
  transform-origin: left center;
  opacity: 0;
  transition:
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.2s var(--ease);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.5);
  pointer-events: none;
}

.nav-dropdown-menu a:hover {
  background: transparent;
  color: var(--gold-2);
}

.nav-dropdown-menu a:hover::after {
  transform: scaleX(1);
  opacity: 1;
}

.nav-dropdown-menu-divider {
  height: 1px;
  margin: 0.4rem 0.85rem;
  background: rgba(255, 255, 255, 0.14);
}

.nav-dropdown-menu a.is-current {
  color: #fff;
  background: rgba(201, 162, 39, 0.12);
}

.nav-dropdown-menu a.is-current::after {
  transform: scaleX(1);
  opacity: 1;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.9rem 1.35rem;
  font-family: var(--font-nav);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: 0.25s var(--ease);
  isolation: isolate;
}

/* Sol-üst + sağ-alt köşe efekti */
.btn::before,
.btn::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  pointer-events: none;
  z-index: 2;
  transition: width 0.25s var(--ease), height 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn::before {
  top: 0;
  left: 0;
  border-top: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
}

.btn::after {
  right: 0;
  bottom: 0;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
}

.btn:hover::before,
.btn:hover::after {
  width: 16px;
  height: 16px;
}

.btn-gold {
  background: var(--gold);
  color: #111;
}

.btn-gold::before,
.btn-gold::after {
  border-color: #111;
}

.btn-gold:hover {
  background: var(--gold-2);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-outline-gold {
  background: transparent;
  border-color: var(--gold);
  color: var(--gold);
}

.btn-outline-gold:hover {
  background: var(--gold);
  color: #111;
}

.btn-outline-gold:hover::before,
.btn-outline-gold:hover::after {
  border-color: #111;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.2rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}

.lang-switch-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 24px;
  border-radius: 999px;
  overflow: hidden;
  opacity: 0.72;
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
}

.lang-switch-btn img {
  width: 20px;
  height: 14px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.lang-switch-btn:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.lang-switch-btn.is-active {
  opacity: 1;
  box-shadow: inset 0 0 0 1px rgba(212, 175, 55, 0.55);
  background: rgba(212, 175, 55, 0.12);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  background: transparent;
  color: #fff;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: end;
  padding: calc(var(--header-h) + var(--header-gap) + 4rem) 0 0;
  overflow: hidden;
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.1s var(--ease);
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  will-change: transform, opacity;
}

.hero-slide.is-active {
  opacity: 1;
  z-index: 1;
  transform: scale(1);
  transition: opacity 1.1s var(--ease), transform 8s linear;
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 9, 12, 0.88) 0%, rgba(8, 9, 12, 0.45) 52%, rgba(8, 9, 12, 0.35) 100%),
    linear-gradient(0deg, rgba(8, 9, 12, 0.75) 0%, transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100% - 2.5rem, 920px);
  max-width: 920px;
  margin-left: calc(max(1.25rem, (100% - var(--container)) / 2) + 100px);
  margin-right: auto;
  margin-bottom: 7rem;
  animation: rise 0.9s var(--ease) both;
}

.hero h1 {
  font-size: clamp(2.35rem, 4.6vw, 4rem);
  line-height: 1.32;
  font-weight: 800;
  margin: 1rem 0 1.35rem;
}

.hero p {
  color: rgba(244, 244, 242, 0.72);
  font-size: 1.0625rem;
  font-weight: 400;
  max-width: 34rem;
  margin-bottom: 1.75rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-actions .btn {
  flex: 1 1 0;
  min-width: 12.5rem;
  max-width: 14.5rem;
  box-sizing: border-box;
}

.hero-index {
  position: absolute;
  left: max(1.25rem, calc((100% - var(--container)) / 2 - 0.5rem));
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.hero-index button {
  background: none;
  border: 0;
  color: rgba(255, 255, 255, 0.35);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.2s;
}

.hero-index button.is-active {
  color: var(--gold);
}

.hero-scroll {
  position: absolute;
  left: max(1.25rem, calc((100% - var(--container)) / 2));
  bottom: 8.5rem;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.scroll-mouse {
  width: 18px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  position: relative;
}

.scroll-mouse::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  width: 2px;
  height: 6px;
  background: var(--gold);
  transform: translateX(-50%);
  animation: scrollDot 1.4s infinite;
}

.hero-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(100% - 2.5rem, var(--container));
  margin: -3.5rem auto 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0)),
    rgba(8, 9, 12, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.35rem 1.5rem;
  min-height: 108px;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 22%;
  right: 0;
  width: 1px;
  height: 56%;
  background: rgba(255, 255, 255, 0.1);
}

.stat-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--gold);
  font-size: 1.65rem;
  line-height: 1;
}

.stat-copy {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.stat-copy strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.2vw, 1.95rem);
  line-height: 1.2;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0;
  margin-bottom: 0.15rem;
}

.stat-copy span {
  display: block;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.82rem;
  line-height: 1.25;
  font-weight: 500;
}

/* Floating contacts */
.float-rail {
  position: fixed;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.float-rail a {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--bg-2);
  border: 1px solid var(--border);
  color: #fff;
  transition: 0.2s;
}

.float-rail a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.float-rail a.wa {
  background: #25d366;
  border-color: #25d366;
  color: #fff;
}

.float-rail a.wa:hover {
  filter: brightness(1.05);
  color: #fff;
}

.float-rail a.ig {
  background: linear-gradient(135deg, #f58529 0%, #dd2a7b 52%, #8134af 100%);
  border-color: transparent;
  color: #fff;
}

.float-rail a.ig:hover {
  filter: brightness(1.08);
  color: #fff;
}

/* Sections */
.section {
  padding: 6.5rem 0;
  position: relative;
}

.section-tight-bottom {
  padding-bottom: 2rem;
}

.section-tight-top {
  padding-top: 2rem;
}

.section-head {
 display: grid;
 grid-template-columns: 1fr;
 align-items: start;
 gap: 1rem;
 margin-bottom: 2.5rem;
}

.section-head h2 {
  font-size: clamp(1.95rem, 3.2vw, 2.85rem);
  max-width: none;
  line-height: 1.38;
  font-weight: 800;
}

.section-head p {
 color: rgba(154, 160, 174, 0.95);
 max-width: 52rem;
 font-size: 1.02rem;
 line-height: 1.75;
 margin: 0;
}

.section-head-aside {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-shrink: 0;
}

.section-head-aside p {
  margin: 0;
}

.section-head-aside .btn {
  white-space: nowrap;
  flex-shrink: 0;
}

.section-actions {
  display: flex;
  justify-content: center;
  margin-top: 2.75rem;
}

.page-hero {
  position: relative;
  min-height: 42vh;
  display: grid;
  align-items: end;
  padding: calc(var(--header-h) + var(--header-gap) + 3rem) 0 3.5rem;
  background-size: cover;
  background-position: center;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(8, 9, 12, 0.92), rgba(8, 9, 12, 0.55));
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.6rem);
  margin-top: 0.75rem;
  line-height: 1.34;
  font-weight: 800;
}

.breadcrumb {
  display: flex;
  gap: 0.55rem;
  color: var(--muted);
  font-size: 0.8rem;
  margin-top: 1rem;
}

.breadcrumb a:hover {
  color: var(--gold);
}

/* Service overview (listing + detail pages) */
.service-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.service-overview-card {
  position: relative;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  gap: 0.45rem;
  padding: 1.25rem;
  border: 1px solid var(--border);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.3s var(--ease), border-color 0.3s;
}

.service-overview-card > .bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s var(--ease);
}

.service-overview-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(8, 9, 12, 0.15), rgba(8, 9, 12, 0.92));
}

.service-overview-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}

.service-overview-card:hover > .bg {
  transform: scale(1.06);
}

.service-overview-card strong {
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
}

.service-overview-card span {
  color: rgba(154, 160, 174, 0.95);
  font-size: 0.92rem;
  line-height: 1.55;
  max-width: 34ch;
}

.service-overview-card em {
  margin-top: 0.35rem;
  font-style: normal;
  color: var(--gold);
  font-family: var(--font-nav);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Service cards — interactive containers */
.service-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.85rem;
}

.service-card {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 1.4rem;
  border: 1px solid var(--border);
  isolation: isolate;
  transition: transform 0.35s var(--ease), border-color 0.35s;
}

.service-card > .bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  transition: transform 0.7s var(--ease);
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 9, 12, 0.15), rgba(8, 9, 12, 0.92));
  z-index: -1;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
}

.service-card:hover > .bg {
  transform: scale(1.08);
}

.service-card i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(212, 175, 55, 0.45);
  color: var(--gold);
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.55rem;
  letter-spacing: -0.02em;
}

.service-card p {
  color: rgba(154, 160, 174, 0.95);
  font-size: 0.9375rem;
  line-height: 1.55;
  margin-bottom: 1.1rem;
}

.service-card .arrow {
  color: var(--gold);
  transition: transform 0.25s;
}

.service-card:hover .arrow {
  transform: translateX(4px);
}

/* Projects */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.filter-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 0.55rem 0.95rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.2s;
}

.filter-btn.is-active,
.filter-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.project-card {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
  transition: transform 0.6s var(--ease);
}

.project-card:hover img {
  transform: scale(1.06);
}

.project-meta {
  position: absolute;
  inset: auto 0 0;
  padding: 1.25rem;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.85), transparent);
  display: flex;
  justify-content: space-between;
  align-items: end;
}

.project-meta strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.project-meta span {
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.reference-grid {
  grid-template-columns: repeat(5, 1fr);
  gap: 0.85rem;
}

.service-ref-grid {
  grid-template-columns: repeat(3, 1fr);
}

.reference-card {
  min-height: 220px;
  display: block;
  cursor: zoom-in;
}

.reference-card img {
  min-height: 220px;
}

.reference-cat {
  display: block;
  margin-top: 0.2rem;
  color: rgba(240, 215, 140, 0.92) !important;
  font-size: 0.62rem !important;
}

.reference-filters {
  margin-bottom: 2rem;
}

.reference-foot {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.reference-foot p {
  color: var(--muted);
  font-size: 0.92rem;
}

.section-compact-top {
  padding-top: 4.5rem;
}

/* Digital designs gallery */
.section-head .lead {
  max-width: 52rem;
  color: rgba(154, 160, 174, 0.95);
  font-size: 1.05rem;
  line-height: 1.75;
  margin: 0 0 2.5rem;
}

.design-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.design-card {
  position: relative;
  display: block;
  min-height: 240px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
}

.design-card img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  transition: transform 0.6s var(--ease), filter 0.4s var(--ease);
}

.design-card:hover img {
  transform: scale(1.05);
  filter: brightness(0.72);
}

.design-card-label {
  position: absolute;
  inset: auto 0 0;
  padding: 1rem 1.1rem;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.88), transparent);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  color: #fff;
}

.design-card-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.85);
  opacity: 0;
  font-size: 1.75rem;
  color: var(--gold);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.design-card:hover .design-card-icon {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem;
  background: rgba(4, 5, 7, 0.94);
  backdrop-filter: blur(8px);
}

.lightbox[hidden] {
  display: none !important;
}

.lightbox-figure {
  margin: 0;
  max-height: calc(100vh - 3rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.lightbox-figure img {
  max-width: min(100%, 1200px);
  max-height: calc(100vh - 6rem);
  object-fit: contain;
  border: 1px solid var(--border);
}

.lightbox-figure figcaption {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

.lightbox-close,
.lightbox-nav {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.lightbox-close:hover,
.lightbox-nav:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.lightbox-nav {
  align-self: center;
}

/* About split */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.about-grid h2 {
  font-size: clamp(1.95rem, 3.2vw, 2.85rem);
  line-height: 1.38;
  margin-bottom: 0.25rem;
}

.about-copy {
 display: flex;
 flex-direction: column;
 align-items: stretch;
 max-width: none;
 width: 100%;
}

.about-copy .eyebrow,
.about-copy h2,
.about-copy p,
.about-copy .btn {
  margin-left: 0;
  align-self: flex-start;
}

.about-grid h2,
.about-copy h2 {
  text-wrap: wrap;
  text-align: left;
}

.about-copy .btn {
  margin-top: 0.35rem;
}

.about-copy p {
 width: 100%;
 align-self: stretch;
  color: rgba(154, 160, 174, 0.95);
  margin: 1.35rem 0;
  line-height: 1.85;
  font-size: 1.02rem;
}

.about-copy p strong {
  font-weight: 600;
  color: rgba(244, 244, 242, 0.92);
}

.about-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}

.about-gallery a {
  display: block;
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--bg-2);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.about-gallery a:hover {
  border-color: rgba(212, 175, 55, 0.45);
  transform: translateY(-3px);
}

.about-gallery img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  display: block;
}

.about-gallery a:last-child img {
  object-fit: contain;
  background: #fff;
  min-height: 180px;
  padding: 0.75rem;
}

.about-media {
  position: relative;
  min-height: 420px;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--border);
}

.about-media .play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  display: grid;
  place-items: center;
  color: var(--gold);
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(4px);
}

/* Content lists */
.content-list {
  display: grid;
  gap: 0.75rem;
}

.content-list li {
  display: flex;
  gap: 0.75rem;
  align-items: start;
  padding: 1rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--border);
}

.content-list i {
  color: var(--gold);
  margin-top: 0.15rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
}

.contact-card {
  padding: 1.5rem;
  border: 1px solid var(--border);
  background: var(--bg-2);
  margin-bottom: 1rem;
}

.contact-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.55rem;
}

.contact-card p,
.contact-card a {
  color: var(--muted);
}

.contact-card a:hover {
  color: var(--gold);
}

.form {
  display: grid;
  gap: 0.85rem;
}

.form input,
.form textarea,
.form select {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--border);
  color: #fff;
  padding: 0.95rem 1rem;
  font: inherit;
  outline: none;
}

.form input:focus,
.form textarea:focus,
.form select:focus {
  border-color: var(--gold);
}

.form textarea {
  min-height: 140px;
  resize: vertical;
}

.map-embed {
  margin-top: 2rem;
  border: 1px solid var(--border);
  min-height: 360px;
  overflow: hidden;
}

.map-embed iframe {
  width: 100%;
  height: 360px;
  border: 0;
  filter: grayscale(1) contrast(1.05) brightness(0.75);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 3.5rem 0 1.75rem;
  background: #08090c;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand img {
  height: 48px;
  width: auto;
  max-width: 220px;
  margin-bottom: 1rem;
  display: inline-block;
}

.footer-brand p {
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-grid h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  color: var(--gold);
  letter-spacing: -0.01em;
}

.footer-grid a,
.footer-grid li {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 0.55rem;
  display: block;
}

.footer-grid a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.82rem;
}

/* Reveal motion */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes scrollDot {
  0% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(10px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide,
  .hero-slide.is-active {
    transform: none !important;
    will-change: auto;
  }

  .hero-scroll .scroll-mouse {
    animation: none !important;
  }
}

/* Mobile */
@media (max-width: 1100px) {
  .service-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .service-overview-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .project-grid,
  .design-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .reference-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .service-ref-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1180px) {
  .nav {
    gap: 0.15rem;
  }
  .nav-item {
    padding: 0.42rem 0.58rem;
    font-size: calc(0.62rem + 1px);
  }
  .nav-cta {
    padding: 0.46rem 0.82rem;
    font-size: calc(0.62rem + 1px);
  }
}


@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }
  .nav {
    position: fixed;
    inset: calc(var(--header-h) + var(--header-gap)) 0 auto;
    background: rgba(11, 12, 14, 0.96);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: 0;
    display: none;
  }
  .nav.is-open {
    display: flex;
  }

  .nav-item,
  .nav-cta {
    align-self: flex-start;
    margin: 0.3rem 0.4rem;
  }

  .nav-cta {
    margin-top: 0.55rem;
  }

  .nav-dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    border: 0;
    background: transparent;
    box-shadow: none;
    padding-left: 0.75rem;
    min-width: 0;
    display: none;
  }

  .nav-dropdown.is-open .nav-dropdown-menu {
    display: block;
  }

  .nav-dropdown::after {
    display: none;
  }
  .hero {
    min-height: 100svh;
    min-height: 100dvh;
    padding-top: calc(var(--header-h) + var(--header-gap) + 1.25rem);
  }

  .hero-slide::after {
    background:
      linear-gradient(180deg, rgba(8, 9, 12, 0.35) 0%, rgba(8, 9, 12, 0.72) 48%, rgba(8, 9, 12, 0.94) 100%);
  }

  .hero-content {
    margin-left: 1.25rem;
    margin-right: 1.25rem;
    width: auto;
    max-width: none;
    margin-bottom: 2.25rem;
  }

  .hero h1 {
    font-size: clamp(1.75rem, 7.4vw, 2.35rem);
    line-height: 1.22;
    margin: 0.75rem 0 1rem;
  }

  .hero p {
    font-size: 0.9375rem;
    max-width: none;
    margin-bottom: 1.25rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }

  .hero-actions .btn {
    flex: none;
    min-width: 0;
    max-width: none;
    width: 100%;
  }

  .hero-index,
  .hero-scroll {
    display: none;
  }

  .hero-stats {
    grid-template-columns: 1fr 1fr;
    margin-top: 0;
    width: calc(100% - 2.5rem);
  }

  .stat-item:nth-child(2)::after {
    display: none;
  }

  .section-head {
 grid-template-columns: 1fr;
 align-items: flex-start;
 gap: 1rem;
 }

 .section-head p,
 .section-head .lead {
 max-width: none;
 width: 100%;
 }

  .section-head-aside {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .float-rail {
    right: 0.65rem;
    bottom: 1rem;
    top: auto;
    transform: none;
  }
}

@media (max-width: 640px) {
  .service-grid,
  .service-overview-grid,
  .project-grid,
  .design-grid,
  .reference-grid,
  .service-ref-grid,
  .hero-stats,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .stat-item::after {
    display: none;
  }

  .stat-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .stat-item:last-child {
    border-bottom: 0;
  }
  .section {
    padding: 4.5rem 0;
  }
  .footer-bottom {
    flex-direction: column;
  }
}
