:root {
    --n-950: #08141c;
    --n-900: #0c1a24;
    --n-850: #122433;
    --n-800: #183044;
    --n-700: #214056;
    --n-600: #2c5168;
    --n-500: #4d7388;
    --n-400: #7f9aab;
    --n-300: #9bb3c3;
    --n-100: #d7e6ef;
    --accent: #3dcee8;
    --accent-hover: #8fe3f0;
    --accent-ink: #04181e;
    --danger: #f0b2aa;
    --ok: #b7d7c6;
    --font-display: "Cairo", "Geeza Pro", sans-serif;
    --font-body: "Tajawal", "Geeza Pro", "Tahoma", sans-serif;
    --fs-body: 1.0625rem;
    --fs-title: 1.875rem;
    --fs-display: 3.25rem;
    --s-1: 4px;
    --s-2: 8px;
    --s-3: 12px;
    --s-4: 16px;
    --s-5: 24px;
    --s-6: 32px;
    --s-7: 48px;
    --s-8: 64px;
    --s-9: 96px;
    --radius-control: 4px;
    --header-h: 120px;
}

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

html {
    scroll-behavior: smooth;
    color-scheme: dark;
}

body {
    margin: 0;
    background: var(--n-900);
    color: var(--n-100);
    font-family: var(--font-body);
    font-size: var(--fs-body);
    font-weight: 400;
    line-height: 1.5;
    text-align: start;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1,
h2,
#defense,
.sheet-row {
    scroll-margin-top: 112px;
}

h1,
h2 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.25;
    margin: 0;
    text-wrap: balance;
}

h1 {
    font-size: var(--fs-display);
    font-weight: 700;
    max-width: 14em;
}

h2 {
    font-size: var(--fs-title);
    max-width: 16em;
}

h3,
p,
ul,
dl,
figure {
    margin: 0;
}

h3 {
    font-size: var(--fs-body);
    font-weight: 600;
    line-height: 1.4;
}

p {
    max-width: 65ch;
}

a {
    color: inherit;
    text-underline-offset: 4px;
}

a:hover {
    text-decoration-thickness: 2px;
}

.skip {
    position: absolute;
    inset-inline-start: var(--s-4);
    top: var(--s-2);
    transform: translateY(-150%);
    background: var(--accent);
    color: var(--accent-ink);
    padding: var(--s-2) var(--s-4);
    z-index: 5;
}

.skip:focus {
    transform: none;
}

.wrap {
    width: min(1120px, calc(100% - 32px));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 4;
    background: var(--n-950);
    border-bottom: 1px solid var(--n-500);
}

.header-bar {
    min-height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--s-4);
}

.brand {
    display: flex;
    align-items: center;
    gap: var(--s-3);
    min-height: 48px;
    text-decoration: none;
}

.brand:hover {
    text-decoration: none;
}

.brand img {
    height: 84px;
    width: auto;
    max-width: 260px;
    object-fit: contain;
    border-radius: 0;
}

.nav-toggle {
    display: none;
    min-height: 48px;
    min-width: 48px;
    padding: var(--s-3) var(--s-4);
    background: transparent;
    color: var(--n-100);
    border: 1px solid var(--n-500);
    border-radius: var(--radius-control);
    font: 600 var(--fs-body) / 1 var(--font-body);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: var(--s-2);
}

.site-nav a {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    padding-inline: var(--s-3);
    text-decoration: none;
    color: var(--n-300);
    font-weight: 500;
}

.site-nav a[aria-current="page"] {
    color: var(--n-100);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 8px;
}

.button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--s-3) var(--s-5);
    background: var(--accent);
    color: var(--accent-ink);
    border: 0;
    border-radius: var(--radius-control);
    font: 600 var(--fs-body) / 1 var(--font-body);
    text-decoration: none;
    cursor: pointer;
    transition: background-color 220ms cubic-bezier(0.2, 0, 0, 1);
}

.button:hover {
    background: var(--accent-hover);
    text-decoration: none;
}

.site-nav a.button,
.site-nav a.button[aria-current="page"] {
    color: var(--accent-ink);
    text-decoration: none;
    margin-inline-start: var(--s-4);
}

.lang-switch {
    margin-inline-start: var(--s-2);
    border: 1px solid var(--n-600);
    border-radius: var(--radius-control);
    padding-inline: var(--s-3) !important;
    font-size: 0.9375rem;
}

.lang-switch:hover {
    border-color: var(--n-400);
    color: var(--n-100);
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: var(--s-7);
    align-items: start;
    padding-block: var(--s-8) var(--s-9);
}

.lede {
    margin-top: var(--s-5);
    color: var(--n-300);
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s-4);
    margin-top: var(--s-6);
    align-items: center;
}

.link-quiet {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    font-weight: 600;
}

.poster {
    overflow: hidden;
    background: #061018;
    line-height: 0;
}

.poster img {
    width: 100%;
    height: auto;
    display: block;
}

.intro {
    padding-block: var(--s-8) var(--s-6);
}

.reel {
    overflow: hidden;
    direction: ltr;
}

.reel-track {
    display: flex;
    width: max-content;
    direction: ltr;
    animation: reel-move 36s linear infinite;
}

.reel:hover .reel-track {
    animation-play-state: paused;
}

.reel-set {
    display: flex;
    flex: none;
}

.reel-set img {
    width: 420px;
    height: 236px;
    object-fit: cover;
    flex: none;
    display: block;
}

@keyframes reel-move {
    from {
        transform: translate3d(0, 0, 0);
    }
    to {
        transform: translate3d(-50%, 0, 0);
    }
}

.hero-media img,
.shot img {
    width: 100%;
    object-fit: cover;
}

.hero-media img {
    height: auto;
    max-height: 640px;
    object-fit: contain;
    justify-self: center;
}

.shot img {
    height: 360px;
}

.logo-frame img {
    height: auto;
    object-fit: contain;
    background: #061018;
}

.shot figcaption,
.table-note {
    margin-top: var(--s-2);
    color: var(--n-300);
    max-width: 65ch;
}

.section {
    padding-block: var(--s-9);
}

.band {
    background: var(--n-850);
    border-block: 1px solid var(--n-500);
}

.section-head {
    margin-bottom: var(--s-7);
}

.section-head p {
    margin-top: var(--s-4);
    color: var(--n-300);
}

.split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--s-7);
    align-items: center;
}

.sheet {
    display: grid;
    gap: 0;
    border-top: 1px solid var(--n-500);
}

.sheet-row {
    display: grid;
    grid-template-columns: minmax(11rem, 16rem) minmax(0, 1fr);
    gap: var(--s-5);
    padding-block: var(--s-5);
    border-bottom: 1px solid var(--n-500);
    align-items: baseline;
}

.sheet-row p {
    color: var(--n-300);
}

.follow {
    margin-top: var(--s-6);
}

.vendor {
    display: block;
    margin-top: var(--s-1);
    font-weight: 400;
    color: var(--n-300);
}

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

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s-7);
}

.practice {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--s-4);
}

.practice p {
    color: var(--n-300);
}

.table-scroll {
    overflow-x: auto;
    border-top: 1px solid var(--n-500);
}

table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
}

th,
td {
    text-align: start;
    padding: var(--s-4) var(--s-3);
    border-bottom: 1px solid var(--n-500);
    vertical-align: top;
    font-weight: 400;
}

th {
    font-weight: 600;
    color: var(--n-300);
}

.name-cell {
    font-weight: 600;
    white-space: nowrap;
}

.close {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: var(--s-7);
    align-items: center;
}

.close img {
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.close p {
    margin-top: var(--s-4);
    color: var(--n-300);
}

.page-intro {
    padding-block: var(--s-8) var(--s-7);
}

.page-intro p {
    margin-top: var(--s-4);
    color: var(--n-300);
}

.stack {
    display: grid;
    gap: var(--s-9);
}

.form {
    max-width: 40rem;
    margin-top: var(--s-7);
}

.field {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: var(--s-2);
    margin-bottom: var(--s-5);
}

.field label {
    font-weight: 600;
}

input,
select,
textarea {
    width: 100%;
    min-height: 48px;
    padding: var(--s-3) var(--s-4);
    background: var(--n-950);
    color: var(--n-100);
    border: 1px solid var(--n-500);
    border-radius: var(--radius-control);
    font: 400 var(--fs-body) / 1.4 var(--font-body);
}

textarea {
    min-height: 160px;
    resize: vertical;
}

input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] {
    border-color: var(--danger);
    border-width: 2px;
}

.field-error {
    color: var(--danger);
    max-width: 65ch;
}

.notice {
    max-width: 40rem;
    margin-top: var(--s-7);
    padding: var(--s-5);
    background: var(--n-850);
    border: 1px solid var(--n-500);
}

.notice strong {
    display: block;
    margin-bottom: var(--s-2);
    color: var(--ok);
    font-weight: 600;
}

.notice p {
    color: var(--n-300);
}

.banner {
    margin-top: var(--s-5);
    padding: var(--s-4);
    border: 1px solid var(--danger);
    max-width: 40rem;
}

.banner p {
    color: var(--danger);
}

.hp {
    position: absolute;
    inset-inline-start: -999px;
    height: 0;
    overflow: hidden;
}

.site-footer {
    background: var(--n-950);
    border-top: 1px solid var(--n-500);
    padding-block: var(--s-7);
}

.footer-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--s-5) var(--s-7);
    align-items: center;
}

.footer-grid nav {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s-2) var(--s-5);
}

.footer-grid nav a {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    font-weight: 500;
}

.footer-grid p {
    grid-column: 1 / -1;
    color: var(--n-300);
}

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

@media (min-width: 900px) {
    .wrap {
        width: min(1120px, calc(100% - 96px));
    }

    .narrow-only {
        display: none;
    }
}

@media (max-width: 800px) {
    h1 {
        font-size: var(--fs-title);
    }

    .brand img {
        height: 48px;
        width: auto;
        max-width: 128px;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .site-nav {
        display: none;
        position: absolute;
        inset-inline: 0;
        top: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: var(--s-4);
        background: var(--n-950);
        border-bottom: 1px solid var(--n-500);
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav a,
    .site-nav a.button {
        margin-inline-start: 0;
        justify-content: flex-start;
    }

    .hero,
    .split,
    .two-col,
    .close,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-block: var(--s-7);
    }

    .hero-media img {
        height: auto;
        max-height: none;
    }

    .reel-set img {
        width: 280px;
        height: 158px;
    }

    .shot img,
    .close img {
        height: 240px;
    }

    .logo-frame img {
        height: auto;
    }

    .sheet-row {
        grid-template-columns: 1fr;
        gap: var(--s-2);
    }

    .section {
        padding-block: var(--s-8);
    }
}

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

    .button {
        transition: none;
    }

    .reel-track {
        animation: none;
        width: auto;
        flex-wrap: wrap;
        justify-content: center;
    }

    .reel-set[aria-hidden="true"] {
        display: none;
    }

    .reel-set {
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--s-4);
        width: min(1120px, calc(100% - 32px));
    }
}
