@font-face{font-family:'Barlow';font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/barlow-400-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Barlow';font-style:normal;font-weight:500;font-display:swap;src:url(/assets/fonts/barlow-500-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Barlow';font-style:normal;font-weight:600;font-display:swap;src:url(/assets/fonts/barlow-600-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Barlow';font-style:normal;font-weight:700;font-display:swap;src:url(/assets/fonts/barlow-700-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Barlow Condensed';font-style:normal;font-weight:600;font-display:swap;src:url(/assets/fonts/barlow-condensed-600-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Barlow Condensed';font-style:normal;font-weight:700;font-display:swap;src:url(/assets/fonts/barlow-condensed-700-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'IBM Plex Sans Arabic';font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/ibm-plex-sans-arabic-400-arabic.woff2) format('woff2');unicode-range:U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1}
@font-face{font-family:'IBM Plex Sans Arabic';font-style:normal;font-weight:500;font-display:swap;src:url(/assets/fonts/ibm-plex-sans-arabic-500-arabic.woff2) format('woff2');unicode-range:U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1}
@font-face{font-family:'IBM Plex Sans Arabic';font-style:normal;font-weight:600;font-display:swap;src:url(/assets/fonts/ibm-plex-sans-arabic-600-arabic.woff2) format('woff2');unicode-range:U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1}
@font-face{font-family:'IBM Plex Sans Arabic';font-style:normal;font-weight:700;font-display:swap;src:url(/assets/fonts/ibm-plex-sans-arabic-700-arabic.woff2) format('woff2');unicode-range:U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1}

/* HYB Studios site styles. Light by default; the round button sets data-theme="dark" on <html>.
   The @font-face rules above this line are added by build.js from src/fonts.css. */

:root {
  --red: #F0283C;
  --bg: #FFFFFF; --bg2: #F5F5F6; --card: #F5F5F6; --tile: #141417;
  --fg: #0E0E10; --muted: #45454D; --muted2: #64646B; --soft: #2A2A30;
  --line: #E4E4E8; --line2: #C9C9CF; --outline: #B9B9C0; --grid: #E4E4E8;
  --footer: #F5F5F6; --footline: #E4E4E8; --hover: #B3192B;
  --accent-text: #CC2233;           /* red for text: a touch darker on white */
  --button: #D32335; --button-hover: #B81D2D;
  --logo-ink: #0E0E10; --logo-grey: #6B6B70;
  --font: 'Barlow', 'IBM Plex Sans Arabic', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Barlow Condensed', 'IBM Plex Sans Arabic', system-ui, sans-serif;
  color-scheme: light;
}
[data-theme="dark"] {
  --bg: #0E0E10; --bg2: #121215; --card: #16161A; --tile: #18181C;
  --fg: #FFFFFF; --muted: #C4C4C9; --muted2: #A3A3A6; --soft: #D6D6DA;
  --line: #222228; --line2: #3A3A42; --outline: #4A4A52; --grid: #26262C;
  --footer: #0A0A0C; --footline: #1C1C22; --hover: #FFD5DA;
  --accent-text: #F23E50;           /* and a touch lighter on black */
  --logo-ink: #FFFFFF; --logo-grey: #A3A3A6;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--font); font-size: 16px; line-height: 1.5;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
a { color: var(--fg); }
a:hover { color: var(--hover); }
svg { display: block; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.wrap { max-width: 1240px; margin: 0 auto; padding-inline: clamp(16px, 4vw, 48px); }
.skip {
  position: absolute; inset-inline-start: 16px; top: -80px; z-index: 10;
  background: var(--fg); color: var(--bg); padding: 12px 16px; border-radius: 8px; font-weight: 700;
}
.skip:focus { top: 12px; color: var(--bg); }
[dir="rtl"] .flip { transform: scaleX(-1); }

/* Top bar */
.top { border-bottom: 1px solid var(--line); background: var(--bg); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 16px; }
.brand { display: flex; align-items: center; flex: none; }
.logo { height: 44px; width: 124px; }
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 4px 22px; }
.navlink { color: var(--soft); text-decoration: none; font-weight: 500; font-size: 16px; padding: 12px 4px; }
.navlink:hover { color: var(--fg); }
.toggle {
  width: 44px; height: 44px; padding: 0; border-radius: 50%; flex: none;
  border: 1.5px solid var(--line2); background: transparent; color: var(--fg);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.toggle:hover { border-color: var(--fg); }
.toggle .sun, [data-theme="dark"] .toggle .moon { display: none; }
[data-theme="dark"] .toggle .sun { display: block; }

.btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 14px 26px;
  border-radius: 8px; border: 1.5px solid transparent; background: var(--button); color: #FFFFFF;
  text-decoration: none; font-weight: 700; font-size: 17px; line-height: 1.2;
}
.btn:hover { background: var(--button-hover); color: #FFFFFF; }
.btn-ghost { background: transparent; color: var(--fg); border-color: var(--outline); }
.btn-ghost:hover { background: transparent; color: var(--fg); border-color: var(--fg); }
.btn-sm { min-height: 44px; padding: 10px 18px; font-size: 16px; }

@media (max-width: 900px) { .navlink.sec { display: none; } }
@media (max-width: 520px) {
  .cta { display: none; }
  .logo { height: 36px; width: 102px; }
}

/* The line of what we make */
.ticker { border-bottom: 1px solid var(--line); background: var(--bg2); }
.ticker-in {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 28px; padding-block: 20px;
  font-family: var(--display); font-weight: 600; font-size: clamp(17px, 2vw, 22px);
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--soft);
}
.ticker-in i { width: 7px; height: 7px; border-radius: 50%; background: var(--red); }

/* Hero */
.hero { padding-block: clamp(48px, 8vw, 112px); }
.hero-in { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.hero-copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.eyebrow {
  margin: 0; display: flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--soft);
}
.eyebrow .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--red); flex: none; }
.display { margin: 0; font-family: var(--display); font-weight: 700; text-transform: uppercase; line-height: 0.93; letter-spacing: 0.01em; }
h1.display { font-size: clamp(52px, 7.4vw, 112px); }
.accent { color: var(--accent-text); }
.lead { margin: 0; font-size: clamp(18px, 1.6vw, 20px); line-height: 1.6; color: var(--muted); max-width: 560px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* The vertical frame beside the headline: the four steps of every film, one after another */
.hero-reel { flex: 0 1 380px; width: 100%; max-width: 380px; min-width: 0; margin-inline: auto; }
.vf { position: relative; }
.vf > .c { position: absolute; width: 28px; height: 28px; border: 0 solid var(--fg); pointer-events: none; }
.vf > .tl { top: 0; left: 0; border-top-width: 3px; border-left-width: 3px; }
.vf > .tr { top: 0; right: 0; border-top-width: 3px; border-right-width: 3px; }
.vf > .bl { bottom: 0; left: 0; border-bottom-width: 3px; border-left-width: 3px; }
.vf > .br { bottom: 0; right: 0; border-bottom-width: 3px; border-right-width: 3px; }
.reel { margin: 0; padding: 18px; }
.reel-screen {
  position: relative; overflow: hidden; aspect-ratio: 9 / 16; background: var(--tile); border-radius: 4px;
  display: flex; flex-direction: column; justify-content: space-between; padding: 22px; color: #D6D6DA;
}
.reel-top, .reel-bottom {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
}
.reel-bottom { padding-bottom: 6px; color: #A3A3A6; }
.rec { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--red); margin-inline-end: 8px; animation: blink 1.6s steps(1) infinite; }
.reel-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.reel-steps li {
  display: flex; align-items: baseline; gap: 14px; color: #FFFFFF; opacity: 0.28;
  font-family: var(--display); font-weight: 700; font-size: clamp(26px, 3vw, 34px); line-height: 1.05; text-transform: uppercase;
  animation: step 8s infinite;
}
.reel-steps b { flex: none; min-width: 2em; font-size: 0.55em; color: var(--red); letter-spacing: 0.06em; }
.reel-steps li:nth-child(2) { animation-delay: -6s; }
.reel-steps li:nth-child(3) { animation-delay: -4s; }
.reel-steps li:nth-child(4) { animation-delay: -2s; }
.reel-bar { position: absolute; inset-inline: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, 0.12); }
.reel-bar i { display: block; height: 100%; background: var(--red); transform-origin: left; animation: bar 8s linear infinite; }
[dir="rtl"] .reel-bar i { transform-origin: right; }
@keyframes step { 0%, 22% { opacity: 1; } 28%, 94% { opacity: 0.28; } 100% { opacity: 1; } }
@keyframes bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes blink { 50% { opacity: 0; } }

/* Sections */
.section { padding-block: clamp(64px, 9vw, 120px); }
.section.alt { background: var(--bg2); border-block: 1px solid var(--line); }
.stack { display: flex; flex-direction: column; gap: 48px; }
.head { display: flex; flex-direction: column; gap: 14px; max-width: 720px; }
.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; }
.kicker { margin: 0; font-size: 14px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent-text); }
.h2 { font-size: clamp(40px, 5vw, 64px); line-height: 1; }
.side { margin: 0; max-width: 420px; font-size: 18px; line-height: 1.6; color: var(--muted); }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 24px; }
.card { background: var(--card); border-radius: 6px; padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: 22px; }
.card-head { display: flex; align-items: center; gap: 18px; }
.card-icon { width: 64px; height: 64px; border-radius: 14px; flex: none; }
.mark-tile { background: #0E0E10; padding: 10px; }
.label { display: block; font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted2); }
.h3 { margin: 4px 0 0; font-family: var(--display); font-weight: 700; font-size: 40px; line-height: 1; }
.card p { margin: 0; font-size: 18px; line-height: 1.65; color: var(--muted); }
.points { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 16px; color: var(--soft); }
.points li { display: flex; gap: 12px; align-items: baseline; }
.points li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red); flex: none; transform: translateY(-3px); }
.more {
  margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
  padding-block: 10px; border-bottom: 2px solid var(--red); font-weight: 700; font-size: 17px; text-decoration: none;
}

.grid6 {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 1px;
  background: var(--grid); border: 1px solid var(--grid); border-radius: 6px; overflow: hidden;
}
.cell { background: var(--bg2); padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.cell svg { width: 32px; height: 32px; stroke: var(--red); }
.cell h3 { margin: 0; font-size: 22px; font-weight: 700; }
.cell p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--muted); }

.steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 32px; }
.steps li { display: flex; flex-direction: column; gap: 12px; border-top: 2px solid var(--fg); padding-top: 20px; }
.steps .n { font-family: var(--display); font-weight: 700; font-size: 44px; line-height: 1; color: var(--accent-text); }
.steps h3 { margin: 0; font-size: 22px; font-weight: 700; }
.steps p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--muted); }

/* Footer */
.foot { border-top: 1px solid var(--line); background: var(--footer); }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; padding-block: 56px 32px; }
.foot-about { display: flex; flex-direction: column; gap: 16px; max-width: 360px; }
.foot-about .logo { height: 40px; width: 113px; }
.foot-about p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted2); }
.foot-nav { display: flex; flex-wrap: wrap; gap: 40px 64px; }
.foot-col { display: flex; flex-direction: column; gap: 6px; }
.foot-h { margin: 0 0 6px; font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted2); }
.foot-col .navlink { padding: 6px 0; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 20px 32px; border-top: 1px solid var(--footline); font-size: 14px; color: var(--muted2); }

/* 404 */
.notfound { min-height: 60vh; display: flex; flex-direction: column; justify-content: center; gap: 24px; padding-block: 80px; }

/* Arabic: no letter spacing or capitals, taller lines, Plex Arabic for headlines */
:lang(ar) .ticker-in, :lang(ar) .eyebrow, :lang(ar) .kicker, :lang(ar) .label, :lang(ar) .foot-h,
:lang(ar) .reel-steps li, :lang(ar) .display { letter-spacing: 0; text-transform: none; }
:lang(ar) .ticker-in { font-family: var(--font); font-size: clamp(16px, 1.8vw, 19px); }
:lang(ar) .eyebrow, :lang(ar) .kicker { font-size: 15px; }
:lang(ar) .display { line-height: 1.2; }
:lang(ar) h1.display { font-size: clamp(44px, 6.2vw, 92px); }
:lang(ar) .h2 { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.2; }
:lang(ar) .reel-steps li { font-size: clamp(22px, 2.6vw, 30px); line-height: 1.3; }
:lang(ar) .lead, :lang(ar) .card p, :lang(ar) .cell p, :lang(ar) .steps p { line-height: 1.8; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rec, .reel-steps li, .reel-bar i { animation: none; }
  .reel-steps li { opacity: 1; }
  .reel-bar { display: none; }
}
