/* ==========================================================================
   R&R Media — shared styles (base, ticker, nav, reveal, forms)
   Fonts: Archivo Black (display), Sora (UI/body), DM Serif Display (accent)
   Palette: #080707 bg · #0D0B0B panel · #F4F0EC text · #C8191A red
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Sora:wght@300;400;500;600;700;800&family=DM+Serif+Display&display=swap');

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

html { scroll-behavior: smooth; }
body { background: #080707; color: #F4F0EC; overflow-x: hidden; }

/* Anchor targets clear the fixed ticker + nav */
section[id], .svc-item[id] { scroll-margin-top: 140px; }
@media (max-width: 767px) { section[id], .svc-item[id] { scroll-margin-top: 110px; } }

a { color: #C8191A; text-decoration: none; }
a:hover { color: #E01F20; }

/* ── Trending ticker ─────────────────────────────────────────────────────── */
.ttk-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: stretch; height: 55px;
  background: #0D0B0B; border-bottom: 1px solid rgba(244,240,236,0.08); overflow: hidden;
}
.ttk-label {
  display: flex; align-items: center; gap: 8px; padding: 0 16px;
  background: #C8191A; flex-shrink: 0; z-index: 2;
  font: 700 12px/1 'Sora', sans-serif; letter-spacing: 0.24em; color: #F4F0EC;
}
.ttk-dot { width: 8px; height: 8px; border-radius: 50%; background: #F4F0EC; animation: ttkPulse 1.6s ease-in-out infinite; }
.ttk-window { position: relative; flex: 1; overflow: hidden; }
.ttk-track {
  position: absolute; top: 0; left: 0; height: 100%;
  display: flex; align-items: center; white-space: nowrap; will-change: transform;
  animation: tickerMove 60s linear infinite;
}
.ttk-item { display: inline-flex; align-items: center; gap: 12px; padding: 0 28px; text-decoration: none; color: #F4F0EC; }
.ttk-icon { display: inline-flex; align-items: center; justify-content: center; padding: 6px 7px; border: 1px solid currentColor; }
.ttk-title { font: 400 15px/1 'Sora', sans-serif; color: #F4F0EC; transition: color 0.2s; }
.ttk-traffic { font: 300 14px/1 'Sora', sans-serif; color: rgba(244,240,236,0.62); font-variant-numeric: tabular-nums; }
.ttk-sep { color: rgba(200,25,26,0.55); font-size: 15px; padding-left: 28px; }
.ttk-upd {
  display: flex; align-items: center; padding: 0 14px; z-index: 2; background: #0D0B0B;
  border-left: 1px solid rgba(244,240,236,0.08); color: rgba(244,240,236,0.28);
  font: 400 11px/1 'Sora', sans-serif; letter-spacing: 0.12em; white-space: nowrap;
}
.ttk-bar:hover .ttk-track { animation-play-state: paused; }
.ttk-item:hover .ttk-title { color: #C8191A; }
@keyframes tickerMove { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes ttkPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
@media (max-width: 767px) {
  .ttk-upd { display: none; }
  .ttk-label span:not(.ttk-dot) { display: none; }
  .ttk-label { padding: 0 12px; }
}
@media (prefers-reduced-motion: reduce) { .ttk-track, .ttk-dot { animation: none !important; } }

/* ── Nav ─────────────────────────────────────────────────────────────────── */
#rr-nav {
  position: fixed; top: 55px; left: 0; right: 0; z-index: 50;
  display: grid; grid-template-columns: 1fr 1fr auto 1fr 1fr; align-items: center;
  padding: 20px 60px; border-bottom: 1px solid transparent;
  background: transparent; backdrop-filter: none;
  transition: background 0.35s, backdrop-filter 0.35s, border-color 0.35s;
}
#rr-nav.rr-solid {
  background: rgba(8,7,7,0.96); backdrop-filter: blur(16px);
  border-bottom-color: rgba(244,240,236,0.06);
}
.rr-navgrp { display: contents; }
#rr-nav > .rr-navgrp > .rrnav-link { justify-self: center; }

.rrnav-link { white-space: nowrap; font: 500 22px/1 'Sora', sans-serif; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; }
.rrnav-roll { position: relative; display: inline-block; overflow: hidden; height: 1em; line-height: 1; vertical-align: bottom; padding-right: 2px; }
.rrnav-roll span { display: block; color: rgba(244,240,236,0.6); transition: transform 0.44s cubic-bezier(0.76,0,0.24,1); }
.rrnav-roll span:last-child { position: absolute; top: 100%; left: 0; color: #C8191A; }
.rrnav-link:hover .rrnav-roll span { transform: translateY(-100%); }

.rrnav-btn {
  font: 500 16px/1 'Sora', sans-serif; letter-spacing: 0.1em; text-transform: uppercase;
  color: #F4F0EC; background: #C8191A; padding: 12px 26px; text-decoration: none;
  display: inline-block; box-shadow: inset 0 0 0 1px #C8191A;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.rrnav-btn:hover { background: #F4F0EC; color: #C8191A; }
.rrnav-btn:active { transform: scale(0.97); }

/* Centre badge: full ring at rest, ringless wordmark once scrolling starts */
.rr-nav-logo {
  position: relative; display: block; width: 142px; height: 142px; flex-shrink: 0;
  text-decoration: none; user-select: none;
  transition: width 0.35s cubic-bezier(0.2,0.7,0.2,1), height 0.35s cubic-bezier(0.2,0.7,0.2,1);
}
.rr-nav-logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.rr-logo-static { z-index: 2; transition: opacity 0.3s ease; }
.rr-logo-inv { z-index: 3; opacity: 0; transition: opacity 0.3s ease; }
.rr-logo-flat { z-index: 4; opacity: 0; transition: opacity 0.3s ease; pointer-events: none; }
.rr-nav-logo:hover .rr-logo-static { opacity: 0; }
.rr-nav-logo:hover .rr-logo-inv { opacity: 1; }
#rr-nav.rr-shrunk .rr-nav-logo { width: 95px; height: 53px; }
#rr-nav.rr-shrunk .rr-logo-static, #rr-nav.rr-shrunk .rr-logo-inv { opacity: 0; }
#rr-nav.rr-shrunk .rr-logo-flat { opacity: 1; }

#rr-menu-btn {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 32px; height: 32px; background: none; border: none; cursor: pointer; padding: 0;
}
#rr-menu-btn .rr-bar { display: block; width: 24px; height: 2px; background: #F4F0EC; transition: transform 0.3s, opacity 0.3s; }
#rr-menu-btn.is-open .rr-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#rr-menu-btn.is-open .rr-bar:nth-child(2) { opacity: 0; }
#rr-menu-btn.is-open .rr-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

#rr-mobile-menu {
  position: fixed; inset: 0; z-index: 49; background: rgba(8,7,7,0.98); backdrop-filter: blur(20px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
#rr-mobile-menu.is-open { opacity: 1; pointer-events: auto; }
.rr-mm-link { font: 900 34px/1.3 'Archivo Black', sans-serif; color: #F4F0EC; text-decoration: none; letter-spacing: -0.01em; transition: color 0.2s; }
.rr-mm-link:hover { color: #C8191A; }
.rr-mm-cta { margin-top: 20px; font: 500 12px/1 'Sora', sans-serif; letter-spacing: 0.16em; text-transform: uppercase; color: #F4F0EC; background: #C8191A; padding: 18px 40px; }

@media (max-width: 1250px) {
  #rr-nav { padding: 14px 20px; display: flex; justify-content: center; }
  #rr-menu-btn { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); }
  .rr-navgrp { display: none !important; }
  .rr-nav-logo { width: 105px; height: 105px; }
  #rr-nav.rr-shrunk .rr-nav-logo { width: 71px; height: 40px; }
  #rr-menu-btn { display: flex; }
}

/* Space under the fixed ticker + nav */
.rr-navpad { height: 120px; flex-shrink: 0; }

/* ── Scroll reveal ───────────────────────────────────────────────────────── */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.85s ease, transform 0.85s ease; }
[data-reveal].revealed { opacity: 1; transform: translateY(0); }
[data-reveal][data-d="1"] { transition-delay: 0.1s; }
[data-reveal][data-d="2"] { transition-delay: 0.2s; }
[data-reveal][data-d="3"] { transition-delay: 0.3s; }
[data-reveal][data-d="4"] { transition-delay: 0.4s; }
[data-reveal][data-d="5"] { transition-delay: 0.5s; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ── Buttons, forms, footer ──────────────────────────────────────────────── */
.btn-red {
  font: 500 11px/1 'Sora', sans-serif; letter-spacing: 0.18em; text-transform: uppercase;
  color: #F4F0EC; background: #C8191A; padding: 18px 36px; text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center;
  width: auto; white-space: nowrap; border: none; cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.btn-red:hover { background: #E01F20; color: #F4F0EC; }
.btn-red:active { transform: scale(0.97); }

input, textarea, select {
  background: rgba(244,240,236,0.04); border: 1px solid rgba(244,240,236,0.1); color: #F4F0EC;
  font: 300 15px/1 'Sora', sans-serif; padding: 16px 20px; width: 100%;
  outline: none; appearance: none; border-radius: 0; transition: border-color 0.2s;
}
input:focus, textarea:focus, select:focus { border-color: rgba(200,25,26,0.5); }
input::placeholder, textarea::placeholder { color: rgba(244,240,236,0.28); }
select option { background: #0F0D0D; color: #F4F0EC; }

footer { padding: 36px 60px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-mark { font: 400 14px/1 'DM Serif Display', serif; color: rgba(244,240,236,0.35); }
.footer-mark .flip { display: inline-block; transform: scaleX(-1); }
.footer-copy { font: 300 10px/1 'Sora', sans-serif; color: rgba(244,240,236,0.18); letter-spacing: 0.06em; }
.footer-social { display: flex; gap: 28px; }
.footer-social a {
  font: 400 9px/1 'Sora', sans-serif; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(244,240,236,0.22); text-decoration: none; transition: color 0.2s;
}
.footer-social a:hover { color: #F4F0EC; }

@media (max-width: 767px) {
  footer { flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px 20px; }
}
