/* Provenance Hall — company / about (independent of prior ambe traders topo-map about pages) */

.page-provenance-hall {
  --ph-ink: #121820;
  --ph-muted: #5A6570;
  --ph-paper: #EEF2F5;
  --ph-panel: #FBFDFF;
  --ph-line: rgba(18, 24, 32, 0.1);
  --ph-clay: #1F6F6A;
  --ph-inkblue: #17324D;
  --ph-gold: #C9A227;
  --ph-shadow: 0 20px 48px rgba(18, 24, 32, 0.08);
  --ph-display: 'Cormorant Garamond', Georgia, serif;
  --ph-body: 'Hind', system-ui, sans-serif;
  background:
    radial-gradient(700px 420px at 0% 0%, rgba(31, 111, 106, 0.12), transparent 55%),
    radial-gradient(640px 380px at 100% 10%, rgba(23, 50, 77, 0.1), transparent 50%),
    linear-gradient(175deg, #DDE5EC 0%, var(--ph-paper) 40%, #E6ECF1 100%) !important;
  padding-right: var(--a75-beam-w, 4.75rem);
  font-family: var(--ph-body);
  color: var(--ph-ink);
}

.ph-hall {
  position: relative;
  padding: 1.15rem 0 3.5rem;
  overflow: clip;
}

.ph-veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 71px,
      rgba(18, 24, 32, 0.03) 71px,
      rgba(18, 24, 32, 0.03) 72px
    );
  mask-image: linear-gradient(180deg, #000 0%, transparent 80%);
}

.ph-frame {
  position: relative;
  z-index: 1;
  width: min(1000px, calc(100% - 1.4rem));
  margin: 0 auto;
  display: grid;
  gap: 1.35rem;
}

.ph-crumb {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ph-muted);
}
.ph-crumb a {
  color: var(--ph-muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.ph-crumb a:hover {
  color: var(--ph-clay);
  border-bottom-color: rgba(140, 74, 47, 0.4);
}
.ph-crumb a + span::before {
  content: '·';
  margin-right: 0.55rem;
  color: #B0A79C;
}

/* Mast */
.ph-mast {
  padding: 0.25rem 0 0.5rem;
}
.ph-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ph-clay);
}
.ph-mast h1 {
  margin: 0;
  font-family: var(--ph-display);
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.ph-tagline {
  margin: 0.65rem 0 0;
  max-width: 48ch;
  color: var(--ph-muted);
  font-size: 1.1rem;
  line-height: 1.55;
}

/* Mission quote band */
.ph-mission {
  margin: 0;
  padding: 1.6rem 1.5rem 1.7rem;
  border-radius: 0 28px 28px 0;
  border-left: 5px solid var(--ph-gold);
  background: var(--ph-inkblue);
  color: #fff;
  box-shadow: var(--ph-shadow);
  animation: phRise 0.5s ease both;
}
.ph-mission-label {
  margin: 0 0 0.55rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ph-gold);
}
.ph-mission-text {
  margin: 0;
  font-family: var(--ph-display);
  font-size: clamp(1.45rem, 3.2vw, 2rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.25;
  letter-spacing: -0.01em;
  max-width: 28ch;
}
.ph-mission-aside {
  margin: 0.9rem 0 0;
  max-width: 52ch;
  color: rgba(255,255,255,0.72);
  font-size: 0.95rem;
  line-height: 1.5;
  font-style: normal;
}

@keyframes phRise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

/* Stats */
.ph-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
}
.ph-stat {
  padding: 1rem 0.9rem;
  border-radius: 18px;
  background: var(--ph-panel);
  border: 1px solid var(--ph-line);
  box-shadow: var(--ph-shadow);
  text-align: center;
}
.ph-stat strong {
  display: block;
  font-family: var(--ph-display);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--ph-clay);
}
.ph-stat span {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ph-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* History spine */
.ph-history {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
  gap: 1.25rem;
  align-items: start;
  padding: 1.35rem 1.25rem;
  border-radius: 28px;
  background: var(--ph-panel);
  border: 1px solid var(--ph-line);
  box-shadow: var(--ph-shadow);
}
.ph-history-intro h2 {
  margin: 0 0 0.55rem;
  font-family: var(--ph-display);
  font-size: 2rem;
  font-weight: 600;
}
.ph-history-intro p {
  margin: 0;
  color: var(--ph-muted);
  line-height: 1.55;
}

.ph-spine {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-left: 2px solid rgba(31, 111, 106, 0.3);
}
.ph-spine-item {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 0.85rem;
  padding: 0.85rem 0 0.85rem 1rem;
  position: relative;
}
.ph-spine-item::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 1.2rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ph-clay);
  box-shadow: 0 0 0 3px rgba(31, 111, 106, 0.18);
}
.ph-spine-year {
  font-family: var(--ph-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ph-gold);
  line-height: 1.1;
}
.ph-spine-item strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.2rem;
}
.ph-spine-item p {
  margin: 0;
  color: var(--ph-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

/* Values manifesto */
.ph-values-head h2 {
  margin: 0;
  font-family: var(--ph-display);
  font-size: 2rem;
  font-weight: 600;
}
.ph-values-head p {
  margin: 0.35rem 0 0;
  color: var(--ph-muted);
}

.ph-manifesto {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0.85rem;
}
.ph-value {
  padding: 1.25rem 1.15rem 1.3rem;
  border-radius: 22px;
  background: var(--ph-panel);
  border: 1px solid var(--ph-line);
  box-shadow: var(--ph-shadow);
  position: relative;
  overflow: hidden;
  animation: phRise 0.45s ease both;
  animation-delay: calc(var(--ph-i, 0) * 0.06s);
}
.ph-value:nth-child(even) {
  background: linear-gradient(145deg, #FBFDFF, #E8F0F2);
}
.ph-value-num {
  position: absolute;
  top: 0.65rem;
  right: 0.85rem;
  font-family: var(--ph-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: rgba(31, 111, 106, 0.12);
  line-height: 1;
}
.ph-value h3 {
  margin: 0 0 0.4rem;
  font-family: var(--ph-display);
  font-size: 1.45rem;
  font-weight: 600;
}
.ph-value p {
  margin: 0;
  color: var(--ph-muted);
  line-height: 1.45;
  max-width: 32ch;
}

/* Aisle mosaic */
.ph-aisles-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
}
.ph-aisles-head h2 {
  margin: 0;
  font-family: var(--ph-display);
  font-size: 2rem;
  font-weight: 600;
}
.ph-aisles-head a {
  font-weight: 700;
  color: var(--ph-clay);
  text-decoration: none;
  border-bottom: 1px solid rgba(140, 74, 47, 0.35);
}

.ph-mosaic {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.ph-mosaic a {
  display: inline-flex;
  padding: 0.65rem 0.95rem;
  border-radius: 999px;
  background: var(--ph-inkblue);
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 0.92rem;
  transition: transform 0.2s ease, background 0.2s ease;
}
.ph-mosaic a:hover {
  transform: translateY(-2px);
  background: var(--ph-clay);
}

/* Legal dossier folds */
.ph-dossier-head h2 {
  margin: 0;
  font-family: var(--ph-display);
  font-size: 2rem;
  font-weight: 600;
}
.ph-dossier-head p {
  margin: 0.35rem 0 0;
  color: var(--ph-muted);
}

.ph-folds {
  margin-top: 0.75rem;
  display: grid;
  gap: 0.5rem;
}
.ph-fold {
  border-radius: 16px;
  background: var(--ph-panel);
  border: 1px solid var(--ph-line);
  box-shadow: var(--ph-shadow);
  overflow: hidden;
}
.ph-fold summary {
  cursor: pointer;
  list-style: none;
  padding: 0.95rem 1.15rem;
  font-family: var(--ph-display);
  font-size: 1.25rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ph-fold summary::-webkit-details-marker { display: none; }
.ph-fold summary::after {
  content: '+';
  font-family: var(--ph-body);
  color: var(--ph-clay);
  font-weight: 700;
}
.ph-fold[open] summary::after { content: '–'; }

.ph-dl {
  margin: 0;
  padding: 0 1.15rem 1.15rem;
  display: grid;
  gap: 0.55rem;
}
.ph-dl div {
  display: grid;
  grid-template-columns: 11rem 1fr;
  gap: 0.75rem;
  padding: 0.55rem 0;
  border-top: 1px solid var(--ph-line);
}
.ph-dl dt {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ph-muted);
}
.ph-dl dd {
  margin: 0;
  font-weight: 600;
  line-height: 1.4;
  word-break: break-word;
}

/* Reach */
.ph-reach {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}
.ph-reach-card {
  padding: 1rem 1.05rem;
  border-radius: 18px;
  background: var(--ph-panel);
  border: 1px solid var(--ph-line);
  display: grid;
  gap: 0.25rem;
}
.ph-reach-card span {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ph-muted);
}
.ph-reach-card a,
.ph-reach-card strong {
  font-weight: 700;
  color: var(--ph-ink);
  text-decoration: none;
  word-break: break-word;
}
.ph-reach-card a:hover { color: var(--ph-clay); }

.ph-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.ph-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  text-decoration: none !important;
  transition: transform 0.2s ease, background 0.2s ease;
}
.ph-btn:hover { transform: translateY(-2px); }
.ph-btn--primary {
  background: var(--ph-clay);
  color: #fff !important;
  box-shadow: 0 12px 28px rgba(31, 111, 106, 0.28);
}
.ph-btn--ghost {
  background: var(--ph-panel);
  color: var(--ph-ink) !important;
  border: 1px solid var(--ph-line);
}

@media (max-width: 900px) {
  .page-provenance-hall { padding-right: 0; }
  .ph-history,
  .ph-manifesto { grid-template-columns: 1fr; }
  .ph-stats,
  .ph-reach { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .ph-stats,
  .ph-reach { grid-template-columns: 1fr; }
  .ph-dl div { grid-template-columns: 1fr; gap: 0.2rem; }
  .ph-spine-item { grid-template-columns: 3.5rem 1fr; }
  .ph-mast h1 { font-size: 2.2rem; }
  .ph-mission { border-radius: 0 20px 20px 0; }
}
