:root {
  --paper: #f4f0e7;
  --paper-bright: #fbfaf5;
  --ink: #17231f;
  --muted: #617069;
  --forest: #183d33;
  --sage: #dce9df;
  --sage-deep: #b8d0c0;
  --clay: #d56549;
  --sun: #e8bf45;
  --line: #b9c2ba;
  --content: 1380px;
  --reading: 790px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.pgpc-site {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.68;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }

.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--ink);
  color: white;
}
.skip-link:focus { top: 12px; }

.site-header {
  position: relative;
  z-index: 100;
  width: 100%;
  background: var(--paper-bright);
  border-bottom: 1px solid var(--ink);
}
.header-inner {
  width: min(var(--content), calc(100% - 48px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.site-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  flex: 0 0 auto;
}
.mark-box {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--sun);
  border: 1px solid var(--ink);
  font-weight: 900;
  letter-spacing: -.06em;
}
.mark-copy { display: grid; line-height: 1.05; }
.mark-copy strong { font-family: "Cal Sans", Inter, sans-serif; font-size: 1.4rem; letter-spacing: .02em; }
.mark-copy small { margin-top: 4px; font-size: .63rem; font-weight: 800; letter-spacing: .14em; }
.desktop-nav { display: flex; align-items: center; gap: 0; }
.desktop-nav a {
  padding: 26px 13px;
  border-left: 1px solid transparent;
  color: var(--ink);
  font-size: .82rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}
.desktop-nav a:hover, .desktop-nav a:focus-visible { background: var(--sage); outline: none; }
.desktop-nav .nav-action {
  margin-left: 10px;
  padding: 13px 18px;
  background: var(--forest);
  border: 1px solid var(--forest);
  color: white;
}
.desktop-nav .nav-action:hover { background: var(--clay); border-color: var(--ink); }
.menu-toggle {
  display: none;
  width: 46px;
  height: 42px;
  padding: 9px;
  border: 1px solid var(--ink);
  background: transparent;
}
.menu-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--ink); }

.mobile-panel {
  position: fixed;
  z-index: 300;
  inset: 0 0 0 auto;
  width: min(420px, 100%);
  padding: 24px;
  transform: translateX(105%);
  transition: transform .24s ease;
  background: var(--sun);
  border-left: 1px solid var(--ink);
}
.mobile-panel[aria-hidden="false"] { transform: translateX(0); }
.mobile-panel-bar { display: flex; justify-content: space-between; align-items: center; font-size: .75rem; font-weight: 900; letter-spacing: .12em; }
.menu-close { padding: 8px 10px; border: 1px solid var(--ink); background: var(--paper-bright); font-weight: 800; }
.mobile-nav { display: grid; margin-top: 36px; border-top: 1px solid var(--ink); }
.mobile-nav a { padding: 14px 4px; border-bottom: 1px solid var(--ink); font-size: 1.2rem; font-weight: 850; text-decoration: none; }
.mobile-nav .nav-action { margin-top: 18px; padding-inline: 15px; background: var(--forest); color: white; text-align: center; }
.mobile-panel p { margin-top: 28px; font-size: .9rem; }
.menu-scrim { position: fixed; z-index: 200; inset: 0; background: rgb(23 35 31 / 55%); }

.page-shell { width: 100%; }
.content-rail { width: min(var(--content), calc(100% - 64px)); margin: 0 auto; }
.reading-rail { width: min(var(--reading), calc(100% - 48px)); margin: 0 auto; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 17px;
  color: var(--clay);
  font-size: .73rem;
  font-weight: 900;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
h1, h2, h3 { margin-top: 0; color: var(--ink); font-family: "Cal Sans", Inter, sans-serif; font-weight: 600; letter-spacing: -.025em; }
h1 { margin-bottom: 22px; font-size: clamp(2.55rem, 4.8vw, 4.35rem); line-height: 1.02; }
h2 { margin-bottom: 17px; font-size: clamp(1.85rem, 3vw, 3rem); line-height: 1.09; }
h3 { margin-bottom: 9px; font-size: 1.25rem; line-height: 1.2; }
p { margin: 0 0 1.15em; }
.standfirst { max-width: 64ch; font-size: clamp(1.03rem, 1.45vw, 1.24rem); line-height: 1.62; }
.compact-copy { max-width: 72ch; color: var(--muted); }

.home-hero {
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr);
  border-bottom: 1px solid var(--ink);
  background: linear-gradient(90deg, var(--paper) 0 58%, var(--sage) 58% 100%);
}
.home-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 68px max(52px, calc((100vw - var(--content)) / 2));
  padding-right: clamp(42px, 6vw, 100px);
}
.home-hero h1 { max-width: 14ch; }
.action-line { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 22px; margin-top: 18px; }
.signal-button, .footer-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  background: var(--forest);
  border: 1px solid var(--ink);
  color: white;
  font-weight: 850;
  text-decoration: none;
}
.signal-button:hover, .footer-action:hover { background: var(--clay); }
.text-link { font-weight: 850; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.home-hero-image {
  margin: 0;
  padding: clamp(34px, 5vw, 72px);
  display: grid;
  align-content: center;
  border-left: 1px solid var(--ink);
}
.home-hero-image img {
  width: 100%;
  max-height: 390px;
  object-fit: contain;
  object-position: center;
  background: var(--paper-bright);
  border: 1px solid var(--ink);
}
.home-hero-image figcaption, .image-note { margin-top: 10px; font-size: .68rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }

.index-strip { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--ink); background: var(--paper-bright); }
.index-strip a { padding: 20px clamp(16px, 3vw, 40px); border-right: 1px solid var(--ink); font-size: .82rem; font-weight: 850; text-decoration: none; }
.index-strip a:last-child { border-right: 0; }
.index-strip span { display: block; margin-bottom: 4px; color: var(--clay); font-size: .67rem; letter-spacing: .12em; }

.section-pad { padding: clamp(64px, 8vw, 112px) 0; }
.section-pad.tight { padding-block: clamp(48px, 6vw, 82px); }
.section-head { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px; margin-bottom: 44px; }
.section-head h2 { max-width: 18ch; }
.section-number { color: var(--clay); font-size: .75rem; font-weight: 900; letter-spacing: .14em; }
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.guide-card { min-height: 230px; padding: 28px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); background: var(--paper-bright); }
.guide-card:nth-child(2n) { background: var(--sage); }
.guide-card .card-code { display: block; margin-bottom: 35px; color: var(--clay); font-size: .68rem; font-weight: 900; letter-spacing: .13em; }
.guide-card p { color: var(--muted); }
.guide-card a { font-weight: 850; text-underline-offset: 4px; }

.split-band { display: grid; grid-template-columns: .9fr 1.1fr; border-block: 1px solid var(--ink); background: var(--forest); color: white; }
.split-band-copy { padding: clamp(54px, 7vw, 100px) max(40px, calc((100vw - var(--content)) / 2)); padding-right: clamp(34px, 5vw, 80px); }
.split-band h2 { color: white; max-width: 15ch; }
.split-band-copy p { max-width: 56ch; color: #dce9df; }
.split-band figure { margin: 0; padding: clamp(34px, 5vw, 70px); display: grid; align-content: center; background: var(--sun); border-left: 1px solid var(--ink); color: var(--ink); }
.split-band img { width: 100%; max-height: 360px; object-fit: contain; background: var(--paper-bright); border: 1px solid var(--ink); }

.steps-list { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.steps-list > div { counter-increment: step; padding: 28px 30px; border-right: 1px solid var(--ink); }
.steps-list > div:last-child { border-right: 0; }
.steps-list > div::before { content: "0" counter(step); display: block; margin-bottom: 30px; color: var(--clay); font-size: .72rem; font-weight: 900; letter-spacing: .12em; }

.faq-layout { display: grid; grid-template-columns: minmax(240px, .65fr) 1.35fr; gap: clamp(44px, 7vw, 110px); }
.faq-list { border-top: 1px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--ink); }
.faq-list summary { padding: 20px 42px 20px 0; cursor: pointer; font-weight: 850; list-style: none; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 6px; top: 18px; color: var(--clay); font-size: 1.4rem; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { padding: 0 42px 20px 0; color: var(--muted); }

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(340px, .96fr);
  background: var(--sage);
  border-bottom: 1px solid var(--ink);
}
.page-hero-copy { align-self: center; padding: clamp(54px, 7vw, 92px) max(42px, calc((100vw - var(--content)) / 2)); padding-right: clamp(42px, 6vw, 90px); }
.page-hero h1 { max-width: 16ch; }
.page-hero figure { margin: 0; padding: clamp(34px, 5vw, 68px); background: var(--paper-bright); border-left: 1px solid var(--ink); display: grid; align-content: center; }
.page-hero figure img { width: 100%; max-height: 370px; object-fit: contain; border: 1px solid var(--ink); background: var(--paper); }

.article-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, .82fr);
  border-bottom: 1px solid var(--ink);
  background: var(--paper-bright);
}
.article-hero-copy { align-self: center; padding: clamp(52px, 7vw, 90px) max(44px, calc((100vw - var(--content)) / 2)); padding-right: clamp(40px, 6vw, 90px); }
.article-hero h1 { max-width: 16ch; font-size: clamp(2.5rem, 4.4vw, 4rem); }
.article-hero figure { margin: 0; padding: clamp(32px, 5vw, 66px); display: grid; align-content: center; background: var(--sage); border-left: 1px solid var(--ink); }
.article-hero figure img { width: 100%; max-height: 350px; object-fit: contain; background: white; border: 1px solid var(--ink); }
.article-body { padding: clamp(60px, 8vw, 110px) 0; }
.article-body h2 { margin-top: 2.1em; max-width: 18ch; }
.article-body h3 { margin-top: 1.8em; }
.article-body p, .article-body li { color: #31413b; }
.article-body > .reading-rail > p:first-child { font-size: 1.15rem; color: var(--ink); }
.article-body ul, .article-body ol { padding-left: 1.3rem; }
.article-body li { margin: .55em 0; padding-left: .4rem; }
.article-notice { margin: 42px 0; padding: 24px 28px; border-left: 5px solid var(--clay); background: var(--sage); }
.article-notice strong { display: block; margin-bottom: 8px; color: var(--ink); }
.focus-grid { display: grid; grid-template-columns: repeat(2, 1fr); margin: 34px 0; border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.focus-grid > div { padding: 23px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); background: var(--paper-bright); }
.focus-grid h3 { margin-top: 0; }
.evidence-frame { margin: 46px calc((min(100vw, 1120px) - min(100vw, var(--reading))) / -2); padding: 32px; background: var(--forest); color: white; }
.evidence-frame img { width: 100%; max-height: 460px; object-fit: contain; background: white; }
.evidence-frame figcaption { margin-top: 12px; font-size: .78rem; color: #dce9df; }
.check-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--ink); }
.check-grid li { margin: 0; padding: 16px 18px; border-bottom: 1px solid var(--ink); list-style: none; }
.check-grid li:nth-child(odd) { border-right: 1px solid var(--ink); }
.article-links { margin-top: 54px; padding-top: 24px; border-top: 3px solid var(--ink); }
.article-links a { display: inline-block; margin: 6px 20px 6px 0; font-weight: 850; text-underline-offset: 4px; }

.blog-head { padding: clamp(60px, 8vw, 104px) 0 48px; border-bottom: 1px solid var(--ink); }
.blog-head h1 { max-width: 17ch; }
.blog-intro { display: grid; grid-template-columns: .75fr 1.25fr; gap: 60px; padding: 42px 0; border-bottom: 1px solid var(--ink); }
.article-directory { display: grid; grid-template-columns: repeat(3, 1fr); border-left: 1px solid var(--ink); }
.directory-card { min-height: 260px; padding: 26px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); background: var(--paper-bright); }
.directory-card:nth-child(6n+2), .directory-card:nth-child(6n+4), .directory-card:nth-child(6n+6) { background: var(--sage); }
.directory-card span { display: block; margin-bottom: 30px; color: var(--clay); font-size: .69rem; font-weight: 900; letter-spacing: .13em; }
.directory-card h2 { font-size: 1.45rem; }
.directory-card p { color: var(--muted); font-size: .91rem; }
.directory-card a { font-weight: 850; text-underline-offset: 4px; }

.legal-page { padding: clamp(62px, 9vw, 120px) 0; }
.legal-page h1 { max-width: 16ch; }
.legal-page .reading-rail { padding-top: 42px; }

.site-footer { background: var(--ink); color: white; }
.footer-lead { width: min(var(--content), calc(100% - 64px)); margin: 0 auto; padding: 54px 0; display: flex; justify-content: space-between; align-items: end; gap: 40px; border-bottom: 1px solid #67736e; }
.footer-lead h2 { margin: 8px 0 0; max-width: 18ch; color: white; font-size: clamp(1.7rem, 3vw, 2.7rem); }
.footer-code { color: var(--sun); font-size: .7rem; font-weight: 900; letter-spacing: .15em; }
.footer-action { background: var(--sun); color: var(--ink); flex: 0 0 auto; }
.footer-grid { width: min(var(--content), calc(100% - 64px)); margin: 0 auto; padding: 56px 0; display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 60px; }
.footer-grid strong { display: block; font-family: "Cal Sans", Inter, sans-serif; font-size: 2.5rem; }
.footer-grid p { max-width: 36ch; color: #bdc8c2; font-size: .9rem; }
.footer-grid h3 { color: white; font-family: Inter, sans-serif; font-size: .72rem; letter-spacing: .13em; text-transform: uppercase; }
.footer-grid a { display: block; margin: 8px 0; color: #dce4df; font-size: .9rem; text-decoration: none; }
.footer-grid a:hover { color: var(--sun); }
.footer-base { padding: 17px max(32px, calc((100vw - var(--content)) / 2)); display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid #67736e; color: #bdc8c2; font-size: .75rem; }

@media (max-width: 1100px) {
  .desktop-nav a { padding-inline: 9px; font-size: .76rem; }
  .desktop-nav .nav-action { margin-left: 5px; padding-inline: 12px; }
  .guide-grid, .article-directory { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { gap: 34px; }
}

@media (max-width: 900px) {
  .header-inner, .content-rail, .footer-lead, .footer-grid { width: min(100% - 40px, var(--content)); }
  .desktop-nav { display: none; }
  .menu-toggle { display: block; }
  .home-hero, .page-hero, .article-hero, .split-band { grid-template-columns: 1fr; background: var(--paper); }
  .home-hero-copy, .page-hero-copy, .article-hero-copy { padding: 54px 28px 46px; }
  .home-hero-image, .page-hero figure, .article-hero figure, .split-band figure { padding: 28px; border-left: 0; border-top: 1px solid var(--ink); }
  .home-hero-image img, .page-hero figure img, .article-hero figure img { max-height: 360px; }
  .index-strip { grid-template-columns: repeat(2, 1fr); }
  .index-strip a:nth-child(2) { border-right: 0; }
  .index-strip a:nth-child(-n+2) { border-bottom: 1px solid var(--ink); }
  .section-head, .blog-intro { grid-template-columns: 1fr; gap: 16px; }
  .section-head { margin-bottom: 32px; }
  .faq-layout { grid-template-columns: 1fr; gap: 28px; }
  .evidence-frame { margin-inline: 0; }
  .footer-grid { grid-template-columns: 1.7fr repeat(3, 1fr); gap: 25px; }
}

@media (max-width: 680px) {
  body.pgpc-site { font-size: 15px; }
  .header-inner { min-height: 66px; width: calc(100% - 28px); }
  .mark-box { width: 38px; height: 38px; }
  .mark-copy strong { font-size: 1.2rem; }
  .mark-copy small { font-size: .56rem; }
  h1, .article-hero h1 { font-size: clamp(2.25rem, 11vw, 3rem); line-height: 1.03; }
  h2 { font-size: clamp(1.7rem, 8vw, 2.25rem); }
  .home-hero { min-height: 0; }
  .home-hero-copy, .page-hero-copy, .article-hero-copy { padding: 44px 20px 38px; }
  .home-hero h1, .page-hero h1, .article-hero h1 { max-width: 17ch; }
  .home-hero-image, .page-hero figure, .article-hero figure, .split-band figure { padding: 20px; }
  .home-hero-image img, .page-hero figure img, .article-hero figure img { max-height: 270px; }
  .content-rail, .reading-rail, .footer-lead, .footer-grid { width: calc(100% - 40px); }
  .section-pad { padding-block: 58px; }
  .index-strip, .guide-grid, .article-directory, .steps-list, .focus-grid, .check-grid { grid-template-columns: 1fr; }
  .index-strip a { border-right: 0; border-bottom: 1px solid var(--ink); }
  .guide-card, .directory-card { min-height: 0; }
  .steps-list > div { border-right: 0; border-bottom: 1px solid var(--ink); }
  .focus-grid > div, .check-grid li:nth-child(odd) { border-right: 1px solid var(--ink); }
  .evidence-frame { padding: 18px; }
  .article-body { padding-block: 54px; }
  .article-body h2 { margin-top: 1.8em; }
  .footer-lead { align-items: flex-start; flex-direction: column; padding-block: 42px; }
  .footer-grid { grid-template-columns: 1fr 1fr; padding-block: 44px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-base { padding: 17px 20px; flex-direction: column; gap: 3px; }
}
