/* Pi Kappa Chi Brothers Directory — design system */

:root {
  --pkc-navy:        #0a2342;
  --pkc-navy-dark:   #061632;
  --pkc-gold:        #c79c4a;
  --pkc-gold-light:  #e2c282;
  --pkc-cream:       #faf6ee;
  --pkc-ink:         #1a2238;
  --pkc-body:        #3a4258;
  --pkc-muted:       #6b7280;
  --pkc-line:        #e5e7eb;
  --pkc-surface:     #ffffff;
  --pkc-bg:          #f7f5ee;
  --pkc-success:     #15803d;

  --radius-sm: 6px;
  --radius:    10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(10, 35, 66, 0.06);
  --shadow:    0 4px 16px rgba(10, 35, 66, 0.08);
  --shadow-lg: 0 10px 40px rgba(10, 35, 66, 0.12);

  --container: 1200px;
  --gap: 24px;

  --font-serif: 'Source Serif 4', 'Source Serif Pro', Georgia, 'Times New Roman', serif;
  --font-sans:  -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--pkc-body);
  background: var(--pkc-bg);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--pkc-navy); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--pkc-gold); }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--pkc-ink);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.1rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; }
p  { margin: 0 0 1em; }

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

/* ─── Header ─────────────────────────────────────── */
.pkc-header {
  background: var(--pkc-navy);
  color: white;
  border-bottom: 3px solid var(--pkc-gold);
  position: sticky; top: 0; z-index: 100;
}
.pkc-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px; max-width: var(--container); margin: 0 auto;
}
.pkc-brand {
  display: flex; align-items: center; gap: 12px;
  color: white; font-family: var(--font-serif); font-weight: 600;
  font-size: 1.15rem; letter-spacing: 0.01em;
}
.pkc-brand:hover { color: var(--pkc-gold-light); }
.pkc-brand-mark {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--pkc-gold);
  color: var(--pkc-navy);
  font-family: var(--font-serif);
  font-weight: 700; font-size: .95rem;
  border-radius: 50%;
  flex-shrink: 0;
  letter-spacing: 0.02em;
  border: 2px solid var(--pkc-gold-light);
  box-shadow: 0 0 0 2px rgba(199,156,74,.25);
  position: relative;
}
.pkc-brand-mark::after {
  content: '';
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(10,35,66,.18);
  border-radius: 50%;
  pointer-events: none;
}
.pkc-brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.pkc-brand-text small { font-family: var(--font-sans); font-size: .7rem; opacity: .75; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; }
.pkc-nav { display: flex; gap: 28px; align-items: center; }
.pkc-nav a {
  color: rgba(255,255,255,.85);
  font-size: .94rem;
  font-weight: 500;
}
.pkc-nav a:hover { color: var(--pkc-gold-light); }
.pkc-nav .pkc-cta {
  background: var(--pkc-gold);
  color: var(--pkc-navy);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
}
.pkc-nav .pkc-cta:hover { background: var(--pkc-gold-light); color: var(--pkc-navy); }

.pkc-menu-toggle {
  display: none; background: none; border: 0; color: white; cursor: pointer; padding: 8px;
}

@media (max-width: 768px) {
  .pkc-nav { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--pkc-navy-dark); padding: 16px 24px; gap: 14px; }
  .pkc-nav.open { display: flex; }
  .pkc-menu-toggle { display: block; }
}

/* ─── Hero ───────────────────────────────────────── */
.pkc-hero {
  background: linear-gradient(135deg, var(--pkc-navy) 0%, var(--pkc-navy-dark) 100%);
  color: white;
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid var(--pkc-gold);
}
.pkc-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 30% 20%, rgba(199,156,74,.18) 0%, transparent 50%),
                    radial-gradient(circle at 80% 70%, rgba(199,156,74,.1) 0%, transparent 50%);
  pointer-events: none;
}
.pkc-hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  mask-image: radial-gradient(circle at center, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at center, black 0%, transparent 70%);
}
.pkc-hero-inner { position: relative; z-index: 1; text-align: center; max-width: 780px; margin: 0 auto; }
.pkc-hero h1 { color: white; margin-bottom: .4em; font-size: clamp(2.3rem, 4.5vw, 3.4rem); }
.pkc-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--pkc-gold);
  text-transform: uppercase;
  font-size: .85rem; font-weight: 600; letter-spacing: 0.18em;
  margin-bottom: 22px;
}
.pkc-hero .eyebrow::before,
.pkc-hero .eyebrow::after {
  content: '';
  display: inline-block;
  width: 30px;
  height: 1px;
  background: var(--pkc-gold);
  opacity: .6;
}
.pkc-hero p.lead { font-size: 1.2rem; color: rgba(255,255,255,.9); margin-bottom: 32px; max-width: 640px; margin-left: auto; margin-right: auto; }
.pkc-hero-stats {
  display: flex; justify-content: center; gap: 56px; margin-top: 44px;
  flex-wrap: wrap;
}
.pkc-stat .num {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  color: var(--pkc-gold);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 6px;
}
.pkc-stat .label {
  font-size: .8rem;
  color: rgba(255,255,255,.7);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 500;
}

/* ─── Directory finder ──────────────────────────── */
.pkc-directory {
  margin-top: -44px;
  padding: 0 0 80px;
  position: relative;
  z-index: 2;
}
.pkc-finder-head {
  background: var(--pkc-surface);
  border: 1px solid rgba(199,156,74,.26);
  border-bottom: 0;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: 24px 28px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr);
  gap: 24px;
  align-items: end;
  box-shadow: var(--shadow-lg);
}
.pkc-finder-head .eyebrow {
  display: inline-flex;
  color: var(--pkc-gold);
  text-transform: uppercase;
  font-size: .78rem;
  letter-spacing: .16em;
  font-weight: 700;
  margin-bottom: 8px;
}
.pkc-finder-head h2 { margin: 0; }
.pkc-finder-head p { margin: 0; line-height: 1.55; }
.pkc-directory-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 430px);
  grid-template-rows: auto minmax(600px, 66vh);
  background: var(--pkc-surface);
  border: 1px solid rgba(199,156,74,.26);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.pkc-finder-controls {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px 16px;
  padding: 16px;
  border-bottom: 1px solid var(--pkc-line);
  background: var(--pkc-surface);
}
.pkc-mode-row {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 12px;
}
.pkc-control-label {
  color: var(--pkc-body);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.pkc-search-modes {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(92px, 1fr));
  padding: 3px;
  border: 1px solid var(--pkc-line);
  border-radius: var(--radius-sm);
  background: var(--pkc-bg);
}
.pkc-search-mode {
  min-height: 34px;
  padding: 6px 14px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--pkc-body);
  font: 600 .86rem var(--font-sans);
  cursor: pointer;
}
.pkc-search-mode:hover { color: var(--pkc-navy); }
.pkc-search-mode.active {
  background: var(--pkc-navy);
  color: white;
  box-shadow: var(--shadow-sm);
}
.pkc-search-bar {
  min-width: 0;
  background: var(--pkc-surface);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: stretch;
  position: relative;
  border: 1px solid var(--pkc-line);
}
.pkc-search-bar::before {
  content: '⌕';
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  color: var(--pkc-muted);
  pointer-events: none;
}
.pkc-search-bar input {
  flex: 1;
  border: 0;
  min-width: 0;
  padding: 13px 18px 13px 42px;
  font-size: 1rem;
  background: transparent;
  font-family: var(--font-sans);
  color: var(--pkc-ink);
  outline: none;
}
.pkc-search-bar input::placeholder { color: var(--pkc-muted); }
.pkc-search-bar select {
  border: 0;
  border-left: 1px solid var(--pkc-line);
  padding: 12px 34px 12px 14px;
  font-size: .95rem;
  background: transparent;
  font-family: var(--font-sans);
  color: var(--pkc-ink);
  outline: none;
  cursor: pointer;
  min-width: 190px;
}
.pkc-search-bar:focus-within {
  border-color: var(--pkc-gold);
  box-shadow: 0 0 0 3px rgba(199,156,74,.16);
}
.pkc-finder-actions {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 8px;
}
.pkc-finder-actions .pkc-btn {
  min-height: 48px;
  padding: 10px 16px;
}
.pkc-network-picker {
  grid-column: 1 / -1;
  max-width: 520px;
  border-top: 1px solid var(--pkc-line);
  color: var(--pkc-body);
}
.pkc-network-picker summary {
  padding: 12px 2px 2px;
  color: var(--pkc-navy);
  font-size: .88rem;
  font-weight: 700;
  cursor: pointer;
}
.pkc-network-picker summary:focus-visible {
  outline: 2px solid var(--pkc-gold);
  outline-offset: 3px;
}
.pkc-network-options { padding-top: 8px; }
.pkc-network-options label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 2px 2px;
  cursor: pointer;
}
.pkc-network-options input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--pkc-navy);
}
.pkc-network-options span,
.pkc-network-options strong,
.pkc-network-options small { display: block; }
.pkc-network-options strong {
  color: var(--pkc-ink);
  font-size: .88rem;
}
.pkc-network-options small {
  color: var(--pkc-muted);
  font-size: .76rem;
  margin-top: 2px;
  line-height: 1.35;
}

@media (max-width: 600px) {
  .pkc-hero {
    padding: 58px 0 82px;
  }
  .pkc-hero .eyebrow {
    font-size: .72rem;
    letter-spacing: .14em;
  }
  .pkc-hero .eyebrow::before,
  .pkc-hero .eyebrow::after {
    width: 20px;
  }
  .pkc-hero h1 {
    font-size: 2.05rem;
  }
  .pkc-hero p.lead {
    font-size: 1.02rem;
  }
  .pkc-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 34px;
  }
  .pkc-stat .num {
    font-size: 1.95rem;
  }
  .pkc-stat .label {
    font-size: .66rem;
    letter-spacing: .09em;
  }
  .pkc-search-bar input {
    padding-left: 38px;
  }
  .pkc-search-bar select {
    min-width: 0;
    width: 100%;
    border-left: 0;
    border-top: 1px solid var(--pkc-line);
    padding: 11px 14px;
  }
}

/* ─── Buttons ───────────────────────────────────── */
.pkc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans); font-weight: 600; font-size: .95rem;
  cursor: pointer; border: 0; text-decoration: none;
  transition: all .15s ease;
}
.pkc-btn-primary {
  background: var(--pkc-gold); color: var(--pkc-navy);
}
.pkc-btn-primary:hover { background: var(--pkc-gold-light); color: var(--pkc-navy); transform: translateY(-1px); box-shadow: var(--shadow); }
.pkc-btn-secondary {
  background: var(--pkc-navy); color: white;
}
.pkc-btn-secondary:hover { background: var(--pkc-navy-dark); color: white; }
.pkc-btn-outline {
  background: transparent; color: var(--pkc-navy); border: 1.5px solid var(--pkc-navy);
}
.pkc-btn-outline:hover { background: var(--pkc-navy); color: white; }

/* ─── Map + results ─────────────────────────────── */
.pkc-map-wrap {
  grid-column: 1;
  grid-row: 2;
  min-width: 0;
  min-height: 600px;
  overflow: hidden;
  position: relative;
  background: var(--pkc-surface);
}
#pkc-map { width: 100%; height: 100%; }
.pkc-map-status {
  position: absolute;
  z-index: 400;
  left: 16px;
  bottom: 16px;
  max-width: calc(100% - 32px);
  background: rgba(255,255,255,.95);
  border: 1px solid var(--pkc-line);
  border-radius: var(--radius-sm);
  color: var(--pkc-body);
  box-shadow: var(--shadow-sm);
  padding: 8px 11px;
  font-size: .82rem;
}
.pkc-map-pin {
  background: transparent;
  border: 0;
}
.pkc-map-pin span {
  width: 24px;
  height: 24px;
  display: block;
  border-radius: 50%;
  background: var(--pkc-gold);
  border: 3px solid var(--pkc-navy);
  box-shadow: 0 2px 8px rgba(10,35,66,.32);
}
.pkc-map-pin span.partner {
  background: #4a1d7a;
  border-color: var(--pkc-gold);
}
.pkc-map-cluster {
  background: rgba(10,35,66,.18);
  border-radius: 50%;
}
.pkc-map-cluster span {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--pkc-navy);
  color: var(--pkc-gold-light);
  border: 3px solid var(--pkc-gold);
  font-weight: 700;
  font-size: .88rem;
  box-shadow: 0 4px 16px rgba(10,35,66,.28);
}
.pkc-results-panel {
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--pkc-line);
  background: var(--pkc-surface);
}

.pkc-results-meta {
  margin: 0;
  color: var(--pkc-muted);
  font-size: .9rem;
  padding: 12px 16px;
  border-bottom: 1px solid var(--pkc-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.pkc-results-summary { display: inline; }
.pkc-results-meta strong { color: var(--pkc-ink); margin: 0 2px; }
.pkc-results-meta #pkc-filter-info {
  margin-left: 6px;
  color: var(--pkc-navy);
  font-weight: 500;
}
.pkc-results-map-count {
  color: var(--pkc-navy);
  font-weight: 700;
  white-space: nowrap;
}
.pkc-network-suggestion {
  margin: 0 12px;
  padding: 11px 12px;
  border-bottom: 1px solid rgba(199,156,74,.3);
  background: var(--pkc-cream);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--pkc-body);
  font-size: .8rem;
  line-height: 1.4;
}
.pkc-network-suggestion[hidden] { display: none; }
.pkc-network-suggestion strong { color: var(--pkc-ink); }
.pkc-network-suggestion .pkc-btn {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 7px 10px;
  font-size: .76rem;
  background: white;
}

.pkc-list {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
  padding: 12px;
}
.pkc-list::-webkit-scrollbar { width: 6px; }
.pkc-list::-webkit-scrollbar-thumb { background: var(--pkc-line); border-radius: 3px; }

@media (max-width: 900px) {
  .pkc-directory { margin-top: -36px; }
  .pkc-finder-head,
  .pkc-directory-layout { grid-template-columns: 1fr; }
  .pkc-directory-layout { grid-template-rows: auto auto auto; }
  .pkc-finder-controls,
  .pkc-map-wrap,
  .pkc-results-panel {
    grid-column: 1;
    grid-row: auto;
  }
  .pkc-map-wrap { min-height: 58vh; }
  .pkc-results-panel {
    min-height: 0;
    border-left: 0;
    border-top: 1px solid var(--pkc-line);
  }
  .pkc-list { max-height: 420px; }
}

@media (max-width: 680px) {
  .pkc-directory { margin-top: -24px; padding-bottom: 52px; }
  .pkc-finder-head { padding: 18px; grid-template-columns: 1fr; gap: 10px; }
  .pkc-finder-controls { grid-template-columns: 1fr; padding: 12px; }
  .pkc-mode-row { justify-content: space-between; }
  .pkc-search-bar { flex-direction: column; }
  .pkc-search-bar::before { top: 24px; }
  .pkc-finder-actions { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pkc-finder-actions .pkc-btn { padding: 9px 8px; font-size: .86rem; }
  .pkc-results-meta { align-items: flex-start; flex-direction: column; gap: 3px; }
  .pkc-network-suggestion { align-items: flex-start; flex-direction: column; }
}

/* ─── Brother card ──────────────────────────────── */
.pkc-card {
  background: var(--pkc-surface);
  border: 1px solid var(--pkc-line);
  border-radius: var(--radius);
  padding: 18px 22px 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  position: relative;
  transition: all .18s ease;
  overflow: hidden;
  flex: 0 0 auto;
  min-height: 116px;
  text-decoration: none;
}
.pkc-card * {
  /* Only allow word-level wrapping inside cards, never break words mid-character */
  word-break: normal;
  overflow-wrap: break-word;
}
.pkc-card::before {
  content: '';
  position: absolute; top: 0; bottom: 0; left: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--pkc-gold) 0%, var(--pkc-gold-light) 100%);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .2s ease;
}
.pkc-card:hover {
  border-color: var(--pkc-gold);
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}
.pkc-card:hover::before { transform: scaleY(1); }
.pkc-card--partner::before {
  background: #4a1d7a;
  transform: scaleY(1);
}
.pkc-card-body {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.pkc-card-chev {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--pkc-cream);
  color: var(--pkc-navy);
  font-size: 1rem;
  font-weight: 600;
  opacity: 0;
  transform: translateX(-6px);
  transition: all .18s ease;
}
.pkc-card:hover .pkc-card-chev {
  opacity: 1;
  transform: translateX(0);
  background: var(--pkc-gold);
}
.pkc-card-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--pkc-ink);
  font-weight: 600;
  margin: 0 0 5px;
  line-height: 1.35;
  overflow: visible;
}
.pkc-card-practice {
  color: var(--pkc-navy);
  font-weight: 500;
  font-size: .92rem;
  margin-bottom: 6px;
  line-height: 1.4;
  display: block;
}
.pkc-card-practice--muted {
  color: var(--pkc-muted);
  font-weight: 400;
  font-style: italic;
  font-size: .88rem;
}
.pkc-card-location {
  color: var(--pkc-muted);
  font-size: .85rem;
  margin-bottom: 0;
  display: flex; align-items: flex-start; gap: 6px;
  line-height: 1.4;
}
.pkc-card-location .pkc-pin {
  flex-shrink: 0;
  color: var(--pkc-gold);
  font-size: .85rem;
  margin-top: 1px;
}
.pkc-card-meta {
  display: flex;
  gap: 10px;
  font-size: .78rem;
  color: var(--pkc-muted);
  flex-wrap: wrap;
  align-items: center;
  margin-top: 8px;
}
.pkc-card-meta a { color: var(--pkc-navy); font-weight: 500; }
.pkc-card-meta-empty {
  font-style: italic;
  font-size: .78rem;
  color: var(--pkc-muted);
}
.pkc-distance {
  color: var(--pkc-navy);
  font-weight: 600;
}
.pkc-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--pkc-cream);
  color: var(--pkc-navy);
  font-size: .68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid rgba(199,156,74,.25);
}
.pkc-badge.gold {
  background: var(--pkc-gold);
  color: var(--pkc-navy);
  border-color: var(--pkc-gold);
}
.pkc-badge.network {
  background: #f2ecf8;
  border-color: rgba(74,29,122,.3);
  color: #4a1d7a;
}

/* ─── Profile page ──────────────────────────────── */
.pkc-profile-hero {
  background: linear-gradient(135deg, var(--pkc-navy) 0%, var(--pkc-navy-dark) 100%);
  color: white;
  padding: 60px 0 50px;
  position: relative;
  border-bottom: 3px solid var(--pkc-gold);
}
.pkc-profile-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 20% 30%, rgba(199,156,74,.12) 0%, transparent 50%);
  pointer-events: none;
}
.pkc-profile-hero .container { position: relative; z-index: 1; }
.pkc-profile-hero .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--pkc-gold); text-transform: uppercase; font-size: .8rem;
  letter-spacing: .14em; font-weight: 600;
}
.pkc-profile-hero .eyebrow::before {
  content: '◆'; color: var(--pkc-gold); font-size: .7rem;
}
.pkc-profile-hero h1 { color: white; margin: 10px 0 8px; }
.pkc-profile-hero .practice-name {
  font-size: 1.3rem;
  color: var(--pkc-gold-light);
  margin-bottom: 16px;
  font-family: var(--font-serif);
  font-weight: 500;
}
.pkc-profile-hero p { color: rgba(255,255,255,.85); }

.pkc-profile-body { padding: 50px 0 30px; }
.pkc-profile-grid { display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: start; }
@media (max-width: 900px) { .pkc-profile-grid { grid-template-columns: 1fr; } }
.pkc-profile-grid h2 {
  font-size: 1.6rem;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--pkc-line);
}
.pkc-profile-grid p { line-height: 1.7; color: var(--pkc-body); }

.pkc-info-card {
  background: var(--pkc-surface);
  border: 1px solid var(--pkc-line);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
}
.pkc-info-card h3 {
  font-size: .8rem; color: var(--pkc-muted); text-transform: uppercase;
  letter-spacing: .1em; margin-bottom: 14px; font-family: var(--font-sans); font-weight: 600;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--pkc-line);
}
.pkc-info-card dl { margin: 0; }
.pkc-info-card .row {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--pkc-line);
  font-size: .92rem;
  word-wrap: break-word;
  overflow-wrap: anywhere;
}
.pkc-info-card .row:last-child { border-bottom: 0; padding-bottom: 0; }
.pkc-info-card .row dt {
  color: var(--pkc-muted);
  flex: 0 0 80px;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-weight: 600;
  padding-top: 2px;
}
.pkc-info-card .row dd {
  margin: 0;
  color: var(--pkc-ink);
  font-weight: 500;
  flex: 1;
  min-width: 0;
  line-height: 1.5;
}
.pkc-info-card .row dd a { color: var(--pkc-navy); word-break: break-word; }
.pkc-info-card .row dd a:hover { color: var(--pkc-gold); }

.pkc-mini-map { height: 280px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--pkc-line); margin-bottom: 16px; }

.pkc-related h2 { font-size: 1.4rem; margin-bottom: 16px; }
.pkc-related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }

/* ─── Section + headings ────────────────────────── */
.pkc-section { padding: 70px 0; }
.pkc-section.alt { background: var(--pkc-cream); }
.pkc-section h2 { text-align: center; margin-bottom: 14px; }
.pkc-section .section-lead { text-align: center; max-width: 620px; margin: 0 auto 44px; color: var(--pkc-muted); font-size: 1.05rem; line-height: 1.6; }

/* ─── About / Fraternity intro ───────────────────── */
.pkc-about-intro {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 56px;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 900px) { .pkc-about-intro { grid-template-columns: 1fr; gap: 32px; } }
.pkc-about-intro .eyebrow {
  display: inline-block;
  color: var(--pkc-gold);
  text-transform: uppercase;
  font-size: .78rem;
  letter-spacing: 0.16em;
  font-weight: 600;
  margin-bottom: 12px;
}
.pkc-about-intro h2 { text-align: left; margin-bottom: 18px; font-size: clamp(1.7rem, 2.6vw, 2.2rem); }
.pkc-about-intro .lead { font-size: 1.08rem; color: var(--pkc-ink); line-height: 1.65; }
.pkc-about-intro p { color: var(--pkc-body); line-height: 1.7; }
.pkc-link-strong {
  color: var(--pkc-navy);
  font-weight: 600;
  border-bottom: 1px solid var(--pkc-gold);
  padding-bottom: 1px;
}
.pkc-link-strong:hover { color: var(--pkc-gold); }

.pkc-principles {
  background: var(--pkc-cream);
  border: 1px solid rgba(199,156,74,.25);
  border-radius: var(--radius);
  padding: 28px 28px 24px;
  position: relative;
}
.pkc-principles::before {
  content: '◆';
  position: absolute;
  top: -14px;
  left: 28px;
  background: var(--pkc-cream);
  color: var(--pkc-gold);
  padding: 0 8px;
  font-size: 1rem;
}
.pkc-principles h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--pkc-ink);
  margin-bottom: 14px;
}
.pkc-principles ul {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
}
.pkc-principles li {
  font-size: .94rem;
  color: var(--pkc-body);
  line-height: 1.55;
  padding: 8px 0;
  border-bottom: 1px solid rgba(199,156,74,.15);
}
.pkc-principles li:last-child { border-bottom: 0; }
.pkc-principles li strong { color: var(--pkc-ink); font-family: var(--font-serif); font-weight: 600; }
.pkc-chapter-list strong {
  display: block;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--pkc-muted);
  margin-bottom: 10px;
}
.pkc-chip {
  display: inline-block;
  background: var(--pkc-surface);
  color: var(--pkc-ink);
  font-size: .82rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--pkc-line);
  margin: 4px 4px 4px 0;
}

/* ─── Brother in town callout ───────────────────── */
.pkc-in-town-callout {
  background: var(--pkc-cream);
  border-top: 1px solid rgba(199, 156, 74, .28);
  border-bottom: 1px solid rgba(199, 156, 74, .36);
  padding: 34px 0;
}
.pkc-in-town-inner {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
}
.pkc-in-town-mark {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid var(--pkc-gold);
  background: var(--pkc-navy);
  color: var(--pkc-gold-light);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1rem;
}
.pkc-in-town-copy .eyebrow {
  display: block;
  margin-bottom: 4px;
  color: #76591f;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.pkc-in-town-copy h2 {
  margin: 0 0 4px;
  font-size: 1.65rem;
}
.pkc-in-town-copy p {
  max-width: 760px;
  margin: 0;
  color: var(--pkc-body);
  font-size: .95rem;
}
@media (max-width: 760px) {
  .pkc-in-town-inner { grid-template-columns: 52px minmax(0, 1fr); gap: 16px; }
  .pkc-in-town-mark { width: 52px; height: 52px; font-size: .85rem; }
  .pkc-in-town-copy h2 { font-size: 1.4rem; }
  .pkc-in-town-inner .pkc-btn { grid-column: 1 / -1; width: 100%; }
}

/* ─── Brother spotlight ─────────────────────────── */
.pkc-brother-spotlight {
  background: var(--pkc-navy);
  color: white;
  border-top: 3px solid var(--pkc-gold);
  border-bottom: 3px solid var(--pkc-gold);
  padding: 34px 0;
}
.pkc-spotlight-inner {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) minmax(190px, 260px) auto;
  gap: 26px;
  align-items: center;
}
.pkc-spotlight-monogram {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--pkc-gold);
  border-radius: 50%;
  color: var(--pkc-gold-light);
  background: var(--pkc-ink);
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 800;
}
.pkc-spotlight-kicker {
  display: block;
  margin-bottom: 5px;
  color: var(--pkc-gold-light);
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.pkc-spotlight-copy h2 {
  color: white;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  line-height: 1.2;
  margin: 0 0 7px;
  padding-bottom: 3px;
  overflow: visible;
}
.pkc-spotlight-copy p {
  max-width: 650px;
  margin: 0;
  color: rgba(255,255,255,.78);
  font-size: .96rem;
  line-height: 1.55;
}
.pkc-spotlight-details {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 24px;
  border-left: 1px solid rgba(232,210,157,.35);
}
.pkc-spotlight-details div { min-width: 0; }
.pkc-spotlight-details dt {
  color: var(--pkc-gold-light);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.pkc-spotlight-details dd {
  margin: 1px 0 0;
  color: white;
  font-size: .9rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.pkc-spotlight-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--pkc-gold);
  color: var(--pkc-navy);
  font-size: .88rem;
  font-weight: 700;
  white-space: nowrap;
}
.pkc-spotlight-link:hover {
  background: var(--pkc-gold-light);
  color: var(--pkc-navy);
}
@media (max-width: 920px) {
  .pkc-spotlight-inner { grid-template-columns: 64px minmax(0, 1fr); }
  .pkc-spotlight-monogram { width: 64px; height: 64px; }
  .pkc-spotlight-details,
  .pkc-spotlight-link { grid-column: 2; }
  .pkc-spotlight-details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 16px 0 0;
    border-left: 0;
    border-top: 1px solid rgba(232,210,157,.35);
  }
  .pkc-spotlight-link { justify-self: start; }
}
@media (max-width: 560px) {
  .pkc-brother-spotlight { padding: 28px 0; }
  .pkc-spotlight-inner { grid-template-columns: 52px minmax(0, 1fr); gap: 16px; }
  .pkc-spotlight-monogram { width: 52px; height: 52px; font-size: 1.05rem; }
  .pkc-spotlight-copy h2 { font-size: 1.55rem; }
  .pkc-spotlight-copy p,
  .pkc-spotlight-details,
  .pkc-spotlight-link { grid-column: 1 / -1; }
  .pkc-spotlight-details { grid-template-columns: 1fr; }
  .pkc-spotlight-link { width: 100%; }
}

/* ─── Trust strip ───────────────────────────────── */
.pkc-trust-strip {
  background: var(--pkc-surface);
  border-bottom: 1px solid var(--pkc-line);
  padding: 28px 0;
}
.pkc-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
@media (max-width: 760px) { .pkc-trust-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
.pkc-trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.pkc-trust-icon {
  width: 36px; height: 36px;
  background: var(--pkc-cream);
  color: var(--pkc-navy);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  border: 1px solid rgba(199,156,74,.25);
}
.pkc-trust-label { font-size: .8rem; color: var(--pkc-muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.pkc-trust-value { font-family: var(--font-serif); font-size: 1.05rem; color: var(--pkc-ink); font-weight: 600; }

/* ─── How it works (trust block) ────────────────── */
.pkc-how {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1000px;
  margin: 0 auto;
}
@media (max-width: 800px) { .pkc-how { grid-template-columns: 1fr; } }
.pkc-how-step {
  background: var(--pkc-surface);
  border: 1px solid var(--pkc-line);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
  text-align: left;
}
.pkc-how-step .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  background: var(--pkc-navy);
  color: var(--pkc-gold);
  border-radius: 50%;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 14px;
}
.pkc-how-step h3 { margin-bottom: 6px; font-size: 1.15rem; }
.pkc-how-step p { font-size: .95rem; color: var(--pkc-body); margin: 0; }

/* ─── Submission form ───────────────────────────── */
.pkc-form-wrap { max-width: 680px; margin: 0 auto; }
.pkc-form-card {
  background: var(--pkc-surface);
  border: 1px solid var(--pkc-line);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.pkc-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
@media (max-width: 600px) { .pkc-form-grid { grid-template-columns: 1fr; } }
.pkc-form label { display: flex; min-width: 0; flex-direction: column; gap: 6px; font-size: .92rem; color: var(--pkc-ink); font-weight: 500; }
.pkc-form input, .pkc-form textarea, .pkc-form select {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--pkc-line);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-size: 1rem;
  font-family: var(--font-sans);
  background: var(--pkc-surface);
  color: var(--pkc-ink);
  transition: border-color .15s ease;
}
.pkc-form input:focus, .pkc-form textarea:focus, .pkc-form select:focus {
  outline: none; border-color: var(--pkc-gold);
}
.pkc-form textarea { resize: vertical; min-height: 100px; }
.pkc-form .full { grid-column: 1 / -1; }
.pkc-form-section {
  margin: 4px 0 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--pkc-line);
}
.pkc-form-section h2 { margin: 0 0 4px; font-size: 1.35rem; }
.pkc-form-section p { margin: 0; color: var(--pkc-muted); font-size: .9rem; }
.pkc-form-required { color: #8a2d2d; }
.pkc-form-note { font-size: .85rem; color: var(--pkc-muted); margin-top: 12px; }
.pkc-form button[disabled] {
  opacity: .72;
  cursor: wait;
  transform: none;
}
.pkc-form-status {
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid var(--pkc-border);
  background: var(--pkc-paper);
  color: var(--pkc-body);
  border-radius: 8px;
  font-size: .94rem;
  line-height: 1.55;
}
.pkc-form-status--success {
  border-color: rgba(21, 128, 61, .28);
  background: rgba(21, 128, 61, .08);
  color: #14532d;
}
.pkc-form-status--error {
  border-color: rgba(185, 28, 28, .28);
  background: rgba(185, 28, 28, .08);
  color: #7f1d1d;
}
@media (max-width: 600px) {
  .pkc-form-card { padding: 26px 20px; }
}

/* ─── Footer ─────────────────────────────────────── */
.pkc-footer {
  background: var(--pkc-navy-dark);
  color: rgba(255,255,255,.7);
  padding: 50px 0 30px;
  margin-top: 60px;
  font-size: .9rem;
}
.pkc-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 30px; }
@media (max-width: 768px) { .pkc-footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; } }
.pkc-footer h4 { color: white; font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; font-family: var(--font-sans); margin-bottom: 12px; }
.pkc-footer a { color: rgba(255,255,255,.7); display: block; padding: 4px 0; }
.pkc-footer a:hover { color: var(--pkc-gold-light); }
.pkc-footer-brand p { color: rgba(255,255,255,.85); }
.pkc-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.15);
  padding-top: 20px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  font-size: .85rem; color: rgba(255,255,255,.55);
}

/* ─── Utility ────────────────────────────────────── */
.pkc-empty {
  text-align: center; padding: 60px 20px; color: var(--pkc-muted);
}
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.pkc-form input.visually-hidden { width: 1px; min-width: 1px; }

/* ─── Page hero (non-home) ──────────────────────── */
.pkc-page-hero {
  background: var(--pkc-navy);
  color: white;
  padding: 50px 0;
  border-bottom: 3px solid var(--pkc-gold);
}
.pkc-page-hero h1 { color: white; margin-bottom: 8px; }
.pkc-page-hero p { color: rgba(255,255,255,.8); max-width: 600px; }
.pkc-breadcrumb { color: rgba(255,255,255,.6); font-size: .85rem; margin-bottom: 12px; }
.pkc-breadcrumb a { color: var(--pkc-gold-light); }

/* ─── Leaflet map marker styling ─────────────────── */
.leaflet-popup-content {
  margin: 12px 14px;
  font-family: var(--font-sans);
}
.leaflet-popup-content h4 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-family: var(--font-serif);
  color: var(--pkc-ink);
}
.leaflet-popup-content p { margin: 0 0 4px; font-size: .88rem; color: var(--pkc-body); }
.leaflet-popup-content a { color: var(--pkc-navy); font-weight: 600; font-size: .88rem; }
