/* ==========================================================================
   Paraclete Capital — static site styles
   Ported from the Squarespace brand-handoff design tokens (site-wide-custom-css.css
   + the 7 block files) for a plain, self-hosted static site. Site-wide rules that
   targeted Squarespace-only classes (.sqs-*, .header-nav-item, .form-wrapper, etc.)
   are rebuilt here for real <nav>, <footer>, and <form> markup instead.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:opsz,wght@8..60,300;8..60,400;8..60,600&family=Outfit:wght@300;400;500&family=IBM+Plex+Mono:wght@300;400&display=swap');

:root {
  --pc-ink:        #150E24;
  --pc-ink-2:      #1E1631;
  --pc-rule-dark:  #2E2542;
  --pc-paper:      #F2EFE9;
  --pc-rule-light: #DAD5C8;
  --pc-accent:     #5C3FA0;
  --pc-muted:      #8A80A0;
  --pc-muted-2:    #6B6B66;
  --pc-body-dark:  #3A3E47;
  --pc-body-light: #DCDCD6;

  --pc-serif: 'Source Serif 4', Georgia, serif;
  --pc-sans:  'Outfit', system-ui, -apple-system, sans-serif;
  --pc-mono:  'IBM Plex Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--pc-sans);
  font-weight: 300;
  color: var(--pc-body-dark);
  background: var(--pc-paper);
  text-wrap: pretty;
}
a { text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---------- Site header / nav -------------------------------------------- */

.site-header {
  position: sticky; top: 0; z-index: 20;
  background: var(--pc-paper);
  border-bottom: 1px solid var(--pc-rule-light);
}
.site-header-inner {
  max-width: 1180px; margin: 0 auto;
  padding: 22px 6vw;
  display: flex; align-items: center; justify-content: space-between;
}
.site-logo { height: 26px; width: auto; display: block; }
.site-nav { display: flex; gap: 34px; }
.site-nav a {
  font-family: var(--pc-mono); font-weight: 300; font-size: 12px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--pc-ink);
  border-bottom: 0; transition: color .15s ease;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--pc-accent); }

@media (max-width: 820px) {
  .site-header-inner { padding: 18px 24px; flex-direction: column; gap: 14px; align-items: flex-start; }
  .site-nav { gap: 22px; }
}

/* ---------- Buttons (shared across pages) --------------------------------- */

.pc-btn-solid, .pc-btn-ghost {
  display: inline-block;
  font-family: var(--pc-mono); font-weight: 400; font-size: 12px;
  letter-spacing: .14em; text-transform: uppercase;
  padding: 15px 30px; border: 1px solid; cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.pc-btn-solid { background: var(--pc-ink); border-color: var(--pc-ink); color: var(--pc-paper); }
.pc-btn-ghost { background: transparent; border-color: var(--pc-rule-dark); color: var(--pc-paper); }
.pc-btn-solid:hover, .pc-btn-ghost:hover { background: var(--pc-accent) !important; border-color: var(--pc-accent) !important; color: var(--pc-paper) !important; }
.pc-link:hover { color: var(--pc-muted) !important; border-bottom-color: var(--pc-muted) !important; }
.pc-news-item:hover div:nth-child(2) { color: var(--pc-accent) !important; }
.pc-hero-title { font-size: clamp(30px, 5vw, 62px) !important; }

/* ---------- Contact form (replaces the Squarespace Form Block) ------------ */

.pc-form { display: flex; flex-direction: column; gap: 16px; max-width: 460px; }
.pc-form-row { display: flex; gap: 16px; }
.pc-form-row > div { flex: 1; }
.pc-form label {
  display: block; margin-bottom: 8px;
  font-family: var(--pc-mono); font-weight: 300; font-size: 10px;
  letter-spacing: .16em; text-transform: uppercase; color: var(--pc-muted);
}
.pc-form input, .pc-form textarea {
  width: 100%; font-family: var(--pc-sans); font-weight: 300; font-size: 15px;
  border: 1px solid var(--pc-rule-dark); background: var(--pc-ink-2); color: var(--pc-paper);
  padding: 13px 14px; border-radius: 0;
}
.pc-form input:focus, .pc-form textarea:focus { border-color: var(--pc-accent); outline: none; }
.pc-form textarea { min-height: 110px; resize: vertical; }
.pc-form button {
  align-self: flex-start; font-family: var(--pc-mono); font-weight: 400; font-size: 12px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--pc-paper);
  background: var(--pc-ink); border: 1px solid var(--pc-rule-dark);
  padding: 15px 30px; cursor: pointer; transition: background .15s ease, border-color .15s ease;
}
.pc-form button:hover { background: var(--pc-accent); border-color: var(--pc-accent); }
.pc-form-note {
  font-family: var(--pc-mono); font-size: 10px; letter-spacing: .04em; color: var(--pc-muted);
}
.pc-form-status {
  font-family: var(--pc-mono); font-size: 11px; letter-spacing: .08em; padding: 12px 0;
}
.pc-form-status[data-state="success"] { color: #9BE0B0; }
.pc-form-status[data-state="error"] { color: #E0A0A0; }
/* Honeypot field — hidden from real visitors, catches simple bots */
.pc-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer --------------------------------------------------------- */

.site-footer {
  background: var(--pc-ink); border-top: 1px solid var(--pc-rule-dark);
  padding: 38px 6vw; font-family: var(--pc-mono);
}
.site-footer-inner {
  max-width: 1180px; margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; align-items: center;
}
.site-footer-tagline { font-weight: 300; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--pc-muted); }
.site-footer-copyright { font-weight: 300; font-size: 11px; letter-spacing: .06em; color: var(--pc-muted-2); }

/* ---------- Mobile layout fixes ------------------------------------------- */
/* The label+content grids (.pc-two-col, .pc-about-grid) use a fixed-width
   left column (200-220px) on desktop. That fixed track can't shrink, so on
   narrow viewports it eats most of the available width and crushes the
   content column into a few characters per line. Below 760px we drop them
   to a single stacked column instead. */
@media (max-width: 760px) {
  .pc-two-col, .pc-about-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
  .pc-about-portrait img {
    max-width: 260px;
    margin: 0 auto;
  }
  /* Large sections (About, Inquiries, News, bio) carry generous 64-96px
     vertical padding for desktop breathing room; that reads as excessive
     empty space stacked on a phone screen, so trim it down. */
  .pc-section {
    padding-top: 56px !important;
    padding-bottom: 56px !important;
  }
  .pc-section-tight-top {
    padding-bottom: 56px !important;
  }
  .pc-form-row {
    flex-direction: column;
  }
  .site-header-inner { padding: 16px 20px; }
}

/* ---------- Access disclaimer gate ----------------------------------------- */

.pc-disclaimer-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(21, 14, 36, .92);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.pc-disclaimer-overlay[hidden] { display: none; }
.pc-disclaimer-box {
  background: var(--pc-paper); color: var(--pc-ink);
  width: 100%; max-width: 700px; max-height: 88vh;
  padding: 30px 32px 22px;
  border: 1px solid var(--pc-rule-light);
  font-family: var(--pc-sans);
  display: flex; flex-direction: column;
}
.pc-disclaimer-title {
  font-family: var(--pc-serif); font-weight: 400; font-size: 19px;
  color: var(--pc-ink); margin: 0 0 12px; flex: none;
}
.pc-disclaimer-body {
  overflow-y: auto; flex: 1 1 auto; min-height: 0;
}
.pc-disclaimer-body p {
  font-size: 11.5px; line-height: 1.55; color: var(--pc-body-dark);
  margin: 0 0 10px; text-align: justify;
}
.pc-disclaimer-body p:last-child { margin-bottom: 0; }
.pc-disclaimer-footer {
  flex: none; display: flex; justify-content: center;
  padding-top: 20px; margin-top: 18px; border-top: 1px solid var(--pc-rule-light);
}
#pc-disclaimer-agree { width: auto; }
body.pc-disclaimer-lock { overflow: hidden; }

@media (max-width: 600px) {
  .pc-disclaimer-box { padding: 22px 20px 16px; max-height: 92vh; }
  .pc-disclaimer-title { font-size: 16px; }
  .pc-disclaimer-body p { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
