/* ============================================================
   steeptech.dev — home
   Executive, refined, near-monochrome. Single accent, no motion
   beyond link-hover color transitions.
   ============================================================ */
:root {
  --bg: #FAFBFC;
  --ink: #15171B;
  --ink-soft: #474C55;
  --ink-faint: #8A9099;
  --muted-2: #B4B8BE;
  --hairline: #E6E8EC;
  --underline: #C6CACF;
  --accent: #3F5A76;

  /* Project status dots — distinct from --accent on purpose. --accent is the
     page's own brand/interaction color; status is a separate signal that will
     grow (live / in progress / planning / paused, etc.) and none of those
     should collide with it or with each other. */
  --status-live: #3F7A5C;
  --status-progress: #B8863F;
  --status-planning: #8087A6;

  --serif: "Newsreader", Georgia, serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--ink); color: var(--bg); }

.page { min-height: 100%; display: flex; flex-direction: column; }

/* ---------- Site header ---------- */
.site-header { width: 100%; border-bottom: 1px solid var(--hairline); }
.site-header__inner { width: 100%; max-width: 720px; margin: 0 auto; padding: 22px 30px; }

.brand { display: inline-flex; align-items: center; }
.brand__logo { display: block; width: auto; height: 48px; }

/* ---------- Main ---------- */
.main {
  flex: 1; width: 100%; max-width: 720px; margin: 0 auto;
  padding: clamp(40px, 6vh, 76px) 30px 56px;
}

.name {
  font-family: var(--serif); font-weight: 400; font-size: clamp(2.7rem, 6.4vw, 4.2rem);
  line-height: 1.0; letter-spacing: -0.02em; color: var(--ink);
}

.descriptor {
  margin-top: 16px; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink-faint);
  display: flex; flex-direction: column; gap: 6px;
}
.descriptor .line { display: flex; white-space: nowrap; }
.descriptor .line .phrase:not(:first-child)::before {
  content: "\00b7"; display: inline-block; color: var(--underline); padding: 0 8px;
}

/* Above this width the two-phrase pairs comfortably fit on one line together;
   below it they're forced onto two lines (line 1 / line 2) rather than left
   to wrap wherever the browser finds room. */
@media (min-width: 700px) {
  .descriptor { flex-direction: row; flex-wrap: wrap; gap: 0; row-gap: 6px; }
  .descriptor .line:not(:first-child)::before {
    content: "\00b7"; display: inline-block; color: var(--underline); padding: 0 8px;
  }
}

/* Very narrow phones (e.g. iPhone SE at 320px): each paired line no longer
   fits at full size, so shrink type slightly rather than let it clip. */
@media (max-width: 340px) {
  .main { padding-left: 20px; padding-right: 20px; }
  .descriptor { font-size: 0.64rem; letter-spacing: 0.1em; }
  .descriptor .line .phrase:not(:first-child)::before { padding: 0 6px; }
}

.bio { margin-top: 22px; font-size: 1rem; line-height: 1.6; color: var(--ink-soft); }

.links { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.links a {
  font-size: 0.95rem; font-weight: 500; color: var(--ink); text-decoration: none;
  border-bottom: 1px solid var(--underline); padding-bottom: 2px;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.links a:hover { color: var(--accent); border-color: var(--accent); }

/* ---------- Selected Work ---------- */
.work { margin-top: clamp(72px, 15vh, 120px); }

.work-label {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 6px;
}

.project {
  display: block; text-decoration: none; color: inherit;
  padding: 22px 0; border-top: 1px solid var(--hairline);
}
.project__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.project__title-group { display: inline-flex; align-items: center; gap: 10px; }
.project__icon {
  display: block; flex: none; border-radius: 5px;
  margin-top: -3px;
}
.project__title {
  font-family: var(--serif); font-size: 1.4rem; font-weight: 500; line-height: 1;
  color: var(--ink); transition: color 0.15s ease;
}
a.project:hover .project__title { color: var(--accent); }
.project__status {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-faint); white-space: nowrap;
}
.dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.status--live .dot { background: var(--status-live); }
.status--in-progress .dot { background: var(--status-progress); }
.status--planning .dot { background: var(--status-planning); }
.project__desc { margin-top: 6px; font-size: 0.98rem; line-height: 1.5; color: var(--ink-soft); max-width: 52ch; }

/* ---------- Footer ---------- */
.footer {
  width: 100%; max-width: 720px; margin: 0 auto; padding: 22px 30px 30px;
  border-top: 1px solid var(--hairline);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.footer a { font-size: 0.84rem; color: var(--ink-faint); text-decoration: none; transition: color 0.15s ease; }
.footer a:hover { color: var(--accent); }
.footer span { font-size: 0.84rem; color: var(--muted-2); }
.wordmark { display: inline-flex; align-items: center; gap: 6px; }
.wordmark__icon { display: block; }
