/* ===================================================
   NDScript Executive Protection — style.css
   =================================================== */

/* ---------- TOKENS ---------- */
:root {
  --ink:      #0B0D10;
  --graphite: #14171C;
  --line:     #262B33;
  --bone:     #EAE8E2;
  --steel:    #9AA0A9;
  --brass:    #B79A5B;
}

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

body {
  background: var(--ink);
  color: var(--bone);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  margin: 0;
}

h1, h2, h3, h4 {
  font-family: 'Marcellus', serif;
  font-weight: 400;
  color: var(--bone);
  line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1rem; }
a { color: var(--brass); text-decoration: none; }
a:hover { color: var(--bone); }

em { color: var(--brass); font-style: normal; }

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

/* ---------- NAVBAR ---------- */
.navbar {
  background: rgba(11, 13, 16, 0.95);
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
}

.navbar-brand {
  font-family: 'Marcellus', serif;
  font-size: 1rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bone) !important;
}

.navbar-brand span {
  color: var(--brass);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  display: block;
  margin-top: -2px;
}

.navbar-nav .nav-link {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--steel) !important;
  padding: 0.4rem 1rem !important;
  transition: color 0.2s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--bone) !important;
}

.navbar-toggler {
  border-color: var(--line);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%239AA0A9' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 7.5rem 0 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(11,13,16,0.92) 0%, rgba(11,13,16,0.75) 50%, rgba(11,13,16,0.2) 100%);
}

.hero .container { position: relative; z-index: 1; }

@media (max-width: 991.98px) {
  .hero { min-height: auto; padding: 7rem 0 3rem; }
  .hero-bg-overlay { background: rgba(11,13,16,0.82); }
}

/* ---------- PAGE HEADER ---------- */
.page-header {
  padding: 8rem 0 3rem;
  border-bottom: 1px solid var(--line);
}

/* ---------- SECTIONS ---------- */
.section {
  padding: 5rem 0;
}

.section-dark {
  background: var(--graphite);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-intro {
  max-width: 600px;
  color: var(--steel);
}

/* ---------- CREDIBILITY STRIP ---------- */
.cred-strip {
  background: var(--graphite);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cred-item {
  padding: 2rem 1.5rem;
  border-right: 1px solid var(--line);
  text-align: center;
}

.cred-item:last-child { border-right: none; }

.cred-item .num {
  font-family: 'Marcellus', serif;
  font-size: 1.75rem;
  color: var(--brass);
}

.cred-item .label {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel);
  margin-top: 0.25rem;
}

@media (max-width: 767.98px) {
  .cred-item { border-right: none; border-bottom: 1px solid var(--line); }
  .cred-item:last-child { border-bottom: none; }
}

/* ---------- SERVICE CARDS ---------- */
.svc-card {
  background: var(--graphite);
  border: 1px solid var(--line);
  padding: 2rem;
  height: 100%;
  transition: border-color 0.25s;
}

.svc-card:hover { border-color: var(--brass); }

.svc-mark {
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 1rem;
}

.svc-card h3 { margin-bottom: 0.75rem; }
.svc-card p  { color: var(--steel); margin: 0; }

/* ---------- EYEBROW / RULE ---------- */
.eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 0.75rem;
}

.rule {
  border: none;
  border-top: 1px solid var(--brass);
  width: 2.5rem;
  margin: 1.25rem 0;
  opacity: 1;
}

/* ---------- BUTTONS ---------- */
.btn-brass {
  background: var(--brass);
  color: var(--ink);
  border: 1px solid var(--brass);
  padding: 0.65rem 1.75rem;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
  transition: background 0.25s, color 0.25s;
  display: inline-block;
  cursor: pointer;
}

.btn-brass:hover {
  background: transparent;
  color: var(--brass);
}

.btn-ghost {
  background: transparent;
  color: var(--bone);
  border: 1px solid var(--line);
  padding: 0.65rem 1.75rem;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.25s, color 0.25s;
  display: inline-block;
  cursor: pointer;
}

.btn-ghost:hover {
  border-color: var(--brass);
  color: var(--brass);
}

/* ---------- IMAGES ---------- */
.site-img {
  width: 100%;
  display: block;
  border: 1px solid var(--line);
}

.site-img-portrait {
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top;
}

/* ---------- TEXT UTILITIES ---------- */
.text-steel { color: var(--steel); }
.fine { font-size: 0.78rem; color: var(--steel); }
.lead { color: var(--steel); font-size: 1.05rem; }

/* ---------- COMPETENCY LIST ---------- */
.comp-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.comp-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--steel);
  padding-left: 1rem;
  position: relative;
}

.comp-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  background: var(--brass);
  border-radius: 50%;
}

/* ---------- CLIENT LIST ---------- */
.client-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.client-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  font-family: 'Marcellus', serif;
  font-size: 1.05rem;
}

.client-list li span {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
}

/* ---------- CONTACT LINES ---------- */
.contact-line {
  display: flex;
  gap: 1.5rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.contact-line .k {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass);
  min-width: 90px;
  padding-top: 2px;
}

.contact-line .v {
  color: var(--steel);
  font-size: 0.9rem;
}

/* ---------- FORM ---------- */
.form-label {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 0.4rem;
}

.form-control,
.form-select {
  background: var(--graphite);
  border: 1px solid var(--line);
  color: var(--bone);
  border-radius: 0;
  padding: 0.65rem 0.9rem;
}

.form-control:focus,
.form-select:focus {
  background: var(--graphite);
  border-color: var(--brass);
  color: var(--bone);
  box-shadow: none;
  outline: none;
}

.form-control::placeholder { color: var(--steel); opacity: 0.6; }

.form-select option { background: var(--graphite); }

/* ---------- VIDEO CAPTION ---------- */
.video-caption {
  font-size: 0.78rem;
  color: var(--steel);
  margin-top: 0.6rem;
  letter-spacing: 0.04em;
}

/* ---------- FOOTER ---------- */
footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--line);
  background: var(--graphite);
}

.foot-brand {
  font-family: 'Marcellus', serif;
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bone);
}

.foot-brand span {
  color: var(--brass);
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  display: block;
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
  align-items: center;
}

.foot-links a {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel);
  transition: color 0.2s;
}

.foot-links a:hover { color: var(--bone); }

.border-line {
  border-color: var(--line);
  opacity: 1;
}

.masonic-mark { opacity: 0.6; }

/* ---------- BIO / CAROUSEL ---------- */
.bio-section {
  background: var(--graphite);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.bio-photo-col {
  padding: 0;
  width: 380px;
  flex-shrink: 0;
}

.bio-photo-col img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  max-height: 620px;
  object-fit: cover;
  object-position: top;
  display: block;
  border: 6px solid var(--brass);
}

.bio-content-col {
  padding: 4rem 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  flex-grow: 1;
}

.bio-heading em {
  font-style: normal;
  color: var(--brass);
}

.bio-icons {
  display: flex;
  border-top: 1px solid var(--line);
  margin-top: 2rem;
  padding-top: 1.5rem;
}

.bio-icon-item {
  flex: 1;
  text-align: center;
  padding: 0.5rem 0;
  border-right: 1px solid var(--line);
}

.bio-icon-item:last-child { border-right: none; }

.bio-icon-label {
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--steel);
  margin-top: 0.4rem;
}

.bio-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  border-top: 1px solid var(--line);
  padding: 1.25rem 0;
  background: var(--graphite);
}

.btn-carousel {
  background: transparent;
  border: 1px solid var(--brass);
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.25s ease;
  flex-shrink: 0;
  padding: 0;
}

.btn-carousel:hover { background: var(--brass); }
.btn-carousel:hover svg path { stroke: var(--ink); }

.bio-counter {
  font-family: 'Marcellus', serif;
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  color: var(--steel);
  white-space: nowrap;
  min-width: 48px;
  text-align: center;
}

.bio-counter span { color: var(--brass); }

.carousel-indicators-inline {
  display: flex;
  gap: 8px;
  align-items: center;
}

.carousel-indicators-inline button {
  width: 28px;
  height: 2px;
  background: var(--line);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.3s ease, width 0.3s ease;
}

.carousel-indicators-inline button.active {
  background: var(--brass);
  width: 44px;
}

@media (max-width: 991.98px) {
  .bio-photo-col { width: 100%; }
  .bio-photo-col img { min-height: 320px; max-height: 420px; }
  .bio-content-col { padding: 2.5rem 1.5rem; }
}

/* ---------- REVEAL ANIMATION ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
