/* Three Minds Software — static site, GoDaddy + Cloudflare Pages safe */

:root {
  --ink: #161616;
  --muted: #5c5a56;
  --paper: #f3f0e8;
  --paper-2: #e7e3d8;
  --rule: #d4cfc3;
  --header: #121212;
  --accent: #2a6f82;
  --accent-2: #7a9a2e;
  --on-dark: #f3f0e8;
  --on-dark-muted: #b4b0a6;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 18px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

img {
  max-width: 100%;
  height: auto;
}

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

a:hover {
  color: var(--ink);
}

.wrap {
  width: min(720px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.wrap-wide {
  width: min(960px, calc(100% - 2.5rem));
  margin: 0 auto;
}

/* Header */

.site-header {
  background: var(--header);
  color: var(--on-dark);
}

.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1rem 0 1.1rem;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: inherit;
  text-decoration: none;
}

.brand img {
  display: block;
  height: 52px;
  width: auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-weight: 650;
  letter-spacing: 0.01em;
  font-size: 1.05rem;
}

.brand-text span {
  color: var(--on-dark-muted);
  font-size: 0.78rem;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
}

nav a {
  color: var(--on-dark);
  text-decoration: none;
  font-size: 0.92rem;
}

nav a:hover,
nav a[aria-current="page"] {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

/* Main */

main {
  padding: 2.4rem 0 3.2rem;
}

h1,
h2,
h3 {
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(1.7rem, 3vw, 2.15rem);
  margin: 0 0 0.85rem;
}

h2 {
  font-size: 1.25rem;
  margin: 2.1rem 0 0.55rem;
}

h3 {
  font-size: 1.05rem;
  margin: 1.3rem 0 0.35rem;
}

.lede {
  font-size: 1.12rem;
  color: var(--ink);
  margin: 0 0 1.1rem;
}

p {
  margin: 0 0 1rem;
}

main ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

main li {
  margin-bottom: 0.4rem;
}

.muted {
  color: var(--muted);
}

/* Work cards */

.areas {
  display: grid;
  gap: 0.9rem;
  margin: 1.4rem 0 1.8rem;
}

.area {
  background: #fff;
  border: 1px solid var(--rule);
  padding: 1.05rem 1.15rem 0.85rem;
}

.area h2 {
  margin-top: 0;
  font-size: 1.12rem;
}

.area p:last-child {
  margin-bottom: 0;
}

/* Aside / callout */

.note {
  margin: 0.8rem 0 0;
  padding: 0.95rem 1.05rem;
  background: var(--paper-2);
  border-left: 3px solid var(--accent-2);
}

.note p:last-child {
  margin-bottom: 0;
}

/* Footer */

.site-footer {
  background: var(--header);
  color: var(--on-dark-muted);
  padding: 1.4rem 0 1.7rem;
  font-size: 0.88rem;
}

.site-footer a {
  color: var(--on-dark);
}

.site-footer p {
  margin: 0 0 0.35rem;
}

@media (max-width: 640px) {
  html {
    font-size: 17px;
  }

  .brand img {
    height: 44px;
  }

  .site-header .bar {
    padding-top: 0.85rem;
  }
}
