:root {
  --red: #E63946;
  --charcoal: #1E1E1E;
  --white: #FFFFFF;
  --orange: #F2994A;
  --cyan: #22C1D6;
  --cyan-text: #0E8FA3; /* darker cyan used for small text, so it stays readable on white */

  --bg: var(--white);
  --bg-raised: #F4F2EE;
  --text: #1E1E1E;
  --text-dim: #6B6863;
  --line: rgba(0,0,0,0.1);
  --line-soft: rgba(0,0,0,0.07);

  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'Space Mono', monospace;

  --max: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.5;
  overflow-x: hidden;
}

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

.accent { color: var(--red); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 1rem; }
h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }

p { color: var(--text-dim); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  color: var(--cyan-text);
  margin-bottom: 1rem;
}
.eyebrow--center { text-align: center; }

/* faint scanline texture across the whole page, on-brand for a broadcast/radar signal */
.scanline {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  background: repeating-linear-gradient(
    to bottom,
    rgba(0,0,0,0.015) 0px,
    rgba(0,0,0,0.015) 1px,
    transparent 1px,
    transparent 3px
  );
  mix-blend-mode: multiply;
}

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 3rem;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line-soft);
}
.nav__mark {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 1rem;
}
.nav__links { display: flex; align-items: center; gap: 2rem; font-size: 0.9rem; }
.nav__links a:not(.nav__cta):hover { color: var(--cyan); }
.nav__cta {
  border: 1px solid var(--red);
  color: var(--red);
  padding: 0.5rem 1rem;
  border-radius: 2px;
  transition: background 0.2s, color 0.2s;
}
.nav__cta:hover { background: var(--red); color: var(--white); }

/* REC timecode badge — videography detail in the nav */
.rec-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
  letter-spacing: 0.05em;
}
.rec-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  animation: rec-pulse 1.6s ease-in-out infinite;
}
.rec-label { color: var(--red); font-weight: 700; }
.rec-time { color: var(--text-dim); }
@keyframes rec-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}
@media (prefers-reduced-motion: reduce) {
  .rec-dot { animation: none; }
}
@media (max-width: 900px) {
  .rec-badge { display: none; }
}

/* HERO */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 5rem 3rem 6rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}
.hero__sub {
  font-size: 1.05rem;
  max-width: 46ch;
  margin: 1.25rem 0 2rem;
}
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  padding: 0.85rem 1.6rem;
  border-radius: 2px;
  font-size: 0.95rem;
  transition: transform 0.15s ease, background 0.2s ease;
}
.btn:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}
.btn--primary { background: var(--red); color: var(--white); }
.btn--primary:hover { background: #cf303c; transform: translateY(-1px); }
.btn--ghost { border: 1px solid rgba(0,0,0,0.2); color: var(--text); }
.btn--ghost:hover { border-color: var(--cyan); color: var(--cyan); }

.hero__radar { display: flex; justify-content: center; }
.radar-svg { width: 100%; max-width: 400px; }
.ring { fill: none; stroke: rgba(34,193,214,0.25); stroke-width: 1; }
.crosshair { stroke: rgba(34,193,214,0.15); stroke-width: 1; }

/* Camera viewfinder frame around the hero visual */
.hero__radar-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 2.25rem;
}
.viewfinder-corner {
  position: absolute;
  width: 28px;
  height: 28px;
  border: 2px solid rgba(230,57,70,0.55);
}
.vf-tl { top: 0; left: 0; border-right: none; border-bottom: none; }
.vf-tr { top: 0; right: 0; border-left: none; border-bottom: none; }
.vf-bl { bottom: 0; left: 0; border-right: none; border-top: none; }
.vf-br { bottom: 0; right: 0; border-left: none; border-top: none; }
.vf-readout {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--cyan-text);
  opacity: 0.85;
}
.vf-readout--top { top: 6px; left: 36px; }
.vf-readout--bottom { bottom: 6px; right: 36px; }

/* Film-strip perforation divider between sections */
.filmstrip {
  height: 20px;
  background:
    repeating-linear-gradient(
      to right,
      var(--bg-raised) 0, var(--bg-raised) 10px,
      transparent 10px, transparent 22px
    );
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  mask-image: radial-gradient(circle at center, transparent 4px, black 4.5px);
  mask-size: 22px 20px;
  mask-repeat: repeat-x;
  -webkit-mask-image: radial-gradient(circle at center, transparent 4px, black 4.5px);
  -webkit-mask-size: 22px 20px;
  -webkit-mask-repeat: repeat-x;
}

.sweep-group {
  transform-origin: 200px 200px;
  animation: sweep 4s linear infinite;
}
.sweep { fill: var(--cyan); opacity: 0.18; }

.blip { fill: var(--red); }
.blip-label {
  font-family: var(--font-mono);
  font-size: 10px;
  fill: var(--text-dim);
  letter-spacing: 0.08em;
}
.blip1 { animation: blink 4s infinite; animation-delay: 0.1s; }
.blip2 { animation: blink 4s infinite; animation-delay: 1.1s; }
.blip3 { animation: blink 4s infinite; animation-delay: 2.1s; }
.blip4 { animation: blink 4s infinite; animation-delay: 3.1s; }

@keyframes sweep {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes blink {
  0%, 92%, 100% { opacity: 0.4; r: 6px; }
  95% { opacity: 1; r: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  .sweep-group, .blip1, .blip2, .blip3, .blip4 { animation: none; }
  html { scroll-behavior: auto; }
}

/* SERVICES */
.services { max-width: var(--max); margin: 0 auto; padding: 5rem 3rem; text-align: center; }
.services h2 { max-width: 20ch; margin-left: auto; margin-right: auto; }

.channel-grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.channel {
  background: var(--bg);
  padding: 2rem 1.6rem;
  text-align: left;
  transition: background 0.2s ease;
}
.channel:hover { background: var(--bg-raised); }
.channel__icon {
  width: 26px;
  height: 26px;
  fill: var(--red);
  color: var(--red);
  margin-bottom: 1rem;
}
.channel__tag {
  font-family: var(--font-mono);
  color: var(--orange);
  font-size: 0.8rem;
  margin-bottom: 0.75rem;
}
.channel p { font-size: 0.92rem; }

/* APPROACH */
.approach {
  background: linear-gradient(135deg, rgba(230,57,70,0.08), rgba(242,153,74,0.05));
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.approach__inner {
  max-width: 780px;
  margin: 0 auto;
  padding: 5rem 3rem;
  text-align: center;
}
.approach__body { font-size: 1.05rem; max-width: 60ch; margin: 0 auto; }

/* SECURITY styles removed with the section */

/* REELS */
.reels { max-width: var(--max); margin: 0 auto; padding: 5rem 3rem; text-align: center; }
.reels__intro { max-width: 45ch; margin: 0 auto 3rem; }
.reels__link { margin-top: 2.5rem; font-size: 0.95rem; display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; }
.reels__link a { color: var(--cyan-text); }
.reels__link a:hover { color: var(--red); }

.reel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem 1.25rem;
  align-items: start;
}

.reel-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Instagram/TikTok reels are portrait video — an aspect-ratio box keeps
   every card the same shape regardless of how the platform's own iframe
   sizes itself, and lets the grid stay tidy at any screen width. */
.embed-frame {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 16px;
  background: var(--bg-raised);
  border: 1px solid var(--line-soft);
}
.embed-frame.ig { aspect-ratio: 540 / 960; }
.embed-frame.tt { aspect-ratio: 325 / 739; }
.embed-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 900px) {
  .reel-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
}
.contact { max-width: var(--max); margin: 0 auto; padding: 5rem 3rem 7rem; }
.contact__inner { max-width: 560px; margin: 0 auto; text-align: center; }
.contact__sub { margin-bottom: 2.5rem; }

/* DIRECT CONTACT CHANNELS */
.direct-contact {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 1.75rem;
}
.contact-chip {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 0.85rem 1.25rem;
  flex: 1 1 220px;
  transition: border-color 0.2s ease, transform 0.15s ease;
}
.contact-chip:hover { border-color: var(--cyan); transform: translateY(-1px); }
.contact-chip:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.chip-icon { width: 22px; height: 22px; flex-shrink: 0; fill: var(--red); }
.contact-chip span { display: flex; flex-direction: column; font-size: 0.88rem; color: var(--text); }
.contact-chip strong {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--cyan-text);
  font-weight: 400;
  margin-bottom: 0.15rem;
}

.socials {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.social-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.social-icon svg { width: 18px; height: 18px; fill: var(--text-dim); transition: fill 0.2s ease; }
.social-icon:hover { border-color: var(--orange); background: rgba(242,153,74,0.08); }
.social-icon:hover svg { fill: var(--orange); }
.social-icon:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }

/* FOOTER */
.footer {
  border-top: 1px solid var(--line-soft);
  padding: 2.5rem 3rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-dim);
}
.footer .accent { color: var(--red); }
.footer__contact { display: flex; gap: 1.5rem; align-items: center; }
.footer__contact a:hover { color: var(--cyan); }

@media (max-width: 520px) {
  .direct-contact { flex-direction: column; }
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding: 3rem 1.5rem 4rem; text-align: left; }
  .hero__radar { order: -1; max-width: 280px; margin: 0 auto 1rem; }
  .nav { padding: 1rem 1.5rem; }
  .nav__links { gap: 1rem; font-size: 0.82rem; }
  .services, .security, .contact { padding: 3.5rem 1.5rem; }
  .channel-grid { grid-template-columns: 1fr 1fr; }
  .security-grid { grid-template-columns: 1fr; }
  .approach__inner { padding: 3.5rem 1.5rem; }
}

@media (max-width: 520px) {
  .channel-grid { grid-template-columns: 1fr; }
  .nav__links a:not(.nav__cta) { display: none; }
}
