/* ============================================================
   PrivateChief.com — Master Stylesheet
   Version: 1.0 | Design: Higgins
   Copy to: /var/www/privatechief.com/static/assets/css/style.css
   ============================================================ */

/* ── 1. CSS VARIABLES ─────────────────────────────────────── */
:root {
  /* Backgrounds */
  --pc-obsidian:    #0C0D0F;
  --pc-midnight:    #111318;
  --pc-slate:       #1A1C22;
  --pc-mist:        #F5F4F0;
  --pc-ivory:       #FAFAF8;

  /* Text on dark */
  --pc-parchment:   #E8E4DC;
  --pc-ash:         #9A9690;

  /* Text on light */
  --pc-charcoal:    #1E1E22;
  --pc-stone:       #6B6864;

  /* Accent */
  --pc-gold:        #C8A96E;
  --pc-bronze:      #8B7355;

  /* Buttons */
  --pc-btn-bg:      #F0EDE6;
  --pc-btn-text:    #0C0D0F;

  /* HCWF semantic aliases */
  --primary-color:  #0C0D0F;
  --secondary-color:#C8A96E;
  --brand-color:    #0C0D0F;
  --accent-color:   #C8A96E;

  /* Typography */
  --font-serif: 'Cormorant Garamond', 'Cormorant', Georgia, serif;
  --font-sans:  'DM Sans', 'Inter', system-ui, -apple-system, sans-serif;
}

/* ── 2. RESET & BASE ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.75;
  color: var(--pc-charcoal);
  background: var(--pc-obsidian);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--pc-gold); text-decoration: none; }
a:hover { color: var(--pc-gold); text-decoration: none; }

img { max-width: 100%; height: auto; }

/* ── 3. TYPOGRAPHY ────────────────────────────────────────── */
.pc-h1 {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(40px, 5.5vw, 78px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--pc-parchment);
}

.pc-h2 {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 0;
}
.pc-h2--dark  { color: var(--pc-parchment); }
.pc-h2--light { color: var(--pc-charcoal); }

.pc-h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.25;
  margin-bottom: 0;
}
.pc-h3--dark  { color: var(--pc-parchment); }
.pc-h3--light { color: var(--pc-charcoal); }

.pc-label {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pc-gold);
  display: block;
  margin-bottom: 16px;
}

.pc-body--dark  { color: var(--pc-ash); }
.pc-body--light { color: var(--pc-stone); }
.pc-body--dark p, .pc-body--dark li { color: var(--pc-ash); }
.pc-body--light p, .pc-body--light li { color: var(--pc-stone); }

.pc-body-lead {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.75;
}

/* ── 4. GOLD RULE ─────────────────────────────────────────── */
.pc-rule {
  display: block;
  width: 40px;
  height: 1px;
  background: var(--pc-gold);
  margin-bottom: 24px;
}
.pc-rule--center { margin-left: auto; margin-right: auto; }
.pc-rule--mb-sm  { margin-bottom: 16px; }

/* ── 5. LAYOUT ────────────────────────────────────────────── */
.pc-section {
  padding: 120px 0;
}
.pc-section--sm {
  padding: 80px 0;
}
.pc-section--hero {
  padding: 200px 0 160px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.pc-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}
.pc-content-wide   { max-width: 960px;  margin: 0 auto; }
.pc-content-prose  { max-width: 720px;  margin: 0 auto; }
.pc-content-narrow { max-width: 580px;  margin: 0 auto; }

/* Section gap utilities */
.pc-gap-top    { margin-top: 48px; }
.pc-gap-top-sm { margin-top: 28px; }
.pc-gap-top-xs { margin-top: 16px; }

/* ── 6. BUTTONS ───────────────────────────────────────────── */
.btn-pc-primary {
  display: inline-block;
  background: var(--pc-btn-bg);
  color: var(--pc-btn-text) !important;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.08em;
  padding: 16px 36px;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  text-decoration: none !important;
  transition: background 200ms ease, box-shadow 200ms ease;
  line-height: 1;
}
.btn-pc-primary:hover {
  background: #FFFFFF;
  box-shadow: 0 4px 20px rgba(200, 169, 110, 0.18);
}

.btn-pc-ghost {
  display: inline-block;
  background: transparent;
  color: var(--pc-gold) !important;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.1em;
  padding: 13px 28px;
  border: 1px solid rgba(200, 169, 110, 0.4);
  border-radius: 2px;
  cursor: pointer;
  text-decoration: none !important;
  transition: border-color 200ms ease, background 200ms ease;
  line-height: 1;
}
.btn-pc-ghost:hover {
  border-color: var(--pc-gold);
  background: rgba(200, 169, 110, 0.06);
}

.btn-pc-dark {
  display: inline-block;
  background: var(--pc-obsidian);
  color: var(--pc-btn-bg) !important;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.08em;
  padding: 16px 36px;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  text-decoration: none !important;
  transition: background 200ms ease, box-shadow 200ms ease;
  line-height: 1;
}
.btn-pc-dark:hover {
  background: var(--pc-midnight);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.btn-pc-link {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 14px;
  color: var(--pc-ash) !important;
  text-decoration: none !important;
  letter-spacing: 0.04em;
  transition: color 200ms ease;
}
.btn-pc-link:hover { color: var(--pc-parchment) !important; }

/* ── 7. NAVBAR ────────────────────────────────────────────── */
.pc-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(12, 13, 15, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 22px 0;
  transition: box-shadow 300ms ease, padding 300ms ease;
}
.pc-navbar--scrolled {
  box-shadow: 0 1px 0 rgba(200, 169, 110, 0.12);
  padding: 16px 0;
}

.pc-nav-brand {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 20px;
  color: var(--pc-parchment) !important;
  text-decoration: none !important;
  letter-spacing: 0.03em;
}

.pc-nav-link {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 13px;
  color: var(--pc-ash) !important;
  text-decoration: none !important;
  letter-spacing: 0.04em;
  transition: color 200ms ease;
  padding: 0 14px;
}
.pc-nav-link:hover { color: var(--pc-parchment) !important; }

.pc-navbar .navbar-toggler {
  border: 1px solid rgba(200,169,110,0.3);
  border-radius: 2px;
  padding: 6px 10px;
}
.pc-navbar .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='rgba%28200%2C169%2C110%2C0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Mobile nav */
.pc-navbar .navbar-collapse {
  background: var(--pc-obsidian);
  padding: 20px 0 28px;
  margin-top: 12px;
  border-top: 1px solid rgba(200,169,110,0.1);
}
.pc-navbar .navbar-collapse .pc-nav-link {
  display: block;
  padding: 10px 0;
}

/* ── 8. CARDS ─────────────────────────────────────────────── */
.pc-card-dark {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(200, 169, 110, 0.12);
  border-radius: 4px;
  padding: 40px;
  height: 100%;
  transition: border-color 300ms ease, background 300ms ease;
}
.pc-card-dark:hover {
  border-color: rgba(200, 169, 110, 0.28);
  background: rgba(255, 255, 255, 0.05);
}

.pc-card-light {
  background: #FFFFFF;
  border: 1px solid rgba(30, 30, 34, 0.08);
  border-radius: 4px;
  padding: 40px;
  height: 100%;
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.05);
  transition: box-shadow 300ms ease;
}
.pc-card-light:hover {
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.09);
}

/* Use case cards — slightly tighter */
.pc-card-usecase {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(200, 169, 110, 0.1);
  border-radius: 4px;
  padding: 32px 32px 28px;
  height: 100%;
}
.pc-card-usecase .pc-label {
  margin-bottom: 10px;
}
.pc-card-usecase-divider {
  width: 24px;
  height: 1px;
  background: var(--pc-bronze);
  margin: 12px 0 14px;
}

/* ── 9. HERO SECTION ──────────────────────────────────────── */
.pc-hero {
  background: var(--pc-obsidian);
  background-image: radial-gradient(ellipse at 28% 62%, rgba(200, 169, 110, 0.04) 0%, transparent 68%);
}

.pc-hero-cta-group {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 44px;
}

.pc-hero-indicator {
  display: block;
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, rgba(200, 169, 110, 0.4), transparent);
  margin: 0 auto;
}

/* ── 10. FRICTION STATS ───────────────────────────────────── */
.pc-stat-number {
  font-family: var(--font-serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(44px, 5vw, 60px);
  line-height: 1;
  color: var(--pc-charcoal);
  margin-bottom: 12px;
}

/* ── 11. METHOD STEPS ─────────────────────────────────────── */
.pc-method-step {
  position: relative;
  padding: 0 32px 0 0;
}
.pc-method-step:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(200,169,110,0.2), transparent);
}
.pc-step-number {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 52px;
  line-height: 1;
  color: var(--pc-gold);
  opacity: 0.7;
  margin-bottom: 16px;
}
.pc-step-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 22px;
  color: var(--pc-parchment);
  margin-bottom: 12px;
}
.pc-step-body {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.7;
  color: var(--pc-ash);
}

/* ── 12. TRUST POINTS (Oversight section) ─────────────────── */
.pc-trust-card {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(200,169,110,0.1);
  border-radius: 4px;
  padding: 36px 36px 32px;
}
.pc-trust-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(200,169,110,0.35);
  border-radius: 50%;
  margin-bottom: 20px;
  flex-shrink: 0;
}
.pc-trust-check svg {
  width: 14px;
  height: 14px;
  color: var(--pc-gold);
}
.pc-trust-title {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 14px;
  color: var(--pc-parchment);
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}
.pc-trust-body {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.7;
  color: var(--pc-ash);
}

/* ── 13. FAQ ACCORDION ────────────────────────────────────── */
.pc-accordion {
  max-width: 720px;
  margin: 0 auto;
}
.pc-accordion-item {
  border-bottom: 1px solid rgba(30, 30, 34, 0.1);
}
.pc-accordion-trigger {
  width: 100%;
  background: none;
  border: none;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  cursor: pointer;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  color: var(--pc-charcoal);
  text-align: left;
  transition: color 200ms ease;
}
.pc-accordion-trigger:hover { color: var(--pc-obsidian); }
.pc-accordion-icon {
  width: 16px;
  height: 16px;
  color: var(--pc-gold);
  flex-shrink: 0;
  margin-top: 3px;
  transition: transform 300ms ease;
}
.pc-accordion-trigger[aria-expanded="true"] .pc-accordion-icon {
  transform: rotate(180deg);
}
.pc-accordion-body {
  overflow: hidden;
  max-height: 0;
  transition: max-height 380ms ease;
}
.pc-accordion-body-inner {
  padding: 0 0 28px 0;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.8;
  color: var(--pc-stone);
  max-width: 640px;
}

/* ── 14. FORM FIELDS ──────────────────────────────────────── */
.pc-form-group { margin-bottom: 24px; }

.pc-form-label {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pc-ash);
  display: block;
  margin-bottom: 8px;
}

.pc-input,
.pc-textarea,
.pc-select {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(200, 169, 110, 0.2);
  border-radius: 2px;
  padding: 14px 18px;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 15px;
  color: var(--pc-parchment);
  outline: none;
  transition: border-color 200ms ease, box-shadow 200ms ease;
  appearance: none;
}
.pc-input:focus,
.pc-textarea:focus,
.pc-select:focus {
  border-color: var(--pc-gold);
  box-shadow: 0 0 0 3px rgba(200, 169, 110, 0.08);
}
.pc-input::placeholder,
.pc-textarea::placeholder {
  color: rgba(200, 169, 110, 0.3);
}
.pc-textarea { min-height: 120px; resize: vertical; }
.pc-select { cursor: pointer; }
.pc-select option { background: var(--pc-midnight); color: var(--pc-parchment); }

/* Light form variant */
.pc-input--light,
.pc-textarea--light,
.pc-select--light {
  background: #FFFFFF;
  border-color: rgba(30, 30, 34, 0.15);
  color: var(--pc-charcoal);
}
.pc-input--light::placeholder { color: rgba(30, 30, 34, 0.35); }
.pc-input--light:focus { border-color: var(--pc-charcoal); box-shadow: 0 0 0 3px rgba(30,30,34,0.06); }

/* Radio group */
.pc-radio-group {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.pc-radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 14px;
  color: var(--pc-ash);
  cursor: pointer;
}
.pc-radio-label input[type="radio"] {
  width: 16px;
  height: 16px;
  accent-color: var(--pc-gold);
  cursor: pointer;
}

/* Mandatory: placeholder text compliance (WEB_DEVELOPMENT.md) */
input::placeholder, textarea::placeholder, select::placeholder { color: rgba(0,0,0,0.25) !important; }
input:-ms-input-placeholder, textarea:-ms-input-placeholder { color: rgba(0,0,0,0.25) !important; }
input::-webkit-input-placeholder, textarea::-webkit-input-placeholder { color: rgba(0,0,0,0.25) !important; }
.form-control::placeholder { color: rgba(0,0,0,0.25) !important; }
/* Override for dark pc-inputs specifically */
.pc-input::placeholder, .pc-textarea::placeholder { color: rgba(200,169,110,0.3) !important; }

/* ── 15. PULL QUOTE ───────────────────────────────────────── */
.pc-pullquote {
  position: relative;
  padding: 0 0 0 32px;
  border-left: 1px solid rgba(200, 169, 110, 0.25);
}
.pc-pullquote-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.5;
  color: var(--pc-parchment);
  margin-bottom: 20px;
}
.pc-pullquote-attr {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 13px;
  color: var(--pc-ash);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ── 16. FOOTER ───────────────────────────────────────────── */
.pc-footer {
  background: var(--pc-midnight);
  padding: 80px 0 0;
}
.pc-footer-brand {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 20px;
  color: var(--pc-parchment);
  margin-bottom: 12px;
  display: block;
}
.pc-footer-descriptor {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 13px;
  color: var(--pc-ash);
  margin-bottom: 24px;
  line-height: 1.6;
}
.pc-footer-heading {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pc-gold);
  margin-bottom: 20px;
}
.pc-footer-link {
  display: block;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 13px;
  color: var(--pc-ash) !important;
  text-decoration: none !important;
  margin-bottom: 10px;
  transition: color 200ms ease;
}
.pc-footer-link:hover { color: var(--pc-parchment) !important; }
.pc-footer-text {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 13px;
  color: var(--pc-ash);
  line-height: 1.7;
}
.pc-footer-copyright {
  background: var(--pc-obsidian);
  padding: 24px 0;
  margin-top: 60px;
  border-top: 1px solid rgba(200,169,110,0.07);
}
.pc-footer-copyright p {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 12px;
  color: var(--pc-ash);
  margin: 0;
}
.pc-footer-copyright a { color: var(--pc-ash) !important; }
.pc-footer-copyright a:hover { color: var(--pc-parchment) !important; }

/* ── 17. SCROLL ANIMATIONS ────────────────────────────────── */
.pc-animate {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 500ms ease-out, transform 500ms ease-out;
}
.pc-animate.pc-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays for card groups */
.pc-stagger > *:nth-child(1) { transition-delay: 0ms; }
.pc-stagger > *:nth-child(2) { transition-delay: 80ms; }
.pc-stagger > *:nth-child(3) { transition-delay: 160ms; }
.pc-stagger > *:nth-child(4) { transition-delay: 240ms; }
.pc-stagger > *:nth-child(5) { transition-delay: 320ms; }
.pc-stagger > *:nth-child(6) { transition-delay: 400ms; }

/* ── 18. SVG DIAGRAM (Private Operating Layer) ─────────────── */
.pc-flow-diagram {
  max-width: 680px;
  margin: 60px auto 0;
  opacity: 0.85;
}

/* ── 19. UTILITY ──────────────────────────────────────────── */
.text-gold   { color: var(--pc-gold) !important; }
.text-ash    { color: var(--pc-ash) !important; }
.text-parchment { color: var(--pc-parchment) !important; }
.text-charcoal  { color: var(--pc-charcoal) !important; }
.bg-obsidian { background: var(--pc-obsidian) !important; }
.bg-midnight { background: var(--pc-midnight) !important; }
.bg-slate    { background: var(--pc-slate) !important; }
.bg-mist     { background: var(--pc-mist) !important; }
.bg-ivory    { background: var(--pc-ivory) !important; }

.ff-footer   { background: var(--pc-midnight); } /* HCWF footer class override */

/* ── 20. RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 991px) {
  .pc-section { padding: 80px 0; }
  .pc-section--hero { padding: 140px 0 100px; min-height: auto; }
  .pc-container { padding: 0 32px; }
  .pc-method-step::after { display: none; }
  .pc-method-step { padding: 0 0 40px 0; border-bottom: 1px solid rgba(200,169,110,0.1); }
  .pc-method-step:last-child { border-bottom: none; padding-bottom: 0; }
}

@media (max-width: 767px) {
  .pc-section { padding: 70px 0; }
  .pc-section--hero { padding: 120px 0 80px; }
  .pc-container { padding: 0 24px; }
  .pc-card-dark,
  .pc-card-light,
  .pc-card-usecase { padding: 28px 24px; }
  .pc-trust-card { padding: 28px 24px; }
  .pc-hero-cta-group { gap: 20px; }
  .pc-footer { padding: 60px 0 0; }
}

@media (max-width: 575px) {
  .pc-section { padding: 60px 0; }
  .pc-container { padding: 0 20px; }
  .pc-hero-cta-group { flex-direction: column; align-items: flex-start; }
  .btn-pc-primary, .btn-pc-dark { width: 100%; text-align: center; }
  .pc-step-number { font-size: 40px; }
}
