:root {
  --bg: #020202;
  --bg-soft: #0a0a0b;
  --bg-card: rgba(255,255,255,0.028);
  --bg-card-strong: rgba(255,255,255,0.048);
  --line: rgba(255,255,255,0.10);
  --line-strong: rgba(255,255,255,0.18);
  --text: #f5f5f6;
  --muted: #b8b8bf;
  --muted-2: #818189;
  --shadow: 0 30px 120px rgba(0,0,0,.58);
  --shadow-soft: 0 14px 40px rgba(0,0,0,.28);
  --radius-xxl: 42px;
  --radius-xl: 30px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --container: 1280px;
  --header-h: 86px;
  --ease: cubic-bezier(.22,1,.36,1);
  --headline: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  --body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  font-family: var(--body);
  color: var(--text);
  background:
    radial-gradient(circle at 10% 7%, rgba(255,255,255,.04), transparent 14%),
    radial-gradient(circle at 92% 8%, rgba(255,255,255,.03), transparent 18%),
    radial-gradient(circle at 50% 100%, rgba(255,255,255,.025), transparent 26%),
    linear-gradient(180deg, #010101 0%, #040405 28%, #070708 100%);
  line-height: 1.75;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.016) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.016) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at center, black 34%, transparent 90%);
  opacity: .24;
}
body::after {
  content: "";
  position: fixed; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.08) 100%);
}
img { display: block; width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0; color: var(--muted); }
h1,h2,h3,h4 { margin: 0; font-family: var(--headline); letter-spacing: -.045em; line-height: 1.02; font-weight: 620; }
h1 { font-size: clamp(3.4rem, 6.8vw, 6.9rem); max-width: 11ch; }
h2 { font-size: clamp(2.3rem, 4.6vw, 4.3rem); }
h3 { font-size: clamp(1.24rem, 2vw, 1.72rem); }
button,input,textarea,select { font: inherit; }
button { cursor: pointer; }
.container { width: min(var(--container), calc(100% - 40px)); margin: 0 auto; }
.section { position: relative; padding: 126px 0; }
.section.tight-top { padding-top: 22px; }
.card-surface {
  background: linear-gradient(180deg, rgba(255,255,255,.046), rgba(255,255,255,.022));
  border: 1px solid var(--line);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}
.section-header { max-width: 830px; margin-bottom: 40px; display: grid; gap: 14px; }
.section-header p { max-width: 64ch; font-size: 1.03rem; }
.section-header.center { margin-inline: auto; text-align: center; }
.section-header.center .eyebrow { justify-content: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 8px; color: var(--text);
  text-transform: uppercase; letter-spacing: .18em; font-size: .72rem;
}
.eyebrow::before { content: ""; width: 36px; height: 1px; background: linear-gradient(90deg, rgba(255,255,255,.18), rgba(255,255,255,.8)); }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 1000; background: #fff; color: #0b0b0c; padding: 10px 14px; border-radius: 999px; }
.progress-bar { position: fixed; top: 0; left: 0; z-index: 240; width: 0; height: 3px; background: linear-gradient(90deg, #ffffff, #b8b8be); box-shadow: 0 0 24px rgba(255,255,255,.35); }
.site-header {
  position: sticky; top: 0; z-index: 120; border-bottom: 1px solid transparent;
  background: rgba(2,2,2,.58); backdrop-filter: blur(22px);
  transition: background .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.site-header.is-scrolled { background: rgba(2,2,2,.84); border-color: var(--line); box-shadow: var(--shadow-soft); }
.header-inner { min-height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand-link { display: inline-flex; align-items: center; gap: 12px; }
.brand-logo { width: 170px; max-width: 46vw; object-fit: contain; }
.brand-fallback { display: none; font-weight: 700; text-transform: uppercase; letter-spacing: .2em; }
.desktop-nav { display: flex; align-items: center; gap: 6px; }
.nav-link {
  position: relative; padding: 12px 14px; border-radius: 999px; color: var(--muted);
  transition: color .25s ease, background .25s ease, transform .25s ease;
}
.nav-link:hover { color: var(--text); background: rgba(255,255,255,.05); transform: translateY(-1px); }
.nav-link.active { color: var(--text); background: rgba(255,255,255,.05); }
.nav-link.active::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 8px; height: 2px; border-radius: 999px; background: linear-gradient(90deg, rgba(255,255,255,.88), transparent); }
.menu-button {
  display: none; width: 52px; height: 52px; padding: 0;
  border-radius: 18px; border: 1px solid var(--line);
  background: rgba(255,255,255,.03); color: var(--text);
  flex-direction: column; justify-content: center; gap: 4px;
}
.menu-button span { width: 20px; height: 2px; margin-inline: auto; background: var(--text); transition: transform .25s ease, opacity .25s ease; }
.menu-button.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-button.open span:nth-child(2) { opacity: 0; }
.menu-button.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mobile-nav-panel { display: none; border-top: 1px solid var(--line); }
.mobile-nav-panel.show { display: block; }
.mobile-nav { display: grid; gap: 12px; padding: 16px 0 24px; }
.mobile-nav a { padding: 16px 18px; border-radius: 20px; background: rgba(255,255,255,.028); border: 1px solid var(--line); color: var(--muted); }
.mobile-nav a.active, .mobile-nav a:hover { color: var(--text); border-color: var(--line-strong); background: rgba(255,255,255,.05); }

.hero { position: relative; min-height: calc(100svh - var(--header-h)); display: grid; align-items: center; padding: 60px 0 100px; }
.hero.compact { min-height: 74svh; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 999px; filter: blur(84px); z-index: -1; }
.hero::before { width: 380px; height: 380px; top: 0; right: -100px; background: rgba(255,255,255,.06); }
.hero::after { width: 320px; height: 320px; left: -90px; bottom: 10%; background: rgba(255,255,255,.04); }
.hero-grid { display: grid; grid-template-columns: minmax(0,1.03fr) minmax(0,.97fr); gap: 56px; align-items: center; }
.hero-copy { display: grid; gap: 22px; }
.hero-copy p { max-width: 58ch; font-size: 1.06rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.mini-stat { padding: 18px 18px; border-radius: 22px; border: 1px solid var(--line); background: rgba(255,255,255,.024); }
.mini-stat strong { display: block; font-size: 1.32rem; color: var(--text); margin-bottom: 2px; }
.mini-stat span { color: var(--muted-2); font-size: .88rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 58px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent; font-weight: 600; transition: transform .25s ease, background .25s ease, border-color .25s ease, color .25s ease, box-shadow .25s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: linear-gradient(180deg, #ffffff, #dadade); color: #09090a; box-shadow: 0 18px 34px rgba(255,255,255,.10); }
.button-secondary { background: rgba(255,255,255,.03); color: var(--text); border-color: var(--line); }
.button-secondary:hover { background: rgba(255,255,255,.055); border-color: var(--line-strong); }
.hero-media { position: relative; min-height: 680px; }
.media-panel { position: absolute; overflow: hidden; border-radius: 34px; border: 1px solid var(--line); background: #0f0f11; box-shadow: var(--shadow); }
.media-panel img { height: 100%; object-fit: cover; filter: contrast(1.05) saturate(.88); transform: scale(1.02); transition: transform .95s var(--ease), filter .95s var(--ease); }
.hero:hover .media-panel img { transform: scale(1.05); filter: contrast(1.08) saturate(.9); }
.media-panel.primary { inset: 0 170px 150px 0; }
.media-panel.secondary { width: 236px; height: 316px; right: 0; top: 88px; }
.media-note { position: absolute; right: 28px; bottom: 20px; width: min(330px, calc(100% - 42px)); padding: 24px; border-radius: 30px; }
.media-note h3 { margin-bottom: 10px; }

.editorial-band { display: grid; grid-template-columns: 1.2fr .8fr; gap: 22px; }
.editorial-copy, .editorial-points { padding: 34px; border-radius: var(--radius-xxl); }
.editorial-copy p + p { margin-top: 12px; }
.point-list { display: grid; gap: 12px; }
.point-list li { padding: 14px 16px; border-radius: 18px; border: 1px solid var(--line); background: rgba(255,255,255,.024); color: var(--muted); }
.point-list li::before { content: "• "; color: var(--text); }

.stat-strip, .feature-grid, .service-preview-grid, .process-grid, .feature-grid-two { display: grid; gap: 22px; }
.stat-strip { grid-template-columns: repeat(4, minmax(0,1fr)); }
.feature-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
.feature-grid-two { grid-template-columns: repeat(2, minmax(0,1fr)); }
.service-preview-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
.process-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
.stat-card, .feature-card, .service-preview, .process-card, .narrative-card, .placeholder-block, .contact-sidebar, .form-surface, .faq-item, .mosaic-item { border-radius: var(--radius-xxl); }
.stat-card, .feature-card, .process-card { padding: 30px; }
.stat-card strong { display: block; font-family: var(--headline); font-size: clamp(2rem, 3vw, 3rem); margin-bottom: 8px; }
.stat-card span { color: var(--muted-2); font-size: .92rem; }
.feature-card h3, .process-card h3 { margin-bottom: 12px; }
.feature-card, .process-card, .stat-card, .service-preview, .faq-item, .contact-meta-list article { transition: transform .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease); }
.feature-card:hover, .process-card:hover, .stat-card:hover, .service-preview:hover, .faq-item:hover, .contact-meta-list article:hover { transform: translateY(-3px); border-color: var(--line-strong); background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.03)); }
.random-box { background: #000 !important; padding: 0 !important; min-height: 300px; overflow: hidden; }
.random-box a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; text-decoration: none; }
.random-box img { width: 100%; height: 100%; object-fit: cover; }
.clients-grid { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 20px; }
.client-card { padding: 0; overflow: hidden; aspect-ratio: 1; }
.client-card img { width: 100%; height: 100%; object-fit: cover; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.gallery-card { padding: 0; overflow: hidden; aspect-ratio: 1; }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.gallery-card:hover img { transform: scale(1.05); }
.section-header-flex { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; margin-bottom: 40px; }
.section-header-flex > div { flex: 1; }
.section-header-flex .button { white-space: nowrap; align-self: center; }
.under-list-image.large { width: 100%; height: 400px; }
.under-list-image.large img { width: 100%; height: 100%; object-fit: cover; }
.video-background { position: relative; width: 100%; padding-bottom: 56.25%; overflow: hidden; }
.video-background video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.top-video-hero {
  position: relative;
  min-height: min(72svh, 760px);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.top-video-hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.82) contrast(1.03);
}
.top-video-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.26) 0%, rgba(0,0,0,.68) 78%);
}
.top-video-copy {
  position: relative;
  z-index: 2;
  min-height: min(72svh, 760px);
  display: grid;
  align-content: end;
  padding: 40px 0;
}
.top-video-spacer {
  width: 100%;
  height: clamp(36px, 7vw, 86px);
}
.top-video-copy h1 {
  max-width: 12ch;
}
.top-video-copy p {
  max-width: 58ch;
}
.service-preview { overflow: hidden; }
.service-preview-media { aspect-ratio: 4/3; overflow: hidden; }
.service-preview-media img { height: 100%; object-fit: cover; transition: transform .7s var(--ease), filter .7s var(--ease); }
.service-preview:hover .service-preview-media img { transform: scale(1.06); filter: contrast(1.06); }
.service-preview-body { padding: 26px; display: grid; gap: 12px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-weight: 600; }
.text-link::after { content: '→'; transition: transform .2s ease; }
.text-link:hover::after { transform: translateX(4px); }
.process-card { min-height: 278px; }
.process-number { display: inline-flex; width: 46px; height: 46px; align-items: center; justify-content: center; margin-bottom: 20px; border-radius: 12px; border: 1px solid var(--line-strong); background: rgba(255,255,255,.055); font-weight: 700; }

.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.narrative-card { padding: 40px; display: grid; gap: 18px; }
.mosaic-grid { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); gap: 18px; }
.mosaic-item { overflow: hidden; min-height: 300px; border: 1px solid var(--line); }
.mosaic-item.tall { grid-column: span 4; grid-row: span 2; min-height: 620px; }
.mosaic-item.small { grid-column: span 4; }
.mosaic-item.wide { grid-column: span 6; min-height: 280px; }
.mosaic-item img { height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .8s var(--ease); }
.mosaic-item:hover img { transform: scale(1.05); filter: contrast(1.04); }

.service-detail-list { display: grid; gap: 94px; }
.service-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.service-detail.reverse { direction: rtl; }
.service-detail.reverse > * { direction: ltr; }
.service-detail-media { min-height: 600px; overflow: hidden; border-radius: 36px; }
.service-detail-media img { height: 100%; object-fit: cover; transition: transform .95s var(--ease), filter .95s var(--ease); }
.service-detail:hover .service-detail-media img { transform: scale(1.04); filter: contrast(1.05); }
.service-detail-copy { display: grid; gap: 18px; }
.service-detail-copy p { font-size: 1.03rem; }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: 10px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.034); color: var(--text); font-size: .92rem; }
.bullet-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; list-style: none; padding: 0; margin: 4px 0 0; }
.bullet-grid li { display: flex; gap: 10px; padding: 14px 16px; border-radius: 18px; border: 1px solid var(--line); background: rgba(255,255,255,.023); color: var(--muted); }
.bullet-grid li::before { content: '•'; color: var(--text); }

.placeholder-block { position: relative; min-height: 470px; overflow: hidden; }
.placeholder-block.media { min-height: 430px; }
.placeholder-block::before { content: ""; position: absolute; inset: -30% 30% auto -10%; height: 150px; background: radial-gradient(circle, rgba(255,255,255,.08), transparent 70%); filter: blur(30px); }
.placeholder-label { position: absolute; top: 22px; left: 22px; z-index: 2; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(0,0,0,.54); color: var(--text); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; }
.placeholder-center { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 28px; }
.placeholder-center h3 { margin-bottom: 10px; }
.placeholder-center p { max-width: 48ch; }
.narrow-section { max-width: 960px; }
.faq-list { display: grid; gap: 16px; }
.faq-item { overflow: hidden; }
.faq-trigger { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 24px; border: none; background: transparent; color: var(--text); text-align: left; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .32s ease; }
.faq-answer p { padding: 0 24px 24px; }
.faq-symbol { font-size: 1.4rem; }

.contact-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; }
.contact-sidebar, .form-surface { padding: 34px; }
.contact-meta-list { display: grid; gap: 14px; margin-top: 18px; }
.contact-meta-list article { display: grid; gap: 4px; padding: 18px; border-radius: 18px; background: rgba(255,255,255,.025); border: 1px solid var(--line); }
.contact-meta-list article strong { color: var(--text); font-size: 1rem; }
.contact-meta-list article span { color: var(--muted-2); font-size: .9rem; }
.contact-form { display: grid; gap: 18px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.contact-form label { display: grid; gap: 10px; }
.contact-form label span { color: var(--text); font-size: .95rem; }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; min-height: 58px; padding: 0 16px; border-radius: 18px; border: 1px solid var(--line); background: rgba(255,255,255,.03); color: var(--text); outline: none; transition: border-color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s ease; }
.contact-form textarea { min-height: 170px; resize: vertical; padding: 16px; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color: var(--line-strong); background: rgba(255,255,255,.045); box-shadow: 0 0 0 4px rgba(255,255,255,.055); transform: translateY(-1px); }
.form-button { justify-self: flex-start; }
.form-note { font-size: .92rem; }
.success-banner { margin-bottom: 18px; padding: 16px 18px; border-radius: 18px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); color: var(--text); }

.site-footer { padding: 40px 0 58px; border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.footer-title { color: var(--text); margin-bottom: 8px; font-size: 1.28rem; }
.footer-copy { max-width: 58ch; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-nav a { color: var(--muted); }
.footer-nav a:hover { color: var(--text); }
.scroll-top { position: fixed; right: 20px; bottom: 20px; z-index: 140; width: 54px; height: 54px; border-radius: 20px; border: 1px solid var(--line-strong); background: rgba(0,0,0,.55); color: var(--text); box-shadow: var(--shadow-soft); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s ease, transform .25s ease, visibility .25s ease, background .25s ease; }
.scroll-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { background: rgba(255,255,255,.08); }

[data-reveal] { opacity: 0; transform: translateY(32px) scale(.985); transition: opacity .9s var(--ease), transform .9s var(--ease); }
[data-reveal="left"] { transform: translateX(-34px) scale(.985); }
[data-reveal="right"] { transform: translateX(34px) scale(.985); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0) scale(1); }
[data-reveal].is-visible[data-reveal="left"], [data-reveal].is-visible[data-reveal="right"] { transform: translateX(0) scale(1); }
.hero-copy > * { opacity: 0; transform: translateY(24px); animation: heroEnter .82s var(--ease) forwards; }
.hero-copy > *:nth-child(2) { animation-delay: .06s; }
.hero-copy > *:nth-child(3) { animation-delay: .12s; }
.hero-copy > *:nth-child(4) { animation-delay: .18s; }
.hero-copy > *:nth-child(5) { animation-delay: .24s; }
@keyframes heroEnter { to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1180px) {
  .hero-grid, .editorial-band { grid-template-columns: 1fr; }
  .hero-media { min-height: 560px; }
  .media-panel.primary { inset: 0 148px 130px 0; }
  .media-panel.secondary { width: 210px; height: 276px; top: 98px; }
  .stat-strip, .feature-grid, .service-preview-grid, .process-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-inner { flex-direction: column; }
}
@media (max-width: 960px) {
  .desktop-nav { display: none; }
  .menu-button { display: inline-flex; }
  .hero-grid, .split-grid, .service-detail, .contact-layout, .field-row, .bullet-grid, .hero-stats, .feature-grid-two, .stat-strip, .feature-grid, .service-preview-grid, .process-grid { grid-template-columns: 1fr; }
  .container { width: min(var(--container), calc(100% - 24px)); }
  .section { padding: 96px 0; }
  .hero { min-height: auto; padding: 36px 0 82px; }
  .hero-media { min-height: 480px; }
  .media-panel.primary { inset: 0 110px 140px 0; }
  .media-panel.secondary { width: 172px; height: 212px; top: 148px; }
  .service-detail.reverse { direction: ltr; }
  .service-detail-media { min-height: 430px; }
  .narrative-card, .contact-sidebar, .form-surface, .editorial-copy, .editorial-points { padding: 26px; }
}
@media (max-width: 680px) {
  h1 { max-width: none; }
  .hero-copy p, .section-header p, .service-detail-copy p { font-size: 1rem; }
  .media-panel.primary { inset: 0 70px 156px 0; }
  .media-panel.secondary { width: 124px; height: 156px; top: 166px; }
  .media-note { left: 18px; right: 18px; width: auto; bottom: 18px; }
  .mosaic-item.tall, .mosaic-item.small, .mosaic-item.wide { grid-column: span 12; min-height: 250px; }
}
.split-grid { align-items: center; }
/* === FIXES (safe, no design change) === */

img {
  max-width: 100%;
}

video {
  display: block;
  max-width: 100%;
}

img,
video {
  object-fit: cover;
}

body::before,
body::after {
  z-index: -1;
}
/* === FIXES (safe, no design change) === */

img {
  max-width: 100%;
}

video {
  display: block;
  max-width: 100%;
}

img,
video {
  object-fit: cover;
}

body::before,
body::after {
  z-index: -1;
}
/* ==========================================================
   FINAL FIX – SERVICE DETAIL IMAGES (OVERRIDES GLOBAL img RULE)
   ========================================================== */

.service-detail-media {
  height: 520px;          /* fixed container height */
  overflow: hidden;
  border-radius: 36px;
  display: block;
}

.service-detail-media > img {
  width: 100%;
  height: 100% !important;   /* ✅ overrides height:auto */
  object-fit: cover;
  object-position: center;
}

/* Mobile */
@media (max-width: 960px) {
  .service-detail-media {
    height: 380px;
  }
}

/* ==========================================================
   UI/UX ENHANCEMENTS (structure preserved)
   ========================================================== */

:root {
  --glow-soft: 0 0 0 1px rgba(255,255,255,.08), 0 24px 80px rgba(0,0,0,.45);
}

.site-header {
  background: linear-gradient(180deg, rgba(2,2,2,.84), rgba(2,2,2,.64));
}

.card-surface,
.media-panel,
.mini-stat,
.contact-meta-list article,
.faq-item {
  box-shadow: var(--glow-soft);
}

.hero-copy h1,
.section-header h2 {
  text-wrap: balance;
}

.button {
  position: relative;
  overflow: hidden;
}

.button::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 -140%;
  width: 120%;
  background: linear-gradient(110deg, transparent 0%, rgba(255,255,255,.25) 45%, transparent 100%);
  transition: transform .7s var(--ease);
  pointer-events: none;
}

.button:hover::before {
  transform: translateX(180%);
}

.hero-media {
  perspective: 1000px;
}

.media-panel,
.media-note {
  transform-style: preserve-3d;
  transition: transform .7s var(--ease), box-shadow .5s var(--ease);
}

.hero:hover .media-panel.primary {
  transform: translateY(-8px) rotateX(1.8deg) rotateY(-2.2deg);
}

.hero:hover .media-panel.secondary {
  transform: translateY(-6px) rotateX(1.4deg) rotateY(2.2deg);
}

.hero:hover .media-note {
  transform: translateY(-6px);
}

.hero-copy h1 {
  animation: textPulse 3.4s ease-in-out infinite alternate;
}

@keyframes textPulse {
  from { text-shadow: 0 0 0 rgba(255,255,255,0); }
  to { text-shadow: 0 0 26px rgba(255,255,255,.14); }
}

[data-reveal] {
  transition-duration: 1s;
}

/* Better mobile navigation + touch behavior */
@media (max-width: 960px) {
  .header-inner {
    min-height: 76px;
  }

  .brand-logo {
    width: 138px;
  }

  .mobile-nav-panel {
    position: fixed;
    inset: 76px 0 auto 0;
    background: rgba(7,7,8,.97);
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--line);
    padding-inline: 12px;
    max-height: calc(100svh - 76px);
    overflow-y: auto;
  }

  .mobile-nav {
    gap: 10px;
    padding: 14px 0 18px;
  }

  .mobile-nav a {
    min-height: 56px;
    display: flex;
    align-items: center;
    font-weight: 600;
    letter-spacing: .03em;
  }

  .hero {
    padding-top: 24px;
  }
  .top-video-hero,
  .top-video-copy {
    min-height: 62svh;
  }

  .hero-copy {
    gap: 16px;
  }

  .hero-copy p {
    font-size: .98rem;
  }

  .button {
    min-height: 52px;
    padding: 0 20px;
  }

  .section-header-flex {
    flex-direction: column;
    gap: 18px;
    margin-bottom: 24px;
  }

  .section-header-flex .button {
    width: 100%;
  }

  .random-box {
    min-height: 210px;
  }

  .video-background {
    border-radius: 24px;
  }
}

@media (max-width: 680px) {
  .section {
    padding: 78px 0;
  }

  .narrative-card,
  .contact-sidebar,
  .form-surface,
  .editorial-copy,
  .editorial-points {
    padding: 20px;
    border-radius: 24px;
  }

  .hero-media {
    min-height: 420px;
  }
  .top-video-copy {
    padding: 24px 0;
  }

  .media-panel.primary {
    inset: 0 62px 150px 0;
  }

  .media-panel.secondary {
    width: 116px;
    height: 146px;
    top: 148px;
  }

  .field-row {
    gap: 12px;
  }

  .contact-form input,
  .contact-form textarea,
  .contact-form select {
    border-radius: 14px;
    min-height: 52px;
  }

  .scroll-top {
    right: 14px;
    bottom: 14px;
    width: 48px;
    height: 48px;
    border-radius: 16px;
  }
}

/* Accessibility: reduce animation if requested */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================
   SHOCK EDITION (same structure, same core colors)
   ========================================================== */

body {
  background:
    radial-gradient(circle at 16% 12%, rgba(255,255,255,.07), transparent 18%),
    radial-gradient(circle at 88% 10%, rgba(255,255,255,.05), transparent 20%),
    linear-gradient(160deg, #000000 0%, #050506 45%, #0c0c0d 100%);
}

.site-header {
  background: rgba(0,0,0,.72);
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.card-surface {
  background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.03));
  border-color: rgba(255,255,255,.18);
}

.hero::before {
  width: 460px;
  height: 460px;
  background: rgba(255,255,255,.09);
}

.hero-copy h1 {
  letter-spacing: -0.06em;
  text-shadow: 0 16px 34px rgba(0,0,0,.5);
}

.hero-copy p,
.section-header p,
.service-detail-copy p {
  color: #c9c9cf;
  max-width: 64ch;
}

.button-primary {
  background: linear-gradient(180deg, #ffffff 0%, #d8d8dc 100%);
  box-shadow: 0 16px 50px rgba(255,255,255,.2);
}

.media-panel {
  border-color: rgba(255,255,255,.22);
}

.media-panel.primary {
  border-radius: 40px;
}

.media-panel.secondary {
  border-radius: 28px;
}

.top-video-hero::after {
  background: linear-gradient(180deg, rgba(0,0,0,.14) 0%, rgba(0,0,0,.62) 88%);
}

.clients-grid {
  gap: 14px;
}

.client-card {
  border: 1px solid rgba(255,255,255,.14);
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}

.client-card:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: rgba(255,255,255,.3);
}

.section-header h2,
.hero-copy h1 {
  animation: shockGlow 5.2s ease-in-out infinite alternate;
}

@keyframes shockGlow {
  from { text-shadow: 0 0 0 rgba(255,255,255,0); }
  to { text-shadow: 0 0 14px rgba(255,255,255,.14); }
}

.editorial-copy,
.editorial-points,
.narrative-card,
.service-detail-copy {
  border: 1px solid rgba(255,255,255,.16);
}

.editorial-copy:hover,
.editorial-points:hover,
.narrative-card:hover,
.service-detail-copy:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 70px rgba(0,0,0,.44);
}