@font-face {
  font-family: 'Asal Arabic';
  src: url('assets/fonts/Asal-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Asal Arabic';
  src: url('assets/fonts/Asal-Black.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
:root {
  --teal: #00A7B5;
  --navy: #20264C;
  --paper: #EAF3F5;
  /* TUNE: Page inset and display scale. */
  --gutter: clamp(24px, 5vw, 80px);
  --display: clamp(78px, 13.8vw, 230px);
  --ease: cubic-bezier(.2, .8, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--navy); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--navy);
  font-family: 'Asal Arabic', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
  font-size: clamp(20px, 1.7vw, 26px);
  font-weight: 400;
  font-synthesis: none;
  line-height: 1.8;
}
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
h1, h2, h3 { font-weight: 900; }
a { all: unset; box-sizing: inherit; cursor: pointer; touch-action: manipulation; }
a:focus-visible { background: var(--paper); color: var(--navy); }
::selection { background: var(--navy); color: var(--paper); }
.topbar {
  position: absolute;
  z-index: 2;
  top: 0;
  inset-inline: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px var(--gutter);
  color: var(--paper);
  font-size: 18px;
}
.topbar > p { background: var(--navy); padding: 8px 14px; }
.topbar__brand { display: grid; place-items: center; padding: 10px; background: var(--navy); }
.topbar__brand:hover { background: var(--teal); color: var(--navy); }
.topbar__brand:active { transform: translateY(3px); }
.wordmark {
  display: block;
  width: 100px;
  aspect-ratio: 1534.066 / 616.930;
  background: currentColor;
  -webkit-mask: url('assets/wordmark.svg') no-repeat center / contain;
  mask: url('assets/wordmark.svg') no-repeat center / contain;
}
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--navy);
  color: var(--paper);
  padding: 184px var(--gutter) 96px;
  min-height: 820px;
}
.hero__field { position: absolute; inset: 0 34% 0 -18%; z-index: -1; overflow: hidden; }
.motif {
  position: absolute;
  inset: -12%;
  background: var(--teal);
  -webkit-mask-image: url('assets/pattern-mask.png');
  mask-image: url('assets/pattern-mask.png');
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: cover;
  mask-size: cover;
}
.hero__field .motif { transform: rotate(-12deg) scale(1.12); }
.hero__title { position: relative; font-size: var(--display); line-height: 1.32; }
.hero__title > span { display: table; width: fit-content; max-width: 100%; }
.hero__first { background: var(--navy); padding: 0 .08em .12em; }
.hero__second {
  margin-top: -.03em;
  margin-inline-start: 21%;
  padding: 0 .12em .13em;
  background: var(--teal);
  color: var(--navy);
  font-size: 1.12em;
}
.hero__title .hero__last {
  margin-top: 22px;
  margin-inline-start: 10%;
  padding: 12px 24px 16px;
  background: var(--navy);
  font-size: clamp(24px, 2.8vw, 44px);
  line-height: 1.7;
  font-weight: 400;
}
.slogan { background: var(--teal); color: var(--navy); padding: 40px var(--gutter) 50px; overflow: hidden; }
.slogan__line { font-size: clamp(26px, 3.6vw, 60px); font-weight: 900; line-height: 1.5; }
.about {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 10%;
  padding: 108px var(--gutter) 120px;
}
.section-title { font-size: clamp(48px, 6.8vw, 112px); line-height: 1.4; }
.about__text { max-width: 38ch; padding-top: 28px; }
.formats { padding: 0 0 112px; overflow: hidden; }
.formats > .section-title { padding: 0 var(--gutter) 64px; }
.formats__stack { display: grid; }
.format { position: relative; padding: 40px 6vw 52px; width: 78%; }
.format__index { display: block; font-size: 20px; margin-bottom: 8px; }
.format__title { font-size: clamp(48px, 7.6vw, 120px); line-height: 1.4; }
.format__text { max-width: 34ch; margin-top: 16px; }
.format--news { background: var(--navy); color: var(--paper); margin-inline-start: 0; }
.format--reading { background: var(--teal); color: var(--navy); margin-inline-start: 11%; }
.format--analysis { background: var(--navy); color: var(--paper); margin-inline-start: 22%; }
.closing { background: var(--navy); color: var(--paper); padding-top: 80px; overflow: hidden; }
.closing__line {
  max-width: 22ch;
  padding: 0 var(--gutter);
  font-size: clamp(34px, 4.6vw, 72px);
  font-weight: 900;
  line-height: 1.55;
}
.closing__payoff { position: relative; margin-top: 72px; padding: 104px 0 0; }
.closing__field { position: absolute; inset: 0; overflow: hidden; }
.closing__field .motif { -webkit-mask-size: 1700px; mask-size: 1700px; transform: rotate(12deg); }
.button {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 28px;
  align-items: center;
  width: 78%;
  margin-inline-start: auto;
  padding: 56px 6vw 64px;
  background: var(--teal);
  color: var(--navy);
  transition: transform 200ms var(--ease);
}
.button__label { font-size: clamp(60px, 10vw, 160px); font-weight: 900; line-height: 1.35; }
.button__handle { grid-column: 1; justify-self: start; font-size: clamp(24px, 3vw, 44px); line-height: 1.5; }
.button__arrow { width: clamp(48px, 7vw, 112px); grid-column: 2; grid-row: 1 / 3; }
.button:hover, .button:focus-visible { background: var(--paper); color: var(--navy); }
.button:active { transform: translateY(5px); }
.footer { padding: 60px var(--gutter) 32px; background: var(--navy); color: var(--paper); }
.footer__rule { font-size: clamp(26px, 3vw, 44px); font-weight: 900; }
.footer__meta { display: flex; justify-content: space-between; gap: 24px; margin-top: 40px; font-size: 17px; }
.reveal { transition: transform 700ms var(--ease), opacity 700ms var(--ease); }
@media (prefers-reduced-motion: no-preference) {
  .hero__first { animation: arrive 850ms var(--ease) both; }
  .hero__second { animation: arrive 850ms 130ms var(--ease) both; }
  .hero__last { animation: arrive 850ms 260ms var(--ease) both; }
  .hero__field .motif { animation: drift 4s var(--ease) both; }
  .reveal--waiting { opacity: 0; transform: translateY(32px); }
}
@keyframes arrive { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: none; } }
@keyframes drift { from { transform: rotate(-12deg) scale(1.18) translateX(-24px); } to { transform: rotate(-12deg) scale(1.12); } }
@media (max-width: 900px) {
  .hero { min-height: 690px; padding-top: 170px; padding-bottom: 100px; }
  .hero__field { inset-inline-end: -38%; inset-inline-start: 25%; }
  .about { gap: 40px; padding-block: 72px 88px; }
  .about__text { padding-top: 10px; }
  .format { width: 88%; padding-inline: var(--gutter); }
  .format--reading { margin-inline-start: 6%; }
  .format--analysis { margin-inline-start: 12%; }
  .button { width: 88%; padding: 40px var(--gutter) 48px; }
}
@media (max-width: 540px) {
  :root { --display: 18.8vw; }
  .topbar { padding-block: 18px; font-size: 15px; }
  .wordmark { width: 76px; }
  .hero { padding-top: 146px; padding-bottom: 84px; min-height: 670px; }
  .hero__field { inset: 0 -64% 0 -95%; }
  .hero__title { line-height: 1.55; }
  .hero__second { margin-inline-start: 14%; font-size: 1.35em; }
  .hero__title .hero__last { margin-top: 36px; margin-inline-start: 8%; padding: 12px 18px 18px; max-width: 88%; font-size: 25px; }
  .about { grid-template-columns: 1fr; gap: 24px; padding-block: 56px 72px; }
  .about__text { max-width: none; padding: 0; }
  .section-title { font-size: 52px; }
  .formats { padding-bottom: 72px; }
  .formats > .section-title { padding-bottom: 36px; }
  .format { padding-block: 28px 40px; }
  .format__title { font-size: 44px; }
  .format__text { font-size: 20px; margin-top: 16px; }
  .closing { padding-top: 56px; }
  .closing__line { font-size: 36px; }
  .closing__payoff { margin-top: 40px; padding-top: 88px; }
  .button { width: 94%; gap: 16px; padding-block: 36px 40px; }
  .button__label { font-size: 15vw; grid-column: 1 / 3; }
  .button__handle { font-size: 26px; }
  .button__arrow { width: 44px; grid-row: 2; }
  .footer { padding-top: 40px; }
  .footer__meta { font-size: 15px; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none; transition: none; }
  .reveal--waiting { opacity: 1; transform: none; }
  a:active { transform: none; }
}
