/* PG Systems Lab publication homepage — scoped to the front-page template. */
:root { --pgsl-ink: #17212b; --pgsl-muted: #5d6a76; --pgsl-line: #d9e0e4; --pgsl-paper: #ffffff; --pgsl-wash: #f3f6f5; --pgsl-accent: #0e685e; --pgsl-accent-dark: #074840; --pgsl-sand: #dce9e4; }
body.home #content { background: var(--pgsl-paper); }
body.home #content-in { display: block; width: 100%; max-width: none; padding: 0; }
body.home #main { width: 100%; max-width: none; padding: 0; }
body.home #sidebar { display: none; }
.pgsl-home { color: var(--pgsl-ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.6; }
.pgsl-home *, .pgsl-home *::before, .pgsl-home *::after { box-sizing: border-box; }
.pgsl-shell { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }
.pgsl-home h1, .pgsl-home h2, .pgsl-home h3, .pgsl-home p { margin-top: 0; }
.pgsl-home h1, .pgsl-home h2, .pgsl-home h3 { color: var(--pgsl-ink); font-family: Georgia, "Times New Roman", serif; letter-spacing: -0.025em; line-height: 1.12; }
.pgsl-home h1 { max-width: 760px; margin-bottom: 24px; font-size: clamp(2.55rem, 5vw, 5.1rem); }
.pgsl-home h2 { margin-bottom: 16px; font-size: clamp(2rem, 3.5vw, 3.35rem); }
.pgsl-home h3 { margin-bottom: 12px; font-size: 1.32rem; }
.pgsl-eyebrow { margin-bottom: 16px; color: var(--pgsl-accent); font-size: .73rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.pgsl-hero { overflow: hidden; border-bottom: 1px solid var(--pgsl-line); background: #edf4f1; }
.pgsl-hero__grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(350px, .98fr); align-items: center; gap: 48px; min-height: 630px; padding: 68px 0; }
.pgsl-hero__lead { max-width: 680px; margin-bottom: 16px; font-size: clamp(1.14rem, 1.8vw, 1.45rem); font-weight: 500; line-height: 1.5; }
.pgsl-hero__support { max-width: 620px; margin-bottom: 28px; color: var(--pgsl-muted); font-size: 1rem; }
.pgsl-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.pgsl-button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 11px 21px; border: 1px solid transparent; border-radius: 2px; font-size: .95rem; font-weight: 700; text-decoration: none !important; transition: background .16s ease, color .16s ease, border-color .16s ease, transform .16s ease; }
.pgsl-button:hover { transform: translateY(-1px); }
.pgsl-button--primary { background: var(--pgsl-accent); color: #fff !important; }
.pgsl-button--primary:hover { background: var(--pgsl-accent-dark); }
.pgsl-button--secondary { border-color: #78948e; color: var(--pgsl-ink) !important; }
.pgsl-button--secondary:hover { background: #fff; border-color: var(--pgsl-accent); }
.pgsl-brand-line { margin-bottom: 0; color: #394c4a; font-family: Georgia, "Times New Roman", serif; font-size: 1.08rem; font-style: italic; }
.pgsl-hero__visual { position: relative; margin: 0; }
.pgsl-hero__visual::before { position: absolute; inset: -16px 16px 16px -16px; z-index: 0; background: var(--pgsl-sand); content: ""; }
.pgsl-hero__visual img { position: relative; z-index: 1; display: block; width: 100%; height: auto; border: 1px solid rgba(23,33,43,.14); box-shadow: 0 20px 45px rgba(23,33,43,.14); }
.pgsl-section { padding: 96px 0; }
.pgsl-section--muted { background: var(--pgsl-wash); }
.pgsl-section-heading { max-width: 650px; margin-bottom: 44px; }
.pgsl-section-heading > p:last-child { margin-bottom: 0; color: var(--pgsl-muted); font-size: 1.08rem; }
.pgsl-section-heading--row { display: flex; max-width: none; align-items: end; justify-content: space-between; gap: 24px; }
.pgsl-section-heading--row > div { max-width: 680px; }
.pgsl-section-heading--row h2 { margin-bottom: 0; }
.pgsl-evaluation-grid { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--pgsl-line); border-left: 1px solid var(--pgsl-line); }
.pgsl-evaluation-grid article { min-height: 254px; padding: 26px 22px; border-right: 1px solid var(--pgsl-line); border-bottom: 1px solid var(--pgsl-line); background: rgba(255,255,255,.58); }
.pgsl-number { display: block; margin-bottom: 36px; color: var(--pgsl-accent); font-size: .75rem; font-weight: 700; letter-spacing: .1em; }
.pgsl-evaluation-grid h3 { font-size: 1.12rem; }
.pgsl-evaluation-grid p { margin-bottom: 0; color: var(--pgsl-muted); font-size: .92rem; }
.pgsl-split, .pgsl-standard { display: grid; grid-template-columns: minmax(0,.9fr) minmax(420px,1.1fr); gap: 90px; align-items: start; }
.pgsl-split .pgsl-section-heading, .pgsl-standard .pgsl-section-heading { margin-bottom: 0; }
.pgsl-trust-panel { padding: 34px; border-left: 4px solid var(--pgsl-accent); background: #f5faf8; }
.pgsl-trust-panel ul, .pgsl-check-list { display: grid; gap: 13px; padding: 0; margin: 0 0 28px; list-style: none; }
.pgsl-trust-panel li, .pgsl-check-list li { position: relative; padding-left: 28px; font-weight: 600; }
.pgsl-trust-panel li::before, .pgsl-check-list li::before { position: absolute; left: 0; color: var(--pgsl-accent); content: "✓"; }
.pgsl-trust-panel p { margin-bottom: 0; color: var(--pgsl-muted); }
.pgsl-section--dark { background: #172b30; color: #e8f0ed; }
.pgsl-section--dark h2 { color: #fff; }
.pgsl-section-heading--light > p:last-child { color: #bfd0ca; }
.pgsl-section--dark .pgsl-eyebrow { color: #a5d4c6; }
.pgsl-method-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; padding: 0; margin: 0 0 36px; list-style: none; counter-reset: method; }
.pgsl-method-list li { min-height: 154px; padding: 22px 18px; border-top: 1px solid #648078; color: #fff; font-size: 1rem; counter-increment: method; }
.pgsl-method-list li::before { display: block; margin-bottom: 32px; color: #a5d4c6; font-family: Georgia, "Times New Roman", serif; font-size: 1.6rem; content: "0" counter(method); }
.pgsl-method-note { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-top: 28px; border-top: 1px solid #45645e; }
.pgsl-method-note p { max-width: 690px; margin-bottom: 0; color: #c7d8d2; }
.pgsl-button--light { border-color: #a5d4c6; color: #fff !important; white-space: nowrap; }
.pgsl-button--light:hover { background: #fff; color: var(--pgsl-ink) !important; }
.pgsl-review-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pgsl-review-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--pgsl-line); background: #fff; }
.pgsl-review-card__image { display: block; overflow: hidden; aspect-ratio: 16 / 9; background: #e7ecea; }
.pgsl-review-card__image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.pgsl-review-card:hover .pgsl-review-card__image img { transform: scale(1.025); }
.pgsl-review-card__content { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 22px; }
.pgsl-label { display: inline-block; margin-bottom: 14px; color: var(--pgsl-accent); font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.pgsl-review-card h3 { font-size: 1.18rem; }
.pgsl-review-card h3 a, .pgsl-latest-item h3 a { color: inherit; text-decoration: none; }
.pgsl-review-card h3 a:hover, .pgsl-latest-item h3 a:hover { color: var(--pgsl-accent); }
.pgsl-review-card p { margin-bottom: 20px; color: var(--pgsl-muted); font-size: .91rem; }
.pgsl-text-link { color: var(--pgsl-accent) !important; font-size: .9rem; font-weight: 700; text-decoration: none !important; }
.pgsl-text-link:hover { color: var(--pgsl-accent-dark) !important; text-decoration: underline !important; }
.pgsl-review-card .pgsl-text-link { margin-top: auto; }
.pgsl-standard > div:last-child { padding: 33px 36px; border: 1px solid var(--pgsl-line); background: #fff; }
.pgsl-standard > div:last-child > p { margin-bottom: 18px; font-family: Georgia, "Times New Roman", serif; font-size: 1.28rem; }
.pgsl-check-list { margin-bottom: 28px; }
.pgsl-founder { display: grid; grid-template-columns: 154px minmax(0,800px); gap: 48px; align-items: start; }
.pgsl-founder__monogram { display: grid; width: 128px; height: 128px; place-items: center; border-radius: 50%; background: #e2eeea; color: var(--pgsl-accent); font-family: Georgia, "Times New Roman", serif; font-size: 2.25rem; }
.pgsl-founder h2 { margin-bottom: 6px; }
.pgsl-founder__role { margin-bottom: 22px; color: var(--pgsl-accent); font-size: .9rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.pgsl-founder > div:last-child > p:not(.pgsl-eyebrow):not(.pgsl-founder__role) { max-width: 760px; color: var(--pgsl-muted); }
.pgsl-inline-links { display: flex; flex-wrap: wrap; gap: 0; margin-top: 24px; }
.pgsl-inline-links a { padding: 0 18px; border-left: 1px solid var(--pgsl-line); color: var(--pgsl-accent) !important; font-size: .9rem; font-weight: 700; text-decoration: none !important; }
.pgsl-inline-links a:first-child { padding-left: 0; border-left: 0; }
.pgsl-inline-links a:hover { text-decoration: underline !important; }
.pgsl-latest-list { border-top: 1px solid var(--pgsl-line); }
.pgsl-latest-item { display: grid; grid-template-columns: 220px 1fr; gap: 28px; padding: 19px 0; border-bottom: 1px solid var(--pgsl-line); }
.pgsl-latest-item__meta { margin: 2px 0 0; color: var(--pgsl-muted); font-size: .84rem; }
.pgsl-latest-item h3 { margin: 0; font-size: 1.16rem; }
@media screen and (max-width: 1023px) { .pgsl-hero__grid { grid-template-columns: 1fr; min-height: 0; gap: 40px; padding: 64px 0; } .pgsl-hero__visual { max-width: 760px; } .pgsl-evaluation-grid { grid-template-columns: repeat(3, 1fr); } .pgsl-evaluation-grid article { min-height: 220px; } .pgsl-method-list { grid-template-columns: repeat(3, 1fr); } .pgsl-review-grid { grid-template-columns: repeat(2, 1fr); } .pgsl-split, .pgsl-standard { gap: 50px; } }
@media screen and (max-width: 834px) { .pgsl-section { padding: 72px 0; } .pgsl-section-heading--row, .pgsl-method-note { display: block; } .pgsl-section-heading--row > .pgsl-text-link { display: inline-block; margin-top: 20px; } .pgsl-method-note .pgsl-button { margin-top: 22px; } .pgsl-split, .pgsl-standard { grid-template-columns: 1fr; gap: 34px; } .pgsl-founder { grid-template-columns: 96px 1fr; gap: 28px; } .pgsl-founder__monogram { width: 88px; height: 88px; font-size: 1.7rem; } }
@media screen and (max-width: 600px) { .pgsl-shell { width: min(100% - 32px, 1160px); } .pgsl-hero__grid { gap: 34px; padding: 48px 0; } .pgsl-home h1 { font-size: 2.5rem; } .pgsl-hero__lead { font-size: 1.12rem; } .pgsl-actions { display: grid; grid-template-columns: 1fr; } .pgsl-button { width: 100%; } .pgsl-hero__visual::before { inset: -10px 10px 10px -10px; } .pgsl-evaluation-grid { grid-template-columns: 1fr; } .pgsl-evaluation-grid article { min-height: auto; padding: 24px 20px; } .pgsl-number { margin-bottom: 18px; } .pgsl-method-list { grid-template-columns: 1fr; gap: 0; } .pgsl-method-list li { min-height: auto; padding: 20px 0; border-top: 1px solid #648078; } .pgsl-method-list li::before { display: inline; margin: 0 12px 0 0; font-size: 1.15rem; } .pgsl-review-grid { grid-template-columns: 1fr; } .pgsl-standard > div:last-child { padding: 25px 22px; } .pgsl-founder { grid-template-columns: 1fr; gap: 22px; } .pgsl-inline-links { display: grid; gap: 11px; } .pgsl-inline-links a, .pgsl-inline-links a:first-child { padding: 0; border: 0; } .pgsl-latest-item { grid-template-columns: 1fr; gap: 7px; } }
