body { margin: 0; font-family: var(--font-display); background: var(--surface); color: var(--ink); }

/* Logo */
.th-logo { display: block; width: auto; max-width: 100%; }
.th-logo-auto { display: inline-block; }
.th-logo-auto .th-logo-white { display: none; }
[data-theme="night"] .th-logo-auto .th-logo-ink { display: none; }
[data-theme="night"] .th-logo-auto .th-logo-white { display: block; }

/* Tag: box height 1.22x the type size, corner 0.18x, hairline in the text colour, 0.15em between boxes (measured on the master board) */
.th-tag { display: inline-flex; align-items: center; gap: 0.15em; font-family: var(--font-display); font-weight: 400; letter-spacing: 0.02em; text-transform: uppercase; line-height: 1; color: var(--ink-deep); white-space: nowrap; vertical-align: middle; }
.th-tag-box { display: inline-flex; align-items: center; box-sizing: border-box; height: 1.22em; padding: 0 0.42em; border: max(1px, 0.03em) solid currentColor; border-radius: var(--radius-tag); }
.th-tag-ar { font-family: var(--font-arabic); font-weight: 500; letter-spacing: 0; text-transform: none; }
.th-tag-ar .th-tag-box { font-size: 0.775em; height: 1.574em; padding: 0 0.5em; border-radius: 0.232em; border-width: max(1px, 0.039em); }

/* Strata */
.th-strata { display: flex; flex-direction: column; width: 100%; }

/* Star */
.th-star { display: inline-flex; vertical-align: middle; }
.th-star svg { display: block; flex: none; }
.th-inline-star { margin: 0 0.12em; position: relative; top: -0.06em; }

/* Photo slot */
.th-photo { background-size: cover; background-position: center; }
.th-photo-empty { background: var(--surface-grey); display: flex; align-items: center; justify-content: center; }
.th-photo-empty span { font-family: var(--font-text); font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-warm); }
.th-post .th-photo-empty, .th-email .th-photo-empty { background: var(--card-chrome); }
.th-post .th-photo-empty span { font-size: 28px; color: var(--email-ink); }
.th-email .th-photo-empty span { color: var(--email-ink); }
.th-post .th-photo-dark.th-photo-empty span { color: #FFFFFF; }

/* Scaled artboards */
.th-canvas { position: relative; overflow: hidden; flex: none; }
.th-canvas-inner { position: absolute; top: 0; left: 0; transform-origin: 0 0; }
.th-post.th-rounded { border-radius: var(--radius-card); }

/* Social post, 1080 x 1350 */
.th-post { position: relative; overflow: hidden; font-family: var(--font-display); }
.th-post *, .th-poster *, .th-email * { box-sizing: border-box; }
.th-post h2, .th-post p, .th-poster h2, .th-poster p, .th-email h1, .th-email p { margin: 0; font-weight: 400; }
.th-post[dir="rtl"] h2, .th-post[dir="rtl"] p { text-align: right; }
.th-post-top { position: absolute; top: var(--space-4); left: var(--space-4); right: var(--space-4); display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-3); }
.th-post-strata { position: absolute; left: 0; right: 0; bottom: 0; }
.th-post-strata-top { position: absolute; left: 0; right: 0; top: 0; }
.th-post-body { position: absolute; inset-inline-start: 52%; inset-inline-end: var(--space-4); }
.th-post-kicker { position: absolute; bottom: var(--space-4); inset-inline-end: var(--space-4); text-align: end; }
.th-post-fill { position: absolute; inset: 0; }
.th-post-photo-copy { position: absolute; left: var(--space-4); right: var(--space-4); bottom: var(--space-5); display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-3); padding-inline-start: var(--space-3); border-inline-start: 3px solid #FFFFFF; }
/* card: inset rounded photo over the strata (Hub "Student Open House", Capital, X Arabic) */
.th-post-card-photo { position: absolute; left: 29px; right: 29px; border-radius: var(--radius-inset-photo); overflow: hidden; }
.th-post-card-caption { position: absolute; left: var(--space-4); right: var(--space-4); bottom: var(--space-4); text-align: center !important; color: #FFFFFF; text-transform: uppercase; }
/* constellation: white words on a dark ground, stars joined by fine lines (Hub "Meet Founders") */
.th-post-cstar { position: absolute; }
.th-post-cline { position: absolute; transform: translateY(-50%); color: #FFFFFF; white-space: nowrap; }
.th-post-ctag { position: absolute; left: var(--space-4); bottom: var(--space-4); }
.th-post[dir="rtl"] .th-post-ctag { left: auto; right: var(--space-4); }
.th-post-stack { position: absolute; top: 0; left: 0; right: 0; }
.th-post-stack-band { height: 158px; overflow: hidden; display: flex; justify-content: center; align-items: flex-start; }
.th-post-stack-band span { display: block; line-height: 1; white-space: nowrap; transform: translateY(0.12em); }
/* Arabic sits lower in its line box: lift it so the band crops the descenders, not the letter bodies or the hamza. */
.th-post[dir="rtl"] .th-post-stack-band span { transform: translateY(-0.04em); }
.th-post-stack-foot { position: absolute; left: var(--space-4); right: var(--space-4); bottom: var(--space-5); display: flex; flex-direction: column; align-items: center; gap: var(--space-4); text-align: center; }
.th-post-stack-foot p { text-align: center !important; }

/* Poster */
.th-poster { position: relative; overflow: hidden; font-family: var(--font-display); }
.th-poster-top { position: absolute; top: var(--space-5); left: var(--space-5); right: var(--space-5); display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-3); max-width: 1500px; }
.th-poster-head { line-height: 1.06; letter-spacing: -0.009em; max-width: 28ch; }
.th-poster-setby { text-transform: uppercase; letter-spacing: 0.14em; }
.th-poster[dir="rtl"] .th-poster-setby { font-family: var(--font-arabic); letter-spacing: 0; }
.th-poster-call { margin-top: var(--space-2) !important; }
.th-poster-head.th-ar { font-family: var(--font-arabic); line-height: 1.3; letter-spacing: 0; }
.th-poster-strata { position: absolute; left: 0; right: 0; bottom: 0; }
.th-poster-foot { position: absolute; left: var(--space-5); right: var(--space-5); bottom: var(--space-3); display: flex; justify-content: space-between; align-items: flex-end; }
.th-signoff { font-family: var(--font-arabic); font-size: 40px; color: #FFFFFF; }

/* Button: email buttons */
.th-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 1.8em; padding: 0 1.4em; font-family: var(--font-text); font-size: 19.9px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--email-ink); border-radius: var(--radius-button); cursor: pointer; text-decoration: none; }
.th-btn-filled { background: var(--email-button); border: 1px solid var(--email-button); }
.th-btn-outline { background: transparent; border: 1px solid var(--email-ink); }
.th-btn:hover { text-decoration: underline; text-underline-offset: 0.25em; }
.th-btn:focus-visible { outline: 2px solid var(--email-ink); outline-offset: 3px; }

/* Email, 1002px wide x 2579px, section heights from the artwork */
.th-email { width: 1002px; height: 2579px; display: flex; flex-direction: column; background: var(--email-ground); color: var(--email-ink); text-align: center; }
.th-email-head { position: relative; height: 150px; flex: none; }
.th-email-head .th-email-strata { position: absolute; top: 0; left: 0; right: 0; }
.th-email-head .th-email-logo { position: absolute; z-index: 1; top: 74px; left: 50%; transform: translateX(-50%); }
.th-email-hero { height: 860px; flex: none; padding: 70px var(--space-5) 0; display: flex; flex-direction: column; align-items: center; gap: 44px; }
.th-email-headline { position: relative; width: 600px; text-align: center; }
.th-email-constellation { position: absolute; left: -80px; top: 0; width: 720px; height: 300px; overflow: visible; }
.th-email-star { position: absolute; }
.th-email-headline .email-display { position: relative; display: flex; flex-direction: column; }
.th-email-line-1 { padding-left: 0; }
.th-email-line-2 { padding-left: 0; }
.th-email-hero .email-body { max-width: 700px; font-size: 27px; line-height: 1.5; color: var(--email-ink); }
.th-email .email-label, .th-email .email-list { color: var(--email-ink); }
.th-email .th-email-foot .email-label { font-size: 21px; }
.th-email-points { height: 990px; flex: none; background: var(--email-sand); padding: 90px var(--space-5) 0; display: flex; flex-direction: column; align-items: center; gap: 56px; }
.th-email-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; width: 100%; }
.th-email-photo { height: 300px; border-radius: var(--radius-photo); }
.th-email-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 28px; max-width: 900px; }
.th-email-links li { display: inline-flex; align-items: flex-start; gap: 4px; }
.th-email-links .email-index { color: var(--email-ink); vertical-align: top; }
.th-email-foot { flex: 1; position: relative; padding: 150px var(--space-5) 0; display: flex; flex-direction: column; align-items: center; gap: 40px; }
.th-email-actions { display: flex; gap: 10px; }
.th-email-url { font-family: var(--font-display); font-weight: 300; font-size: 26.3px; text-decoration: underline; margin-top: auto !important; margin-bottom: 40px !important; }
.th-email-foot .th-email-strata { position: absolute; left: 0; right: 0; bottom: 0; }
.th-email-foot > :not(.th-email-strata) { position: relative; z-index: 1; }
.th-email-foot .th-email-url { margin-bottom: 150px !important; }

/* System scale page */
.th-scale { font-family: var(--font-display); color: var(--ink); background: var(--surface); padding: var(--space-4); }
.th-scale-master { display: flex; justify-content: center; padding-bottom: var(--space-4); border-bottom: 1px solid var(--ink); }
.th-scale-head { display: grid; grid-template-columns: 200px 1.4fr 1fr 28px; gap: var(--space-3); padding: var(--space-2) 0; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }
.th-scale-row { display: grid; grid-template-columns: 200px 1.4fr 1fr 28px; gap: var(--space-3); align-items: center; padding: var(--space-3) 0; border-top: 1px solid var(--surface-grey); min-height: 104px; }
.th-scale-name { display: flex; flex-direction: column; gap: 4px; font-size: 15px; }
.th-scale-name span { font-size: 13px; color: var(--ink-warm); }
.th-scale-name .th-ar { font-family: var(--font-arabic); font-size: 17px; color: var(--ink); text-align: start; }
.th-scale-name strong.th-ar { font-weight: 500; }
.th-scale-tags { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.th-scale-strata { width: 28px; }
.th-scale-pending { font-size: 13px; color: var(--ink-warm); border: 1px dashed var(--ink-warm); padding: 12px 14px; border-radius: 6px; }
.th-scale-strata-empty { border: 1px dashed var(--ink-warm); border-radius: 4px; }
.th-scale-next input { font: inherit; font-size: 14px; padding: 6px 8px; border: 1px solid var(--ink); border-radius: 4px; background: var(--surface); color: var(--ink); width: 100%; margin-top: 4px; }
.th-scale-next input:focus-visible { outline: 2px solid var(--ink-deep); outline-offset: 2px; }
.th-scale-next label { display: flex; flex-direction: column; font-size: 15px; font-weight: 500; }
#th-next-ar { font-family: var(--font-arabic); }

/* ---------- Launch campaign layer ---------- */
/* Tag row: the outlined entity tag (who) and the filled phase tag (when), side by side */
.th-tagrow { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0.3em; }
.th-phase-tag .th-tag-box { border-width: max(1px, 0.03em); }
.th-phase-block { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; border-radius: 8px; }
.th-phase-block-name { font-family: var(--font-display); font-size: 22px; line-height: 1.1; }
.th-phase-block-line { font-family: var(--font-display); font-weight: 300; font-size: 14px; line-height: 1.35; letter-spacing: 0.03em; }
.th-phase-block[dir="rtl"] .th-phase-block-name, .th-phase-block[dir="rtl"] .th-phase-block-line { font-family: var(--font-arabic); letter-spacing: 0; }

/* Event lockup: mark, name, details, phase */
.th-event { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 0.5em; color: var(--ink-deep); }
.th-event[dir="rtl"] { align-items: flex-end; }
.th-event-white { color: #FFFFFF; }
.th-event-name { font-family: var(--font-display); font-size: 2.4em; line-height: 1; letter-spacing: -0.009em; }
.th-event-name.th-ar { font-family: var(--font-arabic); line-height: 1.2; letter-spacing: 0; }
.th-event-meta { font-family: var(--font-text); font-size: 0.6em; letter-spacing: 0.14em; text-transform: uppercase; }

/* Campaign overview page */
.th-co { font-family: var(--font-display); color: var(--ink); background: var(--surface); padding: 20px; }
.th-co-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.th-co-col { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.th-co-event { padding: 20px; border-radius: 8px; background: var(--surface-grey); }
.th-co-night { background: var(--night); }
.th-co-label { margin: 28px 0 12px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }
.th-co-row { display: flex; gap: 20px; flex-wrap: wrap; }
.th-co-table-wrap { overflow-x: auto; }
.th-co-table { border-collapse: collapse; width: 100%; font-size: 13px; }
.th-co-table th, .th-co-table td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-top: 1px solid var(--surface-grey); }
.th-co-table thead th { border-top: 0; }

/* Arabic buttons: never capitalised or letter-spaced. */
.th-btn-ar { font-family: var(--font-arabic); letter-spacing: 0; text-transform: none; font-size: 21px; }

/* Email in Arabic: mirrored, Arabic type, the constellation flipped. */
.th-email[dir="rtl"] .email-label, .th-email[dir="rtl"] .email-body, .th-email[dir="rtl"] .email-list { font-family: var(--font-arabic); letter-spacing: 0; text-transform: none; }
.th-email[dir="rtl"] .email-label { font-size: 25px; }
.th-email[dir="rtl"] .email-body { font-size: 24px; line-height: 1.6; }
.th-email[dir="rtl"] .email-display { font-family: var(--font-arabic); line-height: 1.32; }
.th-email[dir="rtl"] .th-email-headline { text-align: right; }
.th-email[dir="rtl"] .th-email-line-1 { padding-left: 0; padding-right: 0; }
.th-email[dir="rtl"] .th-email-line-2 { padding-left: 0; padding-right: 0; }
.th-email[dir="rtl"] .th-email-constellation { left: auto; right: -80px; transform: scaleX(-1); }

/* Hero: a website hero section, 1440 wide. */
.th-hero { position: relative; overflow: hidden; font-family: var(--font-display); display: flex; flex-direction: column; }
.th-hero * { box-sizing: border-box; }
.th-hero h1, .th-hero p { margin: 0; font-weight: 400; }
.th-hero-nav { height: 96px; flex: none; padding: 0 var(--space-5); display: flex; align-items: center; justify-content: space-between; }
.th-hero-nav nav { display: flex; gap: 40px; font-family: var(--font-text); font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase; }
.th-hero[dir="rtl"] .th-hero-nav nav { font-family: var(--font-arabic); font-size: 18px; letter-spacing: 0; text-transform: none; }
.th-hero-body { flex: 1; min-height: 0; display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px; padding: var(--space-3) var(--space-5) var(--space-5); }
.th-hero-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 26px; min-width: 0; }
.th-hero-head { line-height: 1.06; letter-spacing: -0.009em; }
.th-hero-head.th-ar { font-family: var(--font-arabic); line-height: 1.32; letter-spacing: 0; }
.th-hero-setby { font-size: 20px; text-transform: uppercase; letter-spacing: 0.14em; }
.th-hero[dir="rtl"] .th-hero-setby { font-family: var(--font-arabic); font-size: 23px; letter-spacing: 0; text-transform: none; }
.th-hero-text { font-weight: 300 !important; font-size: 24px; line-height: 1.45; letter-spacing: 0.02em; max-width: 34em; }
.th-hero-text.th-ar { font-family: var(--font-arabic); font-weight: 400 !important; font-size: 25px; line-height: 1.6; letter-spacing: 0; }
.th-hero-art { position: relative; border-radius: var(--radius-photo); overflow: hidden; min-height: 0; }
.th-hero-stars { position: absolute; top: 36px; inset-inline-start: 36px; display: flex; }

/* ImagePrompt: a prompt block. */
.th-prompt { font-family: var(--font-text); color: var(--ink); background: var(--surface-grey); border-radius: 10px; padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; }
.th-prompt p { margin: 0; }
.th-prompt-label { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-warm); }
.th-prompt-text { font-size: 15px; line-height: 1.5; white-space: pre-wrap; }
.th-prompt-note { font-size: 13px; color: var(--ink-warm); }


/* ---------- Community layer: website header, founder card, Community Index, Evolving Record ---------- */
.th-web, .th-webnav { position: relative; overflow: hidden; font-family: var(--font-display); color: var(--ink); }
.th-web *, .th-webnav *, .th-fcard * { box-sizing: border-box; }
.th-web h1, .th-web p, .th-fcard h3, .th-fcard p { margin: 0; }
.th-webnav { width: 1920px; background: var(--community-ground); }
.th-webnav-strata { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
.th-webnav-row { position: absolute; left: 82px; right: 82px; top: 40px; height: 48px; display: flex; align-items: center; justify-content: space-between; color: var(--ink); }
.th-webnav-items { display: flex; gap: 72px; }
.th-webnav-logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.th-webnav-toggle { display: flex; align-items: center; gap: 14px; }
.th-webnav-pill { display: inline-block; width: 56px; height: 28px; border-radius: 14px; background: var(--ink); position: relative; }
.th-webnav-pill i { position: absolute; top: 4px; right: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--community-lime); }
.th-webnav-pill-left i { right: auto; left: 4px; }
.th-ar .th-webnav-items, .th-ar .th-webnav-toggle { letter-spacing: 0; text-transform: none; }

.th-fcard { position: relative; width: 564px; height: 516px; background: var(--community-lime); color: var(--ink); border-radius: 24px; overflow: hidden; }
.th-fcard-name { position: absolute; left: 56px; right: 56px; top: 37px; }
.th-fcard-rule { position: absolute; left: 56px; right: 56px; top: 82px; border-top: 1.5px solid var(--ink); }
.th-fcard-meta { position: absolute; left: 56px; right: 56px; top: 94px; display: flex; justify-content: space-between; }
.th-fcard-year { font-weight: 500; }
.th-fcard-photos { position: absolute; left: 56px; right: 56px; top: 147px; height: 226px; display: flex; gap: 16px; }
.th-fcard-portrait { width: 186px; height: 100%; }
.th-fcard-work { flex: 1 1 0; height: 100%; }
.th-fcard .th-photo { border-radius: 0; }
.th-fcard-quote { position: absolute; left: 56px; right: 56px; top: 414px; }
.th-fcard-label { position: absolute; left: 56px; right: 56px; top: 476px; }
.th-ar .th-fcard-label { letter-spacing: 0; text-transform: none; }

.th-index-field { position: absolute; }
.th-index-grid { display: block; }
.th-index-node { position: absolute; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--ink); }
.th-index-node-founder { cursor: pointer; }
.th-index-node-founder:focus-visible { outline: 2px solid var(--community-grid); outline-offset: 2px; }
.th-index-node-sel { background: var(--community-lime); }
.th-index-arrow { position: absolute; top: 560px; font-size: 96px; line-height: 1; color: var(--ink); }
.th-index-arrow-l { left: 82px; }
.th-index-arrow-r { right: 82px; }
.th-index-zoom { position: absolute; left: 82px; bottom: 96px; display: flex; gap: 12px; }
.th-index-zoom span { width: 60px; height: 60px; border-radius: 6px; background: var(--ink); color: var(--community-lime); display: flex; align-items: center; justify-content: center; font-size: 46px; line-height: 1; font-weight: 300; }
.th-index-card { position: absolute; top: 683px; }
.th-ar .th-index-zoom { left: auto; right: 82px; }

.th-record-crumb { position: absolute; left: 126px; top: 258px; color: var(--community-muted); }
.th-ar .th-record-crumb { left: auto; right: 126px; letter-spacing: 0; text-transform: none; }
.th-record-title { position: absolute; left: 126px; top: 310px; color: var(--ink-deep); }
.th-ar .th-record-title { left: auto; right: 126px; }
.th-record-meta { position: absolute; right: 299px; top: 322px; text-align: right; color: var(--ink); }
.th-ar .th-record-meta { right: auto; left: 299px; text-align: left; }
.th-record-line { position: absolute; left: 0; top: 0; pointer-events: none; }
.th-record-star { position: absolute; }
.th-record-stage { position: absolute; top: 624px; width: 400px; color: var(--ink-deep); }
.th-record-stage-text { margin-top: 10px; }
.th-ar .th-record-stage { letter-spacing: 0; text-transform: none; }
.th-record-card { position: absolute; left: 119px; top: 952px; }
.th-ar .th-record-card { left: auto; right: 119px; }
.th-record-slot { position: absolute; overflow: hidden; background: var(--surface); box-shadow: 0 0 0 1px rgba(45, 54, 58, 0.06); }
.th-record-slot .th-photo { width: 100%; height: 100%; border-radius: 0; }

/* ---------- Campaign pieces (version 10): the question posters, film titles, the gala invitation ---------- */
.th-qp { position: relative; overflow: hidden; font-family: var(--font-display); }
.th-qp *, .th-film *, .th-gala * { box-sizing: border-box; }
.th-qp h2, .th-qp p, .th-film h2, .th-film p, .th-gala p { margin: 0; font-weight: 400; }
.th-qp-strata { position: absolute; left: 0; right: 0; bottom: 0; }
.th-qp-logo { position: absolute; }
.th-qp-block { position: absolute; }
.th-qp-lines { position: relative; display: flex; flex-direction: column; align-items: flex-start; line-height: 1.08; letter-spacing: -0.012em; color: var(--ink-deep); }
.th-qp-line { display: block; white-space: nowrap; }
.th-qp[dir="rtl"] .th-qp-lines { font-family: var(--font-arabic); line-height: 1.35; letter-spacing: 0; align-items: flex-end; }
.th-qp-stars { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; }
.th-qp-star { position: absolute; }
.th-qp-foot { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: flex-end; }
.th-qp-qr { display: block; }
.th-qp-url { font-weight: 300; color: #FFFFFF; letter-spacing: 0.01em; line-height: 1; }
.th-qp-sky { position: absolute; inset: 0; }
.th-qp-dot { position: absolute; border-radius: 50%; background: #DAD5C4; }
.th-qp-centre { position: absolute; left: 8%; right: 8%; top: 0; bottom: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.th-qp-centre .th-qp-lines { align-items: center; }
.th-qp[dir="rtl"] .th-qp-centre .th-qp-lines { align-items: center; }

.th-film { position: relative; overflow: hidden; background: #1A2328; font-family: var(--font-display); color: #FFFFFF; }
.th-film-photo.th-photo-empty { background: #1A2328; }
.th-film-photo.th-photo-empty span { color: rgba(255, 255, 255, 0.55); font-size: 28px; }
.th-film-scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0) 58%); }
.th-film-copy { position: absolute; left: 96px; right: 96px; bottom: 96px; display: flex; flex-direction: column; align-items: flex-start; gap: 30px; }
.th-film-q { font-size: 88px; line-height: 1.08; letter-spacing: -0.012em; max-width: 1120px; }
.th-film-q.th-ar { font-family: var(--font-arabic); line-height: 1.35; letter-spacing: 0; }
.th-film-with { color: #DAD5C4; font-size: 26px; letter-spacing: 0.16em; text-transform: uppercase; }
.th-film[dir="rtl"] .th-film-copy { align-items: flex-end; text-align: right; }
.th-film[dir="rtl"] .th-film-with { font-family: var(--font-arabic); letter-spacing: 0; text-transform: none; }
.th-film-logo { position: absolute; top: 72px; inset-inline-end: 96px; }

.th-gala { position: relative; overflow: hidden; width: 1080px; height: 1080px; font-family: var(--font-display); color: #FFFFFF; }
.th-gala-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.th-gala-star { position: absolute; }
.th-gala-logo { position: absolute; left: 0; right: 0; top: 395px; display: flex; justify-content: center; }
.th-gala-copy { position: absolute; left: 0; right: 0; bottom: 72px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.th-gala-name { font-size: 46px; letter-spacing: 0.01em; }
.th-gala-meta { font-family: var(--font-text); font-size: 18px; letter-spacing: 0.14em; text-transform: uppercase; color: #DAD5C4; }
.th-gala[dir="rtl"] .th-gala-name, .th-gala[dir="rtl"] .th-gala-meta { font-family: var(--font-arabic); letter-spacing: 0; text-transform: none; }

.th-co-frame { margin: 0 0 16px; font-size: 24px; font-weight: 300; letter-spacing: -0.005em; }
.th-co-frame.th-ar { font-family: var(--font-arabic); }
.th-co-row .th-qp-frame { flex: none; }
