:root {
  --black: #030303;
  --bone: #f0e6d2;
  --muted: rgba(240, 230, 210, .64);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--bone);
  font-family: "Inter", sans-serif;
  overflow-x: hidden;
}

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

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

.emn-section-label {
  display: block;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .16em;
}

/* HERO */

.emn-hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: var(--black);
}

.emn-hero-video,
.emn-hero-image,
.emn-hero-overlay {
  position: absolute;
  inset: 0;
}

.emn-hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;

  filter: contrast(1.15);
}

.emn-hero-image {
  z-index: 1;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity .45s ease;
}

.emn-hero-image.is-visible {
  opacity: .6;
}

.emn-hero-overlay {
  z-index: 2;
  background:
    radial-gradient(circle at center, rgba(240,230,210,.08), transparent 36%),
    linear-gradient(to bottom, rgba(0,0,0,.18), rgba(0,0,0,.92));
}

/* HEADER */

.emn-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  padding: 34px 46px;
  pointer-events: none;
  border-bottom: 1px solid transparent;
  transition: background .35s ease, backdrop-filter .35s ease, border-color .35s ease, padding .35s ease;
}

.emn-header.is-scrolled {
  background: rgba(3, 3, 3, .58);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(240,230,210,.08);
  padding-top: 26px;
  padding-bottom: 26px;
}

.emn-mark {
  grid-column: 2;
  justify-self: center;
  pointer-events: auto;
}

.emn-mark img {
  width: 72px;
  transition: width .35s ease, transform .35s ease;
}

.emn-header.is-scrolled .emn-mark img {
  width: 61px;
  transform: translateY(-3px);
}

.emn-menu-trigger,
.emn-menu-close {
  background: none;
  border: 0;
  color: var(--bone);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .16em;
  cursor: pointer;
}

.emn-menu-trigger {
  grid-column: 3;
  justify-self: end;
  padding-top: 9px;
  pointer-events: auto;
}

/* HERO CONTENT */

.emn-hero-content {
  position: relative;
  z-index: 5;
  min-height: 100vh;
  padding: 0 46px 64px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.emn-kicker,
.emn-main-nav a,
.emn-hero-subtitle,
.emn-menu-footer {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .16em;
}

.emn-kicker {
  margin: 0 0 18px;
  color: var(--muted);
}

.emn-hero-content h1 {
  max-width: 1080px;
  margin: 0;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(72px, 9.5vw, 148px);
  line-height: .85;
  letter-spacing: -.035em;
  text-transform: uppercase;
}

.emn-hero-subtitle {
  margin: 18px 0 0;
  color: var(--muted);
}

.emn-main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 42px;
  margin-top: 38px;
}

.emn-main-nav a {
  color: var(--muted);
  transition: color .25s ease;
}

.emn-main-nav a:hover {
  color: var(--bone);
}

/* FULL MENU */

.emn-menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--black);
  color: var(--bone);
  padding: 42px 46px 38px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
  overflow: hidden;
}

.emn-menu.is-open {
  opacity: 1;
  pointer-events: auto;
}

.emn-menu-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  filter: grayscale(1) contrast(1.2);
  transition: opacity .35s ease;
}

.emn-menu-bg.is-visible {
  opacity: .28;
}

.emn-menu::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0,0,0,.76);
}

.emn-menu-close,
.emn-menu-mark,
.emn-menu-links,
.emn-menu-footer,
.emn-menu-phrase {
  position: relative;
  z-index: 2;
}

.emn-menu-close {
  align-self: flex-end;
}

.emn-menu-mark {
  position: absolute;
  top: 42px;
  left: 50%;
  width: 78px;
  transform: translateX(-50%);
}

.emn-menu-links {
  margin-top: 120px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.emn-menu-links a {
  width: fit-content;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(76px, 10.5vw, 160px);
  line-height: .78;
  letter-spacing: -.035em;
  text-transform: uppercase;
  transition: opacity .25s ease, transform .25s ease;
}

.emn-menu-links a:hover {
  opacity: .58;
  transform: translateX(18px);
}

.emn-menu-phrase {
  position: absolute;
  right: 46px;
  bottom: 108px;
  max-width: 520px;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(42px, 5vw, 86px);
  line-height: .88;
  text-align: right;
  opacity: .72;
  text-transform: uppercase;
  pointer-events: none;
}

.emn-menu-footer {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  color: var(--muted);
}

/* WORK */

.emn-work-preview {
  padding: 0;
  margin: 0;
  background: var(--black);
  color: var(--bone);
}

.emn-project-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.emn-project-card {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1.08;
  overflow: hidden;
  background: #111;
}

.emn-project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transition: transform .45s ease, filter .45s ease;
}

.emn-project-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(3, 3, 3, .82);
  opacity: 0;
  transition: opacity .3s ease;
}

.emn-project-overlay span {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(28px, 3vw, 52px);
  line-height: .9;
  text-align: center;
  color: var(--bone);
  letter-spacing: .02em;
}

.emn-project-card:hover img {
  transform: scale(1.05);
  filter: contrast(1.12);
}

.emn-project-card:hover .emn-project-overlay {
  opacity: 1;
}

.emn-work-more {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 110px;
  width: 100%;
  color: var(--bone);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .28em;
  text-decoration: underline;
  text-underline-offset: 7px;
  text-decoration-thickness: 1px;
  background: var(--black);
  transition: .25s ease;
}

.emn-work-more:hover {
  background: var(--bone);
  color: var(--black);
}

/* ABOUT */

.emn-about-agency {
  padding: 140px 0;
  background: var(--bone);
  color: #181818;
}

.emn-about-agency .emn-section-label {
  color: rgba(24, 24, 24, .52);
}

.emn-about-agency h2 {
  margin: 0;
  max-width: 520px;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(72px, 8.5vw, 132px);
  line-height: .82;
  letter-spacing: -.035em;
  text-transform: uppercase;
}

.emn-about-agency p {
  max-width: 720px;
  margin: 0 0 18px;
  color: #242424;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 500;
}

.emn-whatsapp-btn {
  display: inline-flex;
  margin-top: 22px;
  border-bottom: 1px solid #181818;
  padding: 0 0 6px;
  color: #181818;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .16em;
  transition: .25s ease;
}

.emn-whatsapp-btn:hover {
  opacity: .55;
}

/* CLIENTS */

.emn-clients-section {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  background: var(--black);
  color: var(--bone);
}

.emn-clients-texture {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(3,3,3,.74), rgba(3,3,3,.88)),
    url("../img/textures/dark-grain.jpg");
  background-size: cover;
  background-position: center;
  opacity: .85;
  pointer-events: none;
}

.emn-clients-section .container-fluid,
.emn-clients-section .row,
.emn-clients-section .col-lg-8,
.emn-clients-section .col-lg-4 {
  position: relative;
  z-index: 1;
}

.emn-clients-section .col-lg-8 {
  border-right: 1px solid rgba(240,230,210,.12);
}

.emn-clients-grid {
  min-height: 100vh;
  padding: 110px 7vw 90px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 58px 72px;
  align-content: center;
  align-items: center;
}

.emn-clients-grid img {
  width: 100%;
  max-width: 250px;
  max-height: 125px;
  object-fit: contain;
  margin: 0 auto;
  filter: grayscale(1);
  opacity: .62;
  transition: opacity .25s ease, transform .25s ease;
}

.emn-clients-grid img:hover {
  opacity: .95;
  transform: scale(1.04);
}

.emn-clients-copy {
  position: relative;
  min-height: 100vh;
  padding: 110px 5vw 90px 4.5vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.emn-clients-copy .emn-section-label {
  color: rgba(240,230,210,.55);
  margin-bottom: 34px;
}

.emn-clients-copy h2 {
  position: relative;
  z-index: 2;
  margin: 0;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(72px, 7vw, 132px);
  line-height: .82;
  letter-spacing: -.035em;
  text-transform: uppercase;
}

.emn-clients-copy p {
  position: relative;
  z-index: 2;
  max-width: 320px;
  margin: 28px 0 0;
  color: rgba(240,230,210,.72);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 500;
}

.emn-clients-watermark {
  position: absolute;
  width: min(340px, 70%);
  right: 12%;
  bottom: 16%;
  opacity: .08;
  filter: grayscale(1);
  z-index: 1;
  pointer-events: none;
}

.emn-client-pagination {
  position: absolute;
  left: 7vw;
  bottom: 38px;
  z-index: 4;
  display: flex;
  gap: 22px;
}

.emn-client-pagination button {
  background: none;
  border: 0;
  padding: 0;
  color: rgba(240,230,210,.42);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .16em;
  transition: color .25s ease;
}

.emn-client-pagination button.active,
.emn-client-pagination button:hover {
  color: var(--bone);
}

.emn-clients-section .carousel,
.emn-clients-section .carousel-inner,
.emn-clients-section .carousel-item {
  min-height: 100vh;
}

.emn-clients-section .carousel-fade .carousel-item {
  transition: opacity .65s ease-in-out;
}

/* SERVICES */

.emn-services-section {
  background: #050505;
  color: var(--bone);
}

.emn-services-left {
  min-height: 100vh;
  padding: 120px 8vw 100px 7vw;
}

.emn-services-left h2 {
  margin-top: 30px;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(80px, 8vw, 140px);
  line-height: .85;
  letter-spacing: -.03em;
  text-transform: uppercase;
}

.emn-services-left p {
  max-width: 420px;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(240,230,210,.65);
}

.emn-services-list {
  margin-top: 70px;
}

.emn-service {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(48px, 4vw, 80px);
  line-height: .9;
  letter-spacing: -.02em;
  opacity: .25;
  margin-bottom: 12px;
  transition: .35s ease;
  cursor: pointer;
}

.emn-service.active,
.emn-service:hover {
  opacity: 1;
}

.emn-service:hover {
  transform: translateX(14px);
}

.emn-services-right {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 8vw;
}

.emn-services-right img {
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1;
  object-fit: cover;
}

.emn-services-right p {
  max-width: 420px;
  margin-top: 40px;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(240,230,210,.7);
}

/* FINAL CTA */

.emn-final-cta {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  background: var(--bone);
  color: #111;
}

.emn-final-texture {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(240,230,210,.88), rgba(240,230,210,.94)),
    url("../img/textures/paper-grain.jpg");
  background-size: cover;
  background-position: center;
}

.emn-final-inner {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  padding: 120px 7vw 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.emn-final-kicker {
  margin-bottom: 18px;
  color: rgba(17,17,17,.5);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .16em;
}

.emn-final-cta h2 {
  margin: 0;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(110px, 16vw, 300px);
  line-height: .78;
  letter-spacing: -.04em;
  text-transform: uppercase;
}

.emn-final-copy {
  max-width: 560px;
  margin-top: 30px;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(17,17,17,.72);
}

.emn-final-links {
  margin-top: 70px;
  display: flex;
  flex-wrap: wrap;
  gap: 22px 42px;
}

.emn-final-links a {
  color: #111;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .16em;
  border-bottom: 1px solid rgba(17,17,17,.55);
  padding-bottom: 6px;
  transition: .25s ease;
}

.emn-final-links a:hover {
  opacity: .45;
}

.emn-final-footer {
  margin-top: 120px;
  display: flex;
  justify-content: space-between;
  color: rgba(17,17,17,.45);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .16em;
}

/* RESPONSIVE */

@media (max-width: 991px) {
  .emn-header {
    padding: 28px 24px;
  }

  .emn-mark img {
    width: 58px;
  }

  .emn-header.is-scrolled .emn-mark img {
    width: 50px;
  }

  .emn-hero-content {
    padding: 0 24px 42px;
  }

  .emn-main-nav {
    gap: 22px;
  }

  .emn-menu {
    padding: 34px 24px;
  }

  .emn-menu-mark {
    top: 34px;
    width: 62px;
  }

  .emn-menu-phrase {
    position: relative;
    right: auto;
    bottom: auto;
    text-align: left;
    margin-top: 40px;
  }

  .emn-menu-footer,
  .emn-final-footer {
    flex-direction: column;
    gap: 12px;
  }

  .emn-project-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .emn-about-agency {
    padding: 100px 24px;
  }

  .emn-about-agency h2 {
    margin-bottom: 24px;
  }

  .emn-clients-section .col-lg-8 {
    border-right: 0;
    border-top: 1px solid rgba(240,230,210,.12);
  }

  .emn-clients-copy {
    min-height: auto;
    padding: 92px 24px 70px;
  }

  .emn-clients-grid {
    min-height: auto;
    padding: 72px 24px 100px;
    grid-template-columns: repeat(3, 1fr);
    gap: 42px 34px;
  }

  .emn-client-pagination {
    left: 24px;
    bottom: 42px;
  }

  .emn-clients-watermark {
    width: 220px;
    right: 24px;
    bottom: 40px;
  }

  .emn-final-inner {
    padding: 100px 24px 60px;
  }
}

@media (max-width: 575px) {
  .emn-project-grid,
  .emn-clients-grid {
    grid-template-columns: 1fr;
  }

  .emn-clients-grid {
    gap: 38px 28px;
  }

  .emn-clients-grid img {
    max-width: 118px;
    max-height: 76px;
  }

  .emn-clients-copy h2 {
    font-size: clamp(64px, 19vw, 94px);
  }

  .emn-about-agency {
    padding: 86px 20px;
  }

  .emn-about-agency p {
    font-size: 15px;
  }

  .emn-work-more {
    min-height: 96px;
  }

  .emn-final-links {
    flex-direction: column;
    gap: 18px;
  }
}
