:root {
  --ink: #0a1a3c;
  --ink-soft: #4a5b7d;
  --blue: #0064d2;
  --blue-deep: #003087;
  --blue-pale: #e8eff9;
  --paper: #ffffff;
  --line: #cbd8ea;
  --stage: #000000;
  --shell: 1240px;
  --gutter: clamp(20px, 5vw, 72px);
  --font: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

[id] {
  scroll-margin-top: 92px;
}

@view-transition {
  navigation: auto;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.025em;
  font-variation-settings: "wdth" 112;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

p {
  margin: 0;
}

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

a {
  color: inherit;
}

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

.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--paper);
  color: var(--ink);
  padding: 12px 18px;
  z-index: 50;
}

.skip:focus {
  left: 12px;
  top: 12px;
}

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 68px;
  padding-inline: var(--gutter);
  color: var(--paper);
  border-bottom: 1px solid transparent;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.nav--solid,
.nav--light {
  background: var(--paper);
  color: var(--ink);
  border-bottom-color: var(--line);
}

.nav__mark {
  display: block;
  color: inherit;
}

.mark {
  display: block;
  width: 34px;
  height: 26px;
}

.mark--footer {
  width: 39px;
  height: 30px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.95rem;
}

.nav__links a {
  text-decoration: none;
  padding-block: 6px;
  border-bottom: 2px solid transparent;
}

.nav__links a:hover,
.nav__links a[aria-current="page"] {
  border-bottom-color: currentColor;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 4px;
  font: inherit;
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn--light {
  background: var(--paper);
  color: var(--ink);
}

.btn--light:hover {
  background: var(--blue-pale);
}

.btn--outline {
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--paper);
}

.btn--outline:hover {
  border-color: var(--paper);
  background: rgba(255, 255, 255, 0.08);
}

.cinema {
  position: relative;
  height: calc(200vh * 6);
  background: var(--stage);
}

.cinema__stage {
  position: sticky;
  top: 0;
  contain: paint;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: var(--stage);
  color: var(--paper);
}

.cinema__clip {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  visibility: hidden;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.cinema__clip.is-live {
  visibility: visible;
}

.cinema__clip.is-active {
  z-index: 2;
}

.cinema__copy {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: clamp(48px, 9vh, 96px);
  display: grid;
  gap: 20px;
  padding-inline: var(--gutter);
}

.cinema__copy--intro {
  justify-items: start;
  max-width: min(100%, 64rem);
}

.cinema__copy--outro {
  justify-items: center;
  text-align: center;
}

.cinema__copy.is-hidden,
.cinema__play.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.cinema__copy h1 {
  font-size: clamp(2.3rem, 7.6vw, 6.6rem);
  white-space: nowrap;
}

.cinema__copy h2 {
  font-size: clamp(2rem, 4.6vw, 3.5rem);
}

.cinema__copy p {
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.2vw, 1.14rem);
  max-width: 40ch;
}

.cinema__play {
  position: absolute;
  z-index: 3;
  inset-inline-end: var(--gutter);
  bottom: clamp(48px, 9vh, 96px);
  cursor: pointer;
  letter-spacing: 0.01em;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--paper);
}

.cinema__play:hover {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
}

.cinema__progress {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.16);
}

.cinema__progress span {
  display: block;
  height: 100%;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: 0 50%;
  will-change: transform;
}

.pagelink {
  display: grid;
  gap: 8px;
  padding: clamp(28px, 4vw, 44px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: border-color 0.2s ease;
}

.pagelink:hover {
  border-color: var(--blue);
}

.pagelink__label {
  color: var(--blue);
  font-size: 0.88rem;
  font-weight: 600;
}

.pagelink__title {
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.025em;
  font-variation-settings: "wdth" 112;
}

.pagelink__note {
  color: var(--ink-soft);
  max-width: 46ch;
}

.page-head__row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.page-head__meta {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.4;
  text-align: end;
  padding-bottom: 0.6em;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.section {
  padding-block: clamp(72px, 11vw, 140px);
}

.section--tight {
  padding-block: clamp(48px, 6vw, 76px);
}

.figures {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.figures > div {
  padding: clamp(22px, 3vw, 34px) clamp(16px, 2.4vw, 30px);
  border-inline-start: 1px solid var(--line);
}

.figures > div:first-child {
  border-inline-start: 0;
  padding-inline-start: 0;
}

.figures dt {
  font-variant-numeric: tabular-nums;
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variation-settings: "wdth" 112;
  color: var(--blue);
}

.figures dd {
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
  line-height: 1.45;
}

.duo {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(24px, 5vw, 72px);
  padding-top: clamp(32px, 4vw, 52px);
  border-top: 1px solid var(--line);
}

.duo + .duo {
  margin-top: clamp(48px, 7vw, 96px);
}

.duo h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.9rem);
}

.duo__body {
  display: grid;
  gap: 22px;
}

.duo__body p {
  color: var(--ink-soft);
  max-width: 54ch;
}

.marks {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
  max-width: 30rem;
}

.marks li {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.98rem;
}

.page-head {
  padding-top: calc(68px + clamp(48px, 8vw, 104px));
  padding-bottom: clamp(36px, 5vw, 64px);
  border-bottom: 3px solid var(--blue);
}

.page-head h1 {
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  color: var(--blue-deep);
}

.page-head p {
  margin-top: 18px;
  color: var(--ink-soft);
  max-width: 52ch;
}

.specs {
  display: grid;
  gap: clamp(44px, 6vw, 76px);
}

.specs__group h2 {
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  font-variation-settings: "wdth" 108;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ink);
}

.specs__group dl {
  margin: 0;
  display: grid;
  grid-template-columns: minmax(180px, 22%) 1fr;
}

.specs__group dt {
  padding-block: 16px;
  padding-inline: 0 24px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.specs__group dd {
  margin: 0;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.boxed {
  background: var(--blue-pale);
  padding: clamp(28px, 4vw, 48px);
}

.boxed h2 {
  font-size: 1.35rem;
  margin-bottom: 18px;
}

.boxed ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 40px;
}

.boxed li {
  padding-inline-start: 18px;
  position: relative;
  color: var(--ink);
}

.boxed li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.72em;
  width: 8px;
  height: 1px;
  background: var(--blue);
}

.note {
  margin-top: 28px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  max-width: 60ch;
}

.footer {
  background: var(--stage);
  color: var(--paper);
  padding-block: clamp(48px, 7vw, 84px);
}

.footer__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  align-items: flex-start;
}

.footer__mark {
  display: block;
}

.footer nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 32px;
  font-size: 0.96rem;
}

.footer nav a {
  text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  transition: border-color 0.2s ease;
}

.footer nav a:hover {
  border-bottom-color: var(--paper);
}

.footer__fine {
  width: 100%;
  margin-top: clamp(32px, 5vw, 56px);
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.85rem;
}

[dir="rtl"] .cinema__progress span {
  transform-origin: 100% 50%;
}

html[lang="ar"] body {
  font-family: "IBM Plex Sans Arabic", "Archivo", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.75;
}

html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] .pagelink__title {
  font-variation-settings: normal;
  letter-spacing: 0;
  line-height: 1.18;
}

html[lang="ar"] .cinema__copy h1 {
  font-size: clamp(2.4rem, 7vw, 6rem);
}

.nav__lang {
  font-size: 0.88rem;
  text-decoration: none;
  padding-block: 6px;
  border-bottom: 2px solid transparent;
  opacity: 0.75;
}

.nav__lang:hover {
  opacity: 1;
  border-bottom-color: currentColor;
}

@media (max-width: 1040px) {
  .nav__links {
    font-size: 0.9rem;
  }
}

@media (max-width: 960px) {
  .figures {
    grid-template-columns: repeat(2, 1fr);
  }

  .figures > div:nth-child(3) {
    border-inline-start: 0;
    padding-inline-start: 0;
  }

  .figures > div:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .specs__group dl {
    grid-template-columns: 1fr;
  }

  .specs__group dt {
    padding: 16px 0 0;
    padding-inline: 0;
    border-bottom: 0;
  }

  .specs__group dd {
    padding: 4px 0 16px;
  }
}

@media (max-width: 760px) {
  .cinema {
    height: calc(140vh * 6);
  }

  .cinema__copy {
    bottom: clamp(96px, 16vh, 150px);
  }

  .cinema__copy--outro {
    justify-items: start;
    text-align: left;
  }

  .cinema__play {
    inset-inline-start: var(--gutter);
    inset-inline-end: auto;
    bottom: clamp(26px, 5vh, 40px);
  }

  .page-head__row {
    display: block;
  }

  .page-head__meta {
    text-align: start;
    margin-top: 14px;
    padding-bottom: 0;
  }

  .duo {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .boxed ul {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  @view-transition {
    navigation: none;
  }

  * {
    transition-duration: 0.01ms !important;
  }
}
