/* parkour-ai.com. One stylesheet for three pages; no framework, no web fonts, nothing loaded from
   anywhere but this site. Section themes follow the Squarespace original: black, light, white. */

:root {
    --ink: #141414;
    --ink-quiet: #5b5b5b;
    --paper: #ffffff;
    --paper-light: #f4f1ec;
    --night: #0d0d0d;
    --night-ink: #f5f5f5;
    --night-quiet: #b9b9b9;
    --accent: #c9a46a;
    --rule: #e2ddd5;
    --radius: 10px;
    --width: 1120px;
    --gutter: 24px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 17px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--paper);
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

.wrap { max-width: var(--width); margin: 0 auto; padding: 0 var(--gutter); }

/* ── header ─────────────────────────────────────────────────────────────── */

.site-header {
    position: sticky; top: 0; z-index: 10;
    background: rgba(13, 13, 13, 0.92);
    backdrop-filter: blur(8px);
    color: var(--night-ink);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { font-weight: 700; font-size: 20px; letter-spacing: 0.02em; text-decoration: none; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { text-decoration: none; font-size: 15px; color: var(--night-quiet); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--night-ink); }

.button {
    display: inline-block;
    padding: 12px 22px;
    border-radius: 999px;
    background: var(--accent);
    color: var(--night) !important;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    border: 0;
    cursor: pointer;
}
.button:hover { filter: brightness(1.06); }
.button.small { padding: 8px 16px; }

/* ── sections ───────────────────────────────────────────────────────────── */

section { padding: 88px 0; }
.theme-black { background: var(--night); color: var(--night-ink); }
.theme-black .quiet { color: var(--night-quiet); }
.theme-light { background: var(--paper-light); }
.quiet { color: var(--ink-quiet); }

h1, h2, h3 { line-height: 1.2; margin: 0 0 16px; }
h1 { font-size: clamp(32px, 5vw, 52px); font-weight: 700; letter-spacing: -0.01em; }
h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 700; }
h3 { font-size: 20px; font-weight: 650; }
p { margin: 0 0 16px; }
.lead { font-size: 20px; }

.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.figure { border-radius: var(--radius); overflow: hidden; }
.figure img { width: 100%; }
.caption { font-size: 14px; margin-top: 10px; }

.hero { padding: 112px 0 96px; }
.hero .actions { margin-top: 32px; }

/* ── team ───────────────────────────────────────────────────────────────── */

.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin-top: 40px; }
.person { display: flex; gap: 20px; align-items: flex-start; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); padding: 24px; }
.person img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; flex: none; }
.person h3 { margin-bottom: 2px; }
.person .role { font-size: 14px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-quiet); margin-bottom: 10px; }

/* ── questions ──────────────────────────────────────────────────────────── */

.faq { max-width: 820px; }
.faq details { border-top: 1px solid var(--rule); padding: 18px 0; }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; color: var(--ink-quiet); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; color: var(--ink-quiet); }

.cta { text-align: center; }
.cta p { max-width: 720px; margin: 0 auto 28px; }

/* ── form ───────────────────────────────────────────────────────────────── */

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.form input, .form textarea {
    width: 100%; font: inherit; font-size: 16px;
    padding: 12px 14px; border: 1px solid #cfc8bd; border-radius: 8px; background: var(--paper); color: var(--ink);
}
.form input:focus, .form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.form textarea { min-height: 140px; resize: vertical; }
.form .optional { font-weight: 400; color: var(--ink-quiet); }
.form .trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { grid-column: 1 / -1; min-height: 24px; font-weight: 600; }
.form-status.error { color: #a4262c; }
.form-status.done { color: #1d6b3a; }

/* ── footer ─────────────────────────────────────────────────────────────── */

.site-footer { background: var(--night); color: var(--night-quiet); padding: 36px 0; font-size: 14px; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer a { color: var(--night-ink); text-decoration: none; }

/* ── narrow screens ─────────────────────────────────────────────────────── */

@media (max-width: 820px) {
    section { padding: 64px 0; }
    .hero { padding: 72px 0 64px; }
    .split { grid-template-columns: 1fr; gap: 32px; }
    .split.reverse > :first-child { order: 0; }
    .people { grid-template-columns: 1fr; }
    .form { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
    :root { --gutter: 16px; }
    .nav { gap: 14px; }
    .nav .hide-narrow { display: none; }
    .person { flex-direction: column; }
}
