/* ==========================================================================
   Black Sea Security Group — minimalist black & white theme
   ========================================================================== */

:root {
  --black: #0a0a0a;
  --white: #f6f6f4;
  --line-dark: rgba(246,246,244,.14);
  --line-light: rgba(10,10,10,.12);
  --muted-dark: rgba(246,246,244,.62);
  --muted-light: rgba(10,10,10,.6);

  --ff-head: 'Oswald', 'Arial Narrow', sans-serif;
  --ff-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --container: 1180px;
  --gap: 24px;
  --ease: cubic-bezier(.16,.8,.24,1);
  --nav-h: 96px;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: var(--ff-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section[id] { scroll-margin-top: var(--nav-h); }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--black);
  color: var(--white);
  padding: 12px 20px;
  z-index: 999;
}
.skip-link:focus { left: 0; }

/* ---------- focus & selection ---------- */

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
:focus:not(:focus-visible) { outline: none; }

.form-row input:focus-visible,
.form-row select:focus-visible,
.form-row textarea:focus-visible {
  outline: none;
}

::selection { background: var(--black); color: var(--white); }

.hero ::selection,
.ticker ::selection,
.experience-band ::selection,
.approach ::selection,
.cta-band ::selection,
.site-header ::selection,
.site-footer ::selection {
  background: var(--white);
  color: var(--black);
}

/* ---------- typography helpers ---------- */

.eyebrow {
  font-family: var(--ff-head);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted-light);
  margin: 0 0 14px;
}
.hero .eyebrow, .approach .eyebrow, .cta-band .eyebrow, .experience-band .eyebrow { color: var(--muted-dark); }

.h2 {
  font-family: var(--ff-head);
  font-weight: 600;
  text-transform: uppercase;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.08;
  letter-spacing: .01em;
  margin: 0;
}

.lead {
  font-size: clamp(19px, 2.2vw, 24px);
  line-height: 1.5;
  font-weight: 500;
  margin: 0 0 18px;
}

.section-intro {
  max-width: 640px;
  color: var(--muted-light);
  font-size: 17px;
  margin: 16px 0 0;
}

.section { padding: 120px 0; }

/* reveal-on-scroll — visible by default; only hidden once JS confirms it can reveal them */
.reveal { opacity: 1; }

.has-js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.has-js .reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .has-js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  font-family: var(--ff-head);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: 2px;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
  white-space: nowrap;
}

.btn-solid {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.btn-solid:hover, .btn-solid:active { background: transparent; color: var(--black); }

.btn-solid-invert {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}
.btn-solid-invert:hover, .btn-solid-invert:active { background: transparent; color: var(--white); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: var(--line-dark);
}
.btn-ghost:hover, .btn-ghost:active { border-color: var(--white); }

.btn-outline {
  background: transparent;
  color: var(--black);
  border-color: var(--line-light);
  padding: 11px 22px;
}
.btn-outline:hover, .btn-outline:active { border-color: var(--black); }

/* ==========================================================================
   Header / Nav
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .4s var(--ease), border-color .4s var(--ease);
}
.site-header.scrolled {
  background: rgba(10,10,10,.85);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--line-dark);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand-mark {
  width: 84px;
  height: 84px;
  object-fit: contain;
  filter: brightness(1.35) contrast(1.15);
}
.brand-name {
  font-family: var(--ff-head);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--white);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}
.main-nav ul {
  display: flex;
  gap: 40px;
}
.nav-link {
  font-family: var(--ff-head);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted-dark);
  position: relative;
  padding: 6px 0;
  transition: color .3s var(--ease);
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--white);
  transition: width .3s var(--ease);
}
.nav-link:hover, .nav-link.active { color: var(--white); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.nav-cta.btn-outline {
  color: var(--white);
  border-color: var(--line-dark);
}
.nav-cta.btn-outline:hover { border-color: var(--white); }

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  padding: 0;
  z-index: 110;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 1px;
  background: var(--white);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--black);
  color: var(--white);
  overflow: hidden;
  padding-top: var(--nav-h);
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: -1px;
  background-image:
    repeating-linear-gradient(0deg, rgba(246,246,244,.05) 0 1px, transparent 1px 96px),
    repeating-linear-gradient(90deg, rgba(246,246,244,.05) 0 1px, transparent 1px 96px);
}

.radar {
  position: absolute;
  right: -180px;
  top: 50%;
  transform: translateY(-50%);
  width: 720px;
  height: 720px;
  opacity: .5;
}
.radar-ring {
  position: absolute;
  border: 1px solid rgba(246,246,244,.14);
  border-radius: 50%;
  top: 50%; left: 50%;
}
.radar-ring.r1 { width: 720px; height: 720px; margin: -360px 0 0 -360px; }
.radar-ring.r2 { width: 480px; height: 480px; margin: -240px 0 0 -240px; }
.radar-ring.r3 { width: 240px; height: 240px; margin: -120px 0 0 -120px; }
.radar-sweep {
  position: absolute;
  top: 50%; left: 50%;
  width: 720px; height: 720px;
  margin: -360px 0 0 -360px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(246,246,244,.22), transparent 32%);
  animation: spin 7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .radar-sweep { animation: none; }
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 60px 24px;
}

.hero-title {
  font-family: var(--ff-head);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(40px, 8vw, 92px);
  line-height: 1.02;
  letter-spacing: .01em;
  margin: 0 0 28px;
  max-width: 900px;
}

.hero-tagline {
  font-family: var(--ff-head);
  font-size: clamp(18px, 2.4vw, 26px);
  font-weight: 500;
  letter-spacing: .02em;
  margin: 0 0 20px;
  color: var(--white);
}

.hero-sub {
  max-width: 520px;
  font-size: 17px;
  color: var(--muted-dark);
  margin: 0 0 40px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.scroll-cue {
  position: absolute;
  bottom: 40px;
  left: 24px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-family: var(--ff-head);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted-dark);
}
.scroll-line {
  width: 1px;
  height: 46px;
  background: linear-gradient(var(--muted-dark), transparent);
  overflow: hidden;
  position: relative;
}
.scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white);
  animation: scrollDown 2.2s ease-in-out infinite;
}
@keyframes scrollDown {
  0% { top: -100%; }
  60% { top: 100%; }
  100% { top: 100%; }
}

/* ==========================================================================
   Ticker
   ========================================================================== */

.ticker {
  background: var(--black);
  color: var(--white);
  border-top: 1px solid var(--line-dark);
  overflow: hidden;
  white-space: nowrap;
  padding: 18px 0;
}
.ticker-track {
  display: inline-flex;
  gap: 18px;
  font-family: var(--ff-head);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted-dark);
  animation: tickerScroll 28s linear infinite;
  width: max-content;
}
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
}

/* ==========================================================================
   About / Mission
   ========================================================================== */

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 56px;
}

.about-body { max-width: 620px; }

.protect-box {
  border: 1px solid var(--line-light);
  padding: 32px 36px;
  margin-bottom: 80px;
}
.protect-box .eyebrow { margin-bottom: 20px; }
.protect-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.protect-list li {
  font-size: 15px;
  color: var(--black);
  padding-left: 18px;
  position: relative;
}
.protect-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 6px; height: 1px;
  background: var(--muted-light);
}
.about-body p:not(.lead) { color: var(--muted-light); font-size: 17px; }

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

.value-num {
  display: block;
  font-family: var(--ff-head);
  font-size: 14px;
  letter-spacing: .1em;
  color: var(--muted-light);
  margin-bottom: 18px;
}
.value-item h3 {
  font-family: var(--ff-head);
  font-size: 20px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .03em;
  margin: 0 0 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line-light);
}
.value-item p {
  margin: 0;
  color: var(--muted-light);
  font-size: 16px;
}

/* ==========================================================================
   Proven Experience band
   ========================================================================== */

.experience-band {
  position: relative;
  background: var(--black);
  color: var(--white);
  padding: 72px 0;
  overflow: hidden;
}
.experience-band::before {
  content: '';
  position: absolute;
  inset: -1px;
  background-image:
    repeating-linear-gradient(0deg, rgba(246,246,244,.05) 0 1px, transparent 1px 96px),
    repeating-linear-gradient(90deg, rgba(246,246,244,.05) 0 1px, transparent 1px 96px);
  pointer-events: none;
}
.experience-inner { position: relative; max-width: 860px; }
.experience-statement {
  font-family: var(--ff-head);
  font-size: clamp(21px, 3vw, 30px);
  font-weight: 500;
  line-height: 1.4;
  margin: 0;
}

/* ==========================================================================
   Services
   ========================================================================== */

.section-head { max-width: 760px; margin-bottom: 64px; }
.section-icon {
  width: 44px;
  height: 44px;
  color: var(--black);
  margin-bottom: 24px;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line-light);
  border: 1px solid var(--line-light);
}

.service-card {
  background: var(--white);
  padding: 44px 32px;
  transition: background .3s var(--ease);
}
.service-card:hover { background: #eeeeec; }

.service-icon {
  width: 34px;
  height: 34px;
  color: var(--black);
  margin-bottom: 28px;
}

.service-card h3 {
  font-family: var(--ff-head);
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .02em;
  margin: 0 0 12px;
}
.service-card p {
  margin: 0;
  color: var(--muted-light);
  font-size: 15.5px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 56px;
}
.tag-row span {
  font-family: var(--ff-head);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 10px 18px;
  border: 1px solid var(--line-light);
  color: var(--muted-light);
  border-radius: 999px;
}

/* ==========================================================================
   Approach
   ========================================================================== */

.approach {
  background: var(--black);
  color: var(--white);
}
.section.approach { padding-bottom: 72px; }
.approach .h2 { color: var(--white); }

.capability-boxes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
  margin-bottom: 40px;
}
.capability-box { background: var(--black); padding: 40px 36px; }
.capability-box h3 {
  font-family: var(--ff-head);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted-dark);
  margin: 0 0 24px;
}
.capability-box ul { display: flex; flex-direction: column; gap: 14px; }
.capability-box li {
  font-size: 16px;
  padding-left: 20px;
  position: relative;
}
.capability-box li::before {
  content: '';
  position: absolute;
  left: 0; top: 10px;
  width: 6px; height: 1px;
  background: var(--muted-dark);
}

/* ---------- callout box (used in Aerial ISR + Approach sections) ---------- */

.callout-box {
  border: 1px solid var(--line-light);
  padding: 32px 36px;
  margin-top: 56px;
}
.callout-box p { margin: 0; font-size: 17px; color: var(--muted-light); }
.callout-box strong { color: var(--black); }

.callout-box.on-dark { border-color: var(--line-dark); }
.callout-box.on-dark p { color: var(--muted-dark); }
.callout-box.on-dark strong { color: var(--white); }

/* ==========================================================================
   CTA band
   ========================================================================== */

.cta-band {
  background: var(--black);
  color: var(--white);
  border-top: 1px solid var(--line-dark);
  padding: 80px 0;
}
.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
}
.cta-text {
  font-family: var(--ff-head);
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.25;
  margin: 0;
}
.cta-sub {
  font-size: 16px;
  color: var(--muted-dark);
  max-width: 440px;
  margin: 14px 0 0;
}

/* ==========================================================================
   Contact
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
}

.contact-info {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-info li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line-light);
}
.contact-label {
  font-family: var(--ff-head);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted-light);
}
.contact-info a {
  display: inline-block;
  font-size: 17px;
  padding: 6px 0;
  margin: -6px 0;
  transition: opacity .3s var(--ease);
}
.contact-info a:hover, .contact-info a:active { opacity: .6; }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-row label {
  font-family: var(--ff-head);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted-light);
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  min-width: 0;
  border: none;
  border-bottom: 1px solid var(--line-light);
  background: transparent;
  padding: 10px 2px;
  color: var(--black);
  transition: border-color .3s var(--ease);
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-bottom-color: var(--black);
}
.form-row textarea { resize: vertical; min-height: 100px; }
.form-row select { appearance: none; border-radius: 0; cursor: pointer; }

.form-submit { margin-top: 8px; align-self: flex-start; }

.form-note {
  margin: 0;
  font-size: 14px;
  color: var(--muted-light);
  min-height: 1.4em;
}
.form-note.success { color: var(--black); font-weight: 600; }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--black);
  color: var(--white);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--line-dark);
}

.footer-brand p {
  margin: 20px 0 0;
  color: var(--muted-dark);
  font-size: 15px;
  max-width: 320px;
}
.footer-domain {
  font-family: var(--ff-head);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.footer-domain a:hover { color: var(--white); }

.footer-col h4 {
  font-family: var(--ff-head);
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin: 0 0 20px;
  color: var(--muted-dark);
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a, .footer-col span { font-size: 15px; color: var(--white); }
.footer-col a {
  display: inline-block;
  padding: 7px 0;
  margin: -7px 0;
  transition: opacity .3s var(--ease);
}
.footer-col a:hover, .footer-col a:active { opacity: .6; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  padding: 28px 0;
  font-size: 13px;
  color: var(--muted-dark);
}
.footer-legal { display: flex; gap: 24px; }
.footer-legal a {
  display: inline-block;
  padding: 8px 0;
  margin: -8px 0;
  transition: color .3s var(--ease);
}
.footer-legal a:hover, .footer-legal a:active { color: var(--white); }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 860px) {
  .nav-toggle { display: flex; }

  .main-nav {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    top: var(--nav-h);
    background: var(--black);
    z-index: 90;
    transform: translateX(100%);
    transition: transform .4s var(--ease);
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 48px 24px;
    width: 100%;
  }
  .main-nav .nav-link { font-size: 28px; padding: 14px 0; width: 100%; }
  .main-nav .btn { align-self: flex-start; margin: 20px 24px 0; }
}

@media (min-width: 640px) {
  .values-grid { grid-template-columns: repeat(3, 1fr); }
  .capability-boxes { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .protect-list { grid-template-columns: repeat(2, 1fr); column-gap: 32px; }
  .cta-inner { flex-direction: row; align-items: center; justify-content: space-between; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .about-grid { grid-template-columns: 340px 1fr; }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .protect-list { grid-template-columns: repeat(5, 1fr); }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}

@media (min-width: 1100px) {
  .section { padding: 160px 0; }
}
