/* ============================================================
   Bahrain Courier Services — global stylesheet
   Brand: yellow #FFCC00 · red #D40511 · ink #141414 · paper #F6F6F3
   ============================================================ */
:root {
  --red: #d40511;
  --red-dark: #a3040d;
  --yellow: #ffcc00;
  --ink: #141414;
  --paper: #f6f6f3;
  --line: #e3e3dd;
  --grey: #6b6b66;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Hanken Grotesk", "Tajawal", system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}
html[dir="rtl"] body { font-family: "Tajawal", "Hanken Grotesk", system-ui, sans-serif; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1280px; margin-inline: auto; padding-inline: 20px; }
.mono, .ticker, .eyebrow, .chip, .brand__text small { font-family: "JetBrains Mono", monospace; }
::selection { background: var(--yellow); color: var(--ink); }

/* ── ticker ─────────────────────────────────────────────── */
.ticker { background: var(--ink); color: var(--yellow); overflow: hidden; }
.ticker__track { display: flex; width: max-content; animation: marquee 46s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
html[dir="rtl"] .ticker__track { animation-direction: reverse; }
.ticker__half { display: flex; flex-shrink: 0; }
.ticker__item { display: flex; align-items: center; gap: 8px; margin-inline: 24px; padding-block: 7px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.ticker .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--red); animation: pulse 1.6s ease-in-out infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(212,5,17,.55);} 70% { box-shadow: 0 0 0 9px rgba(212,5,17,0);} }

/* ── header ─────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 100; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); padding: 10px 20px; }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand__mark { flex-shrink: 0; }
.brand__text { line-height: 1.15; }
.brand__text b { display: block; font-size: 15px; font-weight: 900; text-transform: uppercase; letter-spacing: -.02em; white-space: nowrap; }
.brand__text small { display: none; font-size: 9px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: #8a8a84; white-space: nowrap; }
@media (min-width: 480px) { .brand__text small { display: block; } }
.brand__divider, .partner { display: none; }
@media (min-width: 720px) {
  .brand__divider { display: block; width: 1px; height: 32px; background: #ddd; margin-inline: 6px; }
  .partner { display: inline-flex; align-items: center; gap: 8px; }
}
.partner small { font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #8a8a84; max-width: 84px; text-align: end; line-height: 1.3; }
.dhl-badge { display: inline-flex; background: var(--yellow); padding: 4px 10px; transform: skewX(-8deg); box-shadow: inset 0 -2px 0 rgba(0,0,0,.12); }
.dhl-badge span { transform: skewX(8deg); color: var(--red); font-weight: 900; font-style: italic; font-size: 18px; line-height: 1; letter-spacing: -.03em; }

.nav { display: none; align-items: center; }
@media (min-width: 1100px) { .nav { display: flex; } }
.nav__link { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding-inline: 12px; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; white-space: nowrap; color: var(--ink); background: none; border: 0; cursor: pointer; font-family: inherit; }
.nav__link:hover, .nav__drop:focus-within > .nav__link { color: var(--red); }
.nav__drop { position: relative; }
.nav__menu { position: absolute; inset-inline-start: 0; top: 100%; min-width: 270px; background: #fff; border-top: 4px solid var(--yellow); box-shadow: 0 24px 48px rgba(0,0,0,.18); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s var(--ease); }
.nav__drop:hover .nav__menu, .nav__drop:focus-within .nav__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__menu a { display: block; padding: 12px 20px; font-size: 13px; font-weight: 700; border-bottom: 1px solid #f0f0ea; text-transform: none; }
.nav__menu a:hover { background: rgba(255,204,0,.2); color: var(--red); }
.caret { font-size: 10px; }

.topbar__actions { display: flex; align-items: center; gap: 10px; }
.langswitch { display: inline-flex; align-items: center; gap: 2px; border: 1px solid #cfcfc8; border-radius: 999px; padding: 3px; background: #fff; color: #8a8a84; }
.langswitch svg { margin-inline: 5px; }
.langswitch a { min-width: 44px; min-height: 32px; display: inline-flex; align-items: center; justify-content: center; padding-inline: 12px; border-radius: 999px; font-size: 12px; font-weight: 800; }
.langswitch a.on { background: var(--red); color: #fff; box-shadow: 0 2px 6px rgba(212,5,17,.35); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding-inline: 22px; font-weight: 900; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; border: 0; cursor: pointer; font-family: inherit; transition: transform .15s var(--ease), background .2s; white-space: nowrap; }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-dark); }
.btn--yellow { background: var(--yellow); color: var(--ink); }
.btn--yellow:hover { transform: scale(1.03); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--red); }
.btn--ghost { border: 2px solid rgba(255,255,255,.4); color: #fff; background: transparent; }
.btn--ghost:hover { border-color: var(--yellow); color: var(--yellow); }
.btn--big { min-height: 56px; padding-inline: 30px; font-size: 15px; }
.topbar__ship { display: none; }
@media (min-width: 720px) { .topbar__ship { display: inline-flex; } }
.burger { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; min-width: 44px; min-height: 44px; align-items: center; background: none; border: 0; cursor: pointer; }
.burger span { width: 22px; height: 2px; background: var(--ink); transition: .25s; }
@media (min-width: 1100px) { .burger { display: none; } }
body.menu-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobilemenu { display: none; position: fixed; inset: 0; top: 0; z-index: 90; background: var(--ink); padding: 110px 24px 40px; overflow-y: auto; }
body.menu-open .mobilemenu { display: block; }
.mobilemenu a { display: flex; min-height: 52px; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.1); color: #fff; font-size: 18px; font-weight: 800; }
.mobilemenu a em { font-family: "JetBrains Mono", monospace; font-style: normal; font-size: 11px; color: var(--yellow); }
.mobilemenu__cta { margin-top: 24px; background: var(--red); justify-content: center !important; text-transform: uppercase; letter-spacing: .08em; font-size: 14px !important; }

/* ── shared blocks ──────────────────────────────────────── */
.eyebrow { font-size: 11px; font-weight: 800; letter-spacing: .3em; text-transform: uppercase; color: var(--red); }
.eyebrow--yellow { color: var(--yellow); }
.h-display { font-weight: 900; letter-spacing: -.03em; line-height: 1.02; }
.slash { height: 8px; background-image: repeating-linear-gradient(-55deg, transparent 0 14px, rgba(212,5,17,.9) 14px 20px, transparent 20px 34px); }
.dot-lead { display: inline-flex; align-items: center; gap: 10px; }
.dot-lead::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: pulse 1.6s ease-in-out infinite; }

/* page hero */
.phero { position: relative; overflow: hidden; background: var(--ink); color: #fff; }
.phero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .4; }
.phero__shade { position: absolute; inset: 0; background: linear-gradient(to top, var(--ink), rgba(20,20,20,.55), rgba(20,20,20,.25)); }
.phero__stripes { position: absolute; inset: 0; opacity: .07; background-image: repeating-linear-gradient(-55deg, transparent 0 14px, rgba(212,5,17,.9) 14px 20px, transparent 20px 34px); }
.phero__inner { position: relative; padding: 64px 0 56px; }
@media (min-width: 720px) { .phero__inner { padding: 96px 0 88px; } }
.phero h1 { font-size: clamp(34px, 6vw, 60px); max-width: 820px; margin-top: 14px; }
.phero p.sub { margin-top: 18px; max-width: 640px; color: rgba(255,255,255,.75); font-size: clamp(15px, 2vw, 18px); }

/* section spacing */
.section { padding-block: 64px; }
@media (min-width: 720px) { .section { padding-block: 96px; } }
.section-title { font-size: clamp(26px, 4.5vw, 44px); margin-top: 12px; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.section-head p { max-width: 460px; color: var(--grey); font-size: 14px; }

/* reveal animation */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } .ticker__track { animation: none; } }

/* buttons row */
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }

/* ── home hero ──────────────────────────────────────────── */
.hero { position: relative; min-height: 88svh; display: flex; align-items: center; overflow: hidden; background: var(--ink); color: #fff; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 115%; object-fit: cover; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(20,20,20,.96), rgba(20,20,20,.72) 45%, rgba(20,20,20,.3)); }
.hero__bar { position: absolute; inset-inline: 0; top: 0; height: 6px; background: var(--yellow); z-index: 2; }
.hero__inner { position: relative; width: 100%; padding-block: 90px; }
.hero h1 { font-size: clamp(44px, 8vw, 96px); margin-top: 20px; }
.hero h1 .y { color: var(--yellow); }
.hero__sub { margin-top: 24px; max-width: 560px; color: rgba(255,255,255,.8); font-size: clamp(15px, 2vw, 18px); }
.hero__track { margin-top: 40px; max-width: 680px; }
.hero__ctas { margin-top: 30px; }
.hero__scroll { position: absolute; bottom: 20px; inset-inline-start: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 6px; color: rgba(255,255,255,.6); font-family: "JetBrains Mono", monospace; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; }
.hero__scroll i { width: 1px; height: 32px; background: linear-gradient(var(--yellow), transparent); animation: drip 1.8s infinite; }
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* tracking form */
.trackform { display: flex; flex-direction: column; gap: 8px; }
@media (min-width: 640px) { .trackform { flex-direction: row; } }
.trackform__field { position: relative; flex: 1; }
.trackform__field svg { position: absolute; inset-inline-start: 16px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: #9a9a92; }
.trackform input { width: 100%; height: 64px; border: 2px solid var(--ink); background: #fff; padding-inline: 48px 16px; font-family: "JetBrains Mono", monospace; font-weight: 700; font-size: 16px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink); outline: none; }
.trackform input::placeholder { text-transform: none; letter-spacing: 0; font-family: inherit; font-weight: 500; color: #a3a39b; }
.trackform input:focus { border-color: var(--red); }
.trackform .btn { height: 64px; font-size: 15px; }
.demo-nums { margin-top: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12px; color: rgba(255,255,255,.6); }
.demo-nums.on-light { color: var(--grey); }
.demo-nums a { font-family: "JetBrains Mono", monospace; font-weight: 700; color: var(--red); background: #fff; border: 1px solid #d8d8d2; padding: 4px 8px; }
.demo-nums a:hover { border-color: var(--red); }

/* ── tracking result (DHL style) ────────────────────────── */
.trackresult { border: 2px solid var(--ink); background: #fff; box-shadow: 8px 8px 0 var(--yellow); overflow: hidden; }
.trackresult__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; background: var(--ink); color: #fff; padding: 18px 22px; }
.trackresult__head small { display: block; font-family: "JetBrains Mono", monospace; font-size: 10px; font-weight: 800; letter-spacing: .25em; text-transform: uppercase; color: var(--yellow); }
.trackresult__head b { font-family: "JetBrains Mono", monospace; font-size: 20px; }
.chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid; padding: 5px 10px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.chip i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.chip--delivered { background: #dcfce7; color: #166534; border-color: #86efac; }
.chip--out_for_delivery { background: #fef3c7; color: #92400e; border-color: #fcd34d; }
.chip--exception { background: #fee2e2; color: #991b1b; border-color: #fca5a5; }
.chip--exception i { animation: pulse 1.6s infinite; }
.chip--customs { background: #f3e8ff; color: #6b21a8; border-color: #d8b4fe; }
.chip--label_created, .chip--picked_up, .chip--in_transit { background: #e0f2fe; color: #075985; border-color: #7dd3fc; }

.steps { display: flex; align-items: flex-start; padding: 22px; border-bottom: 1px solid var(--line); }
.step { flex: 1; display: flex; align-items: center; }
.step:last-child { flex: none; }
.step__dot { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.step__dot i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid #d5d5cf; background: #fff; }
.step.done .step__dot i { border-color: var(--red); background: var(--red); }
.step.current .step__dot i { animation: pulse 1.6s infinite; }
.step__dot span { display: none; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: #a3a39b; white-space: nowrap; }
.step.done .step__dot span { color: var(--ink); }
@media (min-width: 640px) { .step__dot span { display: block; } }
.step__line { flex: 1; height: 2px; background: #e6e6e0; margin-inline: 4px; }
.step__line.done { background: var(--red); }

.meta { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); }
@media (min-width: 720px) { .meta { grid-template-columns: repeat(4, 1fr); } }
.meta > div { background: #fff; padding: 14px 16px; }
.meta dt { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .16em; color: #a3a39b; }
.meta dd { margin-top: 3px; font-size: 14px; font-weight: 800; }

.history { padding: 22px; }
.history h3 { font-family: "JetBrains Mono", monospace; font-size: 11px; font-weight: 800; letter-spacing: .25em; text-transform: uppercase; color: #8a8a84; margin-bottom: 16px; }
.history ol { list-style: none; border-inline-start: 2px solid #e8e8e2; }
.history li { position: relative; padding-inline-start: 24px; padding-bottom: 20px; }
.history li::before { content: ""; position: absolute; inset-inline-start: -7px; top: 5px; width: 12px; height: 12px; border-radius: 50%; border: 2px solid #d5d5cf; background: #fff; }
.history li:first-child::before { border-color: var(--red); background: var(--red); animation: pulse 1.6s infinite; }
.history .row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px; }
.history .row b { font-size: 14px; }
.history time { font-family: "JetBrains Mono", monospace; font-size: 11px; color: #a3a39b; direction: ltr; }
.history .loc { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #8a8a84; }

.alert { border-inline-start: 4px solid var(--red); background: #fff; padding: 22px; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.alert b { color: var(--red); }
.alert .mono { color: #8a8a84; font-size: 13px; }

/* ── stats band ─────────────────────────────────────────── */
.stats-band { background: var(--yellow); border-block: 4px solid var(--red); }
.stats-band .wrap { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; padding-block: 36px; }
@media (min-width: 720px) { .stats-band .wrap { grid-template-columns: repeat(4, 1fr); } }
.stats-band .num { font-family: "JetBrains Mono", monospace; font-size: clamp(28px, 4vw, 46px); font-weight: 800; direction: ltr; text-align: center; }
.stats-band .lbl { margin-top: 4px; font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .15em; color: rgba(20,20,20,.7); text-align: center; }

/* ── service grid ───────────────────────────────────────── */
.svcgrid { display: grid; gap: 1px; border: 2px solid var(--ink); background: var(--ink); margin-top: 44px; }
@media (min-width: 640px) { .svcgrid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .svcgrid { grid-template-columns: repeat(3, 1fr); } }
.svc { display: flex; flex-direction: column; justify-content: space-between; background: #fff; padding: 26px; min-height: 240px; transition: background .25s; }
.svc:hover { background: var(--ink); color: #fff; }
.svc__top { display: flex; align-items: center; justify-content: space-between; }
.svc__icon { width: 28px; height: 28px; color: var(--red); }
.svc:hover .svc__icon { color: var(--yellow); }
.svc__num { font-family: "JetBrains Mono", monospace; font-size: 12px; font-weight: 800; color: #d0d0c8; }
.svc:hover .svc__num { color: rgba(255,255,255,.4); }
.svc h3 { margin-top: 18px; font-size: 20px; font-weight: 900; letter-spacing: -.02em; }
.svc p { margin-top: 8px; font-size: 13px; color: var(--grey); line-height: 1.6; }
.svc:hover p { color: rgba(255,255,255,.6); }
.svc .more { margin-top: 22px; font-size: 13px; font-weight: 900; text-transform: uppercase; letter-spacing: .05em; color: var(--red); }
.svc:hover .more { color: var(--yellow); }

/* ── how it works ───────────────────────────────────────── */
.dark-section { background: var(--ink); color: #fff; }
.howgrid { display: grid; gap: 36px; margin-top: 52px; }
@media (min-width: 640px) { .howgrid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .howgrid { grid-template-columns: repeat(4, 1fr); } }
.how { border-inline-start: 2px solid var(--yellow); padding-inline-start: 20px; }
.how .n { font-family: "JetBrains Mono", monospace; font-size: 46px; font-weight: 800; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.25); direction: ltr; }
.how h3 { margin-top: 10px; font-size: 20px; font-weight: 900; }
.how p { margin-top: 8px; font-size: 13px; color: rgba(255,255,255,.6); }

/* ── dhl band ───────────────────────────────────────────── */
.dhlband { background: var(--red); color: #fff; position: relative; overflow: hidden; }
.dhlband > .slash { position: absolute; inset-inline: 0; top: 0; }
.dhlband .wrap { display: grid; gap: 48px; align-items: center; padding-block: 80px; }
@media (min-width: 1100px) { .dhlband .wrap { grid-template-columns: 1fr 1fr; } }
.dhlband h2 { font-size: clamp(26px, 4.5vw, 44px); margin-top: 14px; }
.dhlband .lead { margin-top: 20px; color: rgba(255,255,255,.85); max-width: 520px; }
.dhlband ul { list-style: none; margin-top: 26px; }
.dhlband li { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 800; padding-block: 6px; }
.dhlband li::before { content: ""; width: 8px; height: 8px; background: var(--yellow); flex-shrink: 0; }
.dhlband .btn { margin-top: 32px; background: #fff; color: var(--red); }
.dhlband figure { position: relative; }
.dhlband figure img { width: 100%; border: 4px solid rgba(255,255,255,.2); box-shadow: 0 30px 60px rgba(0,0,0,.35); }
.dhlband figcaption { position: absolute; bottom: -20px; inset-inline-end: -8px; background: var(--yellow); color: var(--ink); padding: 14px 18px; box-shadow: 0 16px 32px rgba(0,0,0,.3); }
.dhlband figcaption small { display: block; font-family: "JetBrains Mono", monospace; font-size: 9px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; margin-top: 4px; }

/* ── network map ────────────────────────────────────────── */
.mapwrap { border: 1px solid rgba(255,255,255,.1); background: #111; padding: 16px; margin-top: 40px; background-image: repeating-linear-gradient(to bottom, rgba(255,255,255,.025) 0 1px, transparent 1px 3px); }
@media (min-width: 720px) { .mapwrap { padding: 32px; } }
.routeflow { stroke-dasharray: 7 7; animation: dash 1.2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -28; } }

/* ── people / teaser ────────────────────────────────────── */
.split { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1100px) { .split { grid-template-columns: 1fr 1fr; } }
.imgpair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.imgpair img { width: 100%; height: 100%; object-fit: cover; border: 2px solid var(--ink); }
.imgpair img:first-child { margin-top: 32px; }

/* ── news ───────────────────────────────────────────────── */
.newsgrid { display: grid; gap: 32px; margin-top: 40px; }
@media (min-width: 900px) { .newsgrid { grid-template-columns: repeat(3, 1fr); } }
.newsgrid--2 { grid-template-columns: 1fr; }
@media (min-width: 900px) { .newsgrid--2 { grid-template-columns: 1fr 1fr; } }
.news img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border: 2px solid var(--ink); transition: transform .5s var(--ease); }
.news:hover img { transform: scale(1.04); }
.news .kicker { margin-top: 14px; font-family: "JetBrains Mono", monospace; font-size: 10px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--red); }
.news h3 { margin-top: 8px; font-size: 18px; font-weight: 900; line-height: 1.3; letter-spacing: -.01em; }
.news:hover h3 { color: var(--red); }
.news p { margin-top: 8px; font-size: 13px; color: var(--grey); }
.article-body { max-width: 720px; }
.article-body p { margin-top: 24px; font-size: 18px; line-height: 1.75; color: #3d3d39; }
.article-body p:first-of-type { font-size: 21px; font-weight: 600; color: var(--ink); }
.backlink { display: inline-block; margin-top: 32px; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; color: var(--red); }

/* ── content pages ──────────────────────────────────────── */
.cpage-text { display: grid; gap: 24px; margin-bottom: 56px; }
@media (min-width: 1100px) { .cpage-text { grid-template-columns: 280px 1fr; } }
.cpage-text h2 { font-size: clamp(22px, 3.5vw, 30px); font-weight: 900; letter-spacing: -.02em; }
.cpage-text p { max-width: 760px; font-size: 17px; line-height: 1.75; color: #55554f; }
.featgrid { border: 2px solid var(--ink); background: var(--ink); display: grid; gap: 1px; margin-bottom: 56px; }
@media (min-width: 640px) { .featgrid { grid-template-columns: 1fr 1fr; } }
.feat { background: #fff; padding: 26px; transition: background .2s; }
.feat:hover { background: rgba(255,204,0,.15); }
.feat .n { font-family: "JetBrains Mono", monospace; font-size: 12px; font-weight: 800; color: var(--red); }
.feat h3 { margin-top: 10px; font-size: 18px; font-weight: 900; }
.feat p { margin-top: 6px; font-size: 13px; color: var(--grey); line-height: 1.6; }
.statgrid { display: grid; gap: 1px; background: rgba(20,20,20,.1); margin-bottom: 56px; }
@media (min-width: 640px) { .statgrid { grid-template-columns: repeat(3, 1fr); } }
.statgrid .cell { background: var(--ink); color: #fff; padding: 30px 24px; }
.statgrid .v { font-family: "JetBrains Mono", monospace; font-size: clamp(26px, 3.5vw, 38px); font-weight: 800; color: var(--yellow); direction: ltr; }
.statgrid .l { margin-top: 6px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.7); }
.ctaband { position: relative; background: var(--red); color: #fff; text-align: center; padding: 48px 24px; overflow: hidden; }
.ctaband .slash { position: absolute; inset-inline: 0; top: 0; height: 6px; }
.ctaband h2 { font-size: clamp(22px, 3.5vw, 36px); font-weight: 900; }
.ctaband p { margin: 12px auto 0; max-width: 520px; color: rgba(255,255,255,.85); }
.ctaband .btn { margin-top: 26px; }

/* ── group index cards ──────────────────────────────────── */
.cardgrid { display: grid; gap: 24px; }
@media (min-width: 640px) { .cardgrid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .cardgrid { grid-template-columns: repeat(3, 1fr); } }
.gcard { display: flex; flex-direction: column; border: 2px solid var(--ink); background: #fff; transition: box-shadow .2s var(--ease); }
.gcard:hover { box-shadow: 8px 8px 0 var(--yellow); }
.gcard img, .gcard .imgfill { width: 100%; aspect-ratio: 16/8; object-fit: cover; border-bottom: 2px solid var(--ink); }
.gcard .imgfill { background: rgba(255,204,0,.55); background-image: repeating-linear-gradient(-55deg, transparent 0 14px, rgba(212,5,17,.9) 14px 20px, transparent 20px 34px); }
.gcard__body { display: flex; flex: 1; flex-direction: column; padding: 24px; }
.gcard__body .n { font-family: "JetBrains Mono", monospace; font-size: 12px; font-weight: 800; color: var(--red); }
.gcard__body h3 { margin-top: 8px; font-size: 20px; font-weight: 900; }
.gcard__body p { margin-top: 8px; flex: 1; font-size: 13px; color: var(--grey); }
.gcard__body .more { margin-top: 18px; font-size: 13px; font-weight: 900; text-transform: uppercase; color: var(--red); }

/* ── forms / quote / contact ────────────────────────────── */
.panel { border: 2px solid var(--ink); background: #fff; padding: 26px; box-shadow: 8px 8px 0 var(--yellow); }
@media (min-width: 720px) { .panel { padding: 40px; } }
.frow { display: grid; gap: 18px; }
@media (min-width: 640px) { .frow--2 { grid-template-columns: 1fr 1fr; } }
.field label, .field > span { display: block; margin-bottom: 8px; font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .15em; color: #8a8a84; }
.input, select.input, textarea.input { width: 100%; min-height: 56px; border: 2px solid var(--ink); background: #fff; padding: 0 16px; font: inherit; font-weight: 600; color: var(--ink); outline: none; }
textarea.input { padding-block: 14px; min-height: 130px; resize: vertical; }
.input:focus { border-color: var(--red); }
.quoteresult { margin-top: 28px; border: 2px solid var(--ink); background: rgba(255,204,0,.2); padding: 24px; }
.quoteresult .price { font-family: "JetBrains Mono", monospace; font-size: 38px; font-weight: 800; direction: ltr; }
.quoteresult .note { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(20,20,20,.15); font-size: 12px; color: #55554f; }
.successbox { border: 2px solid var(--ink); background: #fff; box-shadow: 8px 8px 0 var(--yellow); padding: 48px 24px; text-align: center; }
.successbox h3 { font-size: 24px; font-weight: 900; margin-top: 18px; }
.successbox svg { width: 52px; height: 52px; color: #16a34a; margin-inline: auto; }

/* ── careers / faq ──────────────────────────────────────── */
.jobs { border: 2px solid var(--ink); background: #fff; margin-top: 32px; }
.job { display: flex; flex-direction: column; gap: 14px; padding: 24px; border-bottom: 2px solid var(--ink); }
.job:last-child { border-bottom: 0; }
.job:hover { background: rgba(255,204,0,.15); }
@media (min-width: 720px) { .job { flex-direction: row; align-items: center; justify-content: space-between; } }
.job h3 { font-size: 18px; font-weight: 900; }
.job .id { font-family: "JetBrains Mono", monospace; font-size: 11px; color: #a3a39b; margin-inline-end: 10px; direction: ltr; }
.job .tags { margin-top: 6px; display: flex; flex-wrap: wrap; gap: 14px; font-size: 12px; font-weight: 700; color: var(--grey); }
.job .tags b { color: var(--red); }
.job .apply { flex-shrink: 0; border: 2px solid var(--ink); padding: 10px 20px; font-size: 12px; font-weight: 900; text-transform: uppercase; }
.job:hover .apply { background: var(--red); border-color: var(--red); color: #fff; }
.perkpanel { background: var(--ink); color: #fff; padding: 32px; }
.perkpanel ul { list-style: none; margin-top: 22px; }
.perkpanel li { display: flex; gap: 12px; font-size: 14px; color: rgba(255,255,255,.75); padding-block: 8px; }
.perkpanel li::before { content: ""; width: 8px; height: 8px; background: var(--yellow); flex-shrink: 0; margin-top: 6px; }

.faq { border: 2px solid var(--ink); background: #fff; }
.faq__item + .faq__item { border-top: 2px solid var(--ink); }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 56px; padding: 16px 24px; background: none; border: 0; font: inherit; font-weight: 800; text-align: start; cursor: pointer; }
.faq__q:hover { background: rgba(255,204,0,.15); }
.faq__q .n { font-family: "JetBrains Mono", monospace; font-size: 11px; color: var(--red); margin-inline-end: 10px; direction: ltr; }
.faq__q .chev { transition: transform .25s; color: var(--red); }
.faq__item.open .chev { transform: rotate(180deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); }
.faq__a p { padding: 0 24px 20px 24px; font-size: 14px; color: #55554f; max-width: 720px; }

/* ── footer ─────────────────────────────────────────────── */
.footer { background: var(--ink); color: #fff; margin-top: 0; }
.footer__contact { border-bottom: 1px solid rgba(255,255,255,.1); }
.footer__contactgrid { display: grid; gap: 28px; padding-block: 40px; }
@media (min-width: 720px) { .footer__contactgrid { grid-template-columns: repeat(3, 1fr); } }
.footer__contactitem { display: flex; gap: 12px; align-items: flex-start; }
.footer__contactitem svg { width: 20px; height: 20px; color: var(--yellow); flex-shrink: 0; margin-top: 3px; }
.footer__contactitem small { display: block; font-size: 10px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.footer__contactitem b { display: block; font-size: 17px; margin-top: 2px; }
.footer__contactitem:hover b { color: var(--yellow); }
.footer__addr { font-size: 13px !important; font-weight: 500 !important; line-height: 1.6; color: rgba(255,255,255,.85); }
.footer__cols { display: grid; gap: 36px; padding-block: 52px; }
@media (min-width: 640px) { .footer__cols { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .footer__cols { grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr; } }
.footer__brand { margin-top: 14px; font-size: 14px; font-weight: 900; text-transform: uppercase; }
.footer__tag { font-size: 12px; color: rgba(255,255,255,.5); }
.footer__dhl { margin-top: 14px; display: flex; align-items: center; gap: 8px; }
.footer__dhl small { font-size: 10px; text-transform: uppercase; letter-spacing: .2em; color: rgba(255,255,255,.5); }
.footer h3 { font-family: "JetBrains Mono", monospace; font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--yellow); margin-bottom: 16px; }
.footer__legal { margin-top: 28px; }
.footer ul { list-style: none; }
.footer li { padding-block: 4px; }
.footer li a { font-size: 13px; color: rgba(255,255,255,.7); }
.footer li a:hover { color: var(--yellow); }
.footer__bar { border-top: 1px solid rgba(255,255,255,.1); }
.footer__barrow { display: flex; flex-direction: column; gap: 6px; padding-block: 22px; font-size: 12px; color: rgba(255,255,255,.45); }
@media (min-width: 720px) { .footer__barrow { flex-direction: row; justify-content: space-between; align-items: center; } }

/* ── 404 ────────────────────────────────────────────────── */
.nf { min-height: 70vh; display: flex; align-items: center; background: var(--ink); color: #fff; text-align: center; }
.nf .code { font-family: "JetBrains Mono", monospace; font-size: clamp(72px, 15vw, 140px); font-weight: 800; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.25); }
.nf h1 { font-size: 30px; font-weight: 900; margin-top: 10px; }
.nf p { color: rgba(255,255,255,.6); margin-top: 14px; }
.nf .btn { margin-top: 30px; }

/* ── admin (dark ops console) ───────────────────────────── */
.admin-body { background: #0b0e14; color: #fff; min-height: 100vh; font-family: "Hanken Grotesk", "Tajawal", sans-serif; background-image: repeating-linear-gradient(to bottom, rgba(255,255,255,.025) 0 1px, transparent 1px 3px); }
.admin-login { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 20px; }
.admin-login__card { width: 100%; max-width: 430px; border: 1px solid rgba(255,255,255,.1); background: #131826; padding: 36px; }
.admin-login__top { display: flex; justify-content: space-between; align-items: center; }
.badge-restricted { font-family: "JetBrains Mono", monospace; font-size: 10px; font-weight: 800; letter-spacing: .3em; text-transform: uppercase; color: #f87171; display: inline-flex; align-items: center; gap: 6px; }
.badge-restricted i { width: 7px; height: 7px; border-radius: 50%; background: #f87171; animation: pulse 1.6s infinite; }
.admin-login h1 { font-size: 24px; font-weight: 900; margin-top: 22px; }
.admin-login .sub { font-size: 13px; color: rgba(255,255,255,.5); margin-top: 6px; }
.admin-input { width: 100%; height: 52px; border: 1px solid rgba(255,255,255,.15); background: #0b0e14; color: #fff; padding: 0 16px; font: inherit; font-weight: 600; outline: none; }
.admin-input:focus { border-color: var(--yellow); }
select.admin-input { padding: 0 12px; }
.admin-label { display: block; margin-bottom: 8px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .15em; color: rgba(255,255,255,.45); }
.admin-error { color: #f87171; font-size: 13px; font-weight: 700; margin-top: 8px; }
.admin-topbar { position: sticky; top: 0; z-index: 50; background: rgba(11,14,20,.95); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(255,255,255,.1); }
.admin-topbar__row { display: flex; align-items: center; justify-content: space-between; height: 56px; padding-inline: 20px; }
.admin-brand { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 14px; text-transform: uppercase; }
.admin-brand b { color: var(--yellow); }
.badge-live { font-family: "JetBrains Mono", monospace; font-size: 10px; font-weight: 800; color: #4ade80; border: 1px solid rgba(74,222,128,.3); background: rgba(74,222,128,.1); padding: 3px 8px; display: none; align-items: center; gap: 5px; }
.badge-live i { width: 6px; height: 6px; border-radius: 50%; background: #4ade80; animation: pulse 1.6s infinite; }
@media (min-width: 640px) { .badge-live { display: inline-flex; } }
.admin-actions { display: flex; gap: 8px; align-items: center; }
.admin-btn-ghost { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding-inline: 12px; border: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.7); font-size: 12px; font-weight: 700; background: none; cursor: pointer; font-family: inherit; }
.admin-btn-ghost:hover { border-color: var(--yellow); color: var(--yellow); }
.admin-btn-ghost.danger:hover { border-color: #f87171; color: #f87171; }
.admin-nav { display: flex; gap: 4px; overflow-x: auto; border-top: 1px solid rgba(255,255,255,.05); padding-inline: 20px; }
.admin-nav a { display: flex; align-items: center; gap: 8px; min-height: 44px; padding-inline: 12px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: rgba(255,255,255,.5); border-bottom: 2px solid transparent; white-space: nowrap; }
.admin-nav a:hover { color: #fff; }
.admin-nav a.on { color: var(--yellow); border-bottom-color: var(--yellow); }
.admin-main { max-width: 1280px; margin-inline: auto; padding: 32px 20px 64px; }
.admin-main h1 { font-size: 24px; font-weight: 900; text-transform: uppercase; letter-spacing: -.01em; }
.statcards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.1); margin-top: 24px; }
@media (min-width: 720px) { .statcards { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .statcards { grid-template-columns: repeat(5, 1fr); } }
.statcard { background: #131826; padding: 20px; }
.statcard .v { font-family: "JetBrains Mono", monospace; font-size: 30px; font-weight: 800; direction: ltr; }
.statcard .l { margin-top: 4px; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.45); }
.admin-table-wrap { overflow-x: auto; border: 1px solid rgba(255,255,255,.1); margin-top: 16px; }
.admin-table { width: 100%; min-width: 820px; border-collapse: collapse; font-size: 13px; }
.admin-table th { text-align: start; padding: 12px 16px; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.45); background: #131826; border-bottom: 1px solid rgba(255,255,255,.1); }
.admin-table td { padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,.05); }
.admin-table tr:hover td { background: rgba(255,255,255,.04); }
.admin-table .tn { font-family: "JetBrains Mono", monospace; font-weight: 800; color: var(--yellow); direction: ltr; white-space: nowrap; }
.admin-table .dim { color: rgba(255,255,255,.6); }
.admin-table .mono-date { font-family: "JetBrains Mono", monospace; font-size: 12px; color: rgba(255,255,255,.6); direction: ltr; }
.iconbtn { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.6); background: none; cursor: pointer; }
.iconbtn:hover { border-color: var(--yellow); color: var(--yellow); }
.iconbtn.danger:hover { border-color: #f87171; color: #f87171; }
.admin-toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-top: 0; }
.admin-search { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
@media (min-width: 640px) { .admin-search { flex-direction: row; } }
.btn--yellow-sm { background: var(--yellow); color: var(--ink); min-height: 44px; padding-inline: 18px; font-size: 12px; }
.admin-panel { border: 1px solid rgba(255,255,255,.1); background: #131826; padding: 24px; margin-top: 24px; }
.admin-panel--accent { border-color: rgba(255,204,0,.3); }
.admin-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .admin-grid--2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .admin-split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: start; } }
.admin-ok { color: #4ade80; font-size: 13px; font-weight: 700; }
.admin-timeline { list-style: none; border-inline-start: 2px solid rgba(255,255,255,.1); margin-top: 24px; }
.admin-timeline li { position: relative; padding-inline-start: 20px; padding-bottom: 20px; }
.admin-timeline li::before { content: ""; position: absolute; inset-inline-start: -6px; top: 5px; width: 10px; height: 10px; border-radius: 50%; background: var(--yellow); }
.admin-timeline b { font-size: 13px; }
.admin-timeline .sub { font-size: 11px; color: rgba(255,255,255,.45); margin-top: 2px; }
.admin-timeline time { font-family: "JetBrains Mono", monospace; font-size: 11px; color: rgba(255,255,255,.35); direction: ltr; display: block; margin-top: 4px; }
.empty { padding: 32px; text-align: center; font-size: 13px; color: rgba(255,255,255,.4); }
