/* =========================================================================
   ASK GHAZI  ·  اسأل غازي
   Investigative car journalism — site stylesheet.

   Built from the brand mark: black honeycomb ground, process-yellow ring,
   white type. Motorsport-industrial: flat colour, hard edges, hex motifs,
   hazard tape. No framework, no dependencies.
   ========================================================================= */

/* ---------------------------------------------------------------- tokens */
:root {
    --black:     #0a090c;
    --black-2:   #100f13;
    --panel:     #16151a;
    --panel-2:   #1d1c22;
    --yellow:    #fff200;   /* sampled straight from the logo ring */
    --yellow-2:  #d9ce00;
    --on-yellow: #0a090c;
    --ink:       #ffffff;
    --muted:     #a3a3ad;
    --muted-2:   #6f6f7a;
    --line:      rgba(255, 255, 255, .10);
    --line-2:    rgba(255, 255, 255, .20);
    --yellow-soft: rgba(255, 242, 0, .12);

    --maxw: 1280px;
    --gut:  clamp(20px, 4vw, 48px);
    --ease: cubic-bezier(.16, 1, .3, 1);

    --f-display: 'Chakra Petch', 'Tajawal', system-ui, sans-serif;
    --f-body:    'Inter', 'Tajawal', system-ui, sans-serif;

    /* Honeycomb weave lifted from the logo's inner texture. */
    --hex: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='48' viewBox='0 0 28 48'%3E%3Cpath d='M14 0l12 7v14l-12 7-12-7V7z' fill='none' stroke='%23ffffff' stroke-opacity='.05' stroke-width='1'/%3E%3Cpath d='M14 24l12 7v14l-12 7-12-7V31z' fill='none' stroke='%23ffffff' stroke-opacity='.05' stroke-width='1'/%3E%3C/svg%3E");
    /* Hazard tape: the one place yellow gets to shout. */
    --tape: repeating-linear-gradient(-45deg, var(--yellow) 0 18px, var(--black) 18px 36px);
}

[dir="rtl"] {
    --f-display: 'Tajawal', 'Chakra Petch', system-ui, sans-serif;
    --f-body:    'Tajawal', 'Inter', system-ui, sans-serif;
    --tape: repeating-linear-gradient(45deg, var(--yellow) 0 18px, var(--black) 18px 36px);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--black);
    background-image: var(--hex);
    color: var(--ink);
    font-family: var(--f-body);
    font-size: 17px;
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--yellow); color: var(--on-yellow); }

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

h1, h2, h3, h4 {
    font-family: var(--f-display);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -.02em;
    margin: 0;
    text-transform: uppercase;
}
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4 {
    letter-spacing: 0; line-height: 1.28; text-transform: none; font-weight: 800;
}

p { margin: 0; }

/* ---------------------------------------------------------------- layout */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.sec  { padding-block: clamp(64px, 9vw, 128px); position: relative; }
.sec--tight { padding-block: clamp(48px, 6vw, 84px); }

/* Section label: a hex bullet plus tracked-out caps. */
.kicker {
    display: inline-flex; align-items: center; gap: 12px;
    font-family: var(--f-display);
    font-size: 13px; font-weight: 600; letter-spacing: .24em;
    text-transform: uppercase; color: var(--yellow);
    margin-bottom: 20px;
}
[dir="rtl"] .kicker { letter-spacing: .02em; text-transform: none; }
.kicker::before {
    content: ""; width: 12px; height: 14px; flex: none; background: var(--yellow);
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

.h1 { font-size: clamp(2.6rem, 7.4vw, 6.2rem); }
.h2 { font-size: clamp(2rem, 4.4vw, 3.5rem); }
.h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
.lede { color: var(--muted); font-size: clamp(1.02rem, 1.3vw, 1.16rem); max-width: 62ch; }
.mark { color: var(--yellow); }

/* A yellow slab sitting behind a word. */
.slab {
    display: inline-block; position: relative; padding-inline: .18em; color: var(--on-yellow);
}
.slab::before {
    content: ""; position: absolute; inset: .08em 0 .1em; background: var(--yellow); z-index: -1;
    transform: skewX(-7deg);
}
[dir="rtl"] .slab::before { transform: skewX(7deg); }

/* Hazard tape divider. */
.tape { height: 10px; background: var(--tape); }
.tape--thin { height: 6px; }

/* ---------------------------------------------------------------- buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 15px 26px;
    font-family: var(--f-display); font-weight: 700; font-size: 15px;
    letter-spacing: .08em; text-transform: uppercase;
    border: 2px solid transparent; border-radius: 2px;
    cursor: pointer; white-space: nowrap;
    transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
[dir="rtl"] .btn { letter-spacing: 0; text-transform: none; }
.btn svg { width: 17px; height: 17px; flex: none; }
[dir="rtl"] .btn svg { transform: scaleX(-1); }
.btn:hover { transform: translateY(-2px); }

.btn--fill  { background: var(--yellow); color: var(--on-yellow); border-color: var(--yellow); }
.btn--fill:hover { background: #fff; border-color: #fff; }
.btn--line  { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--line:hover { border-color: var(--yellow); color: var(--yellow); }
.btn--dark  { background: var(--black); color: var(--yellow); border-color: var(--black); }
.btn--dark:hover { background: #000; }
.btn--block { width: 100%; }

/* ---------------------------------------------------------------- topline */
.topline {
    background: var(--yellow); color: var(--on-yellow);
    font-family: var(--f-display); font-weight: 600;
    font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase;
}
[dir="rtl"] .topline { letter-spacing: 0; text-transform: none; font-size: 13.5px; }
.topline__in {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    min-height: 38px; padding-block: 6px;
}
.topline__social { display: flex; align-items: center; gap: 6px; }
.topline__social a {
    width: 26px; height: 26px; display: grid; place-items: center; border-radius: 2px;
    transition: background .2s;
}
.topline__social a:hover { background: rgba(0, 0, 0, .14); }
.topline__social svg { width: 15px; height: 15px; }

/* ---------------------------------------------------------------- nav */
.nav {
    position: sticky; top: 0; z-index: 80;
    background: rgba(10, 9, 12, .92);
    backdrop-filter: blur(14px) saturate(130%);
    border-bottom: 1px solid var(--line);
}
.nav__in { display: flex; align-items: center; gap: 20px; min-height: 82px; }

.brand { display: inline-flex; align-items: center; gap: 14px; flex: none; }
.brand__badge {
    width: 58px; height: 58px; border-radius: 50%; flex: none;
    transition: transform .5s var(--ease);
}
.brand:hover .brand__badge { transform: rotate(8deg); }
.brand__txt { display: block; line-height: 1.1; }
.brand__txt b {
    display: block; font-family: var(--f-display); font-weight: 700;
    font-size: 19px; letter-spacing: .06em; text-transform: uppercase;
}
[dir="rtl"] .brand__txt b { letter-spacing: 0; text-transform: none; font-size: 21px; }
.brand__txt span { display: block; font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--yellow); }
[dir="rtl"] .brand__txt span { letter-spacing: 0; text-transform: none; font-size: 12px; }

.nav__links { display: flex; align-items: center; gap: 2px; margin-inline-start: auto; }
.nav__links a {
    position: relative; padding: 10px 11px; white-space: nowrap;
    font-family: var(--f-display); font-weight: 600; font-size: 13.5px;
    letter-spacing: .05em; text-transform: uppercase; color: var(--muted);
    transition: color .2s;
}
[dir="rtl"] .nav__links a { letter-spacing: 0; text-transform: none; font-size: 15.5px; }
.nav__links a::after {
    content: ""; position: absolute; inset-inline: 11px; bottom: 4px; height: 2px;
    background: var(--yellow); transform: scaleX(0); transform-origin: center;
    transition: transform .28s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after, .nav__links a[aria-current]::after { transform: scaleX(1); }
.nav__links a[aria-current] { color: var(--ink); }

.nav__end { display: flex; align-items: center; gap: 10px; flex: none; }
.lang {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 9px 13px; border: 1px solid var(--line-2); border-radius: 2px;
    font-family: var(--f-display); font-weight: 600; font-size: 13px;
    transition: border-color .2s, color .2s;
}
.lang:hover { border-color: var(--yellow); color: var(--yellow); }
.lang svg { width: 15px; height: 15px; }

.burger {
    display: none; width: 44px; height: 44px; padding: 0;
    background: transparent; border: 1px solid var(--line-2); border-radius: 2px;
    cursor: pointer; position: relative;
}
.burger i {
    position: absolute; inset-inline: 12px; height: 2px; background: var(--ink);
    transition: transform .3s var(--ease), opacity .2s;
}
.burger i:nth-child(1) { top: 15px; }
.burger i:nth-child(2) { top: 21px; }
.burger i:nth-child(3) { top: 27px; }
body.is-open .burger i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.is-open .burger i:nth-child(2) { opacity: 0; }
body.is-open .burger i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.drawer { display: none; }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero__glow {
    position: absolute; inset-inline-end: -10%; top: -30%;
    width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
    background: radial-gradient(circle, rgba(255, 242, 0, .13), transparent 62%);
    pointer-events: none;
}
.hero__in {
    display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px);
    align-items: center;
    padding-block: clamp(56px, 8vw, 104px);
    position: relative;
}
.hero h1 { margin-bottom: 26px; }
.hero h1 .line { display: block; }
.hero h1 .out {
    color: transparent; -webkit-text-stroke: 2px var(--line-2);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* Spec strip — reads like a car data sheet. */
.specs {
    display: grid; grid-template-columns: repeat(3, 1fr);
    margin-top: 44px; border: 1px solid var(--line); border-radius: 2px;
    background: rgba(255, 255, 255, .02);
}
.spec { padding: 18px 20px; border-inline-start: 1px solid var(--line); }
.spec:first-child { border-inline-start: 0; }
.spec b {
    display: block; font-family: var(--f-display); font-weight: 700;
    font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1; color: var(--yellow);
}
.spec span {
    display: block; margin-top: 7px; font-size: 11.5px; letter-spacing: .14em;
    text-transform: uppercase; color: var(--muted-2);
}
[dir="rtl"] .spec span { letter-spacing: 0; text-transform: none; font-size: 13px; }

/* Badge: the real logo, ringed by a slow-turning dashed hex frame. */
.hero__badge { position: relative; display: grid; place-items: center; }
.hero__badge img { width: min(100%, 460px); height: auto; position: relative; z-index: 2; }
.hero__badge::before {
    content: ""; position: absolute; z-index: 1;
    width: min(112%, 520px); aspect-ratio: 1;
    border: 1px dashed rgba(255, 242, 0, .35);
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    animation: spin 44s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------------------------------------------------------------- ticker */
.ticker {
    background: var(--yellow); color: var(--on-yellow);
    overflow: hidden; padding-block: 13px;
    border-block: 2px solid var(--black);
}
.ticker__track {
    display: flex; width: max-content; gap: 34px;
    animation: slide 38s linear infinite;
    will-change: transform;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
[dir="rtl"] .ticker__track { animation-name: slide-rtl; }
.ticker__track span {
    font-family: var(--f-display); font-weight: 700;
    font-size: clamp(.95rem, 1.5vw, 1.2rem); letter-spacing: .1em;
    text-transform: uppercase; white-space: nowrap;
    display: inline-flex; align-items: center; gap: 34px;
}
[dir="rtl"] .ticker__track span { letter-spacing: 0; text-transform: none; }
.ticker__track span::after {
    content: ""; width: 11px; height: 13px; background: var(--on-yellow);
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
@keyframes slide { to { transform: translateX(-50%); } }
/* translateX is physical, not writing-mode aware, so RTL travels the
   opposite way to keep the duplicated halves lining up seamlessly. */
@keyframes slide-rtl { to { transform: translateX(50%); } }

/* ---------------------------------------------------------------- quote */
.quote { border-bottom: 1px solid var(--line); background: var(--black-2); }
.quote__in { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 3vw, 40px); align-items: start; }
.quote__mark {
    font-family: var(--f-display); font-weight: 700; font-size: clamp(4rem, 9vw, 7rem);
    line-height: .75; color: var(--yellow);
}
.quote p {
    font-family: var(--f-display); font-weight: 600;
    font-size: clamp(1.3rem, 3vw, 2.35rem); line-height: 1.22; max-width: 24ch;
    text-transform: uppercase;
}
[dir="rtl"] .quote p { text-transform: none; line-height: 1.45; }
.quote cite {
    display: block; margin-top: 18px; font-style: normal;
    font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}
[dir="rtl"] .quote cite { letter-spacing: 0; text-transform: none; font-size: 15px; }

/* ---------------------------------------------------------------- head block */
.head { max-width: 760px; margin-bottom: clamp(38px, 5vw, 62px); }
.head.center { margin-inline: auto; text-align: center; }
.head.center .kicker { justify-content: center; }
.head p { margin-top: 18px; color: var(--muted); }

/* ---------------------------------------------------------------- coverage tiles */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.tile {
    position: relative; padding: 38px 32px 40px; background: var(--black);
    transition: background .3s, color .3s;
}
.tile__no {
    font-family: var(--f-display); font-weight: 700; font-size: 13px;
    letter-spacing: .2em; color: var(--yellow); transition: color .3s;
}
.tile__ic {
    width: 52px; height: 58px; margin: 22px 0 24px;
    display: grid; place-items: center;
    background: var(--yellow-soft); color: var(--yellow);
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    transition: background .3s, color .3s;
}
.tile__ic svg { width: 26px; height: 26px; }
.tile h3 { margin-bottom: 12px; }
.tile p { color: var(--muted); font-size: 15.5px; transition: color .3s; }
.tile:hover { background: var(--yellow); color: var(--on-yellow); }
.tile:hover .tile__no { color: var(--on-yellow); }
.tile:hover p { color: rgba(10, 9, 12, .82); }
.tile:hover .tile__ic { background: rgba(10, 9, 12, .1); color: var(--on-yellow); }

/* ---------------------------------------------------------------- about */
.about__in { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 76px); align-items: center; }
.about__media { position: relative; }
.about__media img { width: 100%; height: auto; }
.about__stamp {
    position: absolute; inset-block-end: -12px; inset-inline-start: -12px;
    background: var(--yellow); color: var(--on-yellow);
    padding: 14px 20px; border-radius: 2px; max-width: 78%;
}
.about__stamp b {
    display: block; font-family: var(--f-display); font-weight: 700; font-size: 1.05rem;
    letter-spacing: .06em; text-transform: uppercase; line-height: 1.2;
}
[dir="rtl"] .about__stamp b { letter-spacing: 0; text-transform: none; }
.about__stamp span { display: block; font-size: 11.5px; font-weight: 600; opacity: .78; }
.about__copy p { color: var(--muted); }
.about__copy p + p { margin-top: 16px; }

.pledge {
    margin-top: 30px; padding: 22px 26px;
    border-inline-start: 4px solid var(--yellow); background: rgba(255, 242, 0, .05);
}
.pledge span { font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--yellow); }
[dir="rtl"] .pledge span { letter-spacing: 0; text-transform: none; font-size: 13px; }
.pledge p { margin-top: 8px; font-family: var(--f-display); font-weight: 600; font-size: 1.12rem; line-height: 1.35; }

/* ---------------------------------------------------------------- method timeline */
.steps { position: relative; }
.steps::before {
    content: ""; position: absolute; inset-block: 14px; inset-inline-start: 23px;
    width: 2px; background: linear-gradient(var(--yellow), rgba(255, 242, 0, .08));
}
.step {
    position: relative; display: grid; grid-template-columns: 1fr; gap: 6px;
    padding: 24px 0 24px 74px;
}
[dir="rtl"] .step { padding: 24px 74px 24px 0; }
.step__node {
    position: absolute; inset-inline-start: 0; top: 26px;
    width: 48px; height: 54px; display: grid; place-items: center;
    background: var(--yellow); color: var(--on-yellow);
    font-family: var(--f-display); font-weight: 700; font-size: 15px;
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.step p { color: var(--muted); max-width: 68ch; }
.step + .step { border-top: 1px solid var(--line); }

/* ---------------------------------------------------------------- mission / vision */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.duo__card { padding: clamp(30px, 4vw, 48px); border: 1px solid var(--line); position: relative; overflow: hidden; }
.duo__card p { color: var(--muted); margin-top: 16px; }
.duo__card h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); }
.duo__no {
    font-family: var(--f-display); font-weight: 700; font-size: 3.4rem; line-height: 1;
    color: transparent; -webkit-text-stroke: 1.5px var(--line-2); display: block; margin-bottom: 14px;
}
.duo__card--fill { background: var(--yellow); color: var(--on-yellow); border-color: var(--yellow); }
.duo__card--fill .kicker { color: var(--on-yellow); }
.duo__card--fill .kicker::before { background: var(--on-yellow); }
.duo__card--fill p { color: rgba(10, 9, 12, .8); }
.duo__card--fill .duo__no { -webkit-text-stroke-color: rgba(10, 9, 12, .35); }

/* ---------------------------------------------------------------- files */
.files { border-top: 1px solid var(--line); }
.file {
    display: grid; grid-template-columns: 92px 1fr auto; gap: clamp(16px, 3vw, 40px);
    align-items: center; padding: 30px 0; border-bottom: 1px solid var(--line);
    transition: padding-inline-start .35s var(--ease), background .35s;
}
.file:hover { padding-inline-start: 22px; background: rgba(255, 242, 0, .04); }
.file__no {
    font-family: var(--f-display); font-weight: 700; font-size: 2rem;
    color: transparent; -webkit-text-stroke: 1.5px var(--yellow);
}
.file__tag {
    display: inline-block; margin-bottom: 8px; padding: 3px 9px;
    border: 1px solid var(--yellow-soft); background: rgba(255, 242, 0, .07);
    font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--yellow);
}
[dir="rtl"] .file__tag { letter-spacing: 0; text-transform: none; font-size: 12.5px; }
.file p { color: var(--muted); margin-top: 8px; max-width: 72ch; font-size: 15.5px; }
.file__go {
    width: 46px; height: 46px; flex: none; display: grid; place-items: center;
    border: 1px solid var(--line-2); border-radius: 2px; color: var(--muted);
    transition: background .3s, color .3s, border-color .3s;
}
.file:hover .file__go { background: var(--yellow); border-color: var(--yellow); color: var(--on-yellow); }
[dir="rtl"] .file__go svg { transform: scaleX(-1); }

/* ---------------------------------------------------------------- brands */
.brands { border-block: 1px solid var(--line); background: var(--black-2); padding-block: 30px; overflow: hidden; }
.brands__head { text-align: center; margin-bottom: 20px; }
.brands__head .kicker { margin: 0; }
.brands__view {
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
    overflow: hidden;
}
.brands__track { display: flex; width: max-content; animation: slide 46s linear infinite; }
.brands:hover .brands__track { animation-play-state: paused; }
[dir="rtl"] .brands__track { animation-name: slide-rtl; }
.brands__set { display: flex; }
.brand-chip {
    flex: none; height: 76px; min-width: 178px; padding-inline: 22px;
    display: flex; align-items: center; justify-content: center; gap: 13px;
    margin-inline-end: 12px; border: 1px solid var(--line);
    color: var(--muted);
    transition: color .25s, border-color .25s, background .25s;
}
.brand-chip:hover { color: var(--yellow); border-color: var(--yellow); background: rgba(255, 242, 0, .04); }

/* Manufacturer marks are single-colour SVGs, painted through a mask so they
   take the chip's colour instead of being baked-in black. */
.brand-chip__mark {
    width: 36px; height: 36px; flex: none;
    background: currentColor;
    -webkit-mask: var(--mark) center / contain no-repeat;
    mask: var(--mark) center / contain no-repeat;
}
/* Raster logos uploaded from the panel cannot be recoloured; mute them instead. */
.brand-chip__img { max-height: 38px; width: auto; object-fit: contain; filter: grayscale(1) brightness(1.9); opacity: .7; transition: opacity .25s, filter .25s; }
.brand-chip:hover .brand-chip__img { filter: none; opacity: 1; }

.brand-chip__name {
    font-family: var(--f-display); font-weight: 600; font-size: .98rem;
    letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
}
[dir="rtl"] .brand-chip__name { letter-spacing: 0; }

/* ---------------------------------------------------------------- watch */
.chans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.chan {
    position: relative; display: flex; align-items: center; gap: 16px;
    padding: 24px 26px; border: 1px solid var(--line); background: var(--panel);
    transition: transform .3s var(--ease), border-color .3s;
}
.chan:hover { transform: translateY(-4px); border-color: var(--yellow); }
.chan__ic { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 2px; color: #fff; }
.chan__ic svg { width: 24px; height: 24px; }
.chan--ig .chan__ic { background: linear-gradient(45deg, #f9ce34, #ee2a7b 55%, #6228d7); }
.chan--fb .chan__ic { background: #1877f2; }
.chan--wa .chan__ic { background: #25d366; color: #06240f; }
.chan b { display: block; font-family: var(--f-display); font-weight: 700; font-size: 1.1rem; text-transform: uppercase; letter-spacing: .04em; }
[dir="rtl"] .chan b { text-transform: none; letter-spacing: 0; }
.chan small { display: block; color: var(--muted); font-size: 13.5px; margin-top: 3px; }
.chan__go { margin-inline-start: auto; color: var(--muted-2); flex: none; }
.chan:hover .chan__go { color: var(--yellow); }
[dir="rtl"] .chan__go svg { transform: scaleX(-1); }
.chan__link { position: absolute; inset: 0; }

/* ---------------------------------------------------------------- cta */
.cta { background: var(--yellow); color: var(--on-yellow); text-align: center; }
.cta h2 { font-size: clamp(2.1rem, 5.6vw, 4.4rem); }
.cta p { margin: 20px auto 0; max-width: 52ch; color: rgba(10, 9, 12, .8); }
.cta .btn { margin-top: 32px; }

/* ---------------------------------------------------------------- page head */
.pagehead { border-bottom: 1px solid var(--line); background: var(--black-2); position: relative; overflow: hidden; }
.pagehead__in { padding-block: clamp(48px, 7vw, 92px); position: relative; z-index: 2; }
.pagehead__ghost {
    position: absolute; inset-inline-end: -2%; top: 50%; transform: translateY(-50%);
    font-family: var(--f-display); font-weight: 700; font-size: clamp(6rem, 17vw, 15rem);
    line-height: .8; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 242, 0, .12);
    pointer-events: none; user-select: none; white-space: nowrap; z-index: 1;
    text-transform: uppercase;
}
.crumbs { margin-top: 16px; color: var(--muted-2); font-size: 13.5px; letter-spacing: .1em; text-transform: uppercase; }
[dir="rtl"] .crumbs { letter-spacing: 0; text-transform: none; font-size: 15px; }
.crumbs a:hover { color: var(--yellow); }

/* ---------------------------------------------------------------- profile (Ghazi) */
.profile__in { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.profile__card { border: 1px solid var(--line); background: var(--panel); padding: 28px; text-align: center; position: sticky; top: 110px; }
.profile__card img { width: min(100%, 300px); margin-inline: auto; }
.profile__card b { display: block; margin-top: 20px; font-family: var(--f-display); font-weight: 700; font-size: 1.5rem; text-transform: uppercase; }
[dir="rtl"] .profile__card b { text-transform: none; }
.profile__card span { display: block; margin-top: 6px; color: var(--yellow); font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; }
[dir="rtl"] .profile__card span { letter-spacing: 0; text-transform: none; font-size: 14.5px; }
.profile__story p { color: var(--muted); position: relative; padding-inline-start: 26px; }
.profile__story p + p { margin-top: 18px; }
.profile__story p::before {
    content: ""; position: absolute; inset-inline-start: 0; top: 10px;
    width: 10px; height: 11px; background: var(--yellow); opacity: .6;
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

/* ---------------------------------------------------------------- contact */
.contact__in { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(30px, 5vw, 64px); align-items: start; }
.reach { display: flex; flex-direction: column; gap: 12px; margin-top: 26px; }
.reach__row {
    display: flex; align-items: center; gap: 16px; padding: 18px 20px;
    border: 1px solid var(--line); background: var(--panel);
    transition: border-color .25s, transform .25s var(--ease);
}
.reach__row:hover { border-color: var(--yellow); transform: translateX(3px); }
[dir="rtl"] .reach__row:hover { transform: translateX(-3px); }
.reach__ic {
    width: 42px; height: 46px; flex: none; display: grid; place-items: center;
    background: var(--yellow-soft); color: var(--yellow);
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.reach__ic svg { width: 20px; height: 20px; }
.reach__row small { display: block; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); }
[dir="rtl"] .reach__row small { letter-spacing: 0; text-transform: none; font-size: 13px; }
.reach__row b { display: block; font-weight: 600; margin-top: 2px; }

.form { border: 1px solid var(--line); background: var(--panel); padding: clamp(24px, 3.5vw, 40px); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 7px; }
[dir="rtl"] .field label { letter-spacing: 0; text-transform: none; font-size: 14px; }
.field input, .field select, .field textarea {
    width: 100%; padding: 14px 15px; font: inherit; font-size: 15px;
    background: var(--black); color: var(--ink);
    border: 1px solid var(--line-2); border-radius: 2px;
    transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none; border-color: var(--yellow); box-shadow: 0 0 0 3px var(--yellow-soft);
}
.field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23a3a3ad' stroke-width='1.7'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 15px center;
}
[dir="rtl"] .field select { background-position: left 15px center; }
.note { margin-top: 14px; font-size: 14px; min-height: 20px; }
.note.ok  { color: #56d38b; }
.note.err { color: #ff6b6b; }
.btn.is-busy { pointer-events: none; opacity: .65; }

/* ---------------------------------------------------------------- footer */
.foot { background: var(--black-2); border-top: 1px solid var(--line); padding-block: 64px 26px; }
.foot__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 40px; }
.foot__brand { display: flex; align-items: center; gap: 14px; }
.foot__brand img { width: 66px; height: 66px; }
.foot__blurb { margin-top: 20px; color: var(--muted); font-size: 15px; max-width: 36ch; }
.foot h4 {
    font-family: var(--f-body); font-size: 11.5px; font-weight: 600;
    letter-spacing: .2em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 18px;
}
[dir="rtl"] .foot h4 { letter-spacing: 0; text-transform: none; font-size: 13.5px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.foot ul a, .foot ul li { color: var(--muted); font-size: 15px; transition: color .2s; }
.foot ul a:hover { color: var(--yellow); }
.foot__bottom {
    margin-top: 52px; padding-top: 22px; border-top: 1px solid var(--line);
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
    color: var(--muted-2); font-size: 13px;
}
.foot__social { display: flex; gap: 8px; }
.foot__social a {
    width: 38px; height: 42px; display: grid; place-items: center; color: var(--muted);
    background: rgba(255, 255, 255, .04);
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    transition: background .25s, color .25s;
}
.foot__social a:hover { background: var(--yellow); color: var(--on-yellow); }
.foot__social svg { width: 16px; height: 16px; }

/* ---------------------------------------------------------------- floating actions */
.fabs {
    position: fixed; z-index: 70;
    inset-block-end: 20px; inset-inline-end: 20px;
    display: flex; flex-direction: column; gap: 12px;
    /* Clear of the iOS home indicator. */
    padding-bottom: env(safe-area-inset-bottom);
}

.fab {
    position: relative;
    width: 54px; height: 54px; flex: none; padding: 0;
    display: grid; place-items: center;
    border-radius: 50%; border: 0; cursor: pointer;
    box-shadow: 0 10px 26px -8px rgba(0, 0, 0, .75);
    transition: transform .25s var(--ease), box-shadow .25s, background .25s, color .25s;
}
.fab:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -10px rgba(0, 0, 0, .85); }
.fab:active { transform: translateY(-1px); }

/* WhatsApp keeps its own brand colour — people look for the green. */
.fab--wa { background: #25d366; color: #06240f; }
.fab--wa:hover { background: #2ee578; }
.fab--wa svg { width: 28px; height: 28px; }

/* Back to top reads as a wheel: yellow tread on the brand's black. */
.fab--top {
    background: var(--black); color: var(--yellow);
    border: 2px solid var(--yellow);
    opacity: 0; visibility: hidden; transform: translateY(10px) scale(.85);
    transition: opacity .3s, visibility .3s, transform .3s var(--ease), background .25s, color .25s;
}
.fab--top.is-on { opacity: 1; visibility: visible; transform: none; }
.fab--top:hover { background: var(--yellow); color: var(--on-yellow); }
.fab--top svg { width: 34px; height: 34px; }
/* Spun by site.js from the scroll position, so it rolls as the page moves. */
.fab__tread { transform: rotate(var(--spin, 0deg)); transform-origin: 50% 50%; }

/* Label on hover, desktop only — it would sit under a thumb on mobile. */
.fab__tip {
    position: absolute; inset-inline-end: calc(100% + 10px); top: 50%;
    transform: translateY(-50%);
    background: var(--black-2); color: var(--ink);
    border: 1px solid var(--line-2); border-radius: 2px;
    padding: 7px 11px; white-space: nowrap;
    font-family: var(--f-display); font-weight: 600; font-size: 12.5px;
    letter-spacing: .06em; text-transform: uppercase;
    opacity: 0; pointer-events: none; transition: opacity .2s;
}
[dir="rtl"] .fab__tip { letter-spacing: 0; text-transform: none; }
.fab:hover .fab__tip, .fab:focus-visible .fab__tip { opacity: 1; }

@media (hover: none), (max-width: 680px) {
    .fab__tip { display: none; }
    .fabs { inset-block-end: 14px; inset-inline-end: 14px; gap: 10px; }
    .fab { width: 50px; height: 50px; }
}

@media (prefers-reduced-motion: reduce) {
    .fab, .fab--top { transition: opacity .2s, visibility .2s; }
    .fab:hover { transform: none; }
    .fab__tread { transform: none; }
}

/* ---------------------------------------------------------------- reveal */
/* Scoped to html.js, which site.js sets before paint: if scripting is off or
   the bundle fails to load, content is simply visible rather than stuck at
   opacity 0. site.js also force-reveals everything after a short timeout. */
.js .rise { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .rise.in { opacity: 1; transform: none; }
.rise[data-d="1"] { transition-delay: .07s; }
.rise[data-d="2"] { transition-delay: .14s; }
.rise[data-d="3"] { transition-delay: .21s; }
.rise[data-d="4"] { transition-delay: .28s; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1080px) {
    .tiles { grid-template-columns: repeat(2, 1fr); }
    .foot__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 940px) {
    .hero__in, .about__in, .profile__in, .contact__in { grid-template-columns: 1fr; }
    .hero__badge { order: -1; max-width: 340px; margin-inline: auto; }
    .profile__card { position: static; }
    .duo, .chans { grid-template-columns: 1fr; }
}
@media (max-width: 1150px) {
    .nav__links { display: none; }
    .lang { display: none; }
    .nav__end .btn { display: none; }
    .burger { display: block; margin-inline-start: auto; }
    .drawer {
        display: block; position: fixed; inset: 0; z-index: 90;
        background: var(--black); background-image: var(--hex);
        padding: 18px var(--gut) 40px;
        transform: translateY(-100%); transition: transform .45s var(--ease);
        overflow-y: auto;
        /* Keep the last link clear of the phone's home indicator. */
        padding-bottom: calc(40px + env(safe-area-inset-bottom));
    }
    body.is-open { overflow: hidden; }
    body.is-open .drawer { transform: none; }

    /* The drawer covers the header, so it brings its own logo and close button. */
    .drawer__top {
        display: flex; align-items: center; justify-content: space-between;
        gap: 16px; margin-bottom: 20px;
        padding-bottom: 18px; border-bottom: 1px solid var(--line);
    }
    .drawer__badge { width: 52px; height: 52px; border-radius: 50%; flex: none; }
    .drawer__close {
        width: 52px; height: 52px; flex: none; padding: 0;
        display: grid; place-items: center;
        background: transparent; color: var(--ink);
        border: 1px solid var(--line-2); border-radius: 2px;
        cursor: pointer; transition: border-color .2s, color .2s, background .2s;
    }
    .drawer__close:hover, .drawer__close:focus-visible {
        border-color: var(--yellow); color: var(--yellow); background: rgba(255, 242, 0, .06);
    }
    .drawer__close svg { width: 24px; height: 24px; }

    .drawer a {
        display: block; padding: 14px 0; border-bottom: 1px solid var(--line);
        font-family: var(--f-display); font-weight: 700; font-size: 1.5rem;
        text-transform: uppercase; letter-spacing: .04em;
    }
    [dir="rtl"] .drawer a { text-transform: none; letter-spacing: 0; }
    .drawer a:hover { color: var(--yellow); }
    .drawer .btn { margin-top: 26px; width: 100%; }
    .topline__in { justify-content: center; }
    .topline__tag { display: none; }
}
@media (max-width: 680px) {
    body { font-size: 16px; }
    .tiles { grid-template-columns: 1fr; }
    .specs { grid-template-columns: 1fr; }
    .spec { border-inline-start: 0; border-top: 1px solid var(--line); }
    .spec:first-child { border-top: 0; }
    .row2 { grid-template-columns: 1fr; }
    .foot__top { grid-template-columns: 1fr; }
    .file { grid-template-columns: 60px 1fr; }
    .file__go { display: none; }
    .quote__in { grid-template-columns: 1fr; }
    .brand__txt { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .rise { opacity: 1; transform: none; transition: none; }
    .ticker__track, .brands__track, .hero__badge::before { animation: none; }
    .brands__view { overflow-x: auto; }
}
