:root {
  --black: #07070a;
  --ink: #f4f1e8;
  --muted: #b3ada1;
  --gold: #d4af37;
  --gold2: #f3d77c;
  --line: rgba(255, 255, 255, .1);
  --display-ar: "Changa", "IBM Plex Sans Arabic", sans-serif;
  --display-en: "Oswald", "Changa", sans-serif;
  --body: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { font-family: var(--body); background: var(--black); color: var(--ink); line-height: 1.85; font-size: 17px; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.display { font-family: var(--display-ar); font-weight: 800; line-height: 1.15; letter-spacing: 0; }
[lang="en"] .display { font-family: var(--display-en); text-transform: uppercase; letter-spacing: .01em; }
.gold { color: var(--gold); }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* top bar + nav (reference layout: black utility bar, white main bar) */
.topbar { background: #000; color: #fff; font-size: 14px; font-weight: 700; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 42px; }
.topbar .links { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar .links a:hover { color: var(--gold2); }
.icons { display: flex; gap: 10px; }
.icons a { width: 28px; height: 28px; border-radius: 50%; background: #fff; color: #000; display: grid; place-items: center; transition: background .2s, transform .2s; }
.icons a:hover { background: var(--gold); transform: translateY(-2px); }
.icons svg { width: 15px; height: 15px; }
.nav { position: sticky; top: 0; z-index: 60; background: #fff; color: #000; box-shadow: 0 2px 18px rgba(0, 0, 0, .25); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 76px; }
.logo img { height: 46px; width: auto; }
.menu-links { display: flex; gap: 30px; font-family: var(--display-ar); font-weight: 700; font-size: 18px; }
[lang="en"] .menu-links { font-family: var(--display-en); text-transform: uppercase; letter-spacing: .03em; }
.menu-links a { position: relative; padding: 6px 0; }
.menu-links a::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 3px; background: var(--gold); transform: scaleX(0); transition: transform .25s; }
.menu-links a:hover::after, .menu-links a.active::after { transform: scaleX(1); }
.nav-tools { display: flex; align-items: center; gap: 10px; }
.lang { border: 2px solid #000; background: #fff; color: #000; font: 700 14px var(--body); padding: 4px 10px; border-radius: 8px; cursor: pointer; }
.burger { display: none; width: 38px; height: 34px; border: 0; background: none; cursor: pointer; flex-direction: column; justify-content: center; gap: 6px; }
.burger span { height: 3px; background: #000; border-radius: 2px; }

/* buttons: pill with gold edge, like the reference's red-edged pills */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 200px; padding: 14px 30px; border-radius: 999px; font: 700 17px var(--body); cursor: pointer; border: 1.5px solid rgba(212, 175, 55, .55); background: linear-gradient(135deg, rgba(212, 175, 55, .18), rgba(0, 0, 0, .6) 55%); color: var(--ink); position: relative; transition: transform .25s, box-shadow .25s, background .25s; }
.btn::before { content: ""; position: absolute; top: -2px; inset-inline-start: 26%; width: 34px; height: 5px; border-radius: 0 0 6px 6px; background: var(--gold); }
.btn:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(212, 175, 55, .25); }
.btn.solid { background: linear-gradient(135deg, var(--gold2), var(--gold)); color: #111; border-color: transparent; }
.btn.solid::before { background: #111; }
.btns { display: flex; flex-wrap: wrap; gap: 14px; }

/* hero */
.hero { position: relative; min-height: calc(100vh - 118px); display: flex; align-items: center; overflow: hidden; background: radial-gradient(ellipse at 30% 40%, #1b1708 0%, var(--black) 62%); }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to left, rgba(7, 7, 10, .92), rgba(7, 7, 10, .55) 45%, transparent 72%); pointer-events: none; }
[dir="ltr"] .hero::before { background: linear-gradient(to right, rgba(7, 7, 10, .92), rgba(7, 7, 10, .55) 45%, transparent 72%); }
.hero .wrap { position: relative; z-index: 2; width: 100%; padding-top: 70px; padding-bottom: 150px; }
.hero h1 { font-size: clamp(38px, 4.6vw, 70px); max-width: 860px; margin-bottom: 20px; line-height: 1.22; }
.hero p.lead { font-size: clamp(17px, 1.7vw, 21px); color: var(--muted); max-width: 640px; margin-bottom: 30px; }
.kicker { display: inline-block; font-weight: 700; color: var(--gold); letter-spacing: .06em; margin-bottom: 12px; font-size: 15px; }

/* "next step" card overlapping the hero, like the reference's event card */
.next-card { position: relative; z-index: 5; margin: -110px auto 0; max-width: 1200px; display: grid; grid-template-columns: 1.6fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: linear-gradient(120deg, #15131f, #0c0c12); box-shadow: 0 30px 80px rgba(0, 0, 0, .55); }
.next-card > div { padding: 30px 34px; }
.next-card .label { color: var(--muted); font-weight: 700; letter-spacing: .08em; font-size: 14px; margin-bottom: 14px; }
.next-item { display: flex; gap: 18px; align-items: center; background: rgba(255, 255, 255, .92); color: #111; border-radius: 6px; padding: 14px; }
.next-item img { width: 120px; height: 120px; object-fit: cover; border-radius: 4px; }
.next-item h3 { font-size: 24px; margin-bottom: 4px; }
.next-item p { color: #444; font-size: 15px; }
.next-card .side { border-inline-start: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px; justify-content: center; }

/* sections */
section.block { padding: 110px 0; position: relative; }
.title { text-align: center; margin-bottom: 50px; }
.title h2 { font-size: clamp(34px, 5vw, 62px); }
.title p { color: var(--muted); max-width: 720px; margin: 12px auto 0; }

/* bio (reference: name, role line, paragraphs + portrait cutout) */
.bio { background: #000; overflow: hidden; }
.bio .wrap { display: grid; grid-template-columns: 1.4fr .9fr; gap: 40px; align-items: center; }
.bio h2 { font-size: clamp(44px, 6vw, 78px); text-align: center; }
.bio .role { text-align: center; font-weight: 700; letter-spacing: .04em; font-size: clamp(16px, 1.8vw, 22px); }
.bio .role2 { text-align: center; font-style: italic; color: var(--gold2); margin-bottom: 34px; }
.bio p { color: #e9e5da; margin-bottom: 18px; }
.portrait { position: relative; }
.portrait img { width: 100%; max-height: 640px; object-fit: cover; object-position: top; border-radius: 4px; -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent); mask-image: linear-gradient(to bottom, #000 72%, transparent); }
.badge-author { position: absolute; top: 16px; inset-inline-start: 16px; background: rgba(0, 0, 0, .7); border: 1px solid rgba(212, 175, 55, .6); padding: 10px 16px; border-radius: 4px; text-align: center; font-weight: 700; backdrop-filter: blur(6px); }
.badge-author small { display: block; color: var(--gold2); font-weight: 600; }

/* tiles: big photo cards with huge overlaid titles (reference "10X EVENTS" grid) */
.tiles-sec { background: radial-gradient(ellipse at center, #141420, var(--black) 70%); }
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 60px 120px; }
.tile { position: relative; display: block; height: 360px; perspective: 1000px; }
.tile .media { position: absolute; inset: 0; border-radius: 4px; overflow: hidden; transform-style: preserve-3d; transition: transform .6s cubic-bezier(.2, .8, .2, 1); box-shadow: 0 30px 70px rgba(0, 0, 0, .5); }
.tile .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2, .8, .2, 1), filter .6s; filter: saturate(.9) brightness(.82); }
.tile:hover .media img { transform: scale(1.08); filter: saturate(1.05) brightness(.95); }
.tile .media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .6), transparent 55%); }
.tile h3 { position: absolute; z-index: 2; bottom: 34px; inset-inline-end: -42px; font-size: clamp(40px, 5vw, 72px); line-height: .95; text-shadow: 0 10px 30px rgba(0, 0, 0, .6); transform: translateZ(60px); }
.tile h3 b { display: block; color: var(--gold); }
.tile .ai-art { position: absolute; inset: 0; background: radial-gradient(circle at 30% 40%, rgba(212, 175, 55, .35), transparent 45%), radial-gradient(circle at 70% 70%, rgba(80, 110, 255, .3), transparent 45%), #0c0c14; }
.tile .ai-art svg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .75; }

/* journey */
.journey { background: #0b0b10; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.step { position: relative; padding: 30px 24px; border-top: 3px solid var(--gold); background: linear-gradient(180deg, rgba(212, 175, 55, .08), transparent); }
.step::before { counter-increment: s; content: "0" counter(s); font-family: var(--display-en); font-size: 54px; color: rgba(212, 175, 55, .3); line-height: 1; display: block; margin-bottom: 10px; }
.step h3 { font-size: 26px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 16px; }

/* books shelf (reference: covers standing on a wooden shelf) */
.shelf-sec { background: #000; }
.shelf { position: relative; display: flex; justify-content: center; align-items: flex-end; gap: 46px; padding: 40px 30px 0; min-height: 360px; background: linear-gradient(180deg, transparent 72%, #3a2414 72%, #5a3a22 80%, #2a1a0e 100%), radial-gradient(ellipse at 50% 100%, rgba(255, 200, 120, .14), transparent 60%); border-radius: 4px; perspective: 1400px; flex-wrap: wrap; }
.book { width: 190px; transform-style: preserve-3d; transform: rotateY(-18deg); transition: transform .7s cubic-bezier(.2, .8, .2, 1); margin-bottom: 26px; }
[dir="ltr"] .book { transform: rotateY(18deg); }
.book:hover { transform: rotateY(0) translateY(-14px) scale(1.04); }
.book img { width: 100%; height: 270px; object-fit: cover; border-radius: 2px 8px 8px 2px; box-shadow: -14px 18px 30px rgba(0, 0, 0, .7), inset 4px 0 8px rgba(0, 0, 0, .35); background: #fff; }
.book span { display: block; text-align: center; margin-top: 10px; font-weight: 700; font-size: 15px; }

/* trust: issuers strip + certificate carousel */
.trust { background: #0b0b10; }
.issuers { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 44px; margin-bottom: 40px; font-family: var(--display-en); font-size: 26px; color: rgba(244, 241, 232, .6); letter-spacing: .02em; }
.carousel { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 20px 4px 30px; scrollbar-width: none; }
.carousel::-webkit-scrollbar { display: none; }
.carousel > * { scroll-snap-align: center; flex: 0 0 auto; transition: transform .5s, filter .5s, opacity .5s; }
.carousel > *:not(.focus) { transform: scale(.88); filter: grayscale(1) brightness(.7); opacity: .8; }
.cert-card { width: 300px; background: #fff; color: #111; border-radius: 4px; padding: 10px; cursor: zoom-in; border: 0; font: inherit; text-align: start; }
.cert-card img { width: 100%; height: 190px; object-fit: cover; object-position: top; }
.cert-card b { display: block; font-size: 14px; line-height: 1.4; margin-top: 8px; }
.cert-card small { color: #555; }
.events-car .ev { width: 300px; height: 380px; border-radius: 4px; overflow: hidden; position: relative; }
.events-car .ev img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.events-car .ev.focus img { filter: grayscale(.15); }
.car-nav { display: flex; justify-content: center; gap: 12px; }
.car-nav button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255, 255, 255, .05); color: var(--ink); font-size: 20px; cursor: pointer; }
.car-nav button:hover { border-color: var(--gold); color: var(--gold); }

/* free library */
.free { background: linear-gradient(180deg, #000, #0e0c06); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { display: flex; flex-direction: column; gap: 10px; padding: 22px; border: 1px solid var(--line); border-radius: 6px; background: linear-gradient(170deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .01)); transition: transform .4s, border-color .4s, box-shadow .4s; transform-style: preserve-3d; }
.card:hover { border-color: rgba(212, 175, 55, .6); box-shadow: 0 26px 60px rgba(0, 0, 0, .5); }
.card img { height: 190px; width: 100%; object-fit: contain; background: rgba(255, 255, 255, .04); border-radius: 4px; }
.card h3 { font-size: 22px; }
.card p { color: var(--muted); font-size: 15.5px; flex: 1; }
.card .go { color: var(--gold2); font-weight: 700; }
.lead-form { margin-top: 30px; display: grid; grid-template-columns: 1fr 1.4fr; gap: 24px; align-items: center; padding: 30px; border: 1px solid rgba(212, 175, 55, .45); border-radius: 6px; background: linear-gradient(135deg, rgba(212, 175, 55, .14), rgba(255, 255, 255, .02)); position: relative; }
.lead-form h3 { font-size: 30px; }
.lead-form p { color: var(--muted); }
.fields { display: grid; grid-template-columns: 1fr 1.3fr auto; gap: 10px; }
.fields input { padding: 14px 16px; border-radius: 999px; border: 1px solid var(--line); background: rgba(0, 0, 0, .45); color: var(--ink); font: inherit; }
.fields input:focus { outline: 2px solid var(--gold); }
.fields .btn { min-width: 0; }
.hp { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; border: 0 !important; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; }
.form-msg { grid-column: 1 / -1; min-height: 1.5em; font-weight: 700; }
.form-msg.ok { color: #8be0b0; }
.form-msg.err { color: #ff9090; }

/* social tiles (reference: big colored squares) */
.social-sec { background: linear-gradient(90deg, #000 30%, #12100a); }
.social-sec .wrap { display: grid; grid-template-columns: .9fr 1.3fr; gap: 50px; align-items: center; }
.social-sec h2 { font-size: clamp(30px, 4vw, 48px); margin-bottom: 14px; }
.social-sec p { color: var(--muted); }
.squares { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.sq { aspect-ratio: 1; border-radius: 6px; display: grid; place-items: center; color: #fff; transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s; box-shadow: 0 16px 34px rgba(0, 0, 0, .45); }
.sq:hover { transform: translateY(-8px) rotate(-3deg) scale(1.04); }
.sq svg { width: 46%; height: 46%; }
.sq.yt { background: #ff0000; } .sq.ig { background: linear-gradient(45deg, #f9ce34, #ee2a7b, #6228d7); } .sq.li { background: #0a66c2; }
.sq.sp { background: #1db954; } .sq.wa { background: #25d366; } .sq.dm { background: #111; border: 1px solid #333; }

/* page hero for section pages */
.page-hero { position: relative; min-height: 62vh; display: flex; align-items: flex-end; overflow: hidden; }
.page-hero .bg { position: absolute; inset: -10% 0 0; background-size: cover; background-position: center; filter: brightness(.45) saturate(.9); }
.page-hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.page-hero .wrap { position: relative; z-index: 2; padding-bottom: 70px; width: 100%; }
.page-hero h1 { font-size: clamp(48px, 8vw, 110px); }
.page-hero p { color: #e2ddd0; max-width: 680px; font-size: 19px; }
.feature { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: center; margin-bottom: 80px; }
.feature.flip > :first-child { order: 2; }
.feature img { width: 100%; border-radius: 6px; box-shadow: 0 30px 70px rgba(0, 0, 0, .55); }
.feature h2 { font-size: clamp(32px, 4vw, 52px); margin-bottom: 14px; }
.feature p, .feature li { color: #ddd8cc; }
.feature ul { list-style: none; margin: 16px 0 24px; }
.feature li { padding: 6px 0; padding-inline-start: 26px; position: relative; }
.feature li::before { content: ""; position: absolute; inset-inline-start: 0; top: 17px; width: 12px; height: 2px; background: var(--gold); }
.pill { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--gold); color: #111; font-weight: 700; font-size: 13px; margin-bottom: 12px; }
.pill.dim { background: rgba(255, 255, 255, .12); color: var(--ink); }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.brand-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; padding: 34px 24px; border: 1px solid var(--line); border-radius: 6px; background: linear-gradient(170deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .01)); transition: transform .4s, border-color .4s; }
.brand-card:hover { border-color: var(--gold); transform: translateY(-6px); }
.brand-card .logo-box { height: 150px; display: grid; place-items: center; }
.brand-card .logo-box img { max-height: 150px; max-width: 220px; object-fit: contain; }
.brand-card h3 { font-size: 26px; }
.brand-card p { color: var(--muted); }
.spotify-frame { border-radius: 12px; overflow: hidden; }

/* footer (reference: four link columns) */
footer { background: #000; padding: 70px 0 40px; border-top: 1px solid var(--line); }
.fcols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.fcols h4 { font-family: var(--display-ar); font-size: 19px; letter-spacing: .04em; margin-bottom: 18px; }
[lang="en"] .fcols h4 { font-family: var(--display-en); text-transform: uppercase; }
.fcols a { display: block; color: #ddd; padding: 5px 0; }
.fcols a::before { content: "› "; color: var(--gold); }
.fcols a:hover { color: var(--gold2); }
.copy { margin-top: 40px; color: var(--muted); font-size: 14px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; align-items: center; }
.copy img { height: 40px; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(0, 0, 0, .9); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 16px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1000px, 100%); max-height: 76vh; }
.lightbox .x { position: absolute; top: 12px; inset-inline-end: 18px; background: none; border: 0; color: #fff; font-size: 42px; cursor: pointer; }

/* responsive */
@media (max-width: 1060px) {
  .menu-links { display: none; position: absolute; top: 100%; inset-inline: 0; flex-direction: column; gap: 0; background: #fff; box-shadow: 0 20px 30px rgba(0, 0, 0, .25); }
  .menu-links.open { display: flex; }
  .menu-links a { padding: 14px 24px; border-top: 1px solid #eee; }
  .burger { display: flex; }
  .tiles { gap: 40px; }
  .tile h3 { inset-inline-end: 16px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .cards, .grid3 { grid-template-columns: repeat(2, 1fr); }
  .bio .wrap, .social-sec .wrap, .next-card, .feature, .lead-form { grid-template-columns: 1fr; }
  .feature.flip > :first-child { order: 0; }
  .next-card .side { border-inline-start: 0; border-top: 1px solid var(--line); }
  .fcols { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .topbar .links a:not(:first-child) { display: none; }
  .logo img { height: 38px; }
  .nav .wrap { min-height: 64px; }
  .hero { min-height: 92vh; }
  .hero .wrap { padding-bottom: 120px; }
  section.block { padding: 80px 0; }
  .tiles, .cards, .grid3, .grid2, .steps, .fields { grid-template-columns: 1fr; }
  .tile { height: 280px; }
  .next-card > div { padding: 22px 18px; }
  .next-item img { width: 86px; height: 86px; }
  .btn { min-width: 0; width: 100%; }
  .book { width: 140px; }
  .book img { height: 200px; }
  .shelf { gap: 24px; }
  .squares { gap: 14px; }
  .fcols { grid-template-columns: 1fr 1fr; }
  .cert-card, .events-car .ev { width: 250px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---- v3 refinements ---- */
/* WhatsApp as a button (the number is never shown) */
.wa-btn { display: inline-flex; align-items: center; gap: 7px; background: #25d366; color: #fff !important; padding: 4px 14px 4px 12px; border-radius: 999px; font-weight: 700; transition: transform .2s, box-shadow .2s; }
.wa-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(37, 211, 102, .35); }
.wa-btn svg { width: 16px; height: 16px; }

/* "start today" card: dark glass with a cinematic image */
.next-item { background: linear-gradient(120deg, rgba(212, 175, 55, .12), rgba(255, 255, 255, .03)); color: var(--ink); border: 1px solid rgba(212, 175, 55, .35); padding: 0; overflow: hidden; gap: 0; align-items: stretch; transition: border-color .3s, transform .3s; }
.next-item:hover { border-color: var(--gold); transform: translateY(-3px); }
.next-item img { width: 240px; height: auto; min-height: 150px; border-radius: 0; object-fit: cover; }
.next-item > div { padding: 18px 22px; display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.next-item h3 { color: var(--gold2); font-size: 28px; }
.next-item p { color: var(--muted); }
.next-item .go { color: var(--gold2); font-weight: 700; }

/* card images: photos fill the frame, book mockups are shown whole */
.card img.fit-cover { object-fit: cover; height: 200px; }
.card img.fit-contain { object-fit: contain; height: 200px; background: radial-gradient(circle at 50% 60%, rgba(212, 175, 55, .16), transparent 70%); }

/* certificate issuers as logo chips */
.issuers { gap: 16px 18px; align-items: center; }
.issuers img { height: 60px; width: auto; border-radius: 12px; box-shadow: 0 10px 26px rgba(0, 0, 0, .45); transition: transform .3s; }
.issuers img:hover { transform: translateY(-4px) scale(1.04); }

/* transparent book mockups (no paper background or box shadow) */
.book.mock img { background: none; box-shadow: none; border-radius: 0; object-fit: contain; filter: drop-shadow(-14px 18px 22px rgba(0, 0, 0, .65)); }

/* article pages (free chapters) */
.article-grid { display: grid; grid-template-columns: 1fr 300px; gap: 50px; align-items: start; }
.article { background: linear-gradient(170deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .01)); border: 1px solid var(--line); border-radius: 6px; padding: 40px 44px; }
.article h2 { font-size: 30px; color: var(--gold2); margin: 30px 0 10px; }
.article h2:first-child { margin-top: 0; }
.article p { color: #e7e2d6; margin-bottom: 14px; font-size: 18px; line-height: 2; }
.article-side { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 14px; }
.article-side img { width: 100%; max-height: 360px; object-fit: contain; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .6)); }
.article-side p { color: var(--muted); }
.article-side .btn { min-width: 0; }
@media (max-width: 1060px) {
  .article-grid { grid-template-columns: 1fr; }
  .article-side { position: static; order: -1; flex-direction: row; flex-wrap: wrap; align-items: center; }
  .article-side img { width: 140px; }
}
@media (max-width: 640px) {
  .next-item { flex-direction: column; }
  .next-item img { width: 100%; height: 170px; }
  .article { padding: 26px 20px; }
  .issuers img { height: 46px; }
}

/* ---- diagnosis / report page ---- */
section.block.alt { background: linear-gradient(180deg, rgba(212, 175, 55, .06), transparent 70%); }
.report-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: start; }
.report-info .report-cover { width: 210px; margin-bottom: 26px; transform: perspective(900px) rotateY(-14deg); box-shadow: 18px 24px 50px rgba(0, 0, 0, .6); border-radius: 4px; overflow: hidden; }
html[dir="ltr"] .report-info .report-cover { transform: perspective(900px) rotateY(14deg); }
.report-info .report-cover img { display: block; width: 100%; }
.leaks { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 10px; }
.leaks li { display: flex; gap: 12px; align-items: center; padding: 10px 14px; border: 1px solid var(--line); border-radius: 6px; background: rgba(255, 255, 255, .03); }
.leaks li b { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--gold); color: #111; display: grid; place-items: center; font-family: Oswald, sans-serif; }
.report-info > p { color: var(--muted); }
.report-form { display: block; margin-top: 0; position: sticky; top: 100px; }
.report-form h3 { margin-bottom: 6px; }
.fields.col { grid-template-columns: 1fr; margin-top: 18px; }
html[dir="rtl"] .fields input[type="tel"], html[dir="rtl"] .fields input[type="email"] { text-align: right; }
.fields textarea { padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); background: rgba(0, 0, 0, .45); color: var(--ink); font: inherit; resize: vertical; }
.fields textarea:focus { outline: 2px solid var(--gold); }
.report-done { margin-top: 14px; }
.report-done .btns { margin: 14px 0 18px; display: flex; flex-wrap: wrap; gap: 12px; }
.report-done p { color: var(--muted); margin-bottom: 14px; }
@media (max-width: 900px) {
  .report-grid { grid-template-columns: 1fr; }
  .report-form { position: static; }
  .report-info .report-cover { margin-inline: auto; }
}

/* Blog: on narrow screens the side boxes (report, systems) follow the article instead of squeezing above it */
@media (max-width: 1060px) {
  .article-side.blog-side { order: 1; flex-direction: column; align-items: stretch; }
  .article-side.blog-side .card { width: 100%; }
}
