/* ==========================================================================
   CORE — Selected Work
   Design tokens are taken from the live corestoryae.com stylesheet.
   ========================================================================== */

@font-face {
  font-family: "Zalando Sans SemiExpanded";
  src: url("../fonts/ZalandoSansSemiExpanded-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
}

/* Tajawal: body copy and Arabic (CORE Master Brand Guide, p.16). Files from the brand kit. */
@font-face {
  font-family: "Tajawal";
  src: url("../fonts/Tajawal-Light.ttf") format("truetype");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Tajawal";
  src: url("../fonts/Tajawal-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Tajawal";
  src: url("../fonts/Tajawal-Medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Tajawal";
  src: url("../fonts/Tajawal-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: dark;

  /* CORE palette (Master Brand Guide p.16 + corestoryae.com/styles.css) */
  --black: #000000;
  --charcoal: #333333;
  --green: #005840;
  --burgundy: #800139;
  --orange: #ff7701;
  --cream: #f8e1bf;
  --lime: #cdfd51;
  --grey: #b3b3b3;
  --pink: #feb3d2;
  --brand-grey: #7b6f79;

  /* Derived surfaces for the cinematic dark canvas */
  --surface: #0d0d0d;
  --surface-2: #161616;
  --line: rgba(248, 225, 191, 0.16);
  --line-strong: rgba(248, 225, 191, 0.32);
  --text: var(--cream);
  --text-muted: rgba(248, 225, 191, 0.7);

  /* Display: Zalando Sans SemiExpanded. Text + Arabic: Tajawal. */
  --font: "Zalando Sans SemiExpanded", "Helvetica Neue", Arial, sans-serif;
  --font-text: "Tajawal", "Helvetica Neue", Arial, sans-serif;
  --font-ar-display: "Tajawal", "Segoe UI", "Geeza Pro", "Noto Sans Arabic", Tahoma, sans-serif;
  --font-ar-text: "Tajawal", "Segoe UI", "Geeza Pro", "Noto Sans Arabic", Tahoma, sans-serif;

  --gutter: clamp(20px, 6vw, 115px);
  --max: 1720px;
  --header-h: clamp(64px, 7vw, 96px);
  --radius: 2px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  background: var(--black);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--black);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
}

html.is-locked,
html.is-locked body {
  overflow: hidden;
}

:lang(ar) body,
html[lang="ar"] body {
  font-family: var(--font-ar-text);
}

img,
svg,
video,
iframe {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
p,
dl,
dd,
ul {
  margin: 0;
}

ul[role="list"] {
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}

.sprite {
  position: absolute;
  overflow: hidden;
}

.wrap {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.icon {
  width: 18px;
  height: 18px;
  flex: none;
}

[dir="rtl"] .icon--flip {
  transform: scaleX(-1);
}

.icon--back {
  transform: scaleX(-1);
}

[dir="rtl"] .icon--back {
  transform: none;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  inset-inline-start: 12px;
  padding: 10px 16px;
  background: var(--lime);
  color: var(--black);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 200ms var(--ease);
}

.skip-link:focus {
  transform: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--orange);
}

.eyebrow--dark {
  color: var(--charcoal);
}

/* Reveal ---------------------------------------------------------------- */
/* Movement only: content is always visible, even if animation never runs. */
.js [data-reveal] {
  transform: translateY(16px);
  transition: transform 900ms var(--ease);
}

.js [data-reveal].is-in {
  transform: none;
}


/* Header ---------------------------------------------------------------- */
.site-header {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto;
  height: var(--header-h);
  transition:
    background-color 400ms var(--ease),
    border-color 400ms var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(0, 0, 0, 0.82);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.site-header__inner {
  display: flex;
  height: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: block;
  color: var(--lime);
}

.brand__logo {
  width: clamp(64px, 5vw, 96px);
  height: auto;
  aspect-ratio: 291.2 / 169.1;
}

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

.nav__link {
  position: relative;
  padding: 10px 0;
  color: var(--cream);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 200ms ease;
}

.nav__link:hover {
  color: var(--lime);
}

.nav__sep {
  color: var(--text-muted);
  font-size: 12px;
}

.nav__lang {
  min-height: 36px;
  padding: 4px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  font-family: var(--font-ar-display);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  transition:
    border-color 200ms ease,
    color 200ms ease;
}

.nav__lang:hover {
  border-color: var(--lime);
  color: var(--lime);
}

.nav__lang[lang="en"] {
  font-family: var(--font);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Hero ------------------------------------------------------------------ */
.hero {
  padding-top: calc(var(--header-h) + clamp(36px, 5.5vw, 96px));
  padding-bottom: clamp(56px, 8vw, 120px);
}

.hero__intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  margin-bottom: clamp(36px, 4.5vw, 72px);
}

.hero__title {
  max-width: 14ch;
  font-size: clamp(46px, 7.4vw, 140px);
  font-weight: 600;
  line-height: 0.94;
  letter-spacing: -0.035em;
  color: var(--cream);
}

.hero__sub {
  max-width: 30ch;
  color: var(--text-muted);
  font-size: clamp(17px, 1.5vw, 24px);
  font-weight: 300;
  line-height: 1.4;
}

@media (min-width: 1000px) {
  .hero__intro {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "eyebrow eyebrow"
      "title sub";
    align-items: end;
    column-gap: 64px;
  }

  .hero__intro .eyebrow {
    grid-area: eyebrow;
  }

  .hero__title {
    grid-area: title;
  }

  .hero__sub {
    grid-area: sub;
    padding-bottom: 0.6em;
  }
}

html[lang="ar"] .hero__title,
html[lang="ar"] .section-title,
html[lang="ar"] .contact__title,
html[lang="ar"] .capabilities__title,
html[lang="ar"] .card__title,
html[lang="ar"] .reel__title,
html[lang="ar"] .player__title {
  font-family: var(--font-ar-display);
  letter-spacing: 0;
}

html[lang="ar"] .hero__title {
  line-height: 1.15;
}

html[lang="ar"] .eyebrow,
html[lang="ar"] .nav__link,
html[lang="ar"] .filter,
html[lang="ar"] .card__kicker {
  letter-spacing: 0;
  text-transform: none;
}

/* Featured reel */
.reel {
  --ar: 16 / 9;
  --arn: 1.7778;
}

.reel__media {
  position: relative;
  display: block;
  width: min(100%, calc(78svh * var(--arn)));
  margin-inline: auto;
  aspect-ratio: var(--ar);
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius);
  background: var(--surface);
  cursor: pointer;
}

.reel__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.001);
  transition: transform 1600ms var(--ease);
}

.reel__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent 45%),
    radial-gradient(ellipse at center, transparent 50%, rgba(0, 0, 0, 0.25));
  pointer-events: none;
}

.reel__media:hover img {
  transform: scale(1.025);
}

.play-ring {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  width: clamp(116px, 13vw, 190px);
  aspect-ratio: 1;
  place-items: center;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.play-ring__text {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: var(--cream);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  animation: spin 28s linear infinite;
}

.play-ring__btn {
  display: grid;
  width: 46%;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: var(--lime);
  color: var(--black);
  transition: transform 500ms var(--ease);
}

.play-ring__btn .icon {
  width: 34%;
  height: 34%;
  margin-inline-start: 6%;
}

[dir="rtl"] .play-ring__btn .icon {
  margin-inline-start: 0;
  margin-inline-end: 6%;
}

.reel__media:hover .play-ring__btn,
.reel__media:focus-visible .play-ring__btn {
  transform: scale(1.08);
}

.reel__caption {
  display: flex;
  width: min(100%, calc(78svh * var(--arn)));
  margin: 18px auto 0;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.reel__title {
  font-size: clamp(17px, 1.4vw, 22px);
  font-weight: 600;
}

.reel__meta {
  color: var(--text-muted);
  font-size: 13px;
}

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

/* Empty slot (preview only) */
.slot {
  position: relative;
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  overflow: hidden;
  background: var(--surface);
  color: var(--text-muted);
  text-align: center;
}

.slot__rings {
  position: absolute;
  inset: -40%;
  width: 180%;
  height: 180%;
  max-width: none;
  opacity: 0.38;
  pointer-events: none;
}

.slot__label {
  position: relative;
  display: grid;
  gap: 6px;
  padding: 16px;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.slot__label strong {
  color: var(--cream);
  font-size: clamp(14px, 1.2vw, 18px);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.card--slot .slot__rings {
  opacity: 0.2;
}

.reel .slot .slot__label {
  position: absolute;
  inset-block-end: 6%;
  inset-inline: 0;
}

.reel .slot {
  width: min(100%, calc(78svh * var(--arn)));
  margin-inline: auto;
  aspect-ratio: var(--ar);
  border: 1px dashed var(--line-strong);
}

/* Work ------------------------------------------------------------------ */
.work {
  padding-block: clamp(56px, 8vw, 120px) clamp(80px, 10vw, 160px);
  border-top: 1px solid var(--line);
}

.work:focus {
  outline: none;
}

.section-head {
  display: flex;
  margin-bottom: 28px;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.section-title {
  font-size: clamp(32px, 4.6vw, 76px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
}

.section-count {
  color: var(--text-muted);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.filters {
  display: flex;
  margin-bottom: clamp(32px, 4vw, 56px);
  padding-bottom: 4px;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.filters::-webkit-scrollbar {
  display: none;
}

.filter {
  display: inline-flex;
  min-height: 44px;
  padding: 0 18px;
  align-items: center;
  gap: 8px;
  flex: none;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  color: var(--cream);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition:
    background-color 250ms ease,
    border-color 250ms ease,
    color 250ms ease;
}

.filter:hover {
  border-color: var(--cream);
}

.filter[aria-pressed="true"] {
  border-color: var(--lime);
  background: var(--lime);
  color: var(--black);
}

.filter__count {
  opacity: 0.6;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.filter--service {
  border-style: dashed;
}

.grid-wrap {
  display: grid;
  gap: clamp(40px, 5vw, 72px);
  transition: opacity 260ms ease;
}

.grid-wrap.is-switching {
  opacity: 0;
}

.grid {
  display: grid;
  gap: clamp(36px, 4vw, 56px) clamp(16px, 2vw, 32px);
  align-items: start;
}

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

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

@media (min-width: 760px) {
  .grid--landscape {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid--portrait {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .grid--portrait {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .grid--landscape.grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.card {
  position: relative;
  min-width: 0;
}

.card__media {
  --ar: 16 / 9;
  position: relative;
  display: block;
  aspect-ratio: var(--ar);
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1200ms var(--ease);
}


.card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background-color 500ms ease;
  pointer-events: none;
}

.card__play {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  width: clamp(52px, 5vw, 72px);
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: var(--lime);
  color: var(--black);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.85);
  transition:
    opacity 400ms var(--ease),
    transform 500ms var(--ease);
  pointer-events: none;
}

.card__play .icon {
  width: 38%;
  height: 38%;
  margin-inline-start: 6%;
}

.card__duration {
  position: absolute;
  z-index: 2;
  inset-block-end: 12px;
  inset-inline-end: 12px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.7);
  color: var(--cream);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.card:hover .card__media img,
.card:focus-within .card__media img {
  transform: scale(1.035);
}

.card:hover .card__media::after,
.card:focus-within .card__media::after {
  background: rgba(0, 0, 0, 0.22);
}

.card:hover .card__play,
.card:focus-within .card__play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

@media (hover: none) {
  .card__play {
    width: 44px;
    opacity: 0.92;
    transform: translate(-50%, -50%) scale(1);
  }
}

.card__meta {
  display: grid;
  padding-top: 16px;
  gap: 4px;
}

.card__kicker {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: var(--orange);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card__index {
  color: var(--text-muted);
  font-weight: 200;
  font-variant-numeric: tabular-nums;
}

.card__title {
  font-size: clamp(17px, 1.35vw, 22px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.card__link {
  color: inherit;
  text-decoration: none;
}

/* The title link stretches over the whole card: one tab stop, one deep link. */
.card__link::after {
  content: "";
  position: absolute;
  z-index: 3;
  inset: 0;
}

.card__link:focus-visible {
  outline: none;
}

.card__link:focus-visible::after {
  outline: 2px solid var(--lime);
  outline-offset: 6px;
}

.card__client {
  color: var(--text-muted);
  font-size: 14px;
}

.card--slot .card__meta {
  gap: 10px;
}

.skeleton {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: var(--surface-2);
}

.empty-public {
  padding: 48px 0;
  color: var(--text-muted);
  font-size: 18px;
}

.noscript {
  padding: 24px 0;
  color: var(--text-muted);
}

/* Diagnostics (preview only) ------------------------------------------- */
.diagnostics {
  padding-block: 0 clamp(64px, 8vw, 120px);
}

.diag {
  padding: 24px;
  border: 1px dashed var(--line-strong);
  border-radius: 6px;
  background: var(--surface);
  font-size: 14px;
}

.diag h2 {
  margin-bottom: 8px;
  color: var(--lime);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.diag p {
  color: var(--text-muted);
}

.diag ul {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.diag li {
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.diag code {
  color: var(--cream);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
}

.diag .diag__bad {
  color: #ff9d5c;
}

.diag .diag__warn {
  color: var(--grey);
}

/* Capabilities ---------------------------------------------------------- */
.capabilities {
  padding-block: clamp(72px, 10vw, 160px);
  background: var(--cream);
  color: var(--charcoal);
}

.capabilities__head {
  display: grid;
  gap: 28px;
  margin-bottom: clamp(48px, 6vw, 96px);
}

@media (min-width: 1000px) {
  .capabilities__head {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    grid-template-areas:
      "eyebrow eyebrow"
      "title intro";
    align-items: end;
    column-gap: 64px;
  }

  .capabilities__head .eyebrow {
    grid-area: eyebrow;
  }

  .capabilities__title {
    grid-area: title;
  }

  .capabilities__intro {
    grid-area: intro;
  }
}

.capabilities__title {
  font-size: clamp(44px, 7vw, 120px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

html[lang="ar"] .capabilities__title {
  line-height: 1.2;
  text-transform: none;
}

.w-light {
  font-weight: 200;
}

.w-bold {
  font-weight: 600;
}

html[lang="ar"] .w-light {
  font-weight: 300;
}

html[lang="ar"] .w-bold {
  font-weight: 700;
}

.capabilities__intro {
  max-width: 38ch;
  font-size: clamp(18px, 1.6vw, 26px);
  font-weight: 300;
  line-height: 1.45;
}

.forces {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  border-top: 1px solid rgba(51, 51, 51, 0.24);
}

@media (min-width: 640px) {
  .forces {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .forces {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.force {
  display: flex;
  min-height: 210px;
  padding: 28px 28px 32px 0;
  flex-direction: column;
  gap: 12px;
  border-bottom: 1px solid rgba(51, 51, 51, 0.24);
}

[dir="rtl"] .force {
  padding: 28px 0 32px 28px;
}

.force__name {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--green);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.force__name::before {
  content: "";
  width: 10px;
  height: 10px;
  flex: none;
  background: var(--orange);
}

.force__desc {
  max-width: 26ch;
  font-size: 17px;
  line-height: 1.45;
}

.force__link {
  display: inline-flex;
  margin-top: auto;
  padding-top: 12px;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.force__link:hover {
  color: var(--burgundy);
}

.motto {
  display: flex;
  margin-top: clamp(40px, 5vw, 72px);
  align-items: baseline;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--charcoal);
  font-size: clamp(14px, 1.2vw, 18px);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.motto i {
  color: var(--orange);
  font-style: normal;
}

.motto__ar {
  margin-inline-start: auto;
  font-family: var(--font-ar-display);
  font-size: 1.25em;
  font-weight: 700;
  letter-spacing: 0;
}

/* Contact --------------------------------------------------------------- */
.contact {
  overflow: hidden;
  padding-block: clamp(72px, 10vw, 160px);
  background: var(--green);
  color: var(--cream);
}

.contact__grid {
  display: grid;
  gap: 56px;
  align-items: center;
}

@media (min-width: 1000px) {
  .contact__grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  }
}

.contact__title {
  font-size: clamp(44px, 7vw, 120px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.035em;
}

html[lang="ar"] .contact__title {
  line-height: 1.2;
}

.contact__lead {
  max-width: 44ch;
  margin-top: 24px;
  color: rgba(248, 225, 191, 0.86);
  font-size: clamp(17px, 1.35vw, 21px);
  font-weight: 300;
  line-height: 1.5;
}

.contact__actions {
  display: flex;
  margin-top: 36px;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  min-height: 52px;
  padding: 0 24px;
  align-items: center;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition:
    background-color 250ms ease,
    color 250ms ease,
    border-color 250ms ease,
    transform 400ms var(--ease);
}

.btn--lime {
  background: var(--lime);
  color: var(--green);
}

.btn--lime:hover {
  background: var(--cream);
}

.btn--lime .icon {
  transition: transform 400ms var(--ease);
}

.btn--lime:hover .icon {
  transform: translateX(4px);
}

[dir="rtl"] .btn--lime:hover .icon {
  transform: scaleX(-1) translateX(4px);
}

.btn--ghost {
  border-color: rgba(248, 225, 191, 0.45);
  color: var(--cream);
}

.btn--ghost:hover {
  border-color: var(--lime);
  color: var(--lime);
}

.slot-note {
  max-width: 52ch;
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px dashed rgba(248, 225, 191, 0.5);
  border-radius: 4px;
  color: rgba(248, 225, 191, 0.86);
  font-size: 13px;
}

.contact__details {
  display: grid;
  margin-top: 48px;
  grid-template-columns: minmax(0, 1fr);
  border-top: 1px solid rgba(248, 225, 191, 0.24);
}

@media (min-width: 640px) {
  .contact__details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 32px;
  }
}

.contact__details > div {
  padding: 18px 0;
  border-bottom: 1px solid rgba(248, 225, 191, 0.24);
}

.contact__details dt {
  margin-bottom: 4px;
  color: rgba(248, 225, 191, 0.72);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

html[lang="ar"] .contact__details dt {
  letter-spacing: 0;
}

.contact__details dd {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 17px;
  font-weight: 500;
}

.contact__details a {
  text-decoration: none;
}

.contact__details a:hover {
  color: var(--lime);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.copy-btn {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  color: rgba(248, 225, 191, 0.75);
}

.copy-btn:hover {
  background: rgba(248, 225, 191, 0.1);
  color: var(--lime);
}

.copy-status {
  color: var(--lime);
  font-size: 12px;
}

.contact__badge {
  display: none;
}

@media (min-width: 1000px) {
  .contact__badge {
    display: grid;
    place-items: center;
  }
}

.badge {
  position: relative;
  display: grid;
  width: min(100%, 360px);
  aspect-ratio: 1;
  place-items: center;
}

.badge__ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: var(--cream);
  font-family: var(--font);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  animation: spin 40s linear infinite;
}

.badge__ring text {
  font-family: var(--font), var(--font-ar-display);
}

.badge__logo {
  width: 34%;
  height: auto;
  aspect-ratio: 291.2 / 169.1;
  color: var(--lime);
}

/* Footer ---------------------------------------------------------------- */
.site-footer {
  padding-block: 40px;
  background: var(--black);
  color: var(--grey);
  font-size: 12px;
}

.site-footer__inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px 32px;
}

.site-footer__logo {
  width: 112px;
  height: auto;
  aspect-ratio: 291.2 / 194.6;
  color: var(--cream);
}

.site-footer__logo--ar {
  aspect-ratio: 292.1 / 206.6;
  display: none;
}

html[lang="ar"] .site-footer__logo--en {
  display: none;
}

html[lang="ar"] .site-footer__logo--ar {
  display: block;
}

.site-footer__links {
  display: flex;
  margin-inline-start: auto;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.site-footer a {
  text-decoration: none;
  transition: color 180ms ease;
}

.site-footer a:hover {
  color: var(--lime);
}

/* Player ---------------------------------------------------------------- */
.player {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--cream);
  overscroll-behavior: contain;
}

.player::backdrop {
  background: #000;
}

.player[open] {
  display: block;
}

/* Fallback for browsers without <dialog> support */
.player.is-fallback[open] {
  position: fixed;
  z-index: 200;
  inset: 0;
  background: rgba(0, 0, 0, 0.96);
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
}

.player__shell {
  display: flex;
  height: 100%;
  flex-direction: column;
  padding: max(12px, env(safe-area-inset-top)) clamp(12px, 3vw, 40px) max(12px, env(safe-area-inset-bottom));
}

.player__bar,
.player__foot {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.player__bar {
  min-height: 64px;
  padding-bottom: 12px;
}

.player__heading {
  min-width: 0;
}

.player__kicker {
  overflow: hidden;
  color: var(--orange);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

html[lang="ar"] .player__kicker {
  letter-spacing: 0;
}

.player__title {
  overflow: hidden;
  font-size: clamp(17px, 1.6vw, 24px);
  font-weight: 600;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player__tools,
.player__nav {
  display: flex;
  flex: none;
  align-items: center;
  gap: 8px;
}

.tool-btn {
  display: inline-flex;
  min-height: 44px;
  padding: 0 16px;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  transition:
    border-color 200ms ease,
    background-color 200ms ease,
    color 200ms ease;
}

.tool-btn:hover {
  border-color: var(--cream);
}

.tool-btn[aria-expanded="true"] {
  border-color: var(--lime);
  color: var(--lime);
}

.tool-btn--icon {
  width: 44px;
  padding: 0;
  justify-content: center;
}

.tool-btn:disabled {
  opacity: 0.3;
  cursor: default;
}

.player__body {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
  gap: 16px;
}

.player__stage {
  display: grid;
  min-height: 0;
  flex: 1;
  place-items: center;
  container-type: size;
}

.player__frame {
  --ar: 16 / 9;
  --arn: 1.7778;
  position: relative;
  width: min(100cqw, calc(100cqh * var(--arn)));
  aspect-ratio: var(--ar);
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface) center / cover no-repeat;
}

/* Browsers without container query units */
@supports not (width: 1cqw) {
  .player__frame {
    width: min(100%, calc((100dvh - 190px) * var(--arn)));
  }
}

.player__frame iframe,
.player__frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.player__frame video {
  background: #000;
}

.player__loading {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: grid;
  place-items: center;
  color: var(--text-muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.player__loading::before {
  content: "";
  width: 34px;
  height: 34px;
  border: 2px solid var(--line-strong);
  border-top-color: var(--lime);
  border-radius: 50%;
  animation: spin 900ms linear infinite;
}

.player__details {
  flex: none;
  max-height: 38vh;
  overflow-y: auto;
  padding: 20px 0 4px;
  border-top: 1px solid var(--line);
}

@media (min-width: 1100px) {
  .player__body.has-details {
    flex-direction: row;
  }

  .player__body.has-details .player__details {
    width: 360px;
    max-height: none;
    padding: 4px 0 4px 32px;
    border-top: 0;
    border-inline-start: 1px solid var(--line);
  }

  [dir="rtl"] .player__body.has-details .player__details {
    padding: 4px 32px 4px 0;
  }
}

.details-list {
  display: grid;
  gap: 18px;
}

.details-list dt {
  margin-bottom: 4px;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

html[lang="ar"] .details-list dt {
  letter-spacing: 0;
}

.details-list dd {
  font-size: 15px;
  line-height: 1.55;
}

.player__foot {
  min-height: 56px;
  padding-top: 12px;
}

.fallback-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 13px;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.fallback-link:hover {
  color: var(--lime);
}

.player__pos {
  min-width: 52px;
  color: var(--text-muted);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

@media (max-width: 640px) {
  .player__tools .tool-btn:not(.tool-btn--icon) span {
    display: none;
  }

  .player__tools .tool-btn:not(.tool-btn--icon) {
    width: 44px;
    padding: 0;
    justify-content: center;
  }

  .player__foot {
    flex-wrap: wrap;
  }
}

/* Preview pill ------------------------------------------------------------ */
.preview-pill {
  position: fixed;
  z-index: 60;
  inset-block-end: 16px;
  inset-inline-start: 16px;
  max-width: calc(100vw - 32px);
  padding: 8px 14px;
  border: 1px solid var(--lime);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.88);
  color: var(--lime);
  font-family: var(--font);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* Small screens ---------------------------------------------------------- */
@media (max-width: 640px) {
  .nav__link--hide-sm {
    display: none;
  }

  .force {
    min-height: 0;
    padding-inline-end: 0;
  }

  .motto__ar {
    margin-inline-start: 0;
    flex-basis: 100%;
  }

  .site-footer__links {
    margin-inline-start: 0;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js [data-reveal] {
    transform: none;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.card--slot .skeleton:first-child {
  width: 38%;
}

.card--slot .skeleton:last-child {
  width: 72%;
  height: 14px;
}

/* Circular motto: always laid out left-to-right along the path. */
.play-ring__text,
.badge__ring {
  direction: ltr;
}

html[lang="ar"] .play-ring__text,
html[lang="ar"] .badge__ring {
  font-family: var(--font-ar-display);
  font-size: 15px;
  letter-spacing: 0;
}

/* Arabic needs a larger size at small UI scales to stay legible. */
html[lang="ar"] .nav__link,
html[lang="ar"] .eyebrow,
html[lang="ar"] .section-count {
  font-size: 15px;
}

html[lang="ar"] .filter {
  font-size: 15px;
}

html[lang="ar"] .card__kicker,
html[lang="ar"] .player__kicker,
html[lang="ar"] .contact__details dt,
html[lang="ar"] .details-list dt {
  font-size: 13px;
}

html[lang="ar"] .hero__sub,
html[lang="ar"] .capabilities__intro,
html[lang="ar"] .contact__lead {
  font-weight: 400;
  line-height: 1.7;
}

/* Body copy in Tajawal, per the brand guide. Headlines and UI labels stay in Zalando Sans. */
.hero__sub,
.capabilities__intro,
.force__desc,
.contact__lead,
.card__client,
.reel__meta,
.details-list dd,
.empty-public,
.slot-note,
.noscript,
.diag p,
.diag li {
  font-family: var(--font-text);
}

.hero__sub,
.capabilities__intro,
.contact__lead {
  font-size: clamp(19px, 1.6vw, 26px);
  font-weight: 300;
  line-height: 1.45;
}

.force__desc,
.details-list dd {
  font-size: 18px;
  font-weight: 400;
}

.card__client,
.reel__meta {
  font-size: 15px;
}

/* Featured film taller than it is wide: headline and film side by side. */
@media (min-width: 1000px) {
  .hero--tall {
    display: grid;
    width: 100%;
    max-width: calc(var(--max) + var(--gutter) * 2);
    margin-inline: auto;
    padding-inline: var(--gutter);
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    align-items: center;
    column-gap: clamp(40px, 5vw, 96px);
  }

  .hero--tall > .wrap {
    padding-inline: 0;
  }

  .hero--tall .hero__intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: none;
    margin-bottom: 0;
  }

  .hero--tall .hero__intro > * {
    grid-area: auto;
  }

  .hero--tall .hero__title {
    font-size: clamp(46px, 6.2vw, 120px);
  }

  .hero--tall .hero__sub {
    padding-bottom: 0;
  }

  .hero--tall .reel__media,
  .hero--tall .reel__caption {
    width: min(100%, calc(76svh * var(--arn)));
    margin-inline: auto 0;
  }
}

/* Keeps the ring legible over bright footage. */
.play-ring::before {
  content: "";
  position: absolute;
  inset: 4%;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.38);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.play-ring__text,
.play-ring__btn {
  position: relative;
}

.play-ring__text {
  position: absolute;
}
