/* Selkie: the public site. Paper and sea; no fonts or scripts from other servers. */
:root {
  --paper: #f4f1e9;
  --ink: #1b2225;
  --muted: #5a6568;
  --sea: #2c5452;
  --line: #d8d1c2;
  --wash: #e9e4d8;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root { --paper: #0f1618; --ink: #e7e3d9; --muted: #9aa6a7; --sea: #8db6b1; --line: #26343a; --wash: #16211f; color-scheme: dark; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1.125rem/1.65 "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  padding: 0 max(16px, env(safe-area-inset-right, 0px)) 0 max(16px, env(safe-area-inset-left, 0px));
}
main, header, footer { max-width: 38rem; margin: 0 auto; }
header { padding-block: 3.5rem 1rem; }
.wordmark { font-size: clamp(2.6rem, 9vw, 3.6rem); letter-spacing: 0.04em; margin: 0; font-weight: 500; line-height: 1.1; }
.wordmark a { color: inherit; text-decoration: none; }
.tagline { font-size: 1.35rem; font-style: italic; color: var(--sea); margin: 0.4rem 0 0; }
.small-head { padding-block: 2rem 0.5rem; }
.small-head .wordmark { font-size: 1.6rem; }
h2 { font-size: 1.3rem; font-weight: 600; margin: 2.6rem 0 0.6rem; text-wrap: balance; }
h3 { font-size: 1.08rem; font-weight: 600; margin: 1.6rem 0 0.3rem; }
p { margin: 0 0 1rem; }
a { color: var(--sea); text-underline-offset: 0.18em; }
.lead { font-size: 1.2rem; }
.muted, .note { color: var(--muted); }
.note { font-size: 0.95rem; }
.label { font: 600 0.72rem/1.4 system-ui, -apple-system, "Segoe UI", sans-serif; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 0 0 0.3rem; }
.wave { display: block; width: 100%; max-width: 38rem; height: 18px; margin: 2rem auto 0; color: var(--line); }
.story { padding-block: 0.9rem; border-top: 1px solid var(--line); }
.story:last-of-type { border-bottom: 1px solid var(--line); }
.story h3 { margin: 0.2rem 0 0.2rem; font-style: italic; font-weight: 500; font-size: 1.2rem; }
.story p { margin: 0; }
table { width: 100%; border-collapse: collapse; margin: 0.6rem 0 1rem; font-variant-numeric: tabular-nums; }
th, td { text-align: left; padding: 0.55rem 0.4rem 0.55rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font: 600 0.78rem/1.4 system-ui, -apple-system, "Segoe UI", sans-serif; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
ul { padding-left: 1.2rem; margin: 0 0 1rem; }
li { margin-bottom: 0.35rem; }
.contact { background: var(--wash); padding: 1.1rem 1.2rem; margin: 2rem 0 0; }
.contact p:last-child { margin-bottom: 0; }
.email { font-size: 1.15rem; user-select: all; }
footer { padding-block: 3rem 2.5rem; margin-top: 3rem; border-top: 1px solid var(--line); font-size: 0.92rem; color: var(--muted); }
footer nav { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; margin-bottom: 0.8rem; }
.policy h2 { margin-top: 2rem; }
