/* PW Capital — extension stylesheet v2
   Adds: richer footer, form states, holdco architecture diagram,
   utility classes for new pages. Loaded after styles.css. */

/* ---------- Footer redesign ---------- */
.site-footer {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 44px;
  align-items: start;
}

.footer-brand-col p {
  max-width: 360px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
  line-height: 1.65;
}

.footer-entity {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.83rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.58);
}

.footer-entity strong {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
}

.footer-col h4 {
  margin: 0 0 16px;
  color: var(--white);
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  padding: 5px 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  transition: color 180ms ease, transform 180ms ease;
}

.footer-col a:hover {
  color: var(--gold);
  transform: translateX(2px);
}

.legal {
  grid-column: 1 / -1;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  max-width: 100%;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.78rem;
  line-height: 1.75;
}

.legal a {
  color: rgba(255, 255, 255, 0.68);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.2);
  text-underline-offset: 3px;
}

.legal a:hover {
  color: var(--gold);
}

@media (max-width: 980px) {
  .site-footer {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .site-footer {
    grid-template-columns: 1fr;
  }
}

/* ---------- Form states (mandate intake) ---------- */
.form-state {
  display: none;
  margin-top: 18px;
  padding: 20px 22px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  line-height: 1.55;
}

.form-state.is-active {
  display: block;
}

.form-state-success {
  background: rgba(15, 107, 86, 0.08);
  border: 1px solid rgba(15, 107, 86, 0.32);
  color: var(--green-dark);
}

.form-state-success strong {
  display: inline-block;
  margin-top: 6px;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--green-dark);
  color: var(--white);
  font-family: "Courier New", ui-monospace, monospace;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
}

.form-state-error {
  background: rgba(191, 143, 54, 0.08);
  border: 1px solid rgba(191, 143, 54, 0.42);
  color: #6e4a0a;
}

.contact-form button[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}

/* Honeypot — hidden from real users, fills in for bots */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* ---------- Holdco architecture (home page) ---------- */
.holdco-section {
  padding: clamp(64px, 8vw, 96px) clamp(18px, 4vw, 54px);
  background: linear-gradient(180deg, var(--white) 0%, var(--paper) 100%);
}

.holdco-wrap {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.holdco-copy h2 {
  margin: 14px 0 18px;
}

.holdco-copy p {
  max-width: 520px;
  color: var(--ink-soft);
}

.holdco-meta {
  margin-top: 24px;
  padding: 18px 20px;
  border-left: 3px solid var(--gold);
  background: rgba(191, 143, 54, 0.06);
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

.holdco-meta strong {
  color: var(--ink);
}

.holdco-diagram {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 50px rgba(16, 21, 18, 0.12));
}

@media (max-width: 880px) {
  .holdco-wrap {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* ---------- Utility: license-badge inline pill ---------- */
.license-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(191, 143, 54, 0.14);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.license-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
