:root {
  --red: #9a1b23;
  --red-dark: #3d0710;
  --orange: #f68a25;
  --blush: #fcf4f5;
  --cream: #fff8ee;
  --cream-soft: rgba(255, 248, 238, 0.78);
  --topbar-height: 88px;
  --header-gutter: clamp(24px, 4vw, 48px);
  --section-title-gap: 40px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #fff;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--topbar-height) + 24px);
}

body {
  min-height: 100%;
  margin: 0;
  overflow-x: clip;
  color: var(--red-dark);
  background: #fff;
  font-family:
    "Titillium Web", Poppins, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 400;
  letter-spacing: 0;
}

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

img,
svg {
  display: block;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
.work-grid:focus-visible,
.brands-list:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 5px;
}

.page-shell {
  position: relative;
  width: 100%;
  min-height: 100svh;
  margin: 0;
  isolation: isolate;
  background: #fff;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  width: 100%;
  height: var(--topbar-height);
  margin: 0;
  border-radius: 0;
  padding-left: max(var(--header-gutter), env(safe-area-inset-left));
  padding-right: max(var(--header-gutter), env(safe-area-inset-right));
  background: #fff;
  transition: box-shadow 220ms ease;
}

.topbar.is-scrolled {
  box-shadow: 0 8px 24px rgba(61, 7, 16, 0.07);
}

.topbar a:focus-visible,
.mobile-drawer a:focus-visible,
.menu-toggle:focus-visible {
  outline-color: var(--red);
  outline-offset: 4px;
}

.header-stack {
  display: grid;
  width: min(100%, 1200px);
  height: 100%;
  margin: 0 auto;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  column-gap: 32px;
  align-items: center;
}

.brand-mark {
  width: 140px;
  grid-column: 2;
  grid-row: 1;
  border-radius: 4px;
}

.brand-mark img {
  width: 100%;
  height: auto;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.2vw, 32px);
}

.desktop-nav--left {
  grid-column: 1;
  grid-row: 1;
}

.header-actions {
  display: flex;
  grid-column: 3;
  grid-row: 1;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(20px, 2.5vw, 36px);
  min-width: 0;
}

.desktop-nav a {
  position: relative;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  border-radius: 4px;
  color: #3b3032;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 600;
  white-space: nowrap;
  transition: color 180ms ease;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 2px;
  border-radius: 1px;
  background: var(--red);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

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

.login-button {
  display: inline-flex;
  min-height: 44px;
  flex: 0 0 auto;
  border: 1px solid rgba(154, 27, 35, 0.2);
  border-radius: 999px;
  padding: 0 16px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--red);
  background: #fff;
  font-size: 16px;
  line-height: 20px;
  font-weight: 600;
  white-space: nowrap;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.login-button:hover,
.login-button:focus-visible {
  border-color: var(--red);
  color: #fff;
  background: var(--red);
}

.login-button img {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  object-fit: contain;
  transition: filter 180ms ease;
}

.login-label {
  display: block;
  line-height: 20px;
  transform: translateY(-1px);
}

.login-button:hover img,
.login-button:focus-visible img {
  filter: brightness(0) invert(1);
}

.mobile-menu {
  display: none;
  width: 44px;
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
}

.menu-toggle {
  position: relative;
  display: block;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(61, 7, 16, 0.1);
  border-radius: 50%;
  color: var(--red-dark);
  background: #fff;
  cursor: pointer;
  list-style: none;
  -webkit-tap-highlight-color: transparent;
  transition: border-color 180ms ease, background-color 180ms ease;
}

.menu-toggle::-webkit-details-marker {
  display: none;
}

.menu-toggle::marker {
  content: "";
}

.menu-toggle:hover,
.mobile-menu[open] .menu-toggle {
  border-color: rgba(154, 27, 35, 0.25);
  background: var(--blush);
}

.menu-toggle-line {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 1.5px;
  border-radius: 2px;
  background: #9a1b23;
  transform: translate(-50%, -4px);
  transition: transform 180ms ease;
}

.menu-toggle-line + .menu-toggle-line {
  transform: translate(-50%, 3px);
}

.mobile-menu[open] .menu-toggle-line {
  transform: translate(-50%, -50%) rotate(45deg);
}

.mobile-menu[open] .menu-toggle-line + .menu-toggle-line {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.mobile-drawer {
  position: fixed;
  inset: var(--topbar-height) 0 0;
  z-index: 19;
  display: flex;
  height: calc(100vh - var(--topbar-height));
  height: calc(100dvh - var(--topbar-height));
  flex-direction: column;
  margin: 0;
  overflow: hidden;
  overscroll-behavior-y: contain;
  padding: 0;
  background: #fff;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
  transition: opacity 260ms ease, transform 320ms cubic-bezier(0.22, 1, 0.36, 1), visibility 0s 320ms;
}

.mobile-drawer-inner {
  display: grid;
  width: 100%;
  min-height: 0;
  flex: 1 1 auto;
  align-content: start;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  padding: 12px max(var(--header-gutter), env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(var(--header-gutter), env(safe-area-inset-left));
  gap: 0;
}

.mobile-drawer-inner a {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-radius: 12px;
  padding: 10px 12px;
  color: var(--red-dark);
  font-size: clamp(22px, 5.5vw, 26px);
  line-height: 1.25;
  font-weight: 600;
  transition: color 180ms ease, background-color 180ms ease;
}

.mobile-drawer-inner a::after {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  content: "";
  transform: rotate(45deg);
}

.mobile-drawer-inner a:hover,
.mobile-drawer-inner a:focus-visible {
  color: var(--red);
  background: var(--blush);
}

.hero {
  display: grid;
  padding: 144px 24px 112px;
  place-items: center;
  text-align: center;
}

.hero-content {
  width: min(1200px, 100%);
  margin: 0 auto;
  font-style: normal;
  font-weight: 400;
}

.hero h1 {
  margin: 0;
  color: #151618;
  font-size: clamp(32px, 3.5vw, 60px);
  line-height: 1.08;
  font-weight: 400;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.page-shell--coming-soon {
  display: flex;
  flex-direction: column;
}

.page-shell--coming-soon > .topbar,
.page-shell--coming-soon > .site-footer {
  flex-shrink: 0;
}

.coming-soon {
  display: grid;
  min-height: max(360px, calc(100vh - var(--topbar-height)));
  min-height: max(360px, calc(100svh - var(--topbar-height)));
  flex: 1;
  place-content: center;
  justify-items: center;
  gap: 24px;
  padding: 80px 24px;
  text-align: center;
}

.coming-soon h1 {
  margin: 0;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.15;
  font-weight: 400;
  letter-spacing: -0.025em;
}

.coming-soon-loader {
  width: 32px;
  height: 32px;
  border: 3px solid var(--blush);
  border-top-color: var(--red);
  border-radius: 50%;
  animation: coming-soon-spin 900ms linear infinite;
}

@keyframes coming-soon-spin {
  to { transform: rotate(360deg); }
}

.explore-button {
  display: flex;
  width: 182px;
  min-height: 56px;
  margin: 26px auto 0;
  border-radius: 999px;
  padding: 7px 8px 7px 18px;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  background: var(--red);
  font-size: 18px;
  line-height: 1;
  font-weight: 600;
}

.explore-arrow {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border-radius: 50%;
  place-items: center;
  color: #fff;
  background: var(--red);
  transition: transform 180ms ease;
}

.explore-arrow svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.explore-button:hover .explore-arrow {
  transform: translateX(2px);
}

.services-section {
  --service-card-width: clamp(100px, 16vw, 288px);
  padding: 0 0 80px;
  overflow: clip;
  color: #151618;
  background: #fff;
}

.services-gallery {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

.services-arc {
  position: relative;
  height: calc(72px + var(--service-card-width) * 1.6);
  margin: 0;
  padding: 0;
  overflow: visible;
  list-style: none;
}

.service-card {
  --card-x: 0;
  --card-y: 0;
  --card-angle: 0deg;
  --card-scale: 1;
  position: absolute;
  top: 64px;
  left: 50%;
  z-index: 2;
  width: var(--service-card-width);
  opacity: 1;
  transform: translateX(-50%) translate(var(--card-x), var(--card-y)) rotate(var(--card-angle));
  transition: transform 950ms cubic-bezier(0.22, 1, 0.36, 1), opacity 550ms ease;
  will-change: transform;
}

.service-card[data-slot="-3"],
.service-card[data-slot="3"] {
  --card-y: calc(var(--service-card-width) * 1.02);
  z-index: 0;
  opacity: 0;
  pointer-events: none;
  transition: transform 950ms cubic-bezier(0.22, 1, 0.36, 1), opacity 550ms ease;
}

.service-card[data-slot="-3"] {
  --card-x: calc(var(--service-card-width) * -2.7);
  --card-angle: -44deg;
}

.service-card[data-slot="-2"] {
  --card-x: calc(var(--service-card-width) * -1.98);
  --card-y: calc(var(--service-card-width) * 0.58);
  --card-angle: -30deg;
  z-index: 1;
}

.service-card[data-slot="-1"] {
  --card-x: calc(var(--service-card-width) * -1.04);
  --card-y: calc(var(--service-card-width) * 0.16);
  --card-angle: -14deg;
}

.service-card[data-slot="0"] {
  --card-scale: 1.12;
  z-index: 3;
}

.service-card[data-slot="1"] {
  --card-x: calc(var(--service-card-width) * 1.04);
  --card-y: calc(var(--service-card-width) * 0.16);
  --card-angle: 14deg;
}

.service-card[data-slot="2"] {
  --card-x: calc(var(--service-card-width) * 1.98);
  --card-y: calc(var(--service-card-width) * 0.58);
  --card-angle: 30deg;
  z-index: 1;
}

.service-card[data-slot="3"] {
  --card-x: calc(var(--service-card-width) * 2.7);
  --card-angle: 44deg;
}

.services-gallery .service-card.is-repositioning {
  transition: none;
}

.services-gallery.is-intro-pending .service-card {
  opacity: 0;
  pointer-events: none;
  transition: none;
}

.services-gallery.is-intro-pending .service-card .service-label {
  opacity: 0;
  transition: none;
}

.service-card-link {
  display: block;
}

.service-card figure {
  position: relative;
  margin: 0;
  transform: scale(var(--card-scale));
  transform-origin: center bottom;
  transition: transform 950ms cubic-bezier(0.22, 1, 0.36, 1);
}

.service-card img {
  width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
}

.service-label {
  position: absolute;
  top: -24px;
  left: 50%;
  width: max-content;
  max-width: min(300px, 85vw);
  border: 1px solid rgba(61, 7, 16, 0.07);
  border-radius: 8px;
  padding: 12px 18px;
  color: var(--red-dark);
  background: #fff;
  box-shadow: 0 8px 28px rgba(61, 7, 16, 0.12);
  font-size: 16px;
  line-height: 1.3;
  font-weight: 600;
  text-align: center;
  opacity: 0;
  transform: translate(-50%, 8px);
  transition: opacity 150ms ease, transform 150ms ease;
  pointer-events: none;
}

.service-card[data-slot="0"] .service-label {
  opacity: 1;
  transform: translate(-50%, 0);
  transition-delay: 650ms;
}

@media (max-width: 1440px) {
  .services-section {
    --service-card-width: clamp(230px, 36vw, 440px);
  }

  .services-arc {
    height: calc(80px + var(--service-card-width) * 1.1);
    touch-action: pan-y pinch-zoom;
    user-select: none;
    -webkit-user-select: none;
  }

  .service-card {
    top: 80px;
    cursor: grab;
    transition: transform 950ms cubic-bezier(0.22, 1, 0.36, 1), opacity 0s;
  }

  .service-card[data-slot="-2"],
  .service-card[data-slot="2"],
  .service-card[data-slot="-3"],
  .service-card[data-slot="3"] {
    z-index: 0;
    opacity: 0;
    pointer-events: none;
    transition: transform 950ms cubic-bezier(0.22, 1, 0.36, 1), opacity 0s 950ms;
  }

  .service-card[data-slot="-2"],
  .service-card[data-slot="-3"] {
    --card-x: calc(-50vw - var(--service-card-width));
  }

  .service-card[data-slot="2"],
  .service-card[data-slot="3"] {
    --card-x: calc(50vw + var(--service-card-width));
  }
}

@media (min-width: 1441px) and (hover: hover) and (pointer: fine) {
  .service-card:not([data-slot="-3"]):not([data-slot="3"]):hover {
    --card-scale: 1.12;
    z-index: 5;
  }

  .service-card:hover figure {
    transition-delay: 0ms;
  }

  .service-card:hover .service-label {
    opacity: 1;
    transform: translate(-50%, 0);
    transition-delay: 0ms;
  }

  .services-arc:has(> .service-card:hover) > .service-card[data-slot="0"]:not(:hover) {
    --card-scale: 1;
  }

  .services-arc:has(> .service-card:hover) > .service-card[data-slot="0"]:not(:hover) .service-label {
    opacity: 0;
    transition-delay: 0ms;
  }
}

.services-gallery.is-interacting .service-card,
.services-gallery.is-interacting .service-card figure {
  transition: none;
  cursor: grabbing;
}

.services-gallery.is-interacting .service-label {
  opacity: 0;
  transition-delay: 0ms;
}

.services-gallery.is-interacting .service-card[data-slot="0"].is-near-center .service-label {
  opacity: 1;
  transform: translate(-50%, 0);
}

.services-gallery.is-settling .service-card,
.services-gallery.is-settling .service-card figure {
  transition: transform 300ms cubic-bezier(0.22, 1, 0.36, 1), opacity 0s;
  transition-delay: 0ms;
}

.services-gallery.is-settling .service-card[data-slot="-2"],
.services-gallery.is-settling .service-card[data-slot="2"],
.services-gallery.is-settling .service-card[data-slot="-3"],
.services-gallery.is-settling .service-card[data-slot="3"] {
  transition: transform 300ms cubic-bezier(0.22, 1, 0.36, 1), opacity 0s 300ms;
}

.services-gallery.is-settling .service-label {
  transition-delay: 120ms;
}

@media (min-width: 681px) and (max-width: 1000px) {
  .service-label {
    max-width: 200px;
    padding: 10px 14px;
    font-size: 14px;
  }
}

.services-controls {
  position: absolute;
  bottom: 28px;
  left: 50%;
  z-index: 7;
  display: flex;
  width: max-content;
  margin: 0;
  align-items: center;
  gap: 0;
  transform: translateX(-50%);
}

.services-controls[hidden] {
  display: none;
}

.services-indicator {
  display: grid;
  width: 12px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  padding: 0;
  place-items: center;
  background: transparent;
  cursor: pointer;
  transition: width 250ms ease;
}

.services-indicator::after {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #e5e5e5;
  content: "";
  transition: width 250ms ease, background-color 250ms ease;
}

.services-indicator[aria-current="true"] {
  width: 24px;
}

.services-indicator[aria-current="true"]::after {
  width: 18px;
  background: #222;
}

.services-indicator:hover:not([aria-current="true"])::after {
  background: #aaa;
}

.services-pause:focus-visible {
  top: -36px;
  left: 50%;
  width: max-content;
  height: auto;
  overflow: visible;
  clip-path: none;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 6px 12px;
  color: #222;
  background: #fff;
  font: inherit;
  transform: translateX(-50%);
}

.services-copy {
  width: min(820px, calc(100% - 48px));
  margin: 0 auto;
  text-align: center;
}

.services-copy h2 {
  margin: 0;
}

.services-copy h2,
.showcase-title,
#purpose-title {
  font-size: clamp(32px, 3.5vw, 48px);
  line-height: 1.15;
  font-weight: 400;
  letter-spacing: -0.025em;
  text-align: center;
  text-wrap: balance;
}

.services-description {
  max-width: 700px;
  margin: 20px auto 0;
  font-size: 22px;
  line-height: 1.5;
  text-wrap: pretty;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (max-width: 680px) {
  .services-section {
    --service-card-width: clamp(180px, 59vw, 360px);
    padding-bottom: 48px;
  }

  .services-arc {
    height: calc(64px + var(--service-card-width) * 1.1);
  }

  .service-card {
    top: 64px;
  }

  .service-label {
    padding: 10px 14px;
    font-size: 14px;
  }

  .services-description {
    font-size: 18px;
  }
}

.showcase-title {
  margin: 0 0 var(--section-title-gap);
  color: var(--red);
}

.featured-work {
  padding: 80px 0 96px;
  background: #fff;
}

.work-heading {
  width: min(1056px, calc(100% - 48px));
  margin: 0 auto;
}

.section-heading {
  display: flex;
  margin-bottom: var(--section-title-gap);
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 24px;
}

.section-heading .showcase-title {
  min-width: 0;
  flex: 1 1 480px;
  margin: 0;
  color: var(--red-dark);
  text-align: left;
}

.brands-tabs {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
}

.brands-tab {
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 0 0 8px;
  color: var(--red-dark);
  background: transparent;
  font: inherit;
  font-size: clamp(32px, 3.5vw, 48px);
  line-height: 1.15;
  font-weight: 400;
  letter-spacing: -0.025em;
  white-space: nowrap;
  opacity: 0.6;
  cursor: pointer;
  transition: opacity 180ms ease, border-color 180ms ease;
}

.brands-tab:hover,
.brands-tab[aria-selected="true"] {
  opacity: 1;
}

.brands-tab[aria-selected="true"] {
  border-bottom-color: var(--red);
}

.work-carousel {
  position: relative;
  width: min(1056px, calc(100% - 48px));
  margin: 0 auto;
}

.section-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.section-arrow {
  display: grid;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  padding: 7px;
  place-items: center;
  color: var(--red);
  background: var(--blush);
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease;
}

.section-arrow:hover:not(:disabled) {
  color: #fff;
  background: var(--red);
}

.section-arrow:disabled {
  color: rgba(154, 27, 35, 0.3);
  background: transparent;
  cursor: default;
}

.section-arrow svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.section-see-all {
  display: inline-flex;
  align-items: center;
  border: 0;
  padding: 6px 0 6px 10px;
  color: var(--red);
  background: transparent;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}

.section-see-all:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.work-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 40px) / 3);
  align-items: start;
  gap: 20px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.work-grid::-webkit-scrollbar {
  display: none;
}

.work-grid.is-expanded {
  grid-auto-flow: row;
  grid-auto-columns: auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: visible;
  scroll-snap-type: none;
}

.work-grid.is-expanded .work-card h3 {
  display: block;
  overflow: visible;
  -webkit-line-clamp: unset;
}

.work-card {
  min-width: 0;
  color: #151618;
  scroll-snap-align: start;
}

.work-card-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  background: #eee5df;
}

.work-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.work-card[data-project="maqam-visa"] .work-card-media img {
  object-position: 51% center;
}

.work-card[data-project="suluhu-studio"] .work-card-media img {
  object-position: 48% center;
}

.work-card[data-project="pearl-muslim"] .work-card-media img {
  object-position: 52% center;
}

.work-card:hover .work-card-media img {
  transform: scale(1.035);
}

.work-card-label {
  position: absolute;
  bottom: 10px;
  left: 10px;
  border-radius: 999px;
  padding: 3px 9px;
  color: #fff;
  background: rgba(21, 22, 24, 0.78);
  font-size: 13px;
  line-height: 1.2;
  font-weight: 600;
}

.work-card-copy {
  padding: 16px 10px 0;
}

.work-card h3 {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 700;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.brands {
  padding: 72px 24px 88px;
  background: #fff;
}

.brands-inner {
  width: min(1056px, 100%);
  margin: 0 auto;
}

.brands .showcase-title {
  color: var(--red-dark);
}

.brands-list {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 72px) / 4);
  margin: 0;
  padding: 0 0 28px;
  gap: 24px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  list-style: none;
}

.brands-list::-webkit-scrollbar {
  display: none;
}

.brands-list.is-expanded {
  grid-auto-flow: row;
  grid-auto-columns: auto;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: visible;
  padding-bottom: 0;
  scroll-snap-type: none;
}

.brands-list li {
  display: grid;
  min-width: 0;
  aspect-ratio: 1;
  border-radius: 22px;
  padding: 28px;
  place-items: center;
  background: #fff;
  box-shadow: 0 12px 28px rgba(61, 7, 16, 0.06);
  scroll-snap-align: start;
}

.brands-list img {
  max-width: 100%;
  height: auto;
  max-height: 112px;
  object-fit: contain;
}

.partners-list img {
  width: min(100%, 220px);
  height: 150px;
  max-height: 150px;
}

.purpose-section {
  padding: 88px 24px 48px;
  background: #fff;
}

.purpose-section > h2 {
  width: min(1680px, 100%);
  margin: 0 auto var(--section-title-gap);
  color: var(--red-dark);
}

.purpose-grid {
  display: grid;
  width: min(1680px, 100%);
  margin: 0 auto;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-auto-rows: clamp(280px, 28vw, 420px);
  gap: 24px;
  transition: grid-template-columns 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.purpose-card {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border-radius: 28px;
  color: #fff;
  background: var(--red-dark);
}

.purpose-card-content {
  position: absolute;
  inset: 0;
  display: block;
  padding: clamp(24px, 2.5vw, 40px);
}

.purpose-card-content:focus-visible {
  outline-offset: -4px;
}

.purpose-card-content::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(32, 7, 10, 0.6), rgba(32, 7, 10, 0.04) 75%);
  content: "";
}

.purpose-card-content > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform 300ms ease;
}

.purpose-card--company .purpose-card-content > img {
  object-position: center;
}

.purpose-card h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: 0;
}

.purpose-card-arrow {
  position: absolute;
  right: 20px;
  bottom: 20px;
  z-index: 1;
  display: grid;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  place-items: center;
  color: var(--red);
  background: #fff;
  transition: color 200ms ease, background-color 200ms ease;
}

.purpose-card-arrow svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (hover: hover) and (pointer: fine) {
  .purpose-card:hover .purpose-card-content > img {
    transform: scale(1.035);
  }

  .purpose-card:hover .purpose-card-arrow {
    color: #fff;
    background: #151618;
  }
}

@media (min-width: 681px) and (hover: hover) and (pointer: fine) {
  .purpose-grid:has(> .purpose-card--vision:hover) {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  }

  .purpose-grid:has(> .purpose-card--company:hover) {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  }
}

.site-footer {
  height: 356px;
  padding: 33px 24px 40px;
  color: #fff;
  background: var(--red);
}

.footer-inner {
  width: min(100%, 1056px);
  margin: 0 auto;
}

.footer-main {
  display: grid;
  min-height: 151px;
  grid-template-columns: 250px repeat(3, max-content);
  column-gap: 48px;
  justify-content: space-between;
}

.footer-brand {
  width: 250px;
}

.footer-logo {
  display: block;
  width: 116px;
  margin-bottom: 16px;
}

.footer-logo img {
  width: 100%;
  height: auto;
}

.footer-brand p {
  width: 250px;
  margin: 0;
  font-size: 16px;
  line-height: 1.15;
  font-weight: 400;
}

.footer-column h2,
.footer-socials h2 {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 700;
}

.footer-column ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-column li {
  line-height: 25px;
}

.footer-column a {
  position: relative;
  display: inline-block;
  font-size: 16px;
  line-height: 1;
  font-weight: 400;
}

.footer-column a::after {
  position: absolute;
  right: 0;
  bottom: -3px;
  left: 0;
  height: 1px;
  background: var(--orange);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.footer-column a:hover::after,
.footer-column a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 5px;
}

.social-links a {
  display: grid;
  width: 19px;
  height: 19px;
  place-items: center;
  color: #fff;
}

.social-links svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.1;
}

.social-links .social-dot,
.social-links .social-play {
  fill: currentColor;
  stroke: none;
}

.footer-divider {
  width: calc(100% + 32px);
  height: 2px;
  margin-top: 75px;
  margin-left: -16px;
  background: #be7766;
}

.copyright {
  margin: 36px 0 0;
  font-size: 16px;
  line-height: 1;
  font-weight: 600;
}

@media (max-width: 1024px) {
  .login-button {
    width: 44px;
    padding: 0;
  }

  .login-label {
    display: none;
  }
}

@media (max-width: 1023px) {
  .topbar:has(.mobile-menu[open]) + .mobile-drawer {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    transition-delay: 0s;
  }

  html:has(.mobile-menu[open]),
  body:has(.mobile-menu[open]) {
    overflow: hidden;
  }

  :root {
    --topbar-height: 76px;
    --header-gutter: 24px;
  }

  .header-stack {
    column-gap: 16px;
  }

  .brand-mark {
    width: 128px;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .menu-toggle,
  .login-button {
    border: 0;
  }
}

@media (max-width: 480px) {
  :root {
    --topbar-height: 68px;
    --header-gutter: 16px;
  }

  .header-stack {
    column-gap: 12px;
  }

  .brand-mark {
    width: 116px;
  }
}

@media (min-width: 721px) and (max-width: 1440px) {
  .hero h1 {
    font-size: 45px;
  }
}

@media (min-width: 721px) and (max-width: 1023px) {
  .hero h1 {
    font-size: 40px;
  }
}

@media (min-width: 1025px) and (max-width: 1440px) {
  .hero-content,
  .hero h1 {
    font-size: 48px;
  }

  #services-title,
  #purpose-title,
  .showcase-title,
  .brands-tabs,
  .brands-tab {
    font-size: 35.48px;
  }
}

@media (max-width: 720px) {
  .hero {
    padding: 100px 20px 84px;
  }

  .hero-content {
    width: min(600px, 100%);
  }

  .hero h1 {
    font-size: 30px;
  }

  #services-title,
  #purpose-title,
  .showcase-title,
  .brands-tabs,
  .brands-tab {
    font-size: 25px;
  }

  .section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
  }

  .section-actions {
    justify-self: end;
    gap: 0;
    margin-left: 0;
  }

  .section-arrow {
    display: none;
  }

  .section-see-all {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    padding: 6px 0;
    line-height: 1.15;
  }

  .brands-tabs {
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    gap: 16px;
  }

  .brands-tabs::-webkit-scrollbar {
    display: none;
  }

  .brands-tab {
    flex: 0 0 auto;
    padding: 8px 0 6px;
    scroll-snap-align: start;
  }

  .brands-tab:focus-visible {
    outline-offset: -2px;
  }

}

@media (max-width: 900px) {
  .purpose-grid {
    grid-auto-rows: 300px;
  }

  .purpose-card-content {
    padding: 24px;
  }

  .site-footer {
    height: auto;
    padding: 44px 24px 28px;
  }

  .footer-inner {
    width: min(100%, 560px);
  }

  .footer-main {
    min-height: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 38px 28px;
  }

  .footer-brand {
    width: 100%;
  }

  .footer-brand p {
    width: min(224px, 100%);
  }

  .footer-divider {
    width: 100%;
    margin-top: 40px;
    margin-left: 0;
  }

  .copyright {
    margin-top: 24px;
  }
}

@media (max-width: 720px) {
  .work-grid {
    grid-auto-columns: calc((100% - 20px) / 2);
  }

  .brands-list {
    grid-auto-flow: row;
    grid-auto-columns: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
    scroll-snap-type: none;
  }

  .work-grid.is-expanded,
  .brands-list.is-expanded {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .work-grid {
    grid-auto-columns: 86%;
  }

  .work-grid.is-expanded {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 680px) {
  :root {
    --section-title-gap: 32px;
  }

  .purpose-section {
    padding: 56px 20px 28px;
  }

  .purpose-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: clamp(240px, 60vw, 320px);
    gap: 20px;
  }

  .purpose-card {
    border-radius: 22px;
  }

  .brands {
    padding: 56px 24px 64px;
  }

  .brands-list li {
    border-radius: 18px;
    padding: 22px;
  }

  .brands-list img {
    max-height: 90px;
  }

  .partners-list img {
    height: 90px;
  }

  .featured-work {
    padding: 56px 0 64px;
  }

}

@media (prefers-reduced-motion: reduce) {
  .coming-soon-loader {
    animation: none;
  }

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
