/* ============================================================
   PyHo 2026 — about.css
   Page-specific styles for pages/about.html only.
   base.css is always loaded before this file.
   ============================================================ */


/* ── PAGE HERO OVERRIDES ── */
/* The about page hero carries a subtle mountain texture */
.page-hero-about {
  background: var(--forest);
}

.page-hero-about::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}


/* ── IN-PAGE SECTION NAV (anchor tabs) ── */
.about-subnav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: var(--nav-h);
  z-index: 50;
}

.about-subnav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-5);
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none; /* Firefox */
}

.about-subnav-inner::-webkit-scrollbar { display: none; }

.about-subnav-inner a {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  padding: 14px 16px;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
  letter-spacing: 0.01em;
}

.about-subnav-inner a:hover {
  color: var(--forest);
  border-bottom-color: var(--border);
}

.about-subnav-inner a.active {
  color: var(--forest);
  border-bottom-color: var(--yellow);
}


/* ── INTRO SECTION ── */
/* Two-col: big pull-quote left, overview right */
.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.about-pull-quote {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  color: var(--forest);
  line-height: 1.3;
  position: relative;
  padding-left: var(--sp-5);
}

.about-pull-quote::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 3px;
  background: var(--yellow);
  border-radius: 2px;
}

.about-intro-body p {
  margin-bottom: var(--sp-4);
}

.about-intro-body p:last-child {
  margin-bottom: 0;
}


/* ── STATS BAND ── */
.stats-band {
  background: var(--forest);
  padding: var(--sp-7) var(--sp-5);
}

.stats-band-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-5);
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-4);
}

.stat-item + .stat-item {
  border-left: 1px solid rgba(255,255,255,0.10);
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 700;
  color: var(--yellow);
  line-height: 1;
}

.stat-label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}


/* ── VALUES / PILLARS ── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
  margin-top: var(--sp-6);
}

.value-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.value-icon {
  width: 44px;
  height: 44px;
  background: var(--sage);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.value-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--forest);
  fill: none;
  stroke-width: 1.8;
}

.value-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--forest);
}

.value-card p {
  font-size: 14px;
  color: var(--ink-light);
  line-height: 1.65;
}


/* ── PSF SECTION ── */
.psf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.psf-logo-block {
  background: var(--sage);
  border-radius: var(--radius-lg);
  padding: var(--sp-7) var(--sp-6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  text-align: center;
  border: 1px solid var(--border);
  min-height: 240px;
}

.psf-logo-wordmark {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--forest);
  letter-spacing: -0.01em;
}

.psf-logo-wordmark span {
  color: var(--yellow);
  /* Yellow accent on PSF text to match branding */
  background: var(--forest);
  padding: 2px 6px;
  border-radius: 4px;
}

.psf-logo-sub {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.psf-copy h2 {
  margin-bottom: var(--sp-4);
}

.psf-copy p {
  margin-bottom: var(--sp-4);
}

.psf-copy p:last-of-type {
  margin-bottom: var(--sp-5);
}


/* ── CODE OF CONDUCT ── */
.coc-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  margin-bottom: var(--sp-7);
}

.coc-principles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-3);
  margin-top: var(--sp-6);
}

.coc-principle {
  background: var(--sage);
  border-radius: var(--radius-md);
  padding: var(--sp-4);
  border-left: 3px solid var(--forest);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.coc-principle h4 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--forest);
}

.coc-principle p {
  font-size: 13.5px;
  color: var(--ink-light);
  line-height: 1.6;
}

/* Report block */
.coc-report-block {
  background: var(--forest);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  margin-top: var(--sp-6);
  display: flex;
  gap: var(--sp-6);
  align-items: center;
  flex-wrap: wrap;
}

.coc-report-block h3 {
  color: var(--white);
  margin-bottom: var(--sp-2);
}

.coc-report-block p {
  color: rgba(255,255,255,0.62);
  font-size: 14.5px;
}

.coc-report-block .btn {
  flex-shrink: 0;
}


/* ── D&I SECTION ── */
.di-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.di-initiatives {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-top: var(--sp-4);
}

.di-item {
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
  padding: var(--sp-4);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.di-item-icon {
  width: 40px;
  height: 40px;
  background: var(--sage);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.di-item-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--forest);
  fill: none;
  stroke-width: 1.8;
}

.di-item h4 {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--forest);
  margin-bottom: var(--sp-1);
}

.di-item p {
  font-size: 13.5px;
  color: var(--ink-light);
  line-height: 1.6;
}


/* ── HEALTH & SAFETY ── */
.hs-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
  margin-top: var(--sp-6);
}

.hs-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.hs-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hs-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke-width: 1.8;
}

.hs-icon-green  { background: var(--sage); }
.hs-icon-green svg  { stroke: var(--forest); }
.hs-icon-yellow { background: rgba(255,212,59,0.15); }
.hs-icon-yellow svg { stroke: #92700A; }
.hs-icon-blue   { background: rgba(37,99,235,0.08); }
.hs-icon-blue svg   { stroke: #1D4ED8; }

.hs-card h3 {
  font-size: 17px;
}

.hs-card p {
  font-size: 14px;
  line-height: 1.65;
}

/* Emergency contacts block */
.hs-contact-block {
  background: var(--sage);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
  margin-top: var(--sp-5);
  border: 1px solid var(--border);
}

.hs-contact-block h4 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--forest);
  margin-bottom: var(--sp-3);
}

.hs-contact-row {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-2) 0;
  border-bottom: 1px solid var(--border);
}

.hs-contact-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.hs-contact-label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  width: 120px;
  flex-shrink: 0;
}

.hs-contact-value {
  font-size: 14px;
  color: var(--ink-light);
}


/* ── ORGANIZERS SECTION ── */
.organizers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
  margin-top: var(--sp-6);
}

.organizer-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-3);
  transition: transform 0.18s, box-shadow 0.18s;
}

.organizer-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.organizer-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--sage);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.organizer-avatar svg {
  width: 36px;
  height: 36px;
  stroke: var(--stone);
  fill: none;
  stroke-width: 1.4;
}

.organizer-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--forest);
  line-height: 1.25;
}

.organizer-role {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.organizer-socials {
  display: flex;
  gap: var(--sp-2);
  justify-content: center;
}

.organizer-socials a {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, border-color 0.15s;
}

.organizer-socials a:hover {
  background: var(--sage);
  border-color: var(--forest);
}

.organizer-socials svg {
  width: 13px;
  height: 13px;
  fill: var(--muted);
  transition: fill 0.15s;
}

.organizer-socials a:hover svg {
  fill: var(--forest);
}


/* ── FAQ SECTION ── */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-3);
  margin-top: var(--sp-6);
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: var(--sp-4) var(--sp-5);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--forest);
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  line-height: 1.3;
  transition: background 0.12s;
}

.faq-question:hover {
  background: var(--sage);
}

.faq-question[aria-expanded="true"] {
  background: var(--sage);
  border-bottom: 1px solid var(--border);
}

.faq-chevron {
  width: 16px;
  height: 16px;
  stroke: var(--forest);
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
  transition: transform 0.22s;
}

.faq-question[aria-expanded="true"] .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease, padding 0.28s ease;
}

.faq-answer.open {
  max-height: 400px;
}

.faq-answer-inner {
  padding: var(--sp-4) var(--sp-5);
}

.faq-answer-inner p {
  font-size: 14.5px;
  color: var(--ink-light);
  line-height: 1.7;
}

.faq-answer-inner p + p {
  margin-top: var(--sp-3);
}

.faq-answer-inner a {
  color: var(--forest);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}


/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .organizers-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-band-inner { grid-template-columns: repeat(2, 1fr); gap: var(--sp-4); }
}

@media (max-width: 900px) {
  .about-intro-grid  { grid-template-columns: 1fr; gap: var(--sp-5); }
  .psf-grid          { grid-template-columns: 1fr; gap: var(--sp-5); }
  .coc-intro         { grid-template-columns: 1fr; gap: var(--sp-5); }
  .di-grid           { grid-template-columns: 1fr; gap: var(--sp-5); }
  .values-grid       { grid-template-columns: 1fr 1fr; }
  .hs-cards          { grid-template-columns: 1fr 1fr; }
  .faq-grid          { grid-template-columns: 1fr; }
  .coc-principles    { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .about-subnav-inner { padding: 0 var(--sp-4); }
  .about-subnav-inner a { font-size: 12.5px; padding: 12px 12px; }
  .stats-band-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-item + .stat-item { border-left: none; border-top: 1px solid rgba(255,255,255,0.10); }
  .organizers-grid { grid-template-columns: repeat(2, 1fr); }
  .hs-cards { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .coc-report-block { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .stats-band-inner { grid-template-columns: 1fr 1fr; }
  .organizers-grid { grid-template-columns: 1fr 1fr; }
}
