/* =========================================================================
   POLICY.PARTNERS – site stylesheet
   Brand: #171715 ink + #FFE047 yellow · Archivo display + DM Sans body
   ========================================================================= */

@font-face {
  font-family: 'Archia';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/archia-light.woff2') format('woff2');
}
@font-face {
  font-family: 'Archia';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/archia-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Archia';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/archia-medium.woff2') format('woff2');
}
@font-face {
  font-family: 'Archia';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/archia-semibold.woff2') format('woff2');
}
@font-face {
  font-family: 'Archia';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/archia-bold.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url('fonts/dm-sans-latin-wght-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 100 1000;
  font-display: swap;
  src: url('fonts/dm-sans-latin-wght-italic.woff2') format('woff2');
}

/* ---- Tokens ---- */
:root {
  --ink: #171715;
  --paper: #FFFFFF;
  --yellow: #FFE047;
  --grey-05: #F4F4F2;
  --grey-20: #D8D7D1;
  --grey-60: #6B6A65;

  --font-display: 'Archia', 'Archivo', 'Century Gothic', 'Futura', sans-serif;
  --font-body: 'DM Sans', 'Inter', 'Helvetica Neue', Arial, sans-serif;

  /* Semantic – flip in dark mode */
  --bg: var(--paper);
  --fg: var(--ink);
  --surface-alt: var(--grey-05);
  --rule: rgba(23, 23, 21, 0.12);

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
}

[data-theme="dark"] {
  --bg: var(--ink);
  --fg: var(--paper);
  --surface-alt: rgba(255, 255, 255, 0.05);
  --rule: rgba(255, 255, 255, 0.16);
}

/* ---- Reset-ish ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.2s ease, color 0.2s ease;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* ---- Utilities ---- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.eyebrow {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--yellow);
}
.em-yellow {
  background: linear-gradient(180deg, transparent 55%, var(--yellow) 55%, var(--yellow) 92%, transparent 92%);
  padding: 0 2px;
}
[data-theme="dark"] .em-yellow {
  background: var(--yellow);
  color: var(--ink);
  padding: 1px 6px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* =========================================================================
   HEADER – brand lockup + nav
   Lockup: circular PP mark + POLICY.PARTNERS wordmark (same lockup in footer)
   ========================================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
  backdrop-filter: saturate(180%) blur(10px);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 92px;
  position: relative;  /* anchor for mobile nav dropdown */
}

/* Hamburger toggle – hidden on desktop, shown on mobile */
.nav-toggle { display: none; }
.hamburger { display: none; }

/* Header lockup – large, PDF-style proportions */
.site-header .lockup { height: 64px; gap: 14px; }
.site-header .lockup .pp-mark { height: 64px; width: 64px; }
.site-header .lockup .wordmark { font-size: 38px; letter-spacing: 0.01em; }

/* Lockup – circular PP mark + POLICY.PARTNERS wordmark */
.lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 44px;
  text-decoration: none;
  flex-shrink: 0;
}
.lockup .pp-mark {
  display: block;
  height: 44px;
  width: 44px;
  flex-shrink: 0;
}
.lockup .wordmark {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  color: var(--fg);
  font-size: 26px;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
}
.lockup .wordmark .pp-policy { font-weight: 700; }
.lockup .wordmark .pp-dot { font-weight: 700; }
.lockup .wordmark .pp-partners { font-weight: 300; }

/* Nav */
.site-nav {
  display: flex;
  align-items: center;
  gap: 44px;
}
.site-nav a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 21px;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--fg);
  padding: 6px 2px;
  border-bottom: 1.5px solid transparent;
  transition: border-color 0.15s ease;
  position: relative;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  border-bottom-color: var(--yellow);
}
.site-nav .beta {
  position: absolute;
  top: -10px;
  right: -34px;
  padding: 2px 8px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 100px;
  line-height: 1.4;
}

/* =========================================================================
   HERO
   ========================================================================= */

.hero {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(60px, 10vw, 120px) 0 clamp(60px, 10vw, 140px);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.07) 0.8px, transparent 1.2px);
  background-size: 14px 14px;
  pointer-events: none;
}
.hero .container { position: relative; }
.hero-kicker {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 22px;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(36px, 6.2vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0 0 28px;
  max-width: 22ch;
}
.hero-title .accent { color: var(--yellow); font-weight: 600; }
.hero-lede {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.5;
  max-width: 56ch;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

/* =========================================================================
   SECTION PRIMITIVES
   ========================================================================= */

.section {
  padding: clamp(60px, 8vw, 110px) 0;
}
.section-dark {
  background: var(--ink);
  color: var(--paper);
}
.section-yellow {
  background: var(--yellow);
  color: var(--ink);
}
.section-head {
  max-width: 780px;
  margin-bottom: clamp(32px, 4vw, 56px);
}
.section-head .eyebrow { margin-bottom: 16px; display: inline-block; }
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0;
  max-width: 22ch;
}
.section-head p {
  margin-top: 18px;
  font-size: 18px;
  line-height: 1.55;
  max-width: 58ch;
}

/* =========================================================================
   PILLARS (3-up on home)
   ========================================================================= */

.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(24px, 3vw, 40px);
}
.pillar {
  border-top: 2px solid var(--fg);
  padding-top: 20px;
}
.pillar .num {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--yellow);
  background: var(--ink);
  padding: 4px 8px;
  margin-bottom: 16px;
}
[data-theme="dark"] .pillar .num { color: var(--ink); background: var(--yellow); }
.pillar h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.2;
  margin: 0 0 10px;
}
.pillar p {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--fg);
  opacity: 0.8;
}

/* =========================================================================
   TEAM PREVIEW (home) / Team grids (about)
   ========================================================================= */

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(24px, 3vw, 40px);
}
.team-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.team-card .portrait {
  aspect-ratio: 1 / 1;
  background: var(--surface-alt);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}
.team-card .portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-card .portrait.placeholder {
  background:
    radial-gradient(circle at 50% 42%, var(--grey-20) 22%, transparent 23%),
    radial-gradient(ellipse 70% 50% at 50% 100%, var(--grey-20) 55%, transparent 56%),
    var(--surface-alt);
}
[data-theme="dark"] .team-card .portrait.placeholder {
  background:
    radial-gradient(circle at 50% 42%, rgba(255,255,255,0.14) 22%, transparent 23%),
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(255,255,255,0.14) 55%, transparent 56%),
    var(--surface-alt);
}
.team-card .name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  margin: 0;
}
.team-card .role {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow);
  margin: 0;
}
.team-card .bio {
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
  opacity: 0.85;
}

/* Compact variant for advisors/associates on about page */
.team-grid.compact { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; }
.team-grid.compact .team-card .portrait { aspect-ratio: 1 / 1.1; }
.team-grid.compact .team-card .name { font-size: 15px; }
.team-grid.compact .team-card .role { font-size: 11px; }
.team-grid.compact .team-card .bio { font-size: 13px; line-height: 1.5; opacity: 0.75; }
.team-grid.compact .team-card .title { font-size: 12px; }

/* Horizontal mono variant – used for advisors and associates on About page */
.team-grid.horizontal {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.team-grid.horizontal .team-card {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  column-gap: 28px;
  row-gap: 4px;
  align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid var(--rule);
}
.team-grid.horizontal .team-card:last-child { border-bottom: none; }
.team-grid.horizontal .team-card .portrait {
  grid-row: 1 / span 10;
  aspect-ratio: 1 / 1.15;
  overflow: hidden;
  border-radius: 2px;
  position: relative;
}
.team-grid.horizontal .team-card .portrait img {
  filter: grayscale(1) contrast(1.05);
  width: 100%; height: 100%; object-fit: cover;
}
.team-grid.horizontal .team-card .portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--yellow);
  mix-blend-mode: multiply;
  opacity: 0;
  transition: opacity 0.15s ease-out;
  pointer-events: none;
}
.team-grid.horizontal .team-card:hover .portrait::after { opacity: 1; }
.team-grid.horizontal .team-card .role {
  grid-column: 2;
  margin: 0;
  font-size: 10px;
  letter-spacing: 0.16em;
}
.team-grid.horizontal .team-card .name {
  grid-column: 2;
  margin: 2px 0 0;
  font-size: 20px;
}
.team-grid.horizontal .team-card .title {
  grid-column: 2;
  margin: 2px 0 10px;
  font-size: 13px;
}
.team-grid.horizontal .team-card .bio {
  grid-column: 2;
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  opacity: 0.8;
  max-width: 62ch;
}
.team-grid.horizontal .team-card .profile-link {
  grid-column: 3;
  grid-row: 1;
  align-self: start;
  margin-top: 4px;
  white-space: nowrap;
}

/* Compact-bio variant – associates (denser than horizontal; portrait + bio vertical) */
.team-grid.compact-bio {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 36px 32px;
}

/* Anchor-jump landings shouldn't sit under the sticky header edge */
[id="advisors"], [id="when-we-help"] { scroll-margin-top: 24px; }
.team-grid.compact-bio .team-card {
  display: grid;
  grid-template-columns: 90px 1fr;
  column-gap: 18px;
  row-gap: 3px;
  align-items: start;
}
.team-grid.compact-bio .team-card .portrait {
  grid-row: 1 / span 10;
  aspect-ratio: 1 / 1.15;
  overflow: hidden;
  border-radius: 2px;
  position: relative;
}
.team-grid.compact-bio .team-card .portrait img {
  filter: grayscale(1) contrast(1.05);
  width: 100%; height: 100%; object-fit: cover;
}
.team-grid.compact-bio .team-card .portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--yellow);
  mix-blend-mode: multiply;
  opacity: 0;
  transition: opacity 0.15s ease-out;
  pointer-events: none;
}
.team-grid.compact-bio .team-card:hover .portrait::after { opacity: 1; }
.team-grid.compact-bio .team-card .role {
  grid-column: 2;
  margin: 0;
  font-size: 10px;
  letter-spacing: 0.16em;
}
.team-grid.compact-bio .team-card .name {
  grid-column: 2;
  margin: 2px 0 0;
  font-size: 16px;
}
.team-grid.compact-bio .team-card .title {
  grid-column: 2;
  margin: 2px 0 8px;
  font-size: 11.5px;
}
.team-grid.compact-bio .team-card .bio {
  grid-column: 1 / -1;
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.5;
  opacity: 0.78;
}
.team-grid.compact-bio .team-card .profile-link {
  grid-column: 1 / -1;
  margin-top: 8px;
  align-self: start;
}

@media (max-width: 780px) {
  .team-grid.compact-bio { grid-template-columns: 1fr; gap: 28px; }
  .team-grid.horizontal .team-card {
    grid-template-columns: 90px 1fr;
    column-gap: 18px;
    padding: 22px 0;
  }
  .team-grid.horizontal .team-card .profile-link {
    grid-column: 2;
    grid-row: auto;
    margin-top: 10px;
  }
  .team-grid.horizontal .team-card .name { font-size: 17px; }
  .team-grid.horizontal .team-card .bio  { font-size: 13px; }
}

/* Subtitle shown between name and bio (e.g. "Partner, Counterculture Partnership LLP") */
.team-card .title {
  font-size: 13px;
  line-height: 1.4;
  margin: -4px 0 0;
  opacity: 0.8;
  font-style: italic;
}

/* Outbound profile link – small yellow text + external-link icon */
.team-card .profile-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yellow);
  text-decoration: none;
  margin-top: auto;  /* push to bottom of card for even alignment */
  align-self: flex-start;
}
.team-card .profile-link svg { width: 11px; height: 11px; flex-shrink: 0; }
.team-card .profile-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Email pill for partner cards */
.team-card .email-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid var(--yellow);
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--yellow);
  text-decoration: none;
  align-self: flex-start;
  margin-top: 4px;
  transition: background-color 0.15s, color 0.15s;
}
.team-card .email-link svg { width: 14px; height: 14px; flex-shrink: 0; }
.team-card .email-link:hover { background: var(--yellow); color: var(--ink); }

/* =========================================================================
   TRIGGERS – "when universities call us"
   ========================================================================= */

.triggers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(24px, 3vw, 36px);
}
.trigger {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 0 0;
  border-top: 1px solid var(--yellow);
}
.trigger .num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: 0.02em;
  color: var(--yellow);
  line-height: 1;
}
.trigger p {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--fg);
  opacity: 0.9;
}

/* =========================================================================
   TENETS – what we are / are not
   ========================================================================= */

.tenets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4vw, 64px);
}
.tenets-col { display: flex; flex-direction: column; gap: 18px; }
.tenets-heading {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 0.01em;
  margin: 0;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule);
}
.tenets-heading--are { color: var(--yellow); }
.tenets-heading--not { color: var(--fg); opacity: 0.65; }
.tenets-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.tenets-list li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--fg);
  opacity: 0.9;
}
.tenets-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 14px;
  height: 2px;
  background: var(--yellow);
}
.tenets-list--not li { opacity: 0.7; }
.tenets-list--not li::before {
  background: var(--fg);
  opacity: 0.35;
}
@media (max-width: 780px) {
  .tenets { grid-template-columns: 1fr; }
}

/* =========================================================================
   PEOPLE TEASER (Home page – advisors/associates strip under partners)
   ========================================================================= */

.people-teaser {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
}
.people-teaser-label {
  display: block;
  margin: 0 0 18px;
}
.people-teaser-row {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.people-teaser-stack {
  display: inline-flex;
  text-decoration: none;
  flex-shrink: 0;
}
.people-teaser-stack .avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 0 2px var(--ink);
  background: var(--rule);
  margin-right: -12px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.people-teaser-stack .avatar img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: grayscale(1);
}
.people-teaser-stack .avatar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--yellow);
  mix-blend-mode: multiply;
  opacity: 0;
  transition: opacity 0.18s ease-out;
  pointer-events: none;
  border-radius: 50%;
}
.people-teaser-stack .avatar--count {
  background: var(--ink);
  box-shadow: 0 0 0 2px var(--yellow);
  color: var(--yellow);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.02em;
  margin-right: 0;
}
.people-teaser-stack .avatar--count::after { display: none; }
.people-teaser-stack:hover .avatar::after { opacity: 1; }
.people-teaser-text {
  flex: 1;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.people-teaser-text p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--fg);
  opacity: 0.85;
}
.people-teaser-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow);
  text-decoration: none;
  align-self: flex-start;
}
.people-teaser-cta svg { width: 14px; height: 14px; }
.people-teaser-cta:hover { text-decoration: underline; text-underline-offset: 4px; }

/* =========================================================================
   FAMILY OF COMPANIES (About page – how we work together)
   ========================================================================= */

.family-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.family-card {
  background: var(--ink);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}
.family-card--us {
  outline: 1.5px solid var(--yellow);
  outline-offset: -1.5px;
  z-index: 1;
}
.family-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  min-height: 28px;
}
.family-role {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--yellow);
  flex-shrink: 0;
}
.family-logo {
  display: inline-flex;
  align-items: center;
  opacity: 0.85;
}
.family-logo img { height: 22px; width: auto; display: block; }
.family-logo--pp {
  gap: 8px;
  opacity: 1;
}
.family-logo--pp .pp-mark-tiny { height: 20px; width: 20px; }
.family-wordmark {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.03em;
  color: var(--yellow);
  white-space: nowrap;
}
.family-wordmark .pp-policy { font-weight: 700; }
.family-wordmark .pp-dot    { font-weight: 700; }
.family-wordmark .pp-partners { font-weight: 300; }
.family-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--fg);
  opacity: 0.78;
}

@media (max-width: 780px) {
  .family-grid { grid-template-columns: 1fr; }
  .family-card { padding: 24px 20px; }
  .family-head { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* =========================================================================
   PARTNERS ECOSYSTEM STRIP
   ========================================================================= */

.ecosystem {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}
.eco-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease;
}
a.eco-card:hover { transform: translateY(-2px); }
a.eco-card:hover .logo { outline: 1.5px solid var(--yellow); outline-offset: 2px; }
.eco-card .logo {
  aspect-ratio: 2.6 / 1;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 16px;
  border-radius: 2px;
  overflow: hidden;
}
.eco-card .logo.pp-mark {
  background: var(--ink);
  border: 1px solid var(--yellow);
  padding: 8px;
}
.eco-card .logo img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.eco-card .logo.pp-mark img { max-height: 90%; }
.eco-card h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow);
  margin: 0;
}
.eco-card p {
  font-size: 15px;
  line-height: 1.5;
  margin: 0;
  opacity: 0.9;
}

/* =========================================================================
   CTA BLOCK
   ========================================================================= */

.cta {
  background: var(--yellow);
  color: var(--ink);
}
.cta .container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  padding-top: clamp(50px, 7vw, 80px);
  padding-bottom: clamp(50px, 7vw, 80px);
}
.cta h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0;
  max-width: 22ch;
}
.cta h2 strong { font-weight: 600; }
.cta p {
  font-size: 18px;
  max-width: 58ch;
  margin: 0;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: var(--ink);
  color: var(--paper);
  border: none;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 16px; height: 16px; }

/* In dark mode, buttons outside the yellow CTA need to be visible on dark bg */
[data-theme="dark"] .btn {
  background: var(--yellow);
  color: var(--ink);
}
/* But buttons INSIDE a yellow section (cta, closing-band) should stay black for contrast */
[data-theme="dark"] .cta .btn,
[data-theme="dark"] .closing-band .btn {
  background: var(--ink);
  color: var(--paper);
}

/* =========================================================================
   FOOTER
   ========================================================================= */

.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 60px 0 32px;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.04) 0.8px, transparent 1.2px);
  background-size: 14px 14px;
  pointer-events: none;
}
.site-footer .container {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  align-items: start;
  position: relative;
}
.site-footer .brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.site-footer .brand .lockup { align-self: flex-start; }
.site-footer .brand p {
  font-size: 14px;
  line-height: 1.55;
  opacity: 0.75;
  max-width: 32ch;
  margin: 0;
}
.site-footer h5 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--yellow);
  margin: 0 0 14px;
}
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.site-footer a {
  text-decoration: none;
  font-size: 15px;
  opacity: 0.85;
}
.site-footer a:hover { opacity: 1; color: var(--yellow); }

/* Legal body (privacy) – simple readable prose column */
.legal-body { max-width: 72ch; }
.legal-body h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 0.01em;
  margin: 44px 0 14px;
  color: var(--fg);
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body li {
  font-size: 16px;
  line-height: 1.65;
  color: var(--fg);
  opacity: 0.88;
}
.legal-body p { margin: 0 0 14px; }
.legal-body ul { padding-left: 22px; margin: 0 0 18px; }
.legal-body li { margin-bottom: 6px; }
.legal-body a { color: var(--yellow); text-decoration: underline; text-underline-offset: 3px; }
.legal-body a:hover { opacity: 0.8; }
.site-footer .beta {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 7px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 100px;
  vertical-align: 1px;
  line-height: 1.45;
}
.site-footer .legal {
  grid-column: 1 / -1;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  opacity: 0.65;
}

/* Family-of-orgs strip – monochrome logos on every page */
.site-footer .eco-strip {
  grid-column: 1 / -1;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.site-footer .eco-strip .eyebrow {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--yellow);
  opacity: 0.85;
  flex-shrink: 0;
}
.site-footer .eco-strip-logos {
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
}
.site-footer .eco-strip-logos a {
  display: inline-flex;
  align-items: center;
  opacity: 0.55;
  transition: opacity 0.15s ease;
}
.site-footer .eco-strip-logos a:hover { opacity: 1; }
.site-footer .eco-strip-logos img {
  height: 24px;
  width: auto;
}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */

@media (max-width: 780px) {
  .site-header .container { min-height: 72px; }
  .lockup { height: 34px; gap: 10px; }
  .lockup .pp-mark { height: 34px; width: 34px; }
  .lockup .wordmark { font-size: 13px; }
  .site-header .lockup { height: 48px; gap: 12px; }
  .site-header .lockup .pp-mark { height: 48px; width: 48px; }
  .site-header .lockup .wordmark { font-size: 22px; }

  /* Show hamburger */
  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    cursor: pointer;
    padding: 0;
    z-index: 60;
  }
  .hamburger span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--fg);
    border-radius: 1px;
    transition: transform 0.2s ease, opacity 0.15s ease;
    transform-origin: center;
  }
  .nav-toggle:checked ~ .hamburger span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
  .nav-toggle:checked ~ .hamburger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .hamburger span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

  /* Mobile nav: drops below the header when toggled on */
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--ink);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 4px 24px 16px;
    display: none;
  }
  .nav-toggle:checked ~ .site-nav { display: flex; }
  .site-nav a {
    font-size: 19px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .site-nav a:last-child { border-bottom: none; }
  .site-nav a:hover,
  .site-nav a[aria-current="page"] { border-bottom-color: var(--yellow); }

  /* Beta pill back inline in the mobile dropdown */
  .site-nav .beta {
    position: static;
    display: inline-block;
    margin-left: 10px;
    vertical-align: 3px;
  }

  /* Footer family strip – quieter on narrow screens */
  .site-footer .eco-strip { gap: 16px; padding-top: 24px; margin-top: 28px; }
  .site-footer .eco-strip-logos { gap: 22px; }
  .site-footer .eco-strip-logos img { height: 18px; }

  /* Home page ecosystem tiles – 2 cols, smaller logo box, quieter text */
  .ecosystem { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .eco-card { gap: 8px; }
  .eco-card .logo { aspect-ratio: 2.2 / 1; padding: 10px 12px; }
  .eco-card h4 { font-size: 11px; letter-spacing: 0.12em; }
  .eco-card p { font-size: 12.5px; line-height: 1.45; }

  .site-footer .container { grid-template-columns: 1fr; gap: 32px; }
  .site-footer .legal { flex-direction: column; gap: 6px; }
}

/* =========================================================================
   ABOUT PAGE – mission section
   ========================================================================= */

.section.mission {
  padding-top: clamp(80px, 10vw, 140px);
  padding-bottom: clamp(60px, 8vw, 100px);
  position: relative;
  overflow: hidden;
}
.section.mission::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0.8px, transparent 1.2px);
  background-size: 14px 14px;
  pointer-events: none;
}
.section.mission .container { position: relative; }
.mission .eyebrow { display: inline-block; margin-bottom: 24px; }
.mission-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 28px;
  max-width: 22ch;
}
.mission-lede {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.55;
  max-width: 58ch;
  margin: 0;
  opacity: 0.85;
}

/* =========================================================================
   CONTACT PAGE
   ========================================================================= */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}
@media (max-width: 780px) {
  .contact-grid { grid-template-columns: 1fr; }
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 560px;
}
.contact-form .field { display: flex; flex-direction: column; gap: 6px; }
.contact-form label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg);
  opacity: 0.7;
}
.contact-form input,
.contact-form textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--rule);
  padding: 10px 0;
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--fg);
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-bottom-color: var(--yellow);
}
.contact-form textarea { min-height: 120px; }
.contact-form .submit-btn {
  align-self: flex-start;
  margin-top: 8px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-top: 6px;
}
.contact-details .block h3 {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--yellow);
  margin: 0 0 10px;
}
.contact-details .block p {
  margin: 0;
  font-size: 17px;
  line-height: 1.5;
}
.contact-details .block a { text-decoration: none; }
.contact-details .block a:hover { color: var(--yellow); }
.contact-social { display: flex; gap: 10px; flex-wrap: wrap; }
.contact-social a {
  padding: 10px 20px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
}
.contact-social a:hover { border-color: var(--yellow); }

/* =========================================================================
   AWAY DAYS PAGE
   ========================================================================= */

.away-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
}
@media (max-width: 780px) { .away-intro-grid { grid-template-columns: 1fr; } }
.away-intro-grid p {
  font-size: 17px;
  line-height: 1.6;
  margin: 0 0 18px;
}
.away-intro-grid .lede {
  font-size: 20px;
  line-height: 1.5;
}
.away-intro-grid .lede strong { font-weight: 700; }

.approach-band {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(36px, 5vw, 56px) 0;
}
.approach-band .container {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 780px) {
  .approach-band .container { grid-template-columns: 1fr; gap: 16px; }
}
.approach-band .eyebrow { color: var(--yellow); }
.approach-band .statement {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.25;
  margin: 0;
  max-width: 30ch;
}
.approach-band .statement strong { color: var(--yellow); font-weight: 600; }

.hallmarks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}
.hallmark-card {
  padding: 24px;
  background: var(--surface-alt);
  border-top: 3px solid var(--yellow);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hallmark-card .num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.18em;
  opacity: 0.55;
}
.hallmark-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  margin: 0;
}
.hallmark-card p {
  font-size: 15px;
  line-height: 1.5;
  margin: 0;
  opacity: 0.88;
}

.closing-band {
  background: var(--yellow);
  color: var(--ink);
  padding: clamp(40px, 6vw, 72px) 0;
}
.closing-band p {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(20px, 2.4vw, 32px);
  line-height: 1.25;
  letter-spacing: -0.005em;
  text-align: center;
  margin: 0;
  max-width: 40ch;
  margin-inline: auto;
}
.closing-band p strong { font-weight: 600; }

/* =========================================================================
   IDEAS STUB
   ========================================================================= */

.ideas-stub {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 0;
}
.ideas-stub .inner { text-align: center; max-width: 520px; }
.ideas-stub h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(32px, 4.5vw, 52px);
  line-height: 1.1;
  margin: 0 0 16px;
}
.ideas-stub p { font-size: 17px; opacity: 0.8; margin: 0; }
