/* TMTRVL — tmtrvl.ai
 *
 * Deliberately plain. The brief was "dull but professional": the page has to
 * survive an investor or a client clicking it and reading for thirty seconds.
 * So: one column, one accent colour, generous whitespace, no JavaScript.
 *
 * Type is the system stack on purpose, not a webfont. Two reasons. It renders
 * instantly with no third-party request, and — the one that actually decides
 * it — loading Google Fonts ships the visitor's IP to Google, which is a live
 * GDPR question for an EU business. A self-hosted or system face avoids the
 * argument entirely.
 */

:root {
  --bg:     #ffffff;
  --ink:    #15181c;
  --muted:  #5b6270;
  --rule:   #e4e7eb;
  --accent: #1b4965;

  --measure: 34rem;   /* ~65 characters at this size — the readable maximum */
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
               Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  /* Left-aligned, never justified: justification without hyphenation opens
     rivers of whitespace, which is a large part of why the old page read as
     amateur. */
  text-align: left;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 4.5rem 1.5rem 3rem;
}

/* ---------- masthead ---------- */

.masthead { margin-bottom: 3.5rem; }

.lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--accent);
}

.mark {
  width: 2.1rem;
  height: 2.1rem;
  flex: none;
  display: block;
}

.wordmark {
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--ink);
}

.standfirst {
  margin: 1.15rem 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

/* ---------- sections ---------- */

main section {
  padding-top: 2.25rem;
  margin-top: 2.25rem;
  border-top: 1px solid var(--rule);
}

main section.intro {
  padding-top: 0;
  margin-top: 0;
  border-top: 0;
}

h1 {
  font-size: 1.85rem;
  line-height: 1.25;
  letter-spacing: -0.012em;
  margin: 0 0 1rem;
}

h2 {
  font-size: 1.08rem;
  letter-spacing: 0.02em;
  margin: 0 0 0.9rem;
  color: var(--accent);
}

p { margin: 0 0 1.05rem; }
p:last-child { margin-bottom: 0; }

.lede {
  font-size: 1.16rem;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 1.15rem;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.62rem;
}

li:last-child { margin-bottom: 0; }

li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 5px;
  height: 1px;
  background: var(--muted);
}

/* ---------- contact ---------- */

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

a:hover { text-decoration-thickness: 2px; }

.contact-lines { line-height: 1.9; }

/* ---------- footer ---------- */

footer {
  margin-top: 3.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.87rem;
}

footer p { margin: 0; }

/* ---------- small screens ---------- */

@media (max-width: 34rem) {
  body { font-size: 16px; }
  .wrap { padding: 2.75rem 1.25rem 2.5rem; }
  h1 { font-size: 1.6rem; }
  .lede { font-size: 1.08rem; }
}

/* ---------- print ---------- */

@media print {
  .wrap { max-width: none; padding: 0; }
  a { color: var(--ink); text-decoration: none; }
}
