/* Long Range Labs: placeholder site. No build step, no external fonts, no scripts. */

:root {
  --paper: #eef0f1;
  --ink: #141c28;
  --ink-2: #3c4756;
  --rule: #c5cbd2;
  --signal: #8a5a00;
  --focus: #1d4ed8;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0f1726;
    --ink: #e8ecf1;
    --ink-2: #aeb8c6;
    --rule: #2b3750;
    --signal: #e6ad45;
    --focus: #8fb3ff;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2 {
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  font-weight: 500;
  line-height: 1.15;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 1.2rem + 3vw, 3rem); margin-bottom: 0.5rem; }
h2 { font-size: 1.5rem; margin: 2.25rem 0 0.75rem; }

p, li, dd, dt { max-width: 62ch; }
p { margin: 0 0 1rem; }

a {
  color: var(--signal);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
a:hover { text-decoration-thickness: 2px; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: var(--paper);
  padding: 0.5rem 0.9rem;
}
.skip:focus { top: 1rem; }

.wrap {
  width: min(100% - 2rem, 44rem);
  margin-inline: auto;
}

.site-header {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--rule);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  text-decoration: none;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  font-size: 1.2rem;
}
.brand img { width: 30px; height: 30px; }
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.4rem;
}
.site-nav a {
  color: var(--ink);
  text-decoration: none;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { border-bottom-color: var(--signal); }

main { padding: clamp(2.5rem, 5vw, 4.5rem) 0; }

.meta { color: var(--ink-2); margin-bottom: 2rem; }
.lede { font-size: 1.2rem; color: var(--ink-2); }

main ul { padding-left: 1.2rem; }
main li { margin-bottom: 0.4rem; }

dl { margin: 0; }
dt {
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  font-size: 1.2rem;
  margin-top: 1.5rem;
}
dd { margin: 0.3rem 0 0; }

.mail {
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  font-size: 1.4rem;
  word-break: break-all;
}

.site-footer {
  border-top: 1px solid var(--rule);
  padding: 1.5rem 0 3rem;
  color: var(--ink-2);
  font-size: 0.95rem;
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
}
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.site-footer a { color: var(--ink-2); }
