/* =============================================================
   Section: Stub ("In Build Phase" placeholder pages)
   Maps to: aci_traxx_stub_page_content() in inc/seed-pages.php.
   Loaded for the seeded About / Leadership / Service Areas /
   Privacy / Terms pages so they read as designed placeholders
   instead of blank Page templates while real content is being
   authored. Mirrors ACI-Mockup/assets/css/stub.css.
   ============================================================= */

.stub-main {
  background: var(--ink);
  color: var(--bone);
  min-height: 100svh;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding-block: clamp(8rem, 14vw, 12rem) clamp(4rem, 8vw, 7rem);
}

.stub-main::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../../img/textures/grain.svg");
  background-size: 320px 320px;
  opacity: 0.07;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.stub-main::after {
  content: "";
  position: absolute;
  right: -28vw;
  bottom: -28vw;
  width: 70vw;
  height: 70vw;
  border: 1px solid var(--rule-dark);
  border-radius: 50%;
  pointer-events: none;
}

.stub-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-7);
  align-items: end;
  position: relative;
  z-index: 1;
}

@media (min-width: 980px) {
  .stub-grid {
    grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr);
    gap: var(--s-9);
  }
}

.stub-eyebrow {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--safety);
}

.stub-eyebrow::before {
  content: "";
  width: 28px; height: 1px; background: currentColor; opacity: 0.7;
}

.stub-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 11vw, 12rem);
  line-height: 0.88;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  margin-top: var(--s-4);
}

.stub-title .stroke {
  -webkit-text-stroke: 1.5px var(--bone);
  color: transparent;
  font-style: italic;
}

.stub-meta {
  border-left: 1px solid var(--rule-dark);
  padding-left: var(--s-5);
  display: grid;
  gap: var(--s-4);
}

@media (max-width: 979px) {
  .stub-meta {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid var(--rule-dark);
    padding-top: var(--s-5);
  }
}

.stub-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: start;
  padding: 8px 14px;
  border: 1px solid var(--safety);
  color: var(--safety);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.stub-status::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--safety);
  border-radius: 50%;
  animation: stub-pulse 1.6s ease-in-out infinite;
}

@keyframes stub-pulse {
  0%, 100% { opacity: 1;   transform: scale(1); }
  50%      { opacity: 0.3; transform: scale(1.4); }
}

.stub-copy {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  line-height: 1.55;
  color: var(--muted-dark);
  max-width: 38ch;
}

.stub-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
}

.stub-foot {
  margin-top: var(--s-7);
  padding-top: var(--s-5);
  border-top: 1px solid var(--rule-dark);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s-5);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-dark);
  position: relative;
  z-index: 1;
}

.stub-foot a {
  color: var(--bone);
  border-bottom: 1px solid var(--safety);
  padding-bottom: 2px;
}
.stub-foot a:hover { color: var(--safety); }

/* Optional "GET ACTIVE" oversized brand watermark for stub pages
   that want to feature the motto (Contact stub variant). Bleeds
   off the bottom-left edge so only partial letters show. */
.stub-ghost {
  position: absolute;
  left: -0.05em;
  bottom: -0.22em;
  z-index: 0;
  font-family: var(--font-display, "Anton", Impact, sans-serif);
  font-size: clamp(8rem, 28vw, 28rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 0.82;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--bone);
  opacity: 0.07;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.stub-main--get-active::after { display: none; }

.stub-contact {
  margin-top: var(--s-6);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--s-5);
  max-width: 720px;
}

.stub-contact h4 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--safety);
  margin-bottom: var(--s-2);
}

.stub-contact address,
.stub-contact a {
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--bone);
}

.stub-contact a {
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-fast, 180ms) ease, color var(--dur-fast, 180ms) ease;
}
.stub-contact a:hover {
  color: var(--safety);
  border-bottom-color: var(--safety);
}
