/* ==========================================================================
   ParaComm Ventures — design tokens & base
   ========================================================================== */

:root {
  --color-graphite: #1C2024;
  --color-graphite-soft: #2A2F35;
  --color-white: #FFFFFF;
  --color-steel: #8C97A0;
  --color-steel-light: #EDEFF1;
  --color-steel-text: #5A646E;
  --color-red: #D32E2E;
  --color-red-dark: #B32424;
  --color-red-light: #FF6B6B;

  --font-heading: -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-body: -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4rem;
  --space-7: 6rem;

  --radius: 4px;
  --max-width: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-graphite);
  background: var(--color-white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0 0 var(--space-2);
  text-transform: uppercase;
}
h1 { font-size: clamp(2.25rem, 4vw + 1rem, 3.75rem); }
h2 { font-size: clamp(1.75rem, 2.5vw + 1rem, 2.5rem); }
h3 { font-size: 1.25rem; text-transform: none; letter-spacing: 0; }
p { margin: 0 0 var(--space-2); }
a { color: inherit; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-3);
}

/* ---- header / nav ---- */
.site-header {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-steel-light);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-2);
  padding-bottom: var(--space-2);
}
.site-header__brand { display: flex; align-items: center; text-decoration: none; }
.site-header__logo { height: 72px; width: auto; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: var(--space-1);
}
.nav-toggle__bar {
  width: 24px;
  height: 2px;
  background: var(--color-graphite);
  display: block;
}
.nav__list {
  display: flex;
  gap: var(--space-4);
  align-items: center;
}
.nav__link {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-graphite);
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}
.nav__link:hover,
.nav__link--active {
  border-bottom-color: var(--color-red);
}
.nav__link--cta {
  background: var(--color-red);
  color: var(--color-white);
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius);
}
.nav__link--cta:hover { background: var(--color-red-dark); border-bottom-color: transparent; }

@media (max-width: 860px) {
  .site-header__inner { flex-wrap: wrap; }
  .nav-toggle { display: flex; }
  .nav { width: 100%; flex-basis: 100%; }
  .nav__list {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-2);
    padding: var(--space-3) 0;
  }
  .nav.is-open .nav__list { display: flex; }
}

/* ---- hero ---- */
.hero {
  background: var(--color-graphite);
  color: var(--color-white);
  padding: var(--space-7) 0;
}
.hero--page { padding: var(--space-6) 0; }
.hero__eyebrow, .eyebrow {
  color: var(--color-red);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: var(--space-2);
  display: block;
}
.hero .eyebrow,
.section--dark .eyebrow,
.section--dark .chip-group__title {
  color: var(--color-red-light);
}
.hero h1 { color: var(--color-white); }
.hero__lede {
  max-width: 62ch;
  font-size: 1.15rem;
  color: var(--color-steel-light);
}
.hero__ctas { display: flex; gap: var(--space-2); flex-wrap: wrap; margin-top: var(--space-4); }

/* ---- sections ---- */
.section { padding: var(--space-6) 0; }
.section--dark { background: var(--color-graphite); color: var(--color-white); }
.section--dark h2 { color: var(--color-white); }
.section--light { background: var(--color-steel-light); }
.section__intro { max-width: 70ch; margin-bottom: var(--space-4); }

/* ---- stat tiles ---- */
.stat-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-3);
}
.stat-tile {
  border: 1px solid var(--color-steel);
  border-radius: var(--radius);
  padding: var(--space-3);
  text-align: left;
  min-width: 0;
}
.section--dark .stat-tile { border-color: var(--color-graphite-soft); background: var(--color-graphite-soft); }
.stat-tile__value {
  display: block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2.25rem;
  color: var(--color-red);
  line-height: 1;
  margin-bottom: var(--space-1);
  overflow-wrap: anywhere;
}
.stat-tile__label {
  color: var(--color-steel-text);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  font-weight: 700;
}
@media (max-width: 860px) {
  .stat-tile__value { font-size: 1.75rem; }
}

/* ---- chip grids (capability lists) ---- */
.chip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-4);
}
.chip-group { display: block; }
.chip-group__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-red);
  margin-bottom: var(--space-2);
}
.chip-group__list { display: flex; flex-direction: column; gap: var(--space-1); }
.chip {
  font-size: 0.95rem;
  padding: 6px 0;
  border-bottom: 1px solid var(--color-steel-light);
}

/* ---- card grid (services, values, focus areas) ---- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-3);
}
.card {
  background: var(--color-white);
  border: 1px solid var(--color-steel-light);
  border-top: 3px solid var(--color-red);
  border-radius: var(--radius);
  padding: var(--space-3);
}
.card__title { margin-bottom: var(--space-1); }
.section--dark .card { color: var(--color-graphite); }

/* ---- placeholder image panels ---- */
.placeholder-img {
  position: relative;
  min-height: 260px;
  border-radius: var(--radius);
  background-color: var(--color-graphite);
  background-image: repeating-linear-gradient(
    135deg,
    var(--color-graphite-soft) 0px,
    var(--color-graphite-soft) 2px,
    var(--color-graphite) 2px,
    var(--color-graphite) 22px
  );
  display: flex;
  align-items: center;
  justify-content: center;
}
.placeholder-img::after {
  content: "";
  width: 46px;
  height: 46px;
  border: 2px solid var(--color-steel);
  border-radius: 50%;
}
.placeholder-img::before {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid var(--color-steel);
  border-radius: 3px;
  transform: translate(-1px, -1px);
}

/* ---- buttons ---- */
.btn {
  display: inline-block;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.9rem;
  text-decoration: none;
  border: 2px solid transparent;
}
.btn--primary { background: var(--color-red); color: var(--color-white); }
.btn--primary:hover { background: var(--color-red-dark); }
.btn--secondary { background: transparent; color: var(--color-white); border-color: var(--color-white); }
.btn--secondary:hover { background: var(--color-white); color: var(--color-graphite); }
.section:not(.section--dark) .btn--secondary { color: var(--color-graphite); border-color: var(--color-graphite); }
.section:not(.section--dark) .btn--secondary:hover { background: var(--color-graphite); color: var(--color-white); }

/* ---- cta band ---- */
.cta-band { text-align: center; }
.cta-band__ctas { display: flex; gap: var(--space-2); justify-content: center; flex-wrap: wrap; margin-top: var(--space-3); }

/* ---- forms ---- */
.form { display: block; }
.form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--space-3); margin-bottom: var(--space-3); }
.form__field { display: flex; flex-direction: column; gap: 6px; }
.form__label { font-weight: 700; font-size: 0.9rem; }
.form__input, .form__select, .form__textarea {
  padding: var(--space-2);
  border: 1px solid var(--color-steel);
  border-radius: var(--radius);
  font: inherit;
  background: var(--color-white);
  color: var(--color-graphite);
}
.form__textarea { min-height: 120px; resize: vertical; }

/* ---- footer ---- */
.site-footer { background: var(--color-white); border-top: 1px solid var(--color-steel-light); }
.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-4);
  padding: var(--space-5) 0 var(--space-3);
}
.footer__brand { display: flex; flex-direction: column; align-items: flex-start; }
.footer__logo { height: 110px; width: auto; margin-bottom: var(--space-2); }
.footer__tagline { font-weight: 700; margin-bottom: 4px; }
.footer__services { color: var(--color-steel-text); font-size: 0.9rem; }
.footer__nav { display: flex; flex-direction: column; gap: var(--space-1); }
.footer__nav a { text-decoration: none; font-weight: 600; }
.footer__contact { display: flex; flex-direction: column; gap: var(--space-1); }
.footer__contact a { text-decoration: none; }
.footer__bottom {
  border-top: 1px solid var(--color-steel-light);
  padding: var(--space-2) 0 var(--space-4);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-1);
  color: var(--color-steel-text);
  font-size: 0.85rem;
}

/* ---- watermark backgrounds (very soft, decorative only) ---- */
.hero, .cta-band { position: relative; isolation: isolate; overflow: hidden; }
.hero::before, .cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: grayscale(1) contrast(0.9) blur(2px);
  opacity: 0.11;
  pointer-events: none;
  /* fade toward the text side so copy stays on clean graphite */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.35) 40%, #000 100%);
          mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.35) 40%, #000 100%);
}
.hero::before { background-image: url("../assets/img/bg/fiber.jpg"); }
.hero--page::before { background-image: url("../assets/img/bg/roadside.jpg"); background-position: center 60%; }
.cta-band::before {
  background-image: url("../assets/img/bg/night-pole.jpg");
  opacity: 0.1;
  -webkit-mask-image: radial-gradient(ellipse at center, transparent 20%, #000 100%);
          mask-image: radial-gradient(ellipse at center, transparent 20%, #000 100%);
}
@media (max-width: 860px) {
  .hero::before, .cta-band::before { opacity: 0.07; }
}

/* ---- leadership: soft mirrored photo on the right ---- */
.leadership { position: relative; isolation: isolate; overflow: hidden; }
.leadership .container > * { max-width: 58ch; }
.leadership__photo {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 44%;
  z-index: -1;
  background: url("../assets/img/bg/leadership.jpg") center 30% / cover no-repeat;
  transform: scaleX(-1); /* mirror: subject ends up on the right */
  filter: grayscale(0.85) contrast(0.95);
  opacity: 0.42;
  pointer-events: none;
  /* mask is flipped with the element, so "to left" here fades the edge facing the text */
  -webkit-mask-image: linear-gradient(to left, transparent 0%, #000 55%), linear-gradient(to top, transparent 0%, #000 25%);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(to left, transparent 0%, #000 55%), linear-gradient(to top, transparent 0%, #000 25%);
          mask-composite: intersect;
}
@media (max-width: 860px) {
  .leadership__photo { width: 100%; opacity: 0.1; -webkit-mask-image: none; mask-image: none; transform: none; }
  .leadership .container > * { max-width: none; }
}

/* ---- photo banner (home: experience) ---- */
.photo-banner {
  position: relative;
  min-height: 300px;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: var(--color-graphite);
}
.photo-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../assets/img/bg/night-pole.jpg") center 35% / cover no-repeat;
  opacity: 0.45;
}
.photo-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28,32,36,0.92) 0%, rgba(28,32,36,0.35) 55%, rgba(28,32,36,0.1) 100%);
}
.photo-banner__tags {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1) var(--space-3);
  padding: var(--space-3);
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 700;
}
.photo-banner__tags li { border-left: 3px solid var(--color-red); padding-left: var(--space-1); }
@media (max-width: 860px) { .photo-banner { min-height: 220px; } }
