:root {
  --bg: #080808;
  --panel: #111111;
  --panel-soft: #171717;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f4eef1;
  --muted: #b8abb2;
  --muted-strong: #ddd2d8;
  --accent: #9a6c7d;
  --accent-2: #446bc8;
  --accent-deep: #423f6a;
  --accent-soft: rgba(154, 108, 125, 0.16);
  --white-bg: #f4eff2;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.32);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top center, rgba(68, 107, 200, 0.12), transparent 30%),
    linear-gradient(180deg, #050506 0%, #0b0b10 36%, #120f14 100%);
  color: var(--text);
  font-family: "Dubai", "Segoe UI", Tahoma, sans-serif;
}

body.is-modal-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

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

.site-shell {
  overflow: hidden;
}

.top-accent {
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, var(--accent-2) 0%, var(--accent) 48%, transparent 92%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(22px);
  background: rgba(10, 10, 10, 0.84);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 92px;
  gap: 20px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  flex: 0 0 auto;
}

.logo-mark {
  width: 78px;
  height: 78px;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  flex: 0 0 auto;
}

.logo img {
  width: 164px;
  height: auto;
  max-width: none;
  transform: translate(-12px, -12px);
}

.logo span {
  display: block;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  font-weight: 600;
  color: var(--muted-strong);
}

.site-nav a {
  transition: color 0.25s ease;
}

.site-nav a.is-current {
  color: var(--text);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang-btn,
.menu-toggle,
.primary-btn,
.secondary-btn,
.play-chip {
  border: 0;
  cursor: pointer;
}

.lang-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: var(--muted-strong);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.lang-btn:hover,
.lang-btn:focus-visible {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.36);
}

.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.primary-btn {
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #fff;
  box-shadow: 0 20px 40px rgba(80, 74, 120, 0.3);
}

.primary-btn:hover,
.primary-btn:focus-visible {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #5a7cda, #ab798a);
}

.secondary-btn {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.secondary-btn:hover,
.secondary-btn:focus-visible {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.08);
}

.menu-toggle {
  display: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  padding: 0;
  position: relative;
}

.menu-toggle span {
  position: absolute;
  right: 15px;
  left: 15px;
  height: 2px;
  background: #fff;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle span:nth-child(1) {
  top: 18px;
}

.menu-toggle span:nth-child(2) {
  top: 25px;
}

.menu-toggle span:nth-child(3) {
  top: 32px;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero-section {
  position: relative;
  padding: 72px 0 90px;
}

.hero-noise {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at center, black 48%, transparent 92%);
  opacity: 0.2;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.section-kicker {
  margin: 0 0 14px;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.95rem;
}

.hero-copy h1,
.story-wrap h2,
.section-head h2,
.cta-box h2 {
  margin: 0;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.hero-copy h1 {
  font-size: clamp(3.4rem, 7vw, 6.7rem);
  max-width: 10ch;
}

.hero-copy h1 span,
.cta-box h2 span {
  color: var(--accent);
}

.hero-text,
.story-wrap p,
.section-head p,
.service-panel p,
.solutions-grid p,
.work-copy p,
.cta-box p,
.site-footer p,
.site-footer li {
  color: var(--muted);
  line-height: 1.8;
}

.hero-text {
  max-width: 560px;
  font-size: 1.08rem;
  margin: 28px 0 0;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.hero-points {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: grid;
  gap: 12px;
}

.hero-points li {
  color: var(--muted-strong);
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-media {
  position: relative;
}

.media-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  min-height: 620px;
  box-shadow: var(--shadow);
  background:
    radial-gradient(circle at 30% 18%, rgba(68, 107, 200, 0.36), transparent 22%),
    radial-gradient(circle at 70% 75%, rgba(154, 108, 125, 0.28), transparent 22%),
    linear-gradient(135deg, #17141e 0%, #433d67 40%, #161116 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: screen;
  opacity: 0.95;
}

.hero-fallback,
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-fallback {
  mix-blend-mode: screen;
  opacity: 0.88;
}

.hero-video {
  z-index: 0;
  background: #151018;
}

.hero-video.is-hidden {
  display: none;
}

.hero-helper-label {
  display: none;
}

.play-chip,
.hero-play-button {
  width: fit-content;
  padding: 12px 18px;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-play-button {
  position: absolute;
  left: 24px;
  bottom: 24px;
  z-index: 2;
  backdrop-filter: blur(14px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.hero-stats article,
.story-metrics div {
  padding: 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-stats strong,
.story-metrics strong {
  display: block;
  font-size: clamp(1.6rem, 4vw, 2.7rem);
  margin-bottom: 8px;
}

.story-section {
  padding: 36px 0 100px;
}

.about-hero {
  padding-bottom: 44px;
}

.about-hero__media {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  background: #0f0f0f;
}

.about-hero__media img {
  width: 100%;
  height: 430px;
  object-fit: cover;
}

.about-hero__overlay {
  position: absolute;
  inset: auto 34px 24px auto;
  display: grid;
  gap: 8px;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(10, 10, 10, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.about-stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding-top: 42px;
}

.about-stats-strip article {
  text-align: center;
  padding: 18px 12px;
}

.about-stats-strip strong {
  display: block;
  font-size: clamp(3rem, 7vw, 5rem);
  line-height: 1;
}

.about-stats-strip span {
  color: var(--muted);
  display: block;
  margin-top: 10px;
}

.about-story-intro {
  padding: 70px 0 88px;
  background:
    radial-gradient(circle at 70% 30%, rgba(154, 108, 125, 0.1), transparent 26%),
    #090909;
}

.about-intro-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 30px;
  align-items: end;
}

.about-story-intro h1 {
  margin: 0;
  font-size: clamp(3.2rem, 7vw, 6.6rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.about-story-intro p:last-child,
.about-idea-copy p {
  color: var(--muted);
  line-height: 1.95;
  font-size: 1.06rem;
}

.about-idea-section {
  padding: 90px 0 96px;
  background: #f7f3ee;
  color: #121212;
}

.about-idea-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 38px;
  align-items: start;
}

.about-idea-title h2 {
  margin: 0;
  font-size: clamp(2.7rem, 5vw, 4.8rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.about-team-visual {
  padding: 0 0 110px;
  background: #f7f3ee;
}

.about-team-visual__frame {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  min-height: 520px;
  box-shadow: 0 30px 70px rgba(18, 18, 18, 0.12);
}

.about-team-visual__frame img {
  width: 100%;
  min-height: 520px;
  object-fit: cover;
}

.about-team-visual__caption {
  position: absolute;
  inset: auto 24px 24px auto;
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(10, 10, 10, 0.54);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.portfolio-hero {
  padding: 92px 0 84px;
  background:
    radial-gradient(circle at 70% 30%, rgba(154, 108, 125, 0.12), transparent 28%),
    #090909;
}

.portfolio-hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: end;
}

.portfolio-hero h1 {
  margin: 0;
  font-size: clamp(3.1rem, 7vw, 6.4rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.portfolio-hero p:last-child,
.portfolio-toolbar__head + p,
.portfolio-card__content p {
  color: var(--muted);
  line-height: 1.9;
}

.portfolio-library {
  padding: 64px 0 100px;
  background: #f7f3ee;
  color: #101010;
}

.portfolio-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 24px;
}

.portfolio-toolbar__head h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.portfolio-count {
  margin: 0;
  color: #817973;
  font-weight: 700;
}

.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.filter-chip {
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid rgba(16, 16, 16, 0.12);
  background: #fff;
  color: #5e5853;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.filter-chip.is-active,
.filter-chip:hover,
.filter-chip:focus-visible {
  background: #101010;
  color: #fff;
  transform: translateY(-1px);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.portfolio-card {
  overflow: hidden;
  border-radius: 26px;
  background: #fff;
  border: 1px solid rgba(16, 16, 16, 0.08);
  box-shadow: 0 22px 50px rgba(16, 16, 16, 0.08);
}

.portfolio-card__media {
  min-height: 240px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.2), transparent 24%),
    linear-gradient(135deg, var(--card-start), var(--card-end));
  position: relative;
}

.portfolio-card__video,
.portfolio-card__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.2), transparent 24%),
    linear-gradient(135deg, var(--card-start), var(--card-end));
}

.portfolio-card__video.is-missing,
.portfolio-card__image.is-missing {
  opacity: 0;
}

.portfolio-card__media--pdf {
  align-items: stretch;
  justify-content: center;
}

.portfolio-card__media--compare {
  padding: 0;
}

.portfolio-card__media-badge {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(10, 10, 12, 0.46);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.83rem;
  font-weight: 700;
  backdrop-filter: blur(12px);
}

.portfolio-card__media--compare .portfolio-card__media-badge {
  position: absolute;
  top: 18px;
  right: 18px;
}

.portfolio-card__zoom {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 2;
  min-height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: rgba(10, 10, 12, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.portfolio-card__zoom:hover,
.portfolio-card__zoom:focus-visible {
  background: rgba(10, 10, 12, 0.72);
}

.before-after {
  --split: 50%;
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.16), transparent 24%),
    linear-gradient(135deg, var(--card-start), var(--card-end));
}

.before-after__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.before-after__overlay {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--split);
  overflow: hidden;
  border-inline-end: 1px solid rgba(255, 255, 255, 0.28);
}

.before-after__image--after {
  width: 100%;
}

.before-after__divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--split);
  width: 0;
  border-left: 2px solid rgba(255, 255, 255, 0.88);
  transform: translateX(-1px);
  pointer-events: none;
  z-index: 2;
}

.before-after__knob {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.34);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(10px);
}

.before-after__knob::before,
.before-after__knob::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 0;
  height: 0;
  transform: translateY(-50%);
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
}

.before-after__knob::before {
  left: 14px;
  border-right: 10px solid #fff;
}

.before-after__knob::after {
  right: 14px;
  border-left: 10px solid #fff;
}

.before-after__range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  z-index: 3;
}

.before-after__labels {
  position: absolute;
  right: 18px;
  left: 18px;
  bottom: 18px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  z-index: 2;
  pointer-events: none;
}

.before-after__labels span {
  min-height: 32px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(10, 10, 12, 0.44);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

.portfolio-card__play {
  display: none;
}

.portfolio-card__pdf-panel {
  position: relative;
  z-index: 1;
  margin-top: auto;
  width: 100%;
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(10, 10, 12, 0.24), rgba(10, 10, 12, 0.72));
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  backdrop-filter: blur(14px);
}

.portfolio-card__pdf-panel strong {
  display: block;
  margin: 14px 0 8px;
  font-size: 1.4rem;
}

.portfolio-card__pdf-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  min-height: 72px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.portfolio-card__pdf-file {
  display: block;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.7);
  word-break: break-word;
}

.portfolio-card__pdf-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.portfolio-card__pdf-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-weight: 700;
}

.portfolio-card__pdf-link.is-soft {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.portfolio-modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 60;
}

.portfolio-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.portfolio-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(12px);
}

.portfolio-modal__panel {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 40px), 1100px);
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 22px;
  border-radius: 28px;
  background: rgba(16, 16, 18, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.38);
}

.portfolio-modal__close {
  min-height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
}

.portfolio-modal__content {
  margin-top: 16px;
}

.portfolio-modal__figure,
.portfolio-modal__compare-wrap {
  margin: 0;
}

.portfolio-modal__image {
  width: 100%;
  max-height: calc(100vh - 170px);
  object-fit: contain;
  border-radius: 22px;
  background: #0f1014;
}

.portfolio-modal__video {
  width: 100%;
  max-height: calc(100vh - 170px);
  border-radius: 22px;
  background: #0f1014;
  display: block;
}

.portfolio-modal__caption {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.82);
  text-align: center;
  font-weight: 600;
}

.before-after--modal {
  position: relative;
  min-height: min(72vh, 760px);
  border-radius: 24px;
}

.before-after--modal .before-after__image {
  object-fit: contain;
  background: #0f1014;
}

.before-after--modal .before-after__overlay {
  background: transparent;
}

.portfolio-card__content {
  padding: 18px 18px 20px;
}

.portfolio-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.portfolio-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.portfolio-card__chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(154, 108, 125, 0.1);
  color: #7a4f60;
  font-size: 0.88rem;
  font-weight: 700;
}

.portfolio-card__chip--soft {
  background: rgba(68, 107, 200, 0.08);
  color: #4d608f;
}

.portfolio-card__year {
  color: #918883;
  font-size: 0.9rem;
}

.portfolio-card__client {
  margin: 0 0 8px;
  color: #857d78;
  font-size: 0.92rem;
}

.portfolio-card h3 {
  margin: 0 0 8px;
  font-size: 1.55rem;
  line-height: 1.2;
}


.story-wrap {
  padding: 54px;
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(154, 108, 125, 0.1), transparent),
    rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.story-wrap h2,
.section-head h2,
.cta-box h2 {
  font-size: clamp(2.3rem, 4vw, 4.6rem);
}

.story-wrap p {
  max-width: 760px;
  font-size: 1.08rem;
  margin: 24px 0 0;
}

.story-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 34px;
}

.services-section,
.work-section,
.cta-section {
  padding: 100px 0;
}

.solutions-section,
.clients-section {
  padding: 100px 0;
  background: var(--white-bg);
  color: #121212;
}

.solutions-section .section-head p,
.solutions-grid p,
.clients-section .section-head p {
  color: #66605c;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 34px;
}

.section-head > p,
.section-head > a {
  max-width: 460px;
}

.text-link {
  color: var(--muted-strong);
  font-weight: 700;
}

.services-list {
  display: grid;
  gap: 16px;
}

.service-card {
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.service-card.active {
  border-color: rgba(154, 108, 125, 0.34);
  background: linear-gradient(180deg, rgba(154, 108, 125, 0.1), rgba(255, 255, 255, 0.03));
}

.service-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: transparent;
  color: var(--text);
  padding: 26px 30px;
  text-align: right;
}

.service-title {
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 800;
}

.service-index {
  color: rgba(255, 255, 255, 0.38);
  font-weight: 700;
}

.service-panel {
  display: none;
  padding: 0 30px 30px;
}

.service-card.active .service-panel {
  display: block;
}

.service-panel ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.service-panel li {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: var(--muted-strong);
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.solutions-grid article {
  background: #fff;
  padding: 28px;
  border-radius: 24px;
  border: 1px solid rgba(18, 18, 18, 0.08);
  min-height: 220px;
  box-shadow: 0 18px 40px rgba(18, 18, 18, 0.06);
}

.solutions-grid span {
  display: inline-block;
  color: #9a918c;
  margin-bottom: 18px;
  font-weight: 700;
}

.solutions-grid h3 {
  margin: 0 0 14px;
  font-size: 1.55rem;
}

.work-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 18px;
}

.work-card {
  position: relative;
  min-height: 320px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #120d0f;
  cursor: pointer;
}

.work-large {
  grid-row: span 2;
  min-height: 680px;
}

.work-wide {
  grid-column: 1 / -1;
  min-height: 260px;
}

.work-card img,
.work-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-card__fallback,
.work-card__video {
  position: absolute;
  inset: 0;
}

.work-card__video {
  background: #120d0f;
}

.work-card__video.is-hidden {
  display: none;
}

.work-copy {
  position: absolute;
  inset: auto 20px 20px 20px;
  padding: 18px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.74));
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.work-copy span {
  color: #dfc2ce;
  font-size: 0.92rem;
  font-weight: 700;
}

.work-copy h3 {
  margin: 10px 0 6px;
  font-size: 1.5rem;
}

.logo-marquee {
  display: flex;
  gap: 18px;
  overflow: hidden;
  padding: 8px 0;
}

.logo-track {
  display: flex;
  gap: 18px;
  min-width: max-content;
  animation: logo-scroll 24s linear infinite;
}

.logo-pill {
  min-width: 280px;
  min-height: 140px;
  padding: 18px 22px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(67, 63, 106, 0.12);
  color: #756f8d;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  box-shadow: 0 18px 38px rgba(30, 24, 39, 0.06);
}

.logo-pill img {
  width: 84%;
  height: 92px;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center;
  filter: grayscale(1) contrast(1.12);
  opacity: 0.94;
  transition: filter 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

.logo-pill:hover img {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.08);
}

.cta-box {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  padding: 54px;
  border-radius: 34px;
  background:
    radial-gradient(circle at center, rgba(154, 108, 125, 0.14), transparent 50%),
    linear-gradient(135deg, #16131f 0%, #09090b 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 300px;
}

.site-footer {
  padding: 0 0 42px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.9fr 0.9fr;
  gap: 22px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer h3 {
  margin: 0 0 18px;
  font-size: 1rem;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.footer-logo {
  margin-bottom: 14px;
}

.video-modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 40;
}

.video-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(12px);
}

.video-modal__panel {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 40px), 720px);
  padding: 28px;
  border-radius: 28px;
  background: #141313;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.showreel-player {
  width: 100%;
  margin-top: 18px;
  border-radius: 22px;
  background: #0f0f12;
}

.video-modal__close {
  border: 0;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
}

@keyframes logo-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(50%);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.delay-1 {
  transition-delay: 0.12s;
}

@media (max-width: 1080px) {
  .nav-row {
    grid-template-columns: auto auto;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 12px);
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    gap: 16px;
    padding: 20px;
    border-radius: 24px;
    background: rgba(15, 15, 15, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  .site-nav.is-open {
    display: flex;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-actions .primary-btn {
    display: none;
  }

  .hero-grid,
  .section-head,
  .cta-box,
  .footer-grid,
  .work-grid,
  .about-intro-grid,
  .about-idea-grid,
  .portfolio-hero__grid,
  .cta-actions {
    min-width: 0;
  }

  .work-large,
  .work-wide {
    grid-row: auto;
    grid-column: auto;
    min-height: 360px;
  }

  .solutions-grid,
  .story-metrics,
  .clients-grid,
  .about-stats-strip,
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .nav-row {
    min-height: 82px;
  }

  .logo-mark {
    width: 62px;
    height: 62px;
    border-radius: 16px;
  }

  .logo img {
    width: 132px;
    transform: translate(-10px, -10px);
  }

  .logo span {
    font-size: 1rem;
    letter-spacing: 0.08em;
  }

  .lang-btn {
    display: none;
  }

  .hero-section,
  .services-section,
  .solutions-section,
  .work-section,
  .clients-section,
  .cta-section,
  .about-story-intro,
  .about-idea-section,
  .portfolio-hero,
  .portfolio-library {
    padding: 72px 0;
  }

  .story-section {
    padding: 10px 0 72px;
  }

  .story-wrap,
  .cta-box {
    padding: 30px 24px;
  }

  .media-frame {
    min-height: 420px;
  }

  .hero-stats,
  .story-metrics,
  .solutions-grid,
  .clients-grid,
  .about-stats-strip,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .about-hero__media,
  .about-hero__media img {
    min-height: 280px;
    height: 280px;
  }

  .about-team-visual {
    padding-bottom: 72px;
  }

  .about-team-visual__frame,
  .about-team-visual__frame img {
    min-height: 320px;
  }

  .about-hero__overlay,
  .about-team-visual__caption {
    left: 18px;
    right: 18px;
  }

  .portfolio-toolbar {
    align-items: start;
    flex-direction: column;
  }

  .portfolio-card__media {
    min-height: 210px;
  }

  .before-after__knob {
    width: 48px;
    height: 48px;
  }

  .logo-pill {
    min-width: 220px;
    min-height: 112px;
    font-size: 0.96rem;
  }

  .logo-pill img {
    width: 84%;
    height: 72px;
  }

  .service-trigger {
    padding: 22px 20px;
  }

  .service-panel {
    padding: 0 20px 24px;
  }
}
