/* coltersmithcre.com, one shared stylesheet, no build step, no JS.
   Editorial register: near-black ink on warm off-white, one green accent.
   Readability pass: the light palette is the default for everyone (no
   automatic dark flip), body text is sans, the measure is 65ch. */

:root {
  --bg: #faf9f6;
  --ink: #1c1f23;
  --muted: #5b6167;
  --line: #e6e3db;
  --accent: #1f4d3a;
  --accent-ink: #1f4d3a;
  --soft: #f1f2ee;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  font-family: Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.65;
}

.wrap { max-width: 65ch; margin: 0 auto; padding: 0 24px; }

a { color: var(--accent-ink); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible,
.skip:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 1px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--bg);
  color: var(--ink);
  padding: 8px 14px;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 0.85rem;
}
.skip:focus { left: 8px; top: 8px; z-index: 10; }

/* Masthead + nav (byte-identical markup on every page) */

.masthead {
  padding: 28px 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 24px;
}

.wordmark {
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.wordmark:hover { text-decoration: none; color: var(--accent-ink); }

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  margin-left: auto;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 0.83rem;
  letter-spacing: 0.02em;
}
.nav a { color: var(--muted); padding: 2px 0; }
.nav a:hover { color: var(--accent-ink); text-decoration: none; border-bottom: 1px solid var(--accent); }

/* Active nav link, driven by the body class so nav markup stays identical */
.page-home     .nav a.nav-home,
.page-track    .nav a.nav-track,
.page-find     .nav a.nav-find,
.page-faq      .nav a.nav-faq,
.page-media    .nav a.nav-media {
  color: var(--ink);
  border-bottom: 1px solid var(--accent);
}

/* Hero (home) and page titles (subpages) */

.hero { padding: 64px 0 44px; border-bottom: 1px solid var(--line); }
.hero h1 {
  font-size: clamp(2.4rem, 7vw, 3.4rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.1;
}
.title-line { color: var(--muted); margin-top: 12px; font-size: 1.08rem; }
.market-line { color: var(--accent-ink); margin-top: 4px; font-size: 0.97rem; }

.page-head { padding: 52px 0 36px; border-bottom: 1px solid var(--line); }
.page-head h1 {
  font-size: clamp(1.7rem, 5vw, 2.3rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.page-head .lede { color: var(--muted); margin-top: 10px; font-size: 1.02rem; }

/* Sections */

section { padding: 40px 0; border-bottom: 1px solid var(--line); }
main > .wrap > section:last-of-type,
main section:last-of-type { border-bottom: none; }

h2 {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 18px;
}

h3 {
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  margin-bottom: 8px;
}
* + h3 { margin-top: 26px; }

p + p { margin-top: 14px; }
p + .go { margin-top: 16px; }

/* Portrait */

.portrait {
  float: right;
  width: 148px;
  margin: 4px 0 12px 24px;
}
.portrait img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
}
@media (max-width: 540px) {
  .portrait { float: none; width: 132px; margin: 0 0 18px; }
}

/* Stats */

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 6px;
}
.stat b {
  display: block;
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.stat span {
  color: var(--muted);
  font-size: 0.84rem;
  font-family: Helvetica, Arial, sans-serif;
}
@media (max-width: 540px) {
  .stats { grid-template-columns: 1fr; gap: 16px; }
}

.cred {
  margin-top: 24px;
  padding: 14px 16px;
  background: var(--soft);
  border-left: 3px solid var(--accent);
  font-size: 0.88rem;
  color: var(--muted);
  font-family: Helvetica, Arial, sans-serif;
}

/* Link lists (home "my work in the market", media page) */

ul.linklist { list-style: none; }
.linklist li { padding: 11px 0; border-bottom: 1px dotted var(--line); }
.linklist li:last-child { border-bottom: none; }

/* Route blocks (/find-space/) and pointer blocks (home) */

.route { padding: 26px 0; }
.route + .route { border-top: 1px dotted var(--line); }

.go {
  display: inline-block;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-ink);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 1px;
}
.go:hover { text-decoration: none; opacity: 0.85; }

/* Deal notes (/track-record/) */

.deal { margin-top: 26px; }
.deal:first-of-type { margin-top: 0; }
.deal .meta {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 6px;
}

/* FAQ */

.faq-item { padding: 22px 0; }
.faq-item + .faq-item { border-top: 1px dotted var(--line); }
.faq-item h3 { margin-bottom: 8px; }
.faq-item p + p { margin-top: 10px; }

/* Contact */

.contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 8px;
}

/* Footer (byte-identical markup on every page) */

footer {
  padding: 34px 0 60px;
  color: var(--muted);
  font-size: 0.82rem;
  font-family: Helvetica, Arial, sans-serif;
  border-top: 1px solid var(--line);
}
footer p + p { margin-top: 8px; }
footer a { color: var(--muted); text-decoration: underline; text-decoration-color: var(--line); }
footer a:hover { color: var(--accent-ink); }

@media (max-width: 540px) {
  .hero { padding: 44px 0 34px; }
  .page-head { padding: 40px 0 28px; }
  section { padding: 32px 0; }
}
