/* lbvpublishing.com: calm, plain and easy to read. Same fonts as athisgates.com, neutral lake colors. */

@font-face { font-family: 'Lora'; font-weight: 500; font-style: normal; font-display: swap; src: url('/fonts/Lora_500Medium.ttf') format('truetype'); }
@font-face { font-family: 'Lora'; font-weight: 600; font-style: normal; font-display: swap; src: url('/fonts/Lora_600SemiBold.ttf') format('truetype'); }
@font-face { font-family: 'Nunito'; font-weight: 600; font-style: normal; font-display: swap; src: url('/fonts/Nunito_600SemiBold.ttf') format('truetype'); }
@font-face { font-family: 'Nunito'; font-weight: 700; font-style: normal; font-display: swap; src: url('/fonts/Nunito_700Bold.ttf') format('truetype'); }
@font-face { font-family: 'Nunito'; font-weight: 800; font-style: normal; font-display: swap; src: url('/fonts/Nunito_800ExtraBold.ttf') format('truetype'); }

:root {
  --bg: #F6F7F5;
  --card: #FFFFFF;
  --ink: #1E2A33;
  --muted: #4E5B64;
  --line: #D9DFDF;
  --lake: #2C5D78;
  --lake-deep: #1F4458;
  --lake-soft: #E3EDF1;
  --serif: 'Lora', Georgia, serif;
  --sans: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 19px;
  line-height: 1.6;
}

a { color: var(--lake-deep); font-weight: 700; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid var(--lake); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; background: var(--card); padding: 10px 14px; border-radius: 8px; z-index: 10; }

.top {
  max-width: 920px; margin: 0 auto; padding: 22px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { width: 44px; height: 44px; }
.brand span { font-family: var(--serif); font-weight: 600; font-size: 21px; line-height: 1.2; }
.top nav { display: flex; gap: 6px; flex-wrap: wrap; }
.top nav a { text-decoration: none; padding: 10px 12px; min-height: 48px; display: inline-flex; align-items: center; border-radius: 10px; }
.top nav a:hover, .top nav a[aria-current="page"] { background: var(--lake-soft); }

main { max-width: 920px; margin: 0 auto; padding: 0 16px 40px; }

.hero { padding: 48px 0 40px; border-bottom: 1px solid var(--line); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.25; color: var(--ink); }
h1 { font-size: clamp(34px, 6vw, 50px); margin: 0 0 14px; }
.hero p { font-size: clamp(21px, 3vw, 25px); color: var(--muted); margin: 0; max-width: 34em; }
h2 { font-size: 30px; margin: 44px 0 18px; }
h3 { font-size: 24px; margin: 0 0 6px; }

.apps { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.app {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px;
  display: flex; flex-direction: column; gap: 14px;
}
.app-head { display: flex; gap: 16px; align-items: center; }
.app-head img { width: 76px; height: 76px; border-radius: 18px; flex: none; }
.app-sub { color: var(--muted); margin: 0; font-size: 18px; }
.app p { margin: 0; }
.links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 18px;
  border-radius: 12px; text-decoration: none; border: 2px solid var(--lake-deep);
}
.button.solid { background: var(--lake-deep); color: #FFFFFF; }

.contact { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.contact dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 10px 20px; }
.contact dt { color: var(--muted); }
.contact dd { margin: 0; }
address { font-style: normal; }
@media (max-width: 520px) {
  .contact dl { grid-template-columns: 1fr; gap: 2px; }
  .contact dd { margin-bottom: 12px; }
}

.prose { max-width: 40em; }
.prose h1 { margin-top: 36px; }

.foot { border-top: 1px solid var(--line); text-align: center; padding: 26px 16px 40px; color: var(--muted); font-size: 17px; }
.foot p { margin: 6px 0; }
