/* Rebuilt WordPress-era pages (about, contact, ...) served on the apex through a Cloudflare
   Worker. Assets live under /_gbpw/, which the Worker also serves on the apex, so 'self' CSP holds on both hosts.
   Look: paper white, photography first, teal only on buttons. */
@font-face { font-family: Gilroy; font-weight: 400; font-display: swap; src: url("/_gbpw/fonts/gilroy-regular.woff2") format("woff2"); }
@font-face { font-family: Gilroy; font-weight: 700; font-display: swap; src: url("/_gbpw/fonts/gilroy-bold.woff2") format("woff2"); }
:root {
  --paper: #F3EFE6; --card: #FBF9F4; --ink: #23243F; --body: #4A4A5E; --muted: #85857F;
  --line: #DDD6C8; --teal: #00A87D; --teal-ink: #FFFFFF; --brass: #B8892F;
}
@media (prefers-color-scheme: dark) {
  :root { --paper: #12131C; --card: #1B1C28; --ink: #F3EFE6; --body: #CFCCC4; --muted: #8F8C85; --line: #2C2D3C; --teal: #00C996; --teal-ink: #0B0C12; --brass: #D2A857; }
}
* { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body { background: var(--paper); color: var(--body); font: 17px/1.65 Gilroy, system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.top { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; }
.top .logo img { height: 40px; width: auto; }
@media (prefers-color-scheme: dark) { .top .logo img { filter: brightness(0) invert(1); } }
.btn { display: inline-block; background: var(--teal); color: var(--teal-ink); text-decoration: none; font-weight: 700; font-size: 15px; padding: 11px 20px; border-radius: 999px; }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.eyebrow { font: 600 12px/1 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
h1 { color: var(--ink); font-weight: 700; font-size: clamp(34px, 5.2vw, 56px); line-height: 1.08; letter-spacing: -0.02em; margin-top: 14px; max-width: 16ch; }
h2 { color: var(--ink); font-weight: 700; font-size: clamp(26px, 3.4vw, 34px); line-height: 1.15; letter-spacing: -0.01em; }
h3 { color: var(--ink); font-weight: 700; font-size: 19px; line-height: 1.3; }
.lead { font-size: clamp(18px, 2vw, 21px); max-width: 38em; margin-top: 18px; }
.hero { padding: 48px 0 32px; }
.hero-photo { margin-top: 36px; border-radius: 18px; overflow: hidden; aspect-ratio: 21 / 9; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; animation: settle 1.6s ease-out both; }
@keyframes settle { from { transform: scale(1.04); opacity: 0.6; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .hero-photo img { animation: none; } }
.caption { font: 12px/1.4 ui-monospace, Menlo, monospace; color: var(--muted); margin-top: 10px; }
section { padding: 56px 0; border-top: 1px solid var(--line); }
.split { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 820px) { .split { grid-template-columns: 5fr 7fr; gap: 56px; } }
.split p + p { margin-top: 14px; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin-top: 28px; }
@media (min-width: 820px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.fact { background: var(--card); padding: 18px; }
.fact b { display: block; color: var(--ink); font-size: 30px; line-height: 1.1; }
.fact span { font-size: 14px; color: var(--muted); }
.cards { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 28px; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .cards { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; text-decoration: none; display: flex; flex-direction: column; transition: transform .2s ease, border-color .2s ease; }
.card:hover { transform: translateY(-2px); border-color: var(--muted); }
.card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; height: auto; }
.card div { padding: 16px; }
.card p { font-size: 15px; margin-top: 6px; }
.team { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 28px; }
@media (min-width: 820px) { .team { grid-template-columns: repeat(4, 1fr); } }
.person { border-top: 2px solid var(--ink); padding-top: 12px; }
.person p { font-size: 15px; color: var(--muted); margin-top: 2px; }
blockquote { font-size: clamp(20px, 2.4vw, 26px); line-height: 1.4; color: var(--ink); max-width: 30em; }
blockquote footer { font-size: 15px; color: var(--muted); margin-top: 12px; }
.cta { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 32px 24px; display: grid; gap: 16px; }
@media (min-width: 820px) { .cta { grid-template-columns: 1fr auto; align-items: center; padding: 40px; } }
.foot { padding: 32px 0 48px; font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot a { color: var(--muted); }
