@font-face {
  font-family: "DM Sans";
  src: url("/assets/fonts/dm-sans-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/rose-1-0/instrument-serif.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans Arabic";
  src: url("/assets/fonts/noto-sans-arabic-cn.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --paper: #f6f4ec;
  --ink: #192e29;
  --pine: #21483e;
  --rust: #99482f;
  --muted: #52615a;
  --rule: #cbcfc2;
  --serif: "Instrument Serif", Georgia, serif;
  --body: "DM Sans", system-ui, sans-serif;
  --gap: clamp(18px, 4.4vw, 76px);
  --arrow: "→";
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.55 var(--body); }
html[dir=rtl] {
  --body: "Noto Sans Arabic", "DM Sans", sans-serif;
  --serif: "Noto Sans Arabic", sans-serif;
  --arrow: "←";
}
h1, h2, h3, p, figure, ol { margin: 0; }
a { color: inherit; text-underline-offset: .22em; }
button, summary { font: inherit; }
a:hover { color: var(--rust); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #bb692b; outline-offset: 4px; }
img { display: block; max-width: 100%; }
.wrap { width: min(100% - 2 * var(--gap), 1280px); margin-inline: auto; }
.skip { position: absolute; z-index: 20; inset-inline-start: 14px; top: 8px; padding: 8px 14px; background: white; translate: 0 -160%; }
.skip:focus { translate: 0; }
.mast { border-bottom: 1px solid var(--rule); }
.mast-row { position: relative; min-height: 72px; display: flex; align-items: center; gap: clamp(18px, 3vw, 52px); }
.wordmark { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font: 600 19px/1 "DM Sans", sans-serif; letter-spacing: -.045em; white-space: nowrap; }
.wordmark img { width: 31px; height: 31px; }
.desktop-nav, .footer-row nav { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 42px); }
.desktop-nav { margin-inline-start: auto; }
.desktop-nav a, .language, .menu summary, .footer-row nav { font-size: .89rem; font-weight: 550; }
.desktop-nav a, .menu a, .language, .footer-row a { text-decoration: none; }
.desktop-nav a:hover, .menu a:hover, .language:hover, .footer-row a:hover { text-decoration: underline; }
.language { font-family: "DM Sans", "Noto Sans Arabic", sans-serif; padding-inline-start: 22px; border-inline-start: 1px solid var(--rule); }
.menu { display: none; }
.hero { display: grid; grid-template-columns: .86fr 1.15fr; align-items: center; gap: clamp(32px, 6vw, 92px); padding-block: clamp(48px, 5vw, 78px); }
.hero-copy, .tool-card, .research-grid > * { min-width: 0; }
.eyebrow { color: var(--rust); font-weight: 700; font-size: .72rem; letter-spacing: .125em; line-height: 1.45; text-transform: uppercase; }
.eyebrow a { text-decoration-thickness: 1px; }
h1, h2, .tool-card h3, .film-programme strong { font-family: var(--serif); font-weight: 400; }
h1 { margin-block: .22em .2em; font-size: clamp(3.7rem, 7vw, 6.15rem); line-height: .96; letter-spacing: -.046em; }
h1 em { color: var(--rust); font-weight: inherit; }
.intro { max-width: 44ch; font-size: clamp(1rem, 1.25vw, 1.16rem); color: var(--muted); line-height: 1.55; }
.actions, .tool-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.hero .actions { margin-block-start: clamp(22px, 2.4vw, 36px); }
.button, .primary-link {
  display: inline-flex; align-items: center; justify-content: center; gap: .85em;
  font-weight: 650; font-size: .92rem; text-decoration: none;
}
.button { background: var(--pine); color: white; border: 1px solid var(--pine); padding: .75em 1.12em; min-height: 45px; }
.button::after, .primary-link::after, .services a::after { content: var(--arrow); content: var(--arrow) / ""; font: 400 1.08em/1 "DM Sans", sans-serif; }
.button:hover { background: #132f27; color: white; }
.text-link { font-size: .91rem; font-weight: 600; text-decoration-thickness: 1px; }
.bench-plate { background: #c2c7c3; }
.bench-plate > a { display: block; }
.bench-plate img { width: 100%; height: auto; }
.bench-plate figcaption { background: var(--ink); color: #fff; display: flex; justify-content: space-between; align-items: baseline; gap: 10px 20px; padding: 10px 17px; font-size: .88rem; font-weight: 550; }
.bench-plate figcaption span + span { color: #c5d2c8; font-size: .76rem; font-weight: 400; }
.services { background: #e6ebdf; border-block: 1px solid #c2ccbd; }
.service-row { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: clamp(18px, 3.5vw, 54px); padding-block: 19px; }
.service-row h2 { font-size: 1.54rem; line-height: 1.1; white-space: nowrap; }
.service-row nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.services a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 5px clamp(9px, 1.35vw, 24px); border-inline-start: 1px solid #b6c2b3; font-size: .87rem; font-weight: 600; line-height: 1.4; text-decoration: none; }
.services a:last-child { padding-inline-end: 0; }
.services a:hover { text-decoration: underline; }
.tools, .cinema { padding-block: clamp(48px, 6vw, 90px); }
.section-line, .cinema-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px 28px; margin-block-end: 26px; }
.section-line h2, .cinema h2, .research h2 { font-size: clamp(2.6rem, 4.3vw, 4.45rem); line-height: 1.02; letter-spacing: -.038em; }
.tools-grid, .film-programme { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.5vw, 40px); }
.tool-card { display: flex; flex-direction: column; align-items: flex-start; }
.tool-media { display: block; width: 100%; }
.tool-image { width: 100%; aspect-ratio: 1.94; object-fit: cover; height: auto; background: #d6d7cf; }
.tool-card h3 { margin-block: 20px 7px; font-size: clamp(1.9rem, 2.6vw, 2.9rem); letter-spacing: -.025em; line-height: 1.06; }
.tool-card p, .cinema-head p:not(.eyebrow) { max-width: 55ch; color: var(--muted); }
.tool-card p { margin-block-end: 17px; }
.tool-actions { gap: 8px 20px; margin-block-start: auto; }
.tool-actions > a + a { font-size: .85rem; }
.primary-link { color: var(--pine); border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.credit { margin-block-start: 13px; font-size: .71rem; color: var(--muted); }
.research { background: #203d35; color: #f4f3e8; }
.research-grid { display: grid; grid-template-columns: 1.05fr .85fr; gap: clamp(40px, 8vw, 112px); align-items: center; padding-block: clamp(48px, 6vw, 88px); }
.research .eyebrow { color: #cadbbd; }
.research h2 { max-width: 17ch; margin-block: 15px; }
.research p:not(.eyebrow) { color: #d4e0d5; max-width: 54ch; }
.research .actions { margin-block: 23px 14px; }
.research .button { background: #e7edda; color: #203d35; border-color: #e7edda; }
.research a:hover { color: #fff; }
.research .button:hover { background: #fff; color: #203d35; }
.research small { color: #c3d2c5; }
.profiles { border: 1px solid #758b78; color: #ecf3df; background: #29453b; }
.profile-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: clamp(15px, 2.4vw, 35px) 9px; text-align: center; --unit: clamp(34px, 4.3vw, 67px); }
.profile-pair > div { min-width: 0; }
.profile-pair b, .profile-pair span { display: block; }
.profile-pair span { color: #c9d8cd; font-size: .82rem; font-variant-numeric: tabular-nums; }
.shape-box { height: calc(var(--unit) + 32px); display: grid; place-items: center; }
.shape-box i { display: block; border: 1.5px solid #e7ecd8; background: #142e29; }
.square { width: var(--unit); height: var(--unit); }
.rectangle { width: calc(2 * var(--unit)); height: calc(.5 * var(--unit)); }
.profiles figcaption { text-align: center; padding: 9px; border-top: 1px solid #758b78; font-size: .8rem; color: #d8e3d5; }
.cinema h2 { margin-block: 8px 12px; font-family: "Instrument Serif", Georgia, serif; }
.cinema-head { align-items: flex-end; }
.film-programme { padding: 0; list-style: none; }
.film-programme a { display: grid; text-decoration: none; }
.film-programme a:hover strong { text-decoration: underline; text-decoration-thickness: 1px; }
.film-programme img { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; }
.lf-film-step { margin-block: 14px 4px; color: var(--rust); font-size: .76rem; font-weight: 650; }
.film-programme strong { font-size: clamp(1.55rem, 2.2vw, 2.15rem); letter-spacing: -.02em; line-height: 1.12; }
.lf-film-by { margin-block-start: 6px; color: var(--muted); font-size: .83rem; }
footer { border-top: 1px solid var(--rule); }
.footer-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; padding-block: 29px; }
.footer-row nav { flex-wrap: wrap; gap: 12px 24px; }
.footer-row button { background: none; border: 0; color: inherit; padding: 0; text-decoration: underline; cursor: pointer; }
[dir=rtl] .eyebrow { letter-spacing: normal; }
[dir=rtl] h1, [dir=rtl] .section-line h2, [dir=rtl] .research h2, [dir=rtl] .tool-card h3, [dir=rtl] .film-programme strong { letter-spacing: normal; line-height: 1.45; font-weight: 550; }
[dir=rtl] h1 { font-size: clamp(3.45rem, 5.45vw, 5.6rem); line-height: 1.36; margin-block: .1em .15em; }
[dir=rtl] h1 em { font-style: normal; }
[dir=rtl] .section-line h2, [dir=rtl] .research h2 { font-size: clamp(2rem, 3.15vw, 3.3rem); }
[dir=rtl] .tool-card h3, [dir=rtl] .film-programme strong { font-size: clamp(1.3rem, 1.9vw, 2rem); }
[dir=rtl] .service-row h2 { font-size: 1.13rem; font-weight: 600; }
[dir=rtl] .intro, [dir=rtl] .tool-card p, [dir=rtl] .research p:not(.eyebrow), [dir=rtl] .cinema-head p:not(.eyebrow) { line-height: 1.85; }
[dir=rtl] .cinema h2 { text-align: right; }
@media (max-width: 930px) {
  .service-row { grid-template-columns: 1fr; gap: 13px; }
  .services a:first-child { border-inline-start: 0; padding-inline-start: 0; }
  .cinema-head { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 800px) {
  .mast-row { min-height: 60px; gap: 19px; }
  .desktop-nav { display: none; }
  .language { border: 0; padding: 0; margin-inline-start: auto; }
  .menu { display: block; }
  .menu summary { cursor: pointer; padding: 7px 0 7px 3px; }
  .menu nav { position: absolute; z-index: 5; top: 100%; inset-inline-end: 0; display: grid; min-width: 190px; padding: 8px; border: 1px solid var(--rule); background: var(--paper); box-shadow: 0 8px 18px #192e2914; }
  .menu nav a { padding: 8px 12px; }
  .hero { gap: 25px; grid-template-columns: 1fr 1fr; }
  h1 { font-size: clamp(3.5rem, 8.3vw, 4.3rem); }
  [dir=rtl] h1 { font-size: clamp(2.6rem, 5.6vw, 3.3rem); }
  .tools-grid, .film-programme { gap: 16px; }
  .tool-actions { gap: 9px; align-items: flex-start; flex-direction: column; }
}
@media (max-width: 650px) {
  .hero, .research-grid { grid-template-columns: 1fr; }
  .hero { padding-block: 35px 27px; gap: 25px; }
  h1 { font-size: clamp(3.45rem, 12.6vw, 5.6rem); }
  [dir=rtl] h1 { font-size: clamp(2.65rem, 9.5vw, 4.55rem); }
  .hero .actions { margin-block-start: 18px; }
  .wordmark { font-size: 17px; gap: 7px; }
  .wordmark img { width: 25px; height: 25px; }
  .bench-plate figcaption { padding: 8px 10px; gap: 8px; }
  .service-row { padding-block: 16px; }
  .service-row nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
  .services a { padding: 9px 0; min-height: 42px; border: 0; border-top: 1px solid #bdcab9; }
  .tools-grid, .film-programme { grid-template-columns: 1fr; gap: 32px; }
  .section-line { align-items: flex-start; flex-wrap: wrap; }
  .tools, .cinema { padding-block: 40px; }
  .section-line h2 { font-size: clamp(2.3rem, 7.9vw, 3.1rem); }
  .section-line .text-link { margin-block: auto; }
  .tool-card h3 { margin-block-start: 13px; }
  .tool-card p { margin-block-end: 11px; }
  .tool-actions { flex-direction: row; align-items: center; gap: 8px 18px; }
  .research-grid { padding-block: 40px; gap: 24px; }
  .profile-pair { --unit: 44px; padding-block: 15px; }
  .film-programme strong { font-size: 1.85rem; }
  .cinema-head { gap: 18px; }
  [dir=rtl] .tool-card h3, [dir=rtl] .film-programme strong { font-size: 1.55rem; }
}
@media (max-width: 360px) {
  .mast-row { gap: 13px; }
  .wordmark { font-size: 16px; }
  .actions { gap: 12px 15px; }
  .service-row nav { column-gap: 12px; }
  .services a { font-size: .81rem; }
}
.device-film { margin-block-start: 11px; font-size: .84rem; }
.bench-plate figcaption { flex-wrap: wrap; row-gap: 2px; }
.bench-plate figcaption a:hover { color: white; }

.bench-title { text-decoration: none; }
.bench-title::after { content: var(--arrow); content: var(--arrow) / ""; margin-inline-start: .45em; }
.bench-title:hover { text-decoration: underline; }
@supports (grid-template-rows: subgrid) {
  @media (min-width: 651px) {
    .tools-grid { row-gap: 0; }
    .tool-card { display: grid; grid-row: span 5; grid-template-rows: subgrid; align-items: start; }
    .tool-actions { margin-block-start: 0; }
  }
}
