/* getibrah.com v3: the look of the videos. Near-black, cream, one gold accent, monospace labels, thin rules. */
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Amiri"; src: url("/assets/fonts/amiri.woff2") format("woff2"); font-display: swap; }

:root {
  --bg: #0a0a0a; --panel: #121110; --line: #2a2825; --line-2: #3a3733;
  --cream: #ece5d8; --dim: #8f897e; --gold: #d9b36c; --gold-2: #e8c98c;
  --sans: "Inter", -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --wrap: 1120px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--cream); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img, video { display: block; max-width: 100%; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.ar { font-family: "Amiri", serif; }

/* The file label every section opens with, as the videos' headers do. */
.file { font: 500 12px/1.5 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin: 0 0 16px; }
.file.dim { color: var(--dim); }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

header.top { position: sticky; top: 0; z-index: 20; background: rgba(10, 10, 10, .86); backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.mark { display: flex; align-items: baseline; gap: 10px; text-decoration: none; }
.mark b { font: 700 21px/1 var(--sans); letter-spacing: -.01em; }
.mark span { font: 400 20px/1 "Amiri", serif; color: var(--gold); }
.pill { font: 600 14px/1 var(--sans); text-decoration: none; color: var(--bg); background: var(--gold); padding: 11px 16px; border-radius: 999px; }

h1, h2, h3 { margin: 0; font-family: var(--sans); letter-spacing: -.02em; }
h1 { font-weight: 800; font-size: clamp(44px, 11vw, 84px); line-height: .98; }
h2 { font-weight: 750; font-size: clamp(30px, 7vw, 48px); line-height: 1.04; }
h3 { font-weight: 700; font-size: 20px; line-height: 1.25; }
.sub { font-size: clamp(18px, 4.6vw, 21px); line-height: 1.5; color: #d9d2c5; margin: 18px 0 26px; max-width: 34em; }
.saw { font-family: "Amiri", serif; }

/* The one form. */
form.join { max-width: 520px; container-type: inline-size; }
.field { display: flex; gap: 8px; background: var(--panel); border: 1px solid var(--line-2); border-radius: 16px; padding: 6px; }
@container (max-width: 340px) { .field { flex-direction: column; } }
.field input { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; color: var(--cream); font: 400 17px/1 var(--sans); padding: 14px 12px; }
.field input::placeholder { color: #7d776d; }
.btn { appearance: none; border: 0; cursor: pointer; font: 700 16px/1 var(--sans); border-radius: 12px; padding: 16px 18px; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.btn.go, .btn.wa { background: var(--gold); color: var(--bg); }
.btn.go:hover, .btn.wa:hover { background: var(--gold-2); }
.btn.ghost { background: transparent; color: var(--cream); border: 1px solid var(--line-2); }
.btn[disabled] { opacity: .6; cursor: default; }
.fine { font: 500 13px/1.5 var(--mono); letter-spacing: .04em; color: var(--dim); margin: 12px 2px 0; }
.status { font-size: 14px; color: #f0a37c; margin: 8px 2px 0; }
.status:empty { margin: 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.banner { display: inline-block; font: 600 13px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--bg); background: var(--gold); border-radius: 6px; padding: 8px 10px; margin: 0 0 18px; }

/* After joining: where you stand and the link to share. */
.done { max-width: 520px; background: var(--panel); border: 1px solid var(--line-2); border-radius: 18px; padding: 22px; }
.done .place { display: flex; align-items: baseline; gap: 12px; margin: 4px 0 6px; }
.done .place b { font: 800 56px/1 var(--sans); color: var(--gold); letter-spacing: -.02em; }
.done .place span { color: var(--dim); font-size: 15px; }
.done .msg { color: #d9d2c5; margin: 6px 0 18px; font-size: 16px; }
.done .actions { display: grid; gap: 10px; }

/* Hero. */
.hero { padding: 42px 0 46px; }
.hero .grid { display: grid; gap: 40px; align-items: center; }
.proof { font: 500 13px/1.5 var(--mono); letter-spacing: .06em; color: var(--dim); margin: 22px 2px 0; }
.proof b { color: var(--cream); font-weight: 600; }
.phone { position: relative; width: min(330px, 78vw); aspect-ratio: 9 / 16; margin: 0 auto; border-radius: 26px; overflow: hidden; border: 1px solid var(--line-2); background: #000; box-shadow: 0 30px 80px rgba(0, 0, 0, .6), 0 0 0 8px #141312; text-decoration: none; }
.phone video, .phone img { width: 100%; height: 100%; object-fit: cover; }
.phone .play { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); white-space: nowrap; font: 600 14px/1 var(--sans); color: var(--bg); background: var(--gold); padding: 12px 16px; border-radius: 999px; }
@media (min-width: 900px) {
  .hero { padding: 76px 0 70px; }
  .hero .grid { grid-template-columns: 1.15fr .85fr; }
}

section.block { padding: 64px 0; border-top: 1px solid var(--line); }
section.block .lead { color: #d9d2c5; max-width: 36em; margin: 14px 0 30px; }

/* Story cards. */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 900px) { .cards { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.card { text-decoration: none; display: block; }
.card .poster { aspect-ratio: 9 / 16; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-2); background: #000; }
.card .poster img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .poster img { transform: scale(1.03); }
.card .file { margin: 12px 0 4px; font-size: 11px; }
.card h3 { font-size: 17px; }

/* The app, as a ledger. */
.ledger { display: grid; border-top: 1px solid var(--line); }
.ledger .row { display: grid; gap: 6px; padding: 18px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 760px) { .ledger .row { grid-template-columns: 200px 1fr; gap: 24px; } }
.ledger .row .file { margin: 2px 0 0; }
.ledger .row p { margin: 0; color: #d9d2c5; }

.trust { display: grid; gap: 14px; }
@media (min-width: 760px) { .trust { grid-template-columns: repeat(3, 1fr); } }
.trust div { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.trust p { margin: 8px 0 0; color: #cfc8bb; font-size: 15px; }

details { border-bottom: 1px solid var(--line); padding: 18px 0; }
details summary { cursor: pointer; font-weight: 650; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
details summary::after { content: "+"; color: var(--gold); font-weight: 400; }
details[open] summary::after { content: "–"; }
details p { color: #cfc8bb; margin: 10px 0 0; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { border: 1px solid var(--line-2); border-radius: 999px; padding: 9px 14px; text-decoration: none; font-size: 15px; }
.chips a:hover { border-color: var(--gold); }
.chips i { font-style: normal; font-family: "Amiri", serif; color: var(--gold); margin-left: 6px; }

footer { border-top: 1px solid var(--line); padding: 34px 0 60px; color: var(--dim); font-size: 14px; }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 14px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--cream); }

/* A story page. */
.story { padding: 34px 0 10px; }
.story h1 { font-size: clamp(34px, 8.6vw, 60px); line-height: 1.02; max-width: 14em; }
.story .player { width: min(400px, 100%); aspect-ratio: 9 / 16; margin: 26px 0 8px; border-radius: 22px; overflow: hidden; border: 1px solid var(--line-2); background: #000; }
.story .player video { width: 100%; height: 100%; object-fit: cover; }
.story .layout { display: grid; gap: 30px; margin-top: 26px; }
.story .layout > * { min-width: 0; }
.story .player { margin: 0; }
@media (min-width: 900px) {
  .story .layout { grid-template-columns: 400px 1fr; grid-template-areas: "player join" "player rest"; column-gap: 56px; row-gap: 34px; align-items: start; }
  .story .layout .player { grid-area: player; }
  .story .layout .joinbox { grid-area: join; }
  .story .layout .rest { grid-area: rest; }
}
.box { background: var(--panel); border: 1px solid var(--line-2); border-radius: 18px; padding: 22px; }
.box h2 { font-size: clamp(26px, 6vw, 34px); }
.box p { color: #d9d2c5; margin: 10px 0 18px; }
.asks { margin: 0; padding: 0; list-style: none; }
.asks li { padding: 12px 0; border-bottom: 1px solid var(--line); color: #e2dbce; }
.source a { color: var(--gold); }
.arline { font-size: 26px; line-height: 1.8; direction: rtl; text-align: right; color: var(--cream); margin: 10px 0 0; }
