/* ppll.pl — people, with the vowels left out. A page about self-improvement in the era of AI; Kevin is one section.
   The look continues Kevin's interface (ipad/ui/css/kevin.css): graphite ground, amber accent, calm type.
   Dark-first; a light theme follows the viewer's system setting.
   Layout: one 66 rem column; the wordmark opens the page; the principles run as a ruled list; the practices as a
   two-column ledger (what you grow / what the machine does); the day as the one illustrated object.
   English only (2026-11-02). */

:root {
  --bg: #0e1114;
  --panel: #1a2026;
  --panel-2: #141a1f;
  --ink: #eef1f3;
  --ink-2: #aab3bb;
  --ink-3: #5c6670;
  --line: #2d363e;
  --accent: #f2aa5c;
  --accent-ink: #231505;
  --accent-soft: rgba(242, 170, 92, 0.14);
  --font: "IBM Plex Sans", -apple-system, "Helvetica Neue", system-ui, sans-serif;
  --font-display: "Golos Text", "IBM Plex Sans", -apple-system, "Helvetica Neue", system-ui, sans-serif;
  --radius: 18px;
  --radius-s: 12px;
  --measure: 66rem;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #f6f3ee;
    --panel: #ffffff;
    --panel-2: #efebe4;
    --ink: #1b1f23;
    --ink-2: #5b636b;
    --ink-3: #a8a096;
    --line: #dcd6cc;
    --accent: #c47a22;
    --accent-ink: #fff7ec;
    --accent-soft: rgba(196, 122, 34, 0.12);
    color-scheme: light;
  }
}
:root[data-theme="light"] {
  --bg: #f6f3ee;
  --panel: #ffffff;
  --panel-2: #efebe4;
  --ink: #1b1f23;
  --ink-2: #5b636b;
  --ink-3: #a8a096;
  --line: #dcd6cc;
  --accent: #c47a22;
  --accent-ink: #fff7ec;
  --accent-soft: rgba(196, 122, 34, 0.12);
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--font);
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
img, svg { max-width: 100%; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; margin: 0; text-wrap: balance; letter-spacing: -0.015em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 600; }
p { margin: 0; }
.wrap { max-width: var(--measure); margin: 0 auto; }
.eyebrow { font: 600 0.78rem/1.2 var(--font); letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.muted { color: var(--ink-2); }

/* header */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 18px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; }
.brand small { font: 500 0.85rem/1 var(--font); color: var(--ink-2); }
.mark { width: 36px; height: 36px; flex: none; }
nav.menu { display: flex; gap: 6px 18px; flex-wrap: wrap; align-items: center; }
nav.menu a { color: var(--ink-2); text-decoration: none; font-size: 0.95rem; }
nav.menu a:hover { color: var(--ink); }
.btn { display: inline-block; padding: 10px 18px; border-radius: 999px; text-decoration: none; font-weight: 600; border: 1px solid var(--line); color: var(--ink); background: var(--panel); white-space: nowrap; }
.btn.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn:hover { filter: brightness(1.06); }

/* hero: the wordmark with its missing vowels, then the thesis */
.hero { padding-block: clamp(44px, 8vw, 96px) clamp(36px, 6vw, 64px); display: grid; gap: 36px 56px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; }
.wordmark { font-family: var(--font-display); font-weight: 800; font-size: clamp(5rem, 16vw, 11rem); line-height: 0.9; letter-spacing: -0.05em; color: var(--ink); margin: 0 0 0.22em -0.04em; }
.wordmark .ghost { color: transparent; -webkit-text-stroke: 1.5px var(--ink-3); font-weight: 700; }
.wordmark + p { color: var(--ink-2); font-size: 1.05rem; max-width: 24rem; }
.hero .thesis h1 { margin-bottom: 18px; }
.hero .thesis h1 em { font-style: normal; color: var(--accent); }
.hero .lead { font-size: 1.15rem; color: var(--ink-2); max-width: 32rem; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }

/* sections */
section.block { padding-block: clamp(36px, 6vw, 72px); border-top: 1px solid var(--line); }
section.block > .wrap > h2 { margin-top: 10px; }
section.block > .wrap > p.intro { margin-top: 14px; max-width: 40rem; color: var(--ink-2); font-size: 1.05rem; }
.prose { max-width: 40rem; display: grid; gap: 16px; margin-top: 22px; font-size: 1.05rem; }
.prose b { font-weight: 600; color: var(--ink); }

/* principles: a ruled list, no numbers (they are not a sequence) */
.principles { list-style: none; margin: 26px 0 0; padding: 0; max-width: 44rem; }
.principles li { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: 6px 28px; padding: 18px 0; border-top: 1px solid var(--line); }
.principles li:last-child { border-bottom: 1px solid var(--line); }
.principles b { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; line-height: 1.25; }
.principles span { color: var(--ink-2); }

/* practices: what you grow / what the machine does */
.ledger { margin-top: 28px; border-top: 1px solid var(--line); }
.ledger .head, .ledger .row { display: grid; grid-template-columns: minmax(0, 10rem) minmax(0, 1.2fr) minmax(0, 1fr); gap: 8px 24px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.ledger .head { padding: 10px 0; font: 600 0.78rem/1.2 var(--font); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.ledger .row h3 { font-size: 1.1rem; }
.ledger .row p { color: var(--ink-2); font-size: 0.97rem; }
.ledger .row p.you { color: var(--ink); }
.ledger .row p.ai::before { content: "AI: "; color: var(--accent); font-weight: 600; }

/* the day card */
.day-block { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: start; margin-top: 28px; }
.day { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; min-width: 0; }
.day header { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.day header b { font-family: var(--font-display); font-weight: 700; }
.day ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.day li { display: grid; grid-template-columns: 3.6rem 1fr auto; gap: 12px; align-items: baseline; padding: 7px 8px; border-radius: 8px; }
.day li.now { background: var(--accent-soft); }
.day time { font-variant-numeric: tabular-nums; color: var(--ink-2); font-size: 0.92rem; }
.day .tag { font-size: 0.78rem; color: var(--ink-2); border: 1px solid var(--line); border-radius: 999px; padding: 1px 8px; white-space: nowrap; }
.day li.now .tag { color: var(--accent); border-color: var(--accent); }
.day .said { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); color: var(--ink-2); font-size: 0.95rem; }
.day .said b { color: var(--ink); font-weight: 600; }
.day-notes { display: grid; gap: 14px; color: var(--ink-2); font-size: 1.02rem; }
.day-notes b { color: var(--ink); font-weight: 600; }

/* people: coach and members */
.roles { display: grid; gap: 14px; margin-top: 28px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.role { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.role h3 { font-size: 1.25rem; }
.role ul { margin: 0; padding-left: 1.1em; color: var(--ink-2); display: grid; gap: 6px; }

/* the instrument */
.tool { display: grid; gap: 18px 32px; grid-template-columns: minmax(0, 1fr) auto; align-items: center; margin-top: 28px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 4vw, 36px); }
.tool .cta { display: flex; gap: 12px; flex-wrap: wrap; }
.tool p { color: var(--ink-2); margin-top: 8px; max-width: 38rem; }
.addr { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 0.95em; color: var(--ink); }

footer.foot { padding-block: 28px 40px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; color: var(--ink-2); font-size: 0.92rem; }
footer.foot a { color: var(--ink-2); }
footer.foot .notice { order: 1; flex-basis: 100%; color: var(--ink-3); font-size: 0.85rem; }

@media (max-width: 760px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .roles { grid-template-columns: minmax(0, 1fr); }
  .principles li { grid-template-columns: minmax(0, 1fr); }
  .ledger .head { display: none; }
  .ledger .row { grid-template-columns: minmax(0, 1fr); }
  .day-block, .tool { grid-template-columns: minmax(0, 1fr); }
  .day li { grid-template-columns: 3.2rem 1fr; }
  .day li .tag { grid-column: 2; justify-self: start; }
}

/* join: the two doors */
.join-hero { grid-template-columns: minmax(0, 1fr); padding-bottom: 0; }
.doors { display: grid; gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.door { display: grid; gap: 12px; align-content: start; padding: clamp(20px, 3vw, 28px); background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); min-width: 0; }
.door h2 { font-size: 1.4rem; margin-bottom: 4px; }
.door label { display: grid; gap: 6px; font-size: 0.92rem; color: var(--ink-2); }
.door input, .door textarea { font: inherit; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 10px 12px; width: 100%; min-width: 0; }
.door input[type="file"] { padding: 8px 0; background: none; border: 0; }
.door input:focus-visible, .door textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.door .hint { font-size: 0.88rem; color: var(--ink-2); }
.door .form-note { font-size: 0.95rem; min-height: 1.4em; }
.door .form-note.bad { color: #ef7676; }
.door .form-note.ok { color: var(--good, #6fd09b); font-weight: 500; }
.door button { justify-self: start; border: 0; cursor: pointer; font: inherit; }
.door.busy { opacity: 0.7; }
.photo-preview { width: 96px; height: 96px; object-fit: cover; border-radius: 50%; border: 2px solid var(--line); }
/* a live photo: the file input and the camera button side by side, then the preview with its shutter */
.photo-row { display: flex; gap: 12px; align-items: end; flex-wrap: wrap; }
.photo-row label { flex: 1 1 12rem; min-width: 0; }
.photo-row .btn, .camera .btn:not(.primary) { background: var(--bg); border: 1px solid var(--line); }
.photo-row .btn { padding-block: 8px; }
.camera { display: grid; gap: 12px; }
.camera video { display: block; width: 100%; max-width: 100%; max-height: 60vh; object-fit: cover; background: var(--bg); border-radius: var(--radius-s); border: 2px solid var(--line); }
.camera .cta { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 760px) { .doors { grid-template-columns: minmax(0, 1fr); } }
