/* Timotty Two LLC — site styles */
:root {
  --bg: #f3f5f7;
  --surface: #ffffff;
  --ink: #141a22;
  --muted: #5a6675;
  --line: #d9dee4;
  --accent: #1e4ed8;
  --accent-deep: #173fb0;
  --measure: 62ch;
  --font-display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-deep); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 3px; }
img, svg { max-width: 100%; }

.wrap { width: min(1040px, 100% - 2.5rem); margin-inline: auto; }

/* Header */
.site-header { padding: 1.4rem 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.wordmark { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; }
.wordmark span { color: var(--accent); }
.nav { display: flex; gap: 1.4rem; margin: 0; padding: 0; list-style: none; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 500; padding: .25rem 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }

/* Typography */
h1, h2, h3 { font-family: var(--font-display); letter-spacing: -0.025em; line-height: 1.08; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: clamp(2.4rem, 6.5vw, 4.4rem); max-width: 20ch; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.3rem); max-width: 26ch; }
h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: .3em; }
p { max-width: var(--measure); margin: 0 0 1.1em; }
p.lede { font-size: 1.3rem; line-height: 1.5; color: var(--muted); max-width: 46ch; }
small, .small { font-size: .9rem; color: var(--muted); }
ul.plain { list-style: none; padding: 0; margin: 0; }

/* Sections */
main { padding-bottom: 4rem; }
.hero { padding: 5rem 0 3.5rem; }
.section { padding: 3rem 0; border-top: 1px solid var(--line); }
.section-head { display: grid; gap: .5rem; margin-bottom: 2rem; }
.page-head { padding: 3.5rem 0 1.5rem; }

/* Columns of prose (What we do) */
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2.5rem 3rem; }
.cols p { margin-bottom: 0; color: var(--muted); }

/* Project rows */
.projects { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.projects li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .4rem 2rem; align-items: start; padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.projects .name { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; letter-spacing: -0.02em; margin: 0; line-height: 1.1; }
.projects .name a { color: inherit; text-decoration: none; }
.projects .name a:hover { color: var(--accent); }
.projects .desc { grid-column: 1; margin: 0; color: var(--muted); max-width: 58ch; }
.status { grid-row: 1; grid-column: 2; display: inline-flex; align-items: center; gap: .5rem; font-size: .9rem; font-weight: 500; color: var(--ink); white-space: nowrap; padding-top: .55rem; }
.status::before { content: ""; width: .7rem; height: .7rem; border-radius: 50%; background: var(--accent); }
.status[data-state="planned"]::before { background: transparent; border: 2px solid var(--muted); }
.status[data-state="planned"] { color: var(--muted); }
.status[data-state="live"]::before { background: #0f8a5f; }
@media (max-width: 560px) {
  .projects li { grid-template-columns: 1fr; }
  .status { grid-row: auto; grid-column: 1; padding-top: 0; }
}

/* Buttons & contact */
.btn { display: inline-block; background: var(--accent); color: #fff; text-decoration: none; font-weight: 600; padding: .8rem 1.3rem; border-radius: 10px; }
.btn:hover { background: var(--accent-deep); color: #fff; }
.contact-block { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 2rem; display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.contact-block h3 { margin-top: 0; }
.contact-block p { margin-bottom: 0; }
address { font-style: normal; }

/* Facts list */
dl.facts { display: grid; grid-template-columns: max-content 1fr; gap: .6rem 2rem; margin: 0; max-width: 60ch; }
dl.facts dt { color: var(--muted); font-weight: 500; }
dl.facts dd { margin: 0; }
@media (max-width: 480px) { dl.facts { grid-template-columns: 1fr; gap: .1rem 0; } dl.facts dd { margin-bottom: .8rem; } }

/* Legal pages */
.legal h2 { font-size: 1.45rem; margin-top: 2.2rem; }
.legal ul { max-width: var(--measure); padding-left: 1.2rem; }
.legal li { margin-bottom: .4em; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 2.5rem 0 3rem; color: var(--muted); font-size: .95rem; }
.site-footer .wrap { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.site-footer strong { color: var(--ink); font-weight: 600; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--ink); }
