:root {
  --bg: #f3f5f7;
  --surface: #ffffff;
  --surface-soft: #f7f8fa;
  --ink: #11161c;
  --ink-2: #222a33;
  --muted: #5f6a76;
  --line: #d8dde4;
  --brand: #128ec4;
  --brand-2: #0f79a6;
  --dark: #12171d;
  --dark-2: #1c222a;
  --dark-line: #313a44;
  --shadow: 0 18px 42px rgba(9, 14, 18, 0.08);
  --shadow-strong: 0 28px 48px rgba(9, 14, 18, 0.15);
  --radius: 16px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Manrope", system-ui, sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  font-family: "Syne", sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 14px;
  height: 14px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--brand), var(--brand-2));
  box-shadow: 0 0 0 4px rgba(242, 195, 24, 0.18);
}

.brand-logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 0.3rem;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--ink);
  background: #f1f3f6;
}

.nav a.is-active {
  color: var(--ink);
  background: #fff6cf;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.75rem 1.05rem;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  color: #111;
  background: linear-gradient(180deg, var(--brand), var(--brand-2));
  box-shadow: 0 10px 18px rgba(242, 195, 24, 0.25);
}

.btn-outline {
  border-color: var(--ink);
  background: #fff;
  color: var(--ink);
}

.btn-soft {
  border-color: #d6dbe2;
  background: #eef1f5;
  color: var(--ink-2);
}

.section {
  padding: 4rem 0;
}

.hero {
  position: relative;
  padding: 0;
  background:
    linear-gradient(120deg, rgba(242, 195, 24, 0.12) 0%, rgba(242, 195, 24, 0.02) 28%, transparent 35%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.14)),
    linear-gradient(135deg, #151b22 0%, #1e252e 52%, #11161c 100%);
  color: #fff;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.45;
  pointer-events: none;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 13, 17, 0.88) 0%, rgba(10, 13, 17, 0.78) 38%, rgba(10, 13, 17, 0.45) 70%, rgba(10, 13, 17, 0.65) 100%),
    repeating-linear-gradient(120deg, rgba(255, 255, 255, 0.03) 0 2px, transparent 2px 64px),
    linear-gradient(90deg, transparent 0 72%, rgba(242, 195, 24, 0.1) 72% 73%, transparent 73% 100%);
  pointer-events: none;
  z-index: 1;
}

.hero::after {
  content: "";
  position: absolute;
  right: -8rem;
  top: -6rem;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 195, 24, 0.16), transparent 68%);
  pointer-events: none;
  z-index: 1;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: end;
  min-height: calc(100vh - 76px);
  padding: 4.5rem 0 3rem;
}

.hero-copy {
  max-width: 760px;
  padding: 0;
}

.page-hero {
  background:
    linear-gradient(120deg, rgba(242, 195, 24, 0.1), rgba(242, 195, 24, 0.02) 45%, transparent 50%),
    linear-gradient(180deg, var(--dark) 0%, var(--dark-2) 100%);
  color: #fff;
  padding-top: 3rem;
  padding-bottom: 2.6rem;
  border-bottom: 6px solid var(--brand);
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--brand);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
}

h1, h2, h3 {
  margin-top: 0;
  line-height: 1.06;
}

h1 {
  font-family: "Syne", sans-serif;
  font-size: clamp(2rem, 5vw, 4.1rem);
  letter-spacing: -0.03em;
  margin-bottom: 0.9rem;
}

h2 {
  font-family: "Syne", sans-serif;
  font-size: clamp(1.4rem, 3vw, 2.35rem);
  letter-spacing: -0.02em;
}

h3 {
  font-family: "Syne", sans-serif;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.lead {
  margin: 0 0 1.2rem;
  color: var(--muted);
  max-width: 60ch;
  font-size: 1.03rem;
}

.hero .lead,
.page-hero .lead {
  color: rgba(255, 255, 255, 0.82);
}

.hero .btn-soft {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.hero .btn-outline {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.lead.compact {
  margin-bottom: 0;
}

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

.hero-card {
  align-self: end;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  box-shadow: var(--shadow-strong);
  padding: 1rem;
  backdrop-filter: blur(6px);
}

.hero-card-top {
  border-radius: 12px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 0.85rem;
}

.hero-card-top p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.stat-grid article {
  background: rgba(15, 20, 26, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  padding: 0.9rem;
}

.stat-grid article::before {
  content: "";
  display: block;
  width: 2.25rem;
  height: 0.2rem;
  border-radius: 999px;
  background: var(--brand);
  margin-bottom: 0.5rem;
}

.stat-grid strong {
  display: block;
  margin-bottom: 0.2rem;
  color: #fff;
}

.stat-grid span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.89rem;
}

.section-head {
  margin-bottom: 1rem;
}

.section-head-inline {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.section-head h2 {
  max-width: 22ch;
}

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

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.1rem;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), transparent 70%);
}

.card h3 {
  margin-bottom: 0.55rem;
  color: var(--ink);
}

.card p {
  margin: 0;
  color: var(--muted);
}

.card p + p {
  margin-top: 0.7rem;
}

.section-accent {
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.03), rgba(0, 0, 0, 0.03)),
    linear-gradient(180deg, #e9edf2, #eef1f5);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
  align-items: start;
}

.feature-list {
  margin: 0;
  padding: 1rem 1rem 1rem 2.1rem;
  list-style: none;
  background: var(--dark);
  border: 1px solid var(--dark-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-strong);
}

.feature-list li {
  position: relative;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 700;
}

.feature-list li + li {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: -1.1rem;
  top: 0.42rem;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--brand);
}

.feature-visual {
  margin: 0;
  position: relative;
  background: var(--dark);
  border: 1px solid var(--dark-line);
  border-radius: calc(var(--radius) + 2px);
  overflow: hidden;
  box-shadow: var(--shadow-strong);
  isolation: isolate;
}

.why-visual {
  margin: 0;
  position: relative;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  background: var(--dark);
  border: 1px solid var(--dark-line);
  box-shadow: var(--shadow-strong);
  min-height: 100%;
  isolation: isolate;
}

.why-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 12, 16, 0.05) 0%, rgba(10, 12, 16, 0.55) 62%, rgba(10, 12, 16, 0.88) 100%),
    radial-gradient(circle at 85% 15%, rgba(18, 142, 196, 0.24), transparent 42%);
  z-index: 1;
  pointer-events: none;
}

.why-visual::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  z-index: 3;
  pointer-events: none;
}

.why-visual-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  transform: scale(1.01);
  filter: saturate(1.03) contrast(1.03);
  transition: transform 240ms ease, filter 240ms ease;
}

.why-visual-overlay {
  position: absolute;
  z-index: 2;
  left: 1rem;
  right: 1rem;
  top: 1rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.why-visual-overlay span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  background: rgba(16, 23, 31, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.92);
  font-weight: 700;
  font-size: 0.82rem;
  backdrop-filter: blur(4px);
}

.why-visual figcaption {
  position: absolute;
  z-index: 2;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  margin: 0;
  padding: 0.85rem 0.95rem;
  border-radius: 12px;
  background: rgba(12, 17, 23, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.92);
  font-weight: 700;
  line-height: 1.3;
  backdrop-filter: blur(4px);
}

.why-visual:hover {
  border-color: rgba(18, 142, 196, 0.38);
  box-shadow: 0 28px 50px rgba(17, 22, 28, 0.2);
}

.why-visual:hover .why-visual-image {
  transform: scale(1.035);
  filter: saturate(1.08) contrast(1.05);
}

.feature-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(18, 142, 196, 0.22), transparent 42%),
    radial-gradient(circle at 12% 88%, rgba(18, 142, 196, 0.14), transparent 48%);
  z-index: 0;
  pointer-events: none;
}

.feature-visual::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  z-index: 2;
  pointer-events: none;
}

.feature-visual img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 1;
  background:
    linear-gradient(120deg, rgba(242, 195, 24, 0.16), rgba(242, 195, 24, 0.03)),
    linear-gradient(135deg, #232b35, #10151c);
  transform: scale(1.02);
  filter: saturate(1.05) contrast(1.03);
}

.feature-visual img::selection {
  background: transparent;
}

.feature-visual figcaption {
  margin: 0;
  position: relative;
  z-index: 1;
  padding: 0.95rem 1rem 1rem;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 700;
  font-size: 0.92rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01)),
    linear-gradient(90deg, rgba(18, 142, 196, 0.12), transparent 55%);
}

.feature-visual:hover {
  border-color: rgba(18, 142, 196, 0.35);
  box-shadow: 0 26px 48px rgba(17, 22, 28, 0.18);
}

.feature-visual:hover img {
  transform: scale(1.045);
  filter: saturate(1.08) contrast(1.05);
}

.feature-visual img {
  transition: transform 240ms ease, filter 240ms ease;
}

.feature-visual {
  transition: box-shadow 240ms ease, border-color 240ms ease;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

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

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

.project-stat-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 0.95rem 1rem;
}

.project-stat-card span {
  display: block;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
}

.project-stat-card strong {
  display: block;
  color: var(--ink);
  font-family: "Syne", sans-serif;
  font-size: 1.25rem;
}

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

.projects-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.logo-slider {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius) + 2px);
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.96)),
    linear-gradient(135deg, #eef2f6, #f7f9fb);
  box-shadow: var(--shadow);
  padding: 0.9rem 0;
}

.logo-slider::before,
.logo-slider::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 64px;
  z-index: 2;
  pointer-events: none;
}

.logo-slider::before {
  left: 0;
  background: linear-gradient(90deg, rgba(238, 241, 245, 1), rgba(238, 241, 245, 0));
}

.logo-slider::after {
  right: 0;
  background: linear-gradient(270deg, rgba(238, 241, 245, 1), rgba(238, 241, 245, 0));
}

.logo-track {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: max-content;
  padding-inline: 0.9rem;
  animation: logo-marquee 34s linear infinite;
}

.logo-slider:hover .logo-track {
  animation-play-state: paused;
}

.logo-tile {
  min-width: 220px;
  height: 72px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 0.6rem 0.85rem;
  border-radius: 14px;
  border: 1px solid rgba(18, 142, 196, 0.16);
  background:
    radial-gradient(circle at 90% 15%, rgba(18, 142, 196, 0.12), transparent 45%),
    linear-gradient(180deg, #ffffff, #f4f7fa);
  color: #2a3440;
  font-family: "Syne", sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: -0.01em;
  line-height: 1.15;
  box-shadow: 0 8px 20px rgba(16, 23, 31, 0.05);
  position: relative;
}

.logo-tile::before {
  content: "";
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 28px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--brand), var(--brand-2));
  opacity: 0.9;
}

.logo-tile[aria-hidden="true"] {
  user-select: none;
}

@keyframes logo-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 0.425rem));
  }
}

.csr-hero {
  position: relative;
  overflow: hidden;
}

.csr-hero::after {
  content: "";
  position: absolute;
  right: -6rem;
  top: -4rem;
  width: 22rem;
  height: 22rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(18, 142, 196, 0.2), transparent 70%);
  pointer-events: none;
}

.csr-hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 1rem;
  align-items: stretch;
}

.csr-hero-panel {
  position: relative;
  background:
    radial-gradient(circle at 88% 16%, rgba(18, 142, 196, 0.18), transparent 46%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  padding: 1rem;
  box-shadow: var(--shadow-strong);
  backdrop-filter: blur(6px);
}

.csr-hero-panel::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  pointer-events: none;
}

.csr-hero-panel-top {
  margin-bottom: 0.8rem;
  padding: 0.9rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.csr-hero-panel-top p {
  margin: 0 0 0.25rem;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 700;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.csr-hero-panel-top strong {
  color: #fff;
  font-family: "Syne", sans-serif;
  font-size: 1.1rem;
  line-height: 1.1;
}

.csr-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.csr-mini-grid article {
  border-radius: 12px;
  padding: 0.8rem;
  background: rgba(15, 20, 26, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.csr-mini-grid span {
  display: block;
  color: rgba(255, 255, 255, 0.74);
  font-weight: 700;
  font-size: 0.78rem;
  margin-bottom: 0.25rem;
}

.csr-mini-grid strong {
  color: #fff;
  line-height: 1.2;
  font-size: 0.95rem;
}

.csr-focus-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.csr-focus-card {
  min-height: 100%;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.csr-focus-card::after {
  content: "";
  position: absolute;
  right: -22px;
  top: -22px;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(18, 142, 196, 0.12), transparent 68%);
  pointer-events: none;
}

.csr-focus-card:hover {
  transform: translateY(-4px);
  border-color: rgba(18, 142, 196, 0.28);
  box-shadow: 0 24px 38px rgba(16, 23, 31, 0.11);
}

.csr-band {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 2px);
  padding: 1rem;
  background:
    radial-gradient(circle at 88% 18%, rgba(18, 142, 196, 0.12), transparent 45%),
    linear-gradient(180deg, #ffffff, #f7f9fb);
  box-shadow: var(--shadow);
}

.csr-band-copy .lead {
  max-width: 70ch;
}

.csr-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.csr-badges span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.55rem 0.85rem;
  background: #fff;
  border: 1px solid rgba(18, 142, 196, 0.16);
  color: var(--ink-2);
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(16, 23, 31, 0.04);
}

.csr-badges span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--brand), var(--brand-2));
  margin-right: 0.45rem;
}

.project-card-compact .project-content h3 {
  font-size: 1rem;
}

.project-card-compact .project-image-slot {
  aspect-ratio: 16 / 9;
}

.project-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 34px rgba(17, 22, 28, 0.1);
  border-color: rgba(18, 142, 196, 0.35);
}

.project-image-slot {
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  padding: 0.8rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background:
    radial-gradient(circle at 85% 20%, rgba(18, 142, 196, 0.28), transparent 45%),
    radial-gradient(circle at 12% 85%, rgba(18, 142, 196, 0.2), transparent 42%),
    repeating-linear-gradient(125deg, rgba(255, 255, 255, 0.05) 0 2px, transparent 2px 18px),
    linear-gradient(135deg, #1b222b 0%, #12171d 100%);
}

.project-image-slot span {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  background: rgba(255, 255, 255, 0.06);
}

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

.media-grid.two-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.media-placeholder {
  position: relative;
  border-radius: calc(var(--radius) + 2px);
  border: 1px solid var(--line);
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 18%, rgba(18, 142, 196, 0.2), transparent 45%),
    radial-gradient(circle at 15% 85%, rgba(18, 142, 196, 0.12), transparent 46%),
    repeating-linear-gradient(125deg, rgba(255, 255, 255, 0.05) 0 2px, transparent 2px 18px),
    linear-gradient(135deg, #1b222b 0%, #12171d 100%);
  box-shadow: var(--shadow);
}

.media-placeholder::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  pointer-events: none;
}

.media-placeholder.tall {
  min-height: 340px;
}

.media-placeholder.medium {
  min-height: 240px;
}

.media-placeholder.small {
  min-height: 180px;
}

.media-placeholder-header {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  right: 0.9rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  z-index: 1;
}

.media-placeholder-kicker {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.media-placeholder-body {
  min-height: inherit;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 1.2rem;
  text-align: center;
}

.media-placeholder-body span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.9);
  font-family: "Syne", sans-serif;
  font-weight: 700;
  font-size: 0.86rem;
}

.media-placeholder-caption {
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.9rem;
  z-index: 1;
  margin: 0;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  background: rgba(12, 17, 23, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.88);
  font-weight: 700;
  line-height: 1.25;
  font-size: 0.86rem;
}

.project-content {
  padding: 0.95rem 1rem 1.05rem;
}

.project-scope {
  margin: 0 0 0.5rem;
  color: var(--brand-2);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-content h3 {
  margin: 0 0 0.45rem;
  line-height: 1.15;
}

.project-meta {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.92rem;
}

.service-card-light {
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.service-card-light:hover {
  transform: translateY(-4px);
  border-color: #c9b25c;
  box-shadow: 0 24px 36px rgba(17, 22, 28, 0.12);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 0.45rem;
}

.contact-form h3 {
  margin-bottom: 0.2rem;
}

.contact-form label {
  color: var(--ink-2);
  font-weight: 700;
  font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font: inherit;
  margin-bottom: 0.2rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(242, 195, 24, 0.25);
  border-color: #d8bc4f;
}

.compact-list {
  margin-top: 1rem;
}

.list-clean {
  margin: 0.7rem 0 0;
  padding-left: 1rem;
  color: var(--muted);
}

.list-clean li + li {
  margin-top: 0.35rem;
}

.emphasis-line {
  margin-top: 0.85rem;
  font-weight: 800;
  color: var(--ink);
  border-left: 4px solid var(--brand);
  padding-left: 0.7rem;
}

.form-note {
  margin: 0 0 0.45rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 1.2rem 0 2rem;
  border-top: 6px solid var(--brand);
}

.footer-inner {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-inner p {
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #fff;
}

.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 500ms ease, transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .hero-grid,
  .split,
  .service-grid,
  .projects-grid,
  .projects-row,
  .csr-focus-grid,
  .csr-hero-grid {
    grid-template-columns: 1fr;
  }

  .cards,
  .project-stats,
  .media-grid,
  .media-grid.two-up {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
    padding-top: 3.2rem;
  }

  .why-visual {
    min-height: 340px;
  }

  .logo-tile {
    min-width: 200px;
    height: 68px;
    font-size: 0.8rem;
  }

  .csr-hero-panel {
    max-width: 620px;
  }
}

@media (max-width: 860px) {
  .header-inner {
    flex-wrap: wrap;
    padding: 0.7rem 0;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    border-radius: 14px;
  }

  .nav a {
    flex: 1 1 auto;
    text-align: center;
    padding-inline: 0.45rem;
    font-size: 0.88rem;
  }

  .two-col,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .csr-mini-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 3rem 0;
  }

  .hero-copy {
    padding: 0;
  }

  .section-head-inline {
    align-items: flex-start;
    flex-direction: column;
  }

  .why-visual-overlay {
    left: 0.75rem;
    right: 0.75rem;
    top: 0.75rem;
  }

  .why-visual figcaption {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
    font-size: 0.9rem;
  }

  .btn {
    width: 100%;
  }

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

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

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .logo-slider::before,
  .logo-slider::after {
    width: 28px;
  }

  .logo-track {
    animation-duration: 26s;
    gap: 0.65rem;
    padding-inline: 0.55rem;
  }

  .logo-tile {
    min-width: 170px;
    height: 62px;
    border-radius: 12px;
    font-size: 0.74rem;
    padding-inline: 0.7rem;
  }

  .logo-tile::before {
    left: 0.55rem;
    width: 5px;
    height: 22px;
  }

  .csr-badges span {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .btn,
  .service-card-light,
  .csr-focus-card {
    transition: none;
  }

  .logo-track {
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
