/* Time Reclaimed — design system
   Palette and type are drawn from the subject matter: construction
   documents, blueprints, and timber — not a generic SaaS kit. */

:root {
  --paper: #ede6d6;
  --paper-2: #e4dbc6;
  --ink: #211c17;
  --ink-soft: #4a423a;
  --blueprint: #1d5c82;
  --blueprint-deep: #16465f;
  --cedar: #9c5a32;
  --line: #c9bfa8;
  --steel: #6b7580;
  --band-bg: #1e2a33;
  --band-line: #33495a;
  --band-ink: #e7edef;
  --band-ink-soft: #a9bac2;
  --radius: 3px;
  --max: 72rem;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.mono {
  font-family: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}

a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: "Source Serif 4", Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.6em;
  color: var(--ink);
}

h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1em; max-width: 62ch; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 2.2rem;
}

/* ---------- header ---------- */

header.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 2.2rem;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: var(--paper);
  z-index: 10;
}

.brand {
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

nav.site-nav { display: flex; gap: 1.7rem; }

nav.site-nav a {
  font-size: 0.85rem;
  color: var(--ink-soft);
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
}

nav.site-nav a:hover,
nav.site-nav a[aria-current="page"] {
  color: var(--blueprint);
  border-color: var(--blueprint);
}

/* ---------- hero ---------- */

.hero {
  padding: 5.5rem 0 4.5rem;
  border-bottom: 1px solid var(--line);
}

.hero .field-note {
  font-size: 0.82rem;
  color: var(--cedar);
  margin-bottom: 1.4rem;
  max-width: none;
}

.hero h1 { max-width: 18ch; }

.hero .lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 46ch;
  margin-top: 1.1rem;
}

.cta-row {
  display: flex;
  gap: 1rem;
  margin-top: 2.2rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.85rem;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius);
  border: 1px solid var(--ink);
}

.btn-primary {
  background: var(--ink);
  color: var(--paper);
}

.btn-primary:hover { background: var(--blueprint-deep); border-color: var(--blueprint-deep); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink-soft);
}

.btn-ghost:hover { border-color: var(--blueprint); color: var(--blueprint); }

/* ---------- generic section ---------- */

section { padding: 4.2rem 0; }
section.tight { padding: 3rem 0; }
section.bordered { border-bottom: 1px solid var(--line); }

.section-head { max-width: 52ch; margin-bottom: 2.6rem; }
.section-head .label {
  font-size: 0.8rem;
  color: var(--steel);
  margin-bottom: 0.5rem;
}

/* ---------- process / steps (a real sequence, numbered) ---------- */

.steps { list-style: none; margin: 0; padding: 0; }

.steps li {
  display: grid;
  grid-template-columns: 3.4rem 1fr;
  gap: 1.4rem;
  padding: 1.7rem 0;
  border-top: 1px solid var(--line);
}

.steps li:last-child { border-bottom: 1px solid var(--line); }

.steps .num {
  font-size: 0.95rem;
  color: var(--cedar);
  padding-top: 0.2rem;
}

.steps h3 { margin-bottom: 0.4rem; }
.steps p { margin: 0; color: var(--ink-soft); }

/* ---------- band (dark, service-area schematic) ---------- */

.band {
  background: var(--band-bg);
  color: var(--band-ink);
  padding: 4.6rem 0;
}

.band .label { color: var(--band-ink-soft); font-size: 0.8rem; margin-bottom: 0.6rem; }
.band h2 { color: var(--band-ink); max-width: 30ch; }
.band p { color: var(--band-ink-soft); max-width: 54ch; }

.schematic { width: 100%; max-width: 620px; height: auto; margin: 2.4rem 0 2rem; display: block; }
.schematic text { font-family: "IBM Plex Mono", monospace; font-size: 13px; fill: var(--band-ink); }
.schematic .route { stroke: var(--band-line); stroke-width: 1.5; fill: none; stroke-dasharray: 5 4; }
.schematic .node { fill: var(--band-bg); stroke: #d98b4f; stroke-width: 2; }
.schematic .tick { stroke: var(--band-line); stroke-width: 1; }

/* ---------- spec sheet (services pricing) ---------- */

.spec-sheet { border-top: 1px solid var(--line); }

.spec-row {
  display: grid;
  grid-template-columns: 9.5rem 1fr 11rem;
  gap: 1.6rem;
  padding: 1.7rem 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.spec-row .tier { font-size: 0.85rem; color: var(--cedar); }
.spec-row h3 { margin-bottom: 0.35rem; }
.spec-row .deliverable { color: var(--ink-soft); margin: 0; }
.spec-row .price { font-family: "IBM Plex Mono", monospace; font-size: 0.95rem; text-align: right; }
.spec-row .duration { display: block; font-size: 0.78rem; color: var(--steel); margin-top: 0.35rem; text-align: right; }

@media (max-width: 720px) {
  .spec-row { grid-template-columns: 1fr; }
  .spec-row .price, .spec-row .duration { text-align: left; }
}

/* ---------- cards (used sparingly — about page principles) ---------- */

.principle {
  border-top: 1px solid var(--line);
  padding: 1.6rem 0;
}
.principle:last-child { border-bottom: 1px solid var(--line); }
.principle h3 { margin-bottom: 0.3rem; }
.principle p { margin: 0; color: var(--ink-soft); }

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

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3.2rem;
}

@media (max-width: 800px) {
  .contact-grid { grid-template-columns: 1fr; }
}

form.contact-form { display: flex; flex-direction: column; gap: 1.1rem; }

.field { display: flex; flex-direction: column; gap: 0.4rem; }

.field label { font-size: 0.82rem; color: var(--ink-soft); }

.field input,
.field textarea,
.field select {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-2);
  color: var(--ink);
}

.field textarea { min-height: 7rem; resize: vertical; }

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: 2px solid var(--blueprint);
  outline-offset: 1px;
}

.contact-form button {
  align-self: flex-start;
}

.contact-meta .label { font-size: 0.8rem; color: var(--steel); margin-bottom: 0.4rem; }
.contact-meta h3 { margin-top: 1.6rem; margin-bottom: 0.4rem; }
.contact-meta ul { list-style: none; margin: 0; padding: 0; }
.contact-meta li { padding: 0.55rem 0; border-top: 1px solid var(--line); color: var(--ink-soft); }

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

footer.site {
  border-top: 1px solid var(--line);
  padding: 2.4rem 0 3rem;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-row .mono { font-size: 0.82rem; color: var(--steel); }
footer.site nav a { font-size: 0.82rem; color: var(--ink-soft); margin-left: 1.4rem; }
footer.site nav a:hover { color: var(--blueprint); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* keyboard focus visibility */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--blueprint);
  outline-offset: 2px;
}
