/* Filmtrio's pages: one reading column, the app's palette (lib/theme/tokens.dart) and
   its two faces; the G mark's coral is the only accent. */
:root {
  --bg: #fbf8f3;
  --fg: #1b1917;
  --soft: #5e574f;
  --line: #e6dfd5;
  --panel: #f3ede4;
  --accent: #c94f27;
  --display: "Bricolage Grotesque", "Avenir Next", system-ui, sans-serif;
  --body: "Figtree", "Helvetica Neue", system-ui, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f0e0d; --fg: #f6f1e9; --soft: #c9c0b4; --line: #2e2a26; --panel: #1b1917;
    --accent: #ff7448; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0f0e0d; --fg: #f6f1e9; --soft: #c9c0b4; --line: #2e2a26; --panel: #1b1917;
  --accent: #ff7448; color-scheme: dark;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 17px/1.6 var(--body);
}
.page {
  max-width: 44rem;
  margin: 0 auto;
  padding-block: 2rem 4rem;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; align-items: center; }
nav .brand { display: flex; gap: 0.5rem; align-items: center; margin-right: auto;
  font: 700 1.2rem var(--display); color: var(--fg); text-decoration: none; }
nav a { color: var(--soft); text-decoration: none; }
nav a[aria-current="page"] { color: var(--fg); font-weight: 600; }
nav a:hover, nav a:focus-visible { color: var(--accent); }
h1 { font: 800 clamp(2rem, 6vw, 2.8rem)/1.1 var(--display); margin: 2.5rem 0 0.5rem;
  text-wrap: balance; letter-spacing: -0.01em; }
h2 { font: 700 1.35rem/1.25 var(--display); margin: 2.5rem 0 0.5rem; text-wrap: balance; }
h3 { font: 700 1.05rem/1.3 var(--body); margin: 1.5rem 0 0.25rem; }
p, li { max-width: 65ch; }
ul { padding-left: 1.2rem; }
li + li { margin-top: 0.35rem; }
a { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.dated { color: var(--soft); font-size: 0.95rem; margin: 0; }
.short { background: var(--panel); border-radius: 14px; padding: 1rem 1.25rem; margin-top: 1.5rem; }
.short h2 { margin-top: 0.25rem; font-size: 1.1rem; }
.table { overflow-x: auto; margin-top: 0.75rem; }
table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
th, td { text-align: left; vertical-align: top; padding: 0.6rem 0.75rem 0.6rem 0;
  border-bottom: 1px solid var(--line); }
th { font-weight: 700; white-space: nowrap; }
td:first-child { font-weight: 600; white-space: nowrap; }
.email { font: 600 1.1rem var(--body); user-select: all; }
footer { margin-top: 3rem; padding-top: 1rem; border-top: 1px solid var(--line);
  color: var(--soft); font-size: 0.9rem; }
