/* =====================================================
   Presence Practice - Brand stylesheet
   Discretion. Integrity. Impact.
   ===================================================== */

:root {
  /* Brand palette */
  --pp-teal: #1a5c4f; /* Deep Teal Green - primary */
  --pp-teal-deep: #0f3d33; /* Hero/footer near-black teal */
  --pp-teal-soft: #e8f2ef; /* Light teal background */
  --pp-sage: #dce8e0; /* Light sage support */
  --pp-gold: #c1a24a; /* Gold accent - premium */
  --pp-cream: #f6f3ec; /* Warm off-white */
  --pp-paper: #fafaf7; /* Page off-white */
  --pp-slate: #5f7f7f; /* Slate grey-blue */
  --pp-charcoal: #2e2e2a; /* Primary near-black */
  --pp-grey: #5f5e5a; /* Secondary grey */
  --pp-grey-line: #e5e3dd; /* Divider grey */
  --pp-au-blue: #1a3c6e; /* Australia geo accent */
  --pp-au-blue-bg: #e5ecf5;

  /* Type */
  --ff-sans: "Helvetica Neue", Helvetica, Arial, sans-serif;

  /* Layout */
  --content-max: 1240px;
  --gutter: 32px;
}

* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--ff-sans);
  font-weight: 400;
  color: var(--pp-charcoal);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.55;
  font-size: 16px;
}

img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font-family: inherit;
  cursor: pointer;
}

h1,
h2,
h3,
h4,
h5 {
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--pp-charcoal);
}
h1 {
  font-size: clamp(40px, 5.4vw, 68px);
  letter-spacing: -0.025em;
}
h2 {
  font-size: clamp(30px, 3.6vw, 46px);
  letter-spacing: -0.02em;
}
h3 {
  font-size: clamp(22px, 2.2vw, 28px);
}
h4 {
  font-size: 19px;
}
p {
  margin: 0 0 1em;
}

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pp-teal);
}

/* Containers */
.container {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container-narrow {
  max-width: 940px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ======= Top Bar (location strip) ======= */
.topbar {
  background: var(--pp-teal-deep);
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 9px 0;
  text-align: center;
  font-weight: 500;
}
.topbar .dot {
  opacity: 0.4;
  margin: 0 10px;
}

/* ======= Header / Nav ======= */
.site-header {
  position: sticky;
  top: 0;
  background: #ffffff;
  border-bottom: 1px solid var(--pp-grey-line);
  z-index: 50;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--gutter);
  max-width: 1400px;
  margin: 0 auto;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-logo img {
  height: 50px;
  width: auto;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--pp-charcoal);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  position: relative;
  padding: 8px 0;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--pp-teal);
}
.nav-links a.active {
  color: var(--pp-teal);
}

.nav-item {
  position: relative;
}
.nav-item .dropdown {
  position: absolute;
  top: 100%;
  left: -18px;
  background: #ffffff;
  border: 1px solid var(--pp-grey-line);
  border-top: 3px solid var(--pp-teal);
  min-width: 240px;
  padding: 12px 0;
  box-shadow: 0 18px 42px rgba(15, 61, 51, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease,
    visibility 0.18s;
}
.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown a {
  display: block;
  padding: 10px 22px;
  font-size: 14px;
  color: var(--pp-charcoal);
}
.dropdown a:hover {
  background: var(--pp-teal-soft);
  color: var(--pp-teal);
}
.nav-item-caret::after {
  content: "";
  display: inline-block;
  margin-left: 6px;
  border: 4px solid transparent;
  border-top-color: currentColor;
  transform: translateY(2px);
  opacity: 0.6;
}

.nav-cta {
  background: var(--pp-teal);
  color: #ffffff;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: none;
  transition:
    background 0.2s,
    transform 0.2s;
  white-space: nowrap;
}
.nav-cta:hover {
  background: var(--pp-teal-deep);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
}

@media (max-width: 1080px) {
  .nav-links {
    gap: 22px;
  }
  .nav-links a {
    font-size: 14px;
  }
}
@media (max-width: 940px) {
  .nav-links,
  .nav-cta {
    display: none;
  }
  .nav-logo img {
    height: 42px;
  }
  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    padding: 8px;
  }
  .nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--pp-charcoal);
  }
}

/* ======= Hero (dark) ======= */
/* ======= At a Glance strip (between nav and hero on home) ======= */
.at-a-glance {
  background: #ffffff;
  border-bottom: 1px solid var(--pp-grey-line);
  padding: 18px 0;
}
.at-a-glance .ag-row {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
}
.at-a-glance .ag-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6px 18px;
  min-height: 64px;
}
.at-a-glance .ag-item + .ag-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14%;
  bottom: 14%;
  width: 1px;
  background: var(--pp-grey-line);
}
.at-a-glance .ag-num {
  display: block;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  color: var(--pp-teal);
  line-height: 1;
  letter-spacing: -0.02em;
}
.at-a-glance .ag-label {
  display: block;
  margin-top: 6px;
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: var(--pp-grey);
  line-height: 1.35;
  position: relative;
}
.at-a-glance .ag-asterisk {
  color: var(--pp-teal);
  font-weight: 600;
  margin-left: 2px;
  cursor: help;
}
.at-a-glance .ag-tooltip {
  position: absolute;
  left: 50%;
  top: calc(100% + 10px);
  transform: translateX(-50%);
  background: var(--pp-charcoal);
  color: #fff;
  font-size: 12px;
  letter-spacing: 0;
  line-height: 1.45;
  padding: 10px 12px;
  width: max-content;
  max-width: 260px;
  border-radius: 4px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease;
  z-index: 20;
  pointer-events: none;
  text-align: left;
}
.at-a-glance .ag-tooltip::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-bottom-color: var(--pp-charcoal);
}
.at-a-glance .ag-item:hover .ag-tooltip,
.at-a-glance .ag-asterisk:hover + .ag-tooltip,
.at-a-glance .ag-asterisk:focus + .ag-tooltip {
  opacity: 1;
  visibility: visible;
}
.at-a-glance .ag-footnote {
  display: none;
  margin: 12px 0 0;
  font-size: 11px;
  color: var(--pp-grey);
  text-align: center;
  line-height: 1.45;
}
@media (max-width: 720px) {
  .at-a-glance {
    padding: 16px 0 18px;
  }
  .at-a-glance .ag-row {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 14px;
  }
  .at-a-glance .ag-item {
    padding: 6px 10px;
    min-height: 0;
  }
  .at-a-glance .ag-item:nth-child(2)::before {
    display: none;
  }
  .at-a-glance .ag-tooltip {
    display: none;
  }
  .at-a-glance .ag-footnote {
    display: block;
  }
}

.hero-dark {
  background: var(--pp-teal-deep);
  color: #ffffff;
  padding: 110px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero-dark::before {
  /* subtle honeycomb-inspired pattern */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(
      circle at 88% 20%,
      rgba(193, 162, 74, 0.08) 0%,
      transparent 38%
    ),
    radial-gradient(
      circle at 12% 92%,
      rgba(26, 92, 79, 0.55) 0%,
      transparent 45%
    );
  pointer-events: none;
}
.hero-dark .container {
  position: relative;
}
.hero-dark h1 {
  color: #ffffff;
}
.hero-dark .lead {
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.6;
  max-width: 780px;
  margin: 24px 0;
  font-weight: 300;
}
.hero-dark .lead strong {
  color: #ffffff;
  font-weight: 500;
}

.breadcrumb {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 22px;
}
.breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
}
.breadcrumb a:hover {
  color: #ffffff;
}
.breadcrumb .sep {
  margin: 0 8px;
  opacity: 0.5;
}

/* ======= Buttons ======= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-primary {
  background: var(--pp-teal);
  color: #ffffff;
}
.btn-primary:hover {
  background: #ffffff;
  color: var(--pp-teal);
}
.btn-on-dark {
  background: #ffffff;
  color: var(--pp-teal-deep);
}
.btn-on-dark:hover {
  background: var(--pp-gold);
  color: var(--pp-teal-deep);
}
.btn-outline {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
}
.btn-outline:hover {
  background: #ffffff;
  color: var(--pp-teal-deep);
}
.btn-arrow::after {
  content: "→";
  font-weight: 400;
  margin-left: 4px;
}

/* Text-link arrow */
.tlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--pp-teal);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition:
    gap 0.2s,
    color 0.2s;
}
.tlink::after {
  content: "→";
}
.tlink:hover {
  gap: 12px;
  color: var(--pp-teal-deep);
  border-color: var(--pp-teal);
}

/* ======= Section primitives ======= */
.section {
  padding: 110px 0;
}
.section-tight {
  padding: 80px 0;
}
.section-light {
  background: #ffffff;
}
.section-cream {
  background: var(--pp-cream);
}
.section-sage {
  background: var(--pp-teal-soft);
}
.section-grey {
  background: #f4f2ee;
}
.section-dark {
  background: var(--pp-teal-deep);
  color: #ffffff;
}
.section-dark h2,
.section-dark h3 {
  color: #ffffff;
}

.section-head {
  max-width: 760px;
  margin-bottom: 56px;
}
.section-head .eyebrow {
  margin-bottom: 18px;
  display: block;
}
.section-head .lead {
  font-size: 19px;
  color: var(--pp-grey);
  line-height: 1.6;
  margin-top: 18px;
  font-weight: 400;
}

.divider-mark {
  width: 56px;
  height: 3px;
  background: var(--pp-teal);
  margin: 0 0 28px;
}

/* ======= Tagline ======= */
.tagline {
  font-size: 12px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--pp-teal);
  font-weight: 700;
}
.tagline-smallcaps {
  text-transform: none;
  font-variant: small-caps;
  font-variant-caps: small-caps;
  letter-spacing: 0.18em;
  font-size: 14px;
}
.tagline-on-dark {
  color: rgba(255, 255, 255, 0.72);
}

/* ======= Footer ======= */
.site-footer {
  background: var(--pp-teal-deep);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 30px;
}
.site-footer h4 {
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-grid li {
  margin-bottom: 10px;
  font-size: 14px;
}
.footer-grid a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s;
}
.footer-grid a:hover {
  color: var(--pp-gold);
}
.footer-brand-tag {
  font-size: 12px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--pp-gold);
  margin: 16px 0 24px;
  font-weight: 700;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.footer-logo img {
  height: 42px;
  width: auto;
  display: block;
}
.footer-logo .name {
  color: #ffffff;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 28px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.5);
}

/* ======= CTA Banner ======= */
.cta-band {
  background: var(--pp-teal-deep);
  color: #ffffff;
  padding: 100px 0 90px;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 90% 50%,
      rgba(193, 162, 74, 0.12) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 10% 100%,
      rgba(26, 92, 79, 0.6) 0%,
      transparent 50%
    );
  pointer-events: none;
}
.cta-band .container {
  position: relative;
  max-width: 880px;
  text-align: center;
}
.cta-band h2 {
  color: #ffffff;
  font-size: clamp(34px, 4vw, 56px);
  margin-bottom: 22px;
  letter-spacing: -0.02em;
}
.cta-band p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 36px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 300;
}
.cta-band .tagline {
  margin-top: 32px;
  display: block;
}

/* ======= Cards ======= */
.card {
  background: #ffffff;
  border: 1px solid var(--pp-grey-line);
  padding: 36px 32px;
  position: relative;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s;
}
.card-tealtop {
  border-top: 3px solid var(--pp-teal);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(15, 61, 51, 0.12);
  border-color: var(--pp-teal-soft);
}
.card h3 {
  margin-bottom: 12px;
}
.card .descriptor {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--pp-teal);
  margin-bottom: 14px;
  text-transform: uppercase;
}
.card p {
  color: var(--pp-grey);
  font-size: 15px;
}

/* ======= Pill tags ======= */
.tag {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 6px 12px;
  background: var(--pp-teal);
  color: #ffffff;
}
.tag-geo-au {
  background: var(--pp-au-blue-bg);
  color: var(--pp-au-blue);
}
.tag-geo-me {
  background: var(--pp-teal-soft);
  color: var(--pp-teal);
}
.tag-geo-global {
  background: #f0e8d5;
  color: #6b5826;
}
.tag-geo-india {
  background: #fde9d9;
  color: #a85820;
}
.tag-light {
  background: var(--pp-teal-soft);
  color: var(--pp-teal);
}

/* ======= Pill buttons (anchor nav) ======= */
.pill-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}
.pill {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 11px 22px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  transition: all 0.2s;
  cursor: pointer;
}
.pill:hover,
.pill.active {
  background: #ffffff;
  color: var(--pp-teal-deep);
  border-color: #ffffff;
}
.pill-light {
  background: #ffffff;
  color: var(--pp-charcoal);
  border: 1px solid var(--pp-grey-line);
}
.pill-light:hover,
.pill-light.active {
  background: var(--pp-teal);
  color: #ffffff;
  border-color: var(--pp-teal);
}

/* ======= Quote block ======= */
.quote {
  border-left: 3px solid var(--pp-teal);
  padding: 8px 0 8px 28px;
  margin: 0 0 28px;
  font-style: italic;
  font-size: 19px;
  color: var(--pp-charcoal);
  font-weight: 300;
  line-height: 1.5;
}
.quote cite {
  display: block;
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pp-grey);
  margin-top: 14px;
  font-weight: 600;
}

/* ======= Stats ======= */
.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}
.stat {
  background: var(--pp-teal-soft);
  padding: 36px 28px;
  border-top: 3px solid var(--pp-teal);
}
.stat .num {
  font-size: clamp(40px, 4.4vw, 60px);
  font-weight: 700;
  color: var(--pp-teal);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat .label {
  font-size: 14px;
  color: var(--pp-grey);
  margin-top: 12px;
  line-height: 1.45;
  font-weight: 500;
}
.stat .source {
  display: block;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pp-slate);
  margin-top: 14px;
  font-weight: 600;
}

/* ======= Photo placeholder ======= */
.photo-ph {
  background: repeating-linear-gradient(
    135deg,
    var(--pp-teal-soft) 0 8px,
    #f0f6f3 8px 16px
  );
  aspect-ratio: 4 / 5;
  position: relative;
  overflow: hidden;
}
.photo-ph::after {
  content: attr(data-name);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: "Courier New", monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--pp-teal);
  text-transform: uppercase;
  padding: 16px;
}
.photo-ph-wide {
  aspect-ratio: 4 / 3;
}
.photo-ph-square {
  aspect-ratio: 1 / 1;
}

/* Real photo override - when data-photo is set, the placeholder label is hidden.
   The actual background-image is bound inline via JS (site.js / profile-render.js)
   because url() inside a CSS variable resolves relative to the stylesheet, not the document. */
.photo-ph[data-photo]::after,
.team-card .photo[data-photo]::after,
.profile-photo[data-photo]::after {
  content: none;
  display: none;
}

/* ======= Tick list ======= */
.tick-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.tick-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--pp-charcoal);
}
.tick-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--pp-teal);
  font-weight: 700;
}

/* ======= Bullet list (general) ======= */
.bullets {
  list-style: none;
  padding: 0;
  margin: 0;
}
.bullets li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 8px;
  font-size: 15px;
  color: var(--pp-charcoal);
  line-height: 1.55;
}
.bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: var(--pp-teal);
}

/* Utility */
.text-center {
  text-align: center;
}
.flex {
  display: flex;
}
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 920px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 70px 0;
  }
  .hero-dark {
    padding: 70px 0 60px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}
@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Honeycomb mark inline */
.hex-mark {
  width: 28px;
  height: 32px;
  display: inline-block;
  vertical-align: middle;
}

/* ======= Sub-page hero variant (smaller) ======= */
.hero-sub {
  padding: 80px 0 72px;
}
.hero-sub h1 {
  font-size: clamp(36px, 4.4vw, 56px);
}
.hero-sub .lead {
  font-size: 19px;
  max-width: 720px;
  margin-top: 18px;
}
.hero-sub .practice-quote {
  font-size: clamp(20px, 1.8vw, 26px);
  font-style: italic;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 300;
  border-left: 2px solid var(--pp-gold);
  padding-left: 22px;
  margin-top: 32px;
  max-width: 740px;
}

/* Anchor offset for sticky header */
[id] {
  scroll-margin-top: 100px;
}

/* ======= Case study detail layout ======= */
.cs-meta {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.cs-sector {
  font-style: italic;
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  margin-top: 14px;
}
.cs-section {
  padding: 90px 0;
  border-bottom: 1px solid var(--pp-grey-line);
}
.cs-section:last-of-type {
  border-bottom: 0;
}
.cs-section .eyebrow {
  color: var(--pp-teal);
}
.cs-section h2 {
  font-size: clamp(30px, 3vw, 40px);
  margin-bottom: 28px;
  max-width: 820px;
}
.cs-body {
  max-width: 760px;
}
.cs-body p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--pp-charcoal);
  margin-bottom: 18px;
}
.cs-body p strong {
  color: var(--pp-teal-deep);
}
.cs-pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.cs-pillar-grid.two {
  grid-template-columns: 1fr 1fr;
}
.cs-pillar {
  background: var(--pp-paper);
  border: 1px solid var(--pp-grey-line);
  border-top: 3px solid var(--pp-teal);
  padding: 32px;
}
.cs-pillar h3 {
  font-size: 20px;
  margin-bottom: 14px;
  color: var(--pp-teal-deep);
}
.cs-pillar p {
  font-size: 15px;
  color: var(--pp-grey);
  line-height: 1.6;
  margin: 0;
}
.cs-pillar .bullets li {
  font-size: 14px;
}
.cs-outcomes {
  background: var(--pp-teal-soft);
}
.cs-outcomes .tick-list li {
  font-size: 16px;
  line-height: 1.65;
  padding-left: 32px;
  margin-bottom: 16px;
}
.cs-outcomes .tick-list li::before {
  font-size: 18px;
}
.cs-quote-block {
  background: var(--pp-cream);
  padding: 56px 48px;
  border-left: 3px solid var(--pp-gold);
  margin-top: 12px;
}
.cs-quote-block + .cs-quote-block {
  margin-top: 24px;
}
.cs-quote-block blockquote {
  font-size: clamp(20px, 1.9vw, 26px);
  font-style: italic;
  font-weight: 300;
  line-height: 1.45;
  color: var(--pp-teal-deep);
  margin: 0 0 20px 0;
}
.cs-quote-block cite {
  font-style: normal;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pp-grey);
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.related-card {
  background: #fff;
  border: 1px solid var(--pp-grey-line);
  border-top: 3px solid var(--pp-teal);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(15, 61, 51, 0.1);
}
.related-card .tags {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}
.related-card h3 {
  font-size: 18px;
  line-height: 1.3;
  margin-bottom: 16px;
  flex: 1;
}
.related-card .tlink {
  font-size: 13px;
}
@media (max-width: 920px) {
  .cs-pillar-grid,
  .cs-pillar-grid.two,
  .related-grid {
    grid-template-columns: 1fr;
  }
  .cs-section {
    padding: 60px 0;
  }
  .cs-quote-block {
    padding: 36px 28px;
  }
}

/* ======= Profile / Team page ======= */
.team-hero {
  padding: 80px 0 60px;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.team-card {
  background: #fff;
  border: 1px solid var(--pp-grey-line);
  border-top: 3px solid var(--pp-teal);
  padding: 0 0 28px;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(15, 61, 51, 0.12);
}
.team-card .photo {
  aspect-ratio: 4/5;
  background: var(--pp-sage);
  position: relative;
  overflow: hidden;
}
.team-card .photo::after {
  content: attr(data-name);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 18px;
  font-family: "Courier New", monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--pp-teal-deep);
  text-transform: uppercase;
  background: linear-gradient(
    180deg,
    rgba(220, 232, 224, 0) 50%,
    rgba(15, 61, 51, 0.1) 100%
  );
}
.team-card .body,
.team-card .team-meta {
  padding: 26px 28px 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.team-card h3 {
  font-size: 22px;
  margin-bottom: 4px;
}
.team-card .role {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pp-teal);
  font-weight: 600;
  margin-bottom: 14px;
}
.team-card .blurb {
  color: var(--pp-grey);
  font-size: 14px;
  line-height: 1.55;
  flex: 1;
  margin-bottom: 18px;
}
.team-card .practices {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.team-card .practices span {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pp-teal);
  padding: 4px 10px;
  background: var(--pp-teal-soft);
}
.team-card .more {
  font-size: 13px;
  color: var(--pp-teal);
  font-weight: 600;
  padding: 0 28px 0;
}
.team-card .more::after {
  content: " →";
}
@media (max-width: 920px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}
@media (min-width: 921px) and (max-width: 1100px) {
  .team-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ======= Profile detail layout ======= */
.profile-hero {
  padding: 56px 0 64px;
  background: var(--pp-teal-deep);
  color: #fff;
}
.profile-hero .breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
}
.profile-hero .breadcrumb {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
}
.profile-hero .breadcrumb .sep {
  margin: 0 8px;
  color: rgba(255, 255, 255, 0.6);
}
.profile-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: start;
}
.profile-photo-wrap {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
}
.profile-photo-wrap .profile-linkedin {
  align-self: center;
}
.profile-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  transition: all 0.2s;
}
.profile-linkedin:hover {
  background: var(--pp-gold);
  color: var(--pp-teal-deep);
  border-color: var(--pp-gold);
}
.profile-linkedin svg {
  display: block;
}
.profile-hero-body {
  padding-top: 4px;
}
.profile-meta-line {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.92);
  margin-top: 4px;
}
.profile-locations {
  font-style: italic;
  color: rgba(255, 255, 255, 0.78);
}
.profile-practice-line {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 15px;
  color: rgba(255, 255, 255, 0.92);
}

/* ===== Stats band - separate section below hero ===== */
.profile-stats-band {
  background: var(--pp-sage);
  padding: 38px 0;
}
.profile-stats-grid {
  display: grid;
  gap: 24px;
  text-align: center;
}
.profile-stat .value {
  font-size: clamp(40px, 4vw, 56px);
  font-weight: 700;
  color: var(--pp-teal-deep);
  line-height: 1;
  letter-spacing: -0.02em;
}
.profile-stat .label {
  font-size: 14px;
  color: var(--pp-charcoal);
  margin-top: 10px;
  line-height: 1.4;
  max-width: 180px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 760px) {
  .profile-stats-grid {
    grid-template-columns: 1fr 1fr !important;
  }
}
.profile-photo {
  width: 100%;
  aspect-ratio: 4/5;
  background: var(--pp-sage);
  position: relative;
  border: 6px solid var(--pp-cream);
  box-shadow: 0 30px 60px rgba(15, 61, 51, 0.25);
}
.profile-photo::after {
  content: attr(data-name);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  font-family: "Courier New", monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--pp-teal-deep);
  text-transform: uppercase;
}
.profile-name {
  color: #fff;
  font-size: clamp(36px, 4vw, 52px);
  margin: 18px 0 8px;
}
.profile-role-line {
  color: var(--pp-gold);
  font-size: 17px;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}
.profile-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.profile-tags .tag {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.profile-section {
  padding: 72px 0;
  border-bottom: 1px solid var(--pp-grey-line);
}
.profile-section:last-of-type {
  border-bottom: 0;
}
.profile-section .eyebrow {
  color: var(--pp-teal);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 10px;
}
.profile-section h2 {
  font-size: clamp(28px, 2.6vw, 34px);
  margin-bottom: 28px;
  color: var(--pp-teal-deep);
  letter-spacing: -0.01em;
}
.profile-section .container-narrow {
  max-width: 1040px;
}
.profile-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.profile-2col-h {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pp-teal);
  margin-bottom: 14px;
}
.profile-2col p,
.profile-section p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--pp-charcoal);
  margin-bottom: 18px;
  max-width: none;
}
.profile-competencies {
  columns: 2;
  column-gap: 56px;
}
.profile-competencies li {
  break-inside: avoid;
  font-size: 16px;
}
@media (max-width: 760px) {
  .profile-competencies {
    columns: 1;
  }
}
.exp-list {
  display: grid;
  gap: 18px;
}
.exp-item {
  background: var(--pp-paper);
  border-left: 3px solid var(--pp-teal);
  padding: 22px 28px;
}
.exp-item h4 {
  font-size: 17px;
  margin-bottom: 4px;
  color: var(--pp-teal-deep);
}
.exp-item .meta {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pp-grey);
  margin-bottom: 12px;
}
.exp-item p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--pp-grey);
  margin: 0;
}
.cred-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.cred-grid .cred {
  background: var(--pp-paper);
  padding: 18px 22px;
  border: 1px solid var(--pp-grey-line);
  font-size: 14px;
  color: var(--pp-charcoal);
}
.cred-grid .cred strong {
  display: block;
  color: var(--pp-teal-deep);
  font-size: 14px;
  margin-bottom: 4px;
}
@media (max-width: 920px) {
  .profile-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .profile-photo {
    max-width: 280px;
  }
  .profile-2col,
  .cred-grid {
    grid-template-columns: 1fr;
  }
}

/* =====================================================
   RESPONSIVE OVERLAY - covers tablet + phone breakpoints
   for all pages. Uses !important sparingly to override
   inline grid-template-columns set in some HTML files.
   ===================================================== */

/* ---- Tablet (≤ 1100px): drop 4-up to 2-up, tighten gutters ---- */
@media (max-width: 1100px) {
  :root {
    --gutter: 24px;
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .who-grid,
  .ethos-grid,
  .related-grid,
  .cs-pillar-grid,
  .cs-pillar-grid.two,
  .lever-intro,
  .grid-founders,
  .team-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .office-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
  .process-flow {
    grid-template-columns: repeat(3, 1fr) !important;
  }
  .process-flow .step {
    border-right: 1px solid var(--pp-grey-line);
  }
  .process-flow .step:nth-child(3n) {
    border-right: 1px solid var(--pp-grey-line);
  }
  .lifecycle {
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
  }
  .lifecycle .lc-name {
    font-size: 16px;
  }
  .lifecycle .lc-desc {
    font-size: 12px;
  }
  .testimonials {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .testimonials .t-quote:nth-child(2n) {
    border-right: 1px solid rgba(255, 255, 255, 0.15);
  }

  /* Index "Why" 2-col layout */
  section[data-screen-label="03 Why"]
    > .container
    > div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 48px !important;
  }

  /* Profile-grid (sidebar + body) → narrower sidebar */
  .profile-grid {
    grid-template-columns: 240px 1fr;
    gap: 36px;
  }

  /* Practice pages: case-preview, person-card 2-col stays but tighter */
  .case-preview {
    padding: 32px !important;
    gap: 32px !important;
  }

  /* About page advisor-grid */
  .advisor-grid {
    grid-template-columns: 1fr !important;
  }

  /* About stat-row inline 4-col */
  .stat-row[style*="repeat(4"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .stat-row[style*="repeat(3"] {
    grid-template-columns: repeat(3, 1fr) !important;
  }

  /* Sitemap */
  .sm-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .sm-grid.cols-2 {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* Section + hero padding */
  .section {
    padding: 84px 0;
  }
  .hero-dark {
    padding: 90px 0 80px !important;
  }
  .cta-band {
    padding: 80px 0 70px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

/* ---- Small tablet / large phone (≤ 760px) ---- */
@media (max-width: 760px) {
  :root {
    --gutter: 20px;
  }

  /* Headline + body type - softer scaling so text never cramps */
  body {
    font-size: 15px;
  }
  h1 {
    font-size: clamp(32px, 8vw, 44px) !important;
    line-height: 1.12 !important;
  }
  h2 {
    font-size: clamp(26px, 6.4vw, 36px) !important;
  }
  h3 {
    font-size: clamp(20px, 4.8vw, 26px) !important;
  }

  .section,
  .section-tight {
    padding: 60px 0 !important;
  }
  .section-head {
    margin-bottom: 36px;
  }
  .section-head .lead {
    font-size: 16px;
  }

  .hero-dark {
    padding: 64px 0 56px !important;
  }
  .hero-dark h1 {
    font-size: clamp(34px, 8.4vw, 48px) !important;
  }
  .hero-dark .lead {
    font-size: 16px !important;
    line-height: 1.6 !important;
  }

  /* Inline-style hero h1 overrides on index page */
  section[data-screen-label="01 Hero"] h1 {
    font-size: clamp(34px, 8.4vw, 48px) !important;
  }
  section[data-screen-label="01 Hero"] p[style*="clamp"] {
    font-size: 16px !important;
  }

  .cta-band {
    padding: 64px 0 56px !important;
  }
  .cta-band h2 {
    font-size: clamp(28px, 6.4vw, 38px) !important;
  }
  .cta-band p {
    font-size: 16px !important;
  }

  /* Buttons stack and span comfortable widths */
  .btn {
    padding: 14px 22px;
    font-size: 13px;
    letter-spacing: 0.1em;
  }
  .hero-dark > .container > div > div[style*="flex-wrap"] {
    flex-direction: column;
    align-items: stretch !important;
  }
  .hero-dark > .container > div > div[style*="flex-wrap"] .btn {
    justify-content: center;
    width: 100%;
  }

  /* All multi-col grids → single column */
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }
  .who-grid,
  .ethos-grid,
  .related-grid,
  .cs-pillar-grid,
  .cs-pillar-grid.two,
  .lever-intro,
  .grid-founders,
  .grid-pair,
  .team-grid,
  .case-grid,
  .approach-grid,
  .advisor-grid,
  .pa-grid {
    grid-template-columns: 1fr !important;
  }
  .office-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px !important;
  }

  /* Process flow stacked */
  .process-flow {
    grid-template-columns: 1fr !important;
  }
  .process-flow .step {
    border-right: 1px solid var(--pp-grey-line) !important;
    border-bottom: none !important;
  }
  .process-flow .step:last-child {
    border-bottom: 1px solid var(--pp-grey-line) !important;
  }

  /* Lifecycle stacked */
  .lifecycle {
    grid-template-columns: 1fr !important;
  }
  .lifecycle::before {
    display: none;
  }
  .lc-stage {
    padding: 18px !important;
    background: #fff;
    border-left: 3px solid var(--pp-teal);
    text-align: left !important;
    display: grid !important;
    grid-template-columns: auto 1fr;
    gap: 18px;
    align-items: center;
  }
  .lc-num {
    margin-bottom: 0 !important;
  }

  /* Testimonials single column */
  .testimonials {
    grid-template-columns: 1fr !important;
  }
  .t-quote {
    border-left: 2px solid var(--pp-gold) !important;
    border-right: none !important;
    padding: 24px 22px !important;
  }
  .t-quote p {
    font-size: 16px !important;
  }

  /* Index "Why" 2-col */
  section[data-screen-label="03 Why"]
    > .container
    > div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  .stat-row,
  .stat-row[style] {
    grid-template-columns: 1fr !important;
  }

  /* Index challenge cards */
  .card-challenge {
    padding: 32px 24px !important;
  }
  .card-challenge > div[style*="display:flex"],
  .card-challenge > div[style*="display: flex"] {
    flex-direction: column !important;
    gap: 12px !important;
  }
  .ch-num {
    padding-top: 0 !important;
  }

  /* Cards padding */
  .card {
    padding: 28px 22px;
  }

  /* Profile page */
  .profile-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
  .profile-photo {
    max-width: 240px;
    margin: 0 auto;
  }
  .profile-2col,
  .cred-grid {
    grid-template-columns: 1fr !important;
  }
  .profile-section {
    padding: 44px 0 !important;
  }
  .profile-name {
    font-size: clamp(30px, 7.2vw, 40px) !important;
  }

  /* Person-card (practice pages, about) */
  .person-card {
    grid-template-columns: 1fr !important;
  }
  .person-card .photo-ph {
    aspect-ratio: 4/3 !important;
    min-height: 0 !important;
  }
  .person-card .body {
    padding: 28px 24px !important;
  }

  /* Case study layout */
  .cs-section {
    padding: 50px 0 !important;
  }
  .cs-quote-block {
    padding: 28px 22px !important;
  }
  .cs-quote-block blockquote {
    font-size: 18px !important;
  }
  .cs-meta {
    gap: 6px;
  }

  /* Practice page case-preview */
  .case-preview {
    grid-template-columns: 1fr !important;
    padding: 28px 22px !important;
    gap: 24px !important;
  }

  /* Practice "three questions" rows on technology-practice */
  div[style*="grid-template-columns: 64px 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  div[style*="grid-template-columns: 64px 1fr"] > div:first-child {
    width: 44px !important;
    height: 44px !important;
    font-size: 18px !important;
  }

  /* About belief, about process-list */
  .belief {
    grid-template-columns: 1fr !important;
    padding: 26px 22px !important;
  }
  .process-list li {
    grid-template-columns: 44px 1fr !important;
    gap: 14px !important;
  }

  /* Team tier label spacing */
  .tier-section .lede {
    font-size: 16px !important;
    margin-bottom: 36px !important;
  }

  /* Modal padding */
  .pp-modal-card {
    padding: 36px 24px 28px !important;
  }
  .pp-modal-card h2 {
    font-size: 24px !important;
  }

  /* Pill strip wraps tighter */
  .pill {
    padding: 10px 16px;
    font-size: 12px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 32px;
    padding-bottom: 40px;
  }
  .site-footer {
    padding: 60px 0 24px;
  }
  .footer-bottom {
    font-size: 11px;
    gap: 10px;
  }

  /* Topbar a touch smaller */
  .topbar {
    font-size: 11px;
    letter-spacing: 0.1em;
    padding: 8px 12px;
  }

  /* Tagline scale */
  .tagline {
    font-size: 11px;
    letter-spacing: 0.3em;
  }

  /* Sitemap */
  .sm-grid,
  .sm-grid.cols-2 {
    grid-template-columns: 1fr !important;
  }
  .sm-stats {
    grid-template-columns: 1fr 1fr !important;
  }
}

/* ---- Small phone (≤ 420px) ---- */
@media (max-width: 420px) {
  :root {
    --gutter: 16px;
  }
  .office-grid {
    grid-template-columns: 1fr !important;
  }
  .sm-stats {
    grid-template-columns: 1fr !important;
  }
  .btn {
    padding: 13px 18px;
    font-size: 12px;
  }
  .hero-dark {
    padding: 52px 0 48px !important;
  }
  .section {
    padding: 48px 0 !important;
  }
}

/* Ensure horizontal overflow never happens */
html,
body {
  overflow-x: hidden;
  max-width: 100%;
}
img,
svg,
video,
iframe {
  max-width: 100%;
  height: auto;
}
.container,
.container-narrow {
  width: 100%;
}

/* ======= Testimonial stack (used on profile pages and elsewhere) ======= */
.test-stack { display: grid; gap: 18px; }
.test-quote {
  border-left: 3px solid var(--pp-teal);
  padding: 20px 28px;
  background: var(--pp-paper);
  font-size: 18px;
  line-height: 1.55;
  font-style: italic;
  font-weight: 300;
  color: var(--pp-charcoal);
}
.test-quote cite {
  display: block;
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pp-teal);
  font-weight: 700;
  margin-top: 12px;
}
