:root{
  --bg: #0a0b0d;
  --surface: #131519;
  --surface-raised: #1b1e23;
  --border: #26292f;
  --accent: #e10600;
  --accent-dim: #7a0a04;
  --chrome: #c9cdd3;
  --text: #eef0f2;
  --muted: #8a8f98;
  --font-display: "Cairo", sans-serif;
  --font-body: "Tajawal", sans-serif;
  --font-mono: "JetBrains Mono", monospace;
  --container: 1180px;
  --radius: 14px;
}

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

html{
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body{
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

body::after{
  content: "";
  position: fixed;
  inset: 0;
  z-index: 250;
  pointer-events: none;
  opacity: .035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2, h3{
  font-family: var(--font-display);
  margin: 0;
  color: var(--text);
}

p{ margin: 0; color: var(--muted); }

a{ color: inherit; text-decoration: none; }

ul{ list-style: none; margin: 0; padding: 0; }

img{ max-width: 100%; display: block; }

svg{ width: 1em; height: 1em; }

.skip-link{
  position: absolute;
  right: 1rem;
  top: -100px;
  background: var(--accent);
  color: #fff;
  padding: .75rem 1.25rem;
  border-radius: 8px;
  z-index: 999;
  transition: top .2s ease;
}
.skip-link:focus{ top: 1rem; }

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

.section-inner{
  max-width: var(--container);
  margin: 0 auto;
  padding: 5rem 1.5rem;
}

.section-eyebrow{
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .12em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: .75rem;
}

.section-title{
  position: relative;
  font-size: clamp(1.6rem, 3.6vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 3rem;
  padding-top: 1.1rem;
  max-width: 20ch;
}
.section-title::before{
  content: "";
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  width: 46px;
  height: 2px;
  background: var(--accent);
}

.text-accent{ color: var(--accent); }
.reveal{
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s cubic-bezier(.16,.8,.3,1), transform .7s cubic-bezier(.16,.8,.3,1);
}
.reveal.in-view{
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce){
  .reveal{ opacity: 1; transform: none; transition: none; }
}

.btn{
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .95rem 1.75rem;
  border-radius: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .95rem;
  border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-2px); }

.btn-primary{
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(225,6,0,.6);
}
.btn-primary:hover{ box-shadow: 0 12px 30px -8px rgba(225,6,0,.75); }
.btn-primary .icon-mail{ width: 1.1em; height: 1.1em; }

.btn-ghost{
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover{ border-color: var(--chrome); }

.btn-large{ padding: 1.15rem 2.5rem; font-size: 1.05rem; }

.site-header{
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(10,11,13,.72);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .25s ease;
}
.site-header.is-scrolled{
  box-shadow: 0 12px 30px -18px rgba(0,0,0,.8);
}

.header-inner{
  max-width: var(--container);
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-mark{
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.3rem;
  letter-spacing: .02em;
  color: var(--chrome);
}
.brand-mark.small{ font-size: 1.05rem; }
.brand-accent{ color: var(--accent); }

.main-nav{
  display: none;
  align-items: center;
  gap: 2rem;
  font-weight: 500;
  font-size: .95rem;
}
.main-nav a:not(.nav-cta){ color: var(--muted); transition: color .15s ease; }
.main-nav a:not(.nav-cta):hover{ color: var(--text); }

.nav-cta{
  background: var(--accent);
  color: #fff;
  padding: .55rem 1.2rem;
  border-radius: 8px;
  font-weight: 700;
}
.social-row{
  display: flex;
  align-items: center;
  gap: .6rem;
}
.social-row a{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--chrome);
  transition: color .18s ease, border-color .18s ease, transform .18s ease, background .18s ease;
}
.social-row a svg{ width: 16px; height: 16px; }
.social-row a i{ font-size: 16px; line-height: 1; }
.social-row a:hover,
.social-row a:focus-visible{
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.social-row--nav{
  padding-inline-start: .5rem;
  border-inline-start: 1px solid var(--border);
}
.social-row--nav a{ width: 30px; height: 30px; }
.social-row--nav a svg{ width: 14px; height: 14px; }
.social-row--nav a i{ font-size: 14px; }

.social-row--mobile{
  justify-content: center;
  padding: 1.25rem 1.5rem 1.5rem;
}

.footer-inner .social-row{ margin: .25rem 0; }

/* Snapchat icon — Font Awesome 6 Brands glyph f2ab, loaded via CDN in <head>.
   Used instead of a hand-drawn SVG so it matches the official brand mark exactly. */
.icon-snapchat-fa{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  line-height: 1;
}
.icon-snapchat-fa::before{
  font-family: "Font Awesome 6 Brands";
  font-weight: 400;
  content: "\f2ab";
}

.nav-toggle{
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span{
  display: block;
  height: 2px;
  background: var(--chrome);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

.mobile-menu{
  display: flex;
  flex-direction: column;
  gap: 1px;
  position: fixed;
  inset-inline: 0;
  top: var(--header-h, 68px);
  bottom: 0;
  z-index: 90;
  overflow-y: auto;
  background: var(--surface);
  border-top: 1px solid var(--border);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .22s ease, transform .22s ease, visibility 0s linear .22s;
}
.mobile-menu.open{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity .22s ease, transform .22s ease, visibility 0s;
}
.mobile-menu a{
  padding: 1rem 1.5rem;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
}
.mobile-menu a.nav-cta{
  margin: 1rem 1.5rem;
  text-align: center;
  border-bottom: none;
}

@media (min-width: 860px){
  .main-nav{ display: flex; }
  .nav-toggle{ display: none; }
  .mobile-menu{ display: none; }
}
.hero{
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 6rem;
  isolation: isolate;
}

.hero-media{
  position: absolute;
  inset: 0;
  z-index: -1;
  /* Shows through whenever heroImg is hidden (no banner set in /admin) */
  background: linear-gradient(160deg, var(--surface-raised), var(--bg) 70%);
}
.hero-img.is-hidden{ display: none; }
.hero-img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.05);
}
.hero-overlay{
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,11,13,.35) 0%, rgba(10,11,13,.55) 45%, rgba(10,11,13,.97) 100%),
    linear-gradient(90deg, rgba(10,11,13,.85) 0%, rgba(10,11,13,.15) 55%);
}
.hero-grid-lines{
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(201,205,211,.05) 1px, transparent 1px);
  background-size: 100% 3px;
  opacity: .3;
  mix-blend-mode: overlay;
}

.hero-content{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

.hero-eyebrow{
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-mono);
  font-size: .75rem;
  color: var(--chrome);
  letter-spacing: .08em;
  margin-bottom: 1.5rem;
}
.eyebrow-dot{
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(225,6,0,.2);
}

.hero-title{
  font-size: clamp(2.6rem, 9vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 1rem;
}

.hero-motto{
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  color: var(--chrome);
  max-width: 34ch;
  margin-bottom: 2.5rem;
  font-weight: 400;
}

.hero-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.scroll-cue{
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 46px;
}
.scroll-cue-line{
  display: block;
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent), transparent);
  animation: scrollcue 1.8s ease-in-out infinite;
}
@keyframes scrollcue{
  0%{ transform: scaleY(0); transform-origin: top; opacity: 0; }
  40%{ transform: scaleY(1); transform-origin: top; opacity: 1; }
  60%{ transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100%{ transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}
.stats{ background: var(--bg); border-top: 1px solid var(--border); }

.gauge-cluster{
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 620px){
  .gauge-cluster{ grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 980px){
  .gauge-cluster{ grid-template-columns: repeat(4, 1fr); }
  .gauge-card--wide{ grid-column: span 2; }
}

.gauge-card{
  position: relative;
  display: block;
  background: linear-gradient(160deg, var(--surface-raised), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  overflow: hidden;
  cursor: pointer;
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}
.gauge-card:hover,
.gauge-card:focus-visible{
  border-color: var(--accent-dim);
  transform: translateY(-4px);
  background: linear-gradient(160deg, var(--surface-raised), #181b20);
}
.gauge-card::before{
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent);
  box-shadow: 0 0 14px 1px rgba(225,6,0,.6);
}

.gauge-arrow{
  position: absolute;
  top: 1.5rem;
  inset-inline-end: 1.5rem;
  font-size: 1rem;
  color: var(--muted);
  opacity: 0;
  transform: translate(-3px, 3px);
  transition: opacity .2s ease, transform .2s ease, color .2s ease;
}
.gauge-card:hover .gauge-arrow,
.gauge-card:focus-visible .gauge-arrow{
  opacity: 1;
  transform: translate(0, 0);
  color: var(--accent);
}

.gauge-top{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.gauge-icon{
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--chrome);
  width: 26px;
  height: 26px;
  opacity: .85;
  font-size: 22px;
  line-height: 1;
}
.gauge-icon svg{ width: 100%; height: 100%; }

.gauge-readout{ display: flex; align-items: baseline; gap: .15rem; }
.gauge-number{
  font-family: var(--font-mono);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  direction: ltr;
  unicode-bidi: isolate;
}

.gauge-readout--split{
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.gauge-readout--split .gauge-number{ font-size: 1.9rem; }
.gauge-sublabel{
  display: block;
  font-size: .75rem;
  color: var(--muted);
  margin-top: .2rem;
}
.gauge-divider{
  width: 1px;
  height: 34px;
  background: var(--border);
}

.gauge-label{
  margin-top: .85rem;
  font-size: .85rem;
  color: var(--muted);
}

.gauge-tick{
  position: absolute;
  bottom: 0;
  inset-inline-end: 0;
  width: 60px;
  height: 60px;
  background-image: repeating-linear-gradient(-45deg, var(--border) 0 1px, transparent 1px 8px);
  opacity: .5;
  pointer-events: none;
}
.expertise{ background: var(--surface); border-top: 1px solid var(--border); }

.expertise-grid{
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
  margin-bottom: 4rem;
}
@media (min-width: 780px){
  .expertise-grid{ grid-template-columns: repeat(3, 1fr); }
}

.expertise-card{
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  transition: border-color .2s ease, transform .2s ease;
}
.expertise-card:hover{
  border-color: var(--accent-dim);
  transform: translateY(-4px);
}
.expertise-index{
  font-family: var(--font-mono);
  color: var(--accent);
  font-size: .85rem;
  margin-bottom: 1.25rem;
}
.expertise-card h3{
  font-size: 1.15rem;
  margin-bottom: .75rem;
}
.expertise-card p{ font-size: .92rem; }

.brands-label{
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .08em;
  color: var(--muted);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
}
.brands-row{
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}
.brand-chip{
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: .55rem 1.25rem;
  font-size: .85rem;
  color: var(--chrome);
  font-family: var(--font-display);
  font-weight: 600;
}
.videos{ background: var(--bg); border-top: 1px solid var(--border); }

.video-grid{
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 780px){
  .video-grid{ grid-template-columns: repeat(3, 1fr); }
}

.video-card{ margin: 0; }
.video-frame{
  position: relative;
  aspect-ratio: 16/9;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
}
.video-frame iframe{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-thumb{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.02) brightness(.82);
  transition: transform .5s cubic-bezier(.16,.8,.3,1), filter .3s ease;
}
.video-card:hover .video-thumb{
  transform: scale(1.045);
  filter: saturate(1.1) contrast(1.05) brightness(.9);
}

.video-play{
  position: absolute;
  inset: 0;
  margin: auto;
  width: 62px;
  height: 62px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(225,6,0,.92);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 30px -8px rgba(225,6,0,.7), 0 0 0 8px rgba(238,240,242,.06);
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.video-play svg{ width: 22px; height: 22px; margin-inline-start: 3px; }
.video-play:hover,
.video-play:focus-visible{
  transform: scale(1.08);
  background: var(--accent);
  box-shadow: 0 12px 34px -6px rgba(225,6,0,.85), 0 0 0 10px rgba(238,240,242,.09);
}

.video-frame.is-playing .video-thumb,
.video-frame.is-playing .video-play{
  display: none;
}
.video-card figcaption{
  margin-top: .85rem;
  font-size: .9rem;
  color: var(--chrome);
  font-weight: 500;
}
.contact{
  background: var(--surface);
  border-top: 1px solid var(--border);
  text-align: center;
}
.contact-inner{ display: flex; flex-direction: column; align-items: center; }
.contact .section-title{ max-width: 22ch; margin-bottom: 1rem; }
.contact-copy{
  max-width: 46ch;
  margin-bottom: 2.5rem;
  font-size: 1rem;
}
.site-footer{ background: var(--bg); border-top: 1px solid var(--border); }
.footer-inner{
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  text-align: center;
}
.footer-inner p{ font-size: .85rem; }
.email-float{
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 200;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px -6px rgba(225,6,0,.55);
  transition: transform .18s ease;
}
.email-float:hover{ transform: scale(1.06); }
.email-float svg{ width: 26px; height: 26px; position: relative; z-index: 2; }

.email-float-pulse{
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--accent);
  animation: email-pulse 2.2s ease-out infinite;
  z-index: 1;
}
@keyframes email-pulse{
  0%{ transform: scale(1); opacity: .55; }
  100%{ transform: scale(2.1); opacity: 0; }
}

@media (max-width: 480px){
  .email-float{ width: 52px; height: 52px; bottom: 1.1rem; left: 1.1rem; }
  .email-float svg{ width: 22px; height: 22px; }
}

.cursor-dot,
.cursor-ring{
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 400;
  transform: translate(-50%, -50%);
  will-change: transform;
}
.cursor-dot{
  width: 6px;
  height: 6px;
  background: var(--accent);
  box-shadow: 0 0 10px 2px rgba(225,6,0,.7);
}
.cursor-ring{
  width: 34px;
  height: 34px;
  border: 1px solid rgba(201,205,211,.5);
  transition: width .2s ease, height .2s ease, border-color .2s ease, background .2s ease;
}
.cursor-ring.is-active{
  width: 54px;
  height: 54px;
  border-color: var(--accent);
  background: rgba(225,6,0,.08);
}
.has-custom-cursor,
.has-custom-cursor a,
.has-custom-cursor button{ cursor: none; }
@media (pointer: coarse){
  .cursor-dot, .cursor-ring{ display: none !important; }
}
[data-magnetic]{ will-change: transform; }
.speedo{
  --pct: 0;
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  flex-shrink: 0;
  background:
    conic-gradient(from 225deg,
      var(--accent) calc(var(--pct) * 270deg),
      transparent calc(var(--pct) * 270deg) 270deg,
      transparent 270deg 360deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 7px), #000 calc(100% - 7px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 7px), #000 calc(100% - 7px));
}
.speedo::before{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 225deg, var(--border) 0deg 270deg, transparent 270deg 360deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 7px), #000 calc(100% - 7px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 7px), #000 calc(100% - 7px));
  z-index: -1;
}
.speedo-ticks{
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: repeating-conic-gradient(from 225deg, var(--muted) 0deg 1.2deg, transparent 1.2deg 10deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 5px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 5px));
  opacity: .45;

  -webkit-mask-image:
    radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 5px));
}
.speedo-needle{
  position: absolute;
  left: 50%;
  top: 50%;
  width: 2px;
  height: 22px;
  margin-left: -1px;
  margin-top: -22px;
  background: linear-gradient(180deg, var(--text), var(--chrome));
  border-radius: 2px;
  transform-origin: 50% 100%;
  transform: rotate(calc(-135deg + (var(--pct) * 270deg)));
  transition: transform .3s ease;
}
.speedo-needle::after{
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateX(-50%);
  box-shadow: 0 0 6px 1px rgba(225,6,0,.7);
}
.carbon-strip{
  height: 10px;
  width: 100%;
  background-color: #0d0e10;
  background-image:
    linear-gradient(27deg, #16181c 5px, transparent 5px) ,
    linear-gradient(207deg, #16181c 5px, transparent 5px),
    linear-gradient(27deg, #16181c 5px, transparent 5px),
    linear-gradient(207deg, #16181c 5px, transparent 5px),
    linear-gradient(90deg, #1b1e23 10px, transparent 10px),
    linear-gradient(#1b1e23 25%, #16181c 25%, #16181c 50%, transparent 50%, transparent 75%, #1b1e23 75%, #1b1e23);
  background-size: 20px 20px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.tire-track{
  height: 34px;
  width: 100%;
  opacity: .25;
  background-image: repeating-linear-gradient(
    90deg,
    var(--chrome) 0 3px,
    transparent 3px 8px,
    var(--chrome) 8px 11px,
    transparent 11px 26px
  );
  mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
}
.admin-body{
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
}
.admin-shell{ width: 100%; max-width: 480px; }
.admin-shell.admin-shell--wide{ max-width: 760px; }

.admin-card{
  background: linear-gradient(160deg, var(--surface-raised), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.25rem 2rem;
}
.admin-card + .admin-card{ margin-top: 1.5rem; }

.admin-title{
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: .35rem;
}
.admin-subtitle{ font-size: .88rem; margin-bottom: 1.75rem; }

.field{ margin-bottom: 1.1rem; }
.field label{
  display: block;
  font-size: .8rem;
  color: var(--chrome);
  margin-bottom: .4rem;
  font-family: var(--font-display);
}
.field input{
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: .75rem .9rem;
  color: var(--text);
  font-family: var(--font-body);
  font-size: .95rem;
}
.field input:focus-visible{ border-color: var(--accent); }
.field-hint{
  font-size: .74rem;
  line-height: 1.6;
  color: var(--muted);
  margin-top: .45rem;
}
.field-hint strong{ color: var(--chrome); font-weight: 700; }

.field-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 520px){
  .field-row{ grid-template-columns: 1fr; }
}

.admin-btn{
  width: 100%;
  padding: .85rem 1.5rem;
  border: none;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  cursor: pointer;
  transition: background .18s ease, transform .18s ease;
}
.admin-btn:hover{ background: #ff1a10; transform: translateY(-1px); }
.admin-btn.ghost{
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  width: auto;
}
.admin-btn.small{ width: auto; padding: .6rem 1.1rem; font-size: .85rem; }
.admin-btn:disabled{ opacity: .55; cursor: not-allowed; transform: none; }

.admin-msg{
  font-size: .85rem;
  margin-top: .9rem;
  min-height: 1.2em;
}
.admin-msg.is-error{ color: var(--accent); }
.admin-msg.is-success{ color: #3ddc84; }

.admin-header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.admin-video-list{ list-style: none; margin: 0 0 1.5rem; padding: 0; display: flex; flex-direction: column; gap: .6rem; }
.admin-video-row{
  display: flex;
  align-items: center;
  gap: .75rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: .6rem .75rem;
}
.admin-video-row img{ width: 64px; height: 40px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.admin-video-row .v-info{ flex: 1; min-width: 0; }
.admin-video-row .v-caption{ font-size: .85rem; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-video-row .v-id{ font-family: var(--font-mono); font-size: .72rem; color: var(--muted); direction: ltr; }
.admin-video-row .admin-btn{ width: auto; padding: .45rem .8rem; font-size: .8rem; background: transparent; border: 1px solid var(--accent-dim); color: var(--accent); }
.admin-video-row .admin-btn:hover{ background: var(--accent); color: #fff; }

.admin-hidden{ display: none !important; }

#bgCanvas{
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: .55;
  mix-blend-mode: screen;
}
main, .site-footer{ position: relative; z-index: 1; }

.cursor-ring{
  display: flex;
  align-items: center;
  justify-content: center;
}
.cursor-ring-icon{
  display: none;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent #fff;
  margin-inline-start: 2px;
}
.cursor-ring.cursor--play{
  width: 58px;
  height: 58px;
  background: rgba(225,6,0,.92);
  border-color: transparent;
  box-shadow: 0 0 24px 4px rgba(225,6,0,.5);
}
.cursor-ring.cursor--play .cursor-ring-icon{ display: block; }
.cursor-ring.cursor--text{
  width: 78px;
  height: 78px;
  background: #eef0f2;
  border-color: transparent;
  mix-blend-mode: difference;
}
.cursor-dot.is-hidden{ opacity: 0; }

.gauge-cluster, .expertise-grid, .video-grid{ perspective: 1200px; }
.tilt{
  transform-style: preserve-3d;
  will-change: transform;
}
.gauge-card.tilt, .expertise-card.tilt, .video-card.tilt{
  transition: border-color .2s ease, background .2s ease;
}
.gauge-icon, .gauge-readout, .gauge-label, .gauge-arrow,
.expertise-index, .expertise-card h3, .expertise-card p,
.video-frame, .video-card figcaption{
  transform: translateZ(18px);
}

/* ---------- Split-text characters ---------- */
.split-word{ display: inline-block; white-space: nowrap; will-change: transform, opacity; }
.split-nowrap{ display: inline-block; white-space: nowrap; }

/* ---------- Brands ticker ---------- */
.brands-marquee{
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding-block: 3.5rem 4rem;
  overflow: hidden;
}
.brands-marquee-head{ padding-bottom: 2.5rem; }
.brands-marquee .section-title{ margin-bottom: 0; }

.ticker{
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker-track{
  display: flex;
  align-items: center;
  gap: 3.5rem;
  width: max-content;
  will-change: transform;
}
.brand-item{
  display: flex;
  align-items: center;
  justify-content: center;
  height: 64px;
  padding: 0 .5rem;
  opacity: .55;
  filter: grayscale(1) brightness(1.3);
  transition: opacity .25s ease, filter .25s ease, transform .25s ease;
}
.brand-item img{
  max-height: 40px;
  width: auto;
  object-fit: contain;
}
.brand-item span{
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--chrome);
  white-space: nowrap;
}
.ticker-track.is-hovering .brand-item{ opacity: .28; }
.brand-item.is-active{
  opacity: 1 !important;
  filter: grayscale(0) brightness(1) drop-shadow(0 0 14px rgba(225,6,0,.55));
  transform: scale(1.08);
}
.brand-item.is-active span{ color: var(--text); }

.admin-body{
  position: relative;
  background:
    radial-gradient(circle at 15% 10%, rgba(225,6,0,.14), transparent 45%),
    radial-gradient(circle at 85% 90%, rgba(201,205,211,.08), transparent 40%),
    var(--bg);
}
.admin-shell.admin-shell--wide{ max-width: 880px; }

.admin-card{
  background: rgba(27,30,35,.55);
  border: 1px solid rgba(201,205,211,.14);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  box-shadow: 0 24px 60px -24px rgba(0,0,0,.65), inset 0 1px 0 rgba(255,255,255,.04);
}

.field input{
  background: rgba(10,11,13,.55);
  border: 1px solid rgba(201,205,211,.16);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus-visible,
.field input:focus{
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(225,6,0,.18), 0 0 18px -2px rgba(225,6,0,.4);
}

.admin-btn{
  box-shadow: 0 10px 24px -10px rgba(225,6,0,.55);
}
.status-badge{
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .72rem;
  font-family: var(--font-display);
  font-weight: 700;
  padding: .25rem .65rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
}
.status-badge::before{
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--muted);
}
.status-badge.is-live{ color: #3ddc84; border-color: rgba(61,220,132,.3); background: rgba(61,220,132,.08); }
.status-badge.is-live::before{ background: #3ddc84; box-shadow: 0 0 6px 1px rgba(61,220,132,.7); }
.status-badge.is-hidden{ color: var(--muted); }

.toggle-switch{
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 42px;
  height: 24px;
  flex-shrink: 0;
}
.toggle-switch input{
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  margin: 0;
}
.toggle-switch .track{
  position: absolute;
  inset: 0;
  background: var(--border);
  border-radius: 999px;
  transition: background .2s ease;
}
.toggle-switch .thumb{
  position: absolute;
  top: 3px;
  inset-inline-start: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--chrome);
  transition: transform .2s ease, background .2s ease;
}
.toggle-switch input:checked ~ .track{ background: var(--accent-dim); }
.toggle-switch input:checked ~ .thumb{ transform: translateX(18px); background: var(--accent); }
[dir="rtl"] .toggle-switch input:checked ~ .thumb{ transform: translateX(-18px); }

.live-preview{
  margin-top: 1.5rem;
  padding: 1.25rem;
  border: 1px dashed rgba(201,205,211,.2);
  border-radius: 10px;
  background: rgba(10,11,13,.4);
}
.live-preview-label{
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .9rem;
}

.admin-brand-row .toggle-switch{ margin-inline-start: auto; }
.admin-brand-row .v-caption{ font-family: var(--font-display); font-weight: 700; }

@media (prefers-reduced-motion: reduce){
  #bgCanvas{ opacity: .12; }
}
