/* hiresteve.co.za — page styles.
   Brand tokens come from brandkit.css; nothing here invents a colour. */

:root {
  --ink:        var(--color-grey-900);
  --ink-soft:   var(--color-grey-400);
  --paper:      var(--color-grey-25);
  --panel:      var(--color-grey-white);
  --rule:       var(--color-grey-100);
  --accent:     var(--color-primary-400);
  --accent-ink: var(--color-primary-600);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink:        var(--color-grey-50);
    --ink-soft:   var(--color-grey-200);
    --paper:      var(--color-grey-900);
    --panel:      var(--color-grey-800);
    --rule:       var(--color-grey-600);
    --accent:     var(--color-primary-300);
    --accent-ink: var(--color-primary-100);
  }
}

:root[data-theme="dark"] {
  --ink:        var(--color-grey-50);
  --ink-soft:   var(--color-grey-200);
  --paper:      var(--color-grey-900);
  --panel:      var(--color-grey-800);
  --rule:       var(--color-grey-600);
  --accent:     var(--color-primary-300);
  --accent-ink: var(--color-primary-100);
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Poppins", system-ui, -apple-system, sans-serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

main {
  max-width: 44rem;
  margin: 0 auto;
  padding: clamp(3.5rem, 11vw, 7.5rem) 16px 0;
}

section, header { margin-bottom: clamp(3rem, 8vw, 4.75rem); }

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

.eyebrow {
  margin: 0 0 1.25rem;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-ink);
}

h1 {
  margin: 0 0 1.5rem;
  font-size: clamp(2.125rem, 6.4vw, 3.75rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.lead {
  margin: 0;
  max-width: 34rem;
  font-size: clamp(1.0625rem, 2.1vw, 1.25rem);
  color: var(--ink-soft);
}

/* ---------- headings ---------- */

h2 {
  margin: 0 0 1.125rem;
  font-size: clamp(1.25rem, 2.6vw, 1.5rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

/* ---------- the "if I emailed you" panel ---------- */

.panel {
  background: var(--panel);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-4);
  padding: clamp(1.5rem, 4vw, 2rem) clamp(1.25rem, 4vw, 2rem);
  box-shadow: var(--shadow-shadow-xs);
}

.panel p { margin: 0 0 1rem; max-width: 36rem; }
.panel p:last-child { margin-bottom: 0; }
/* A quoted word, not a link. Must not read as clickable. */
.panel strong { font-weight: 500; color: var(--ink); }

/* ---------- what I do ---------- */

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

.does li {
  padding: 1.375rem 0;
  border-top: 1px solid var(--rule);
}

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

.does h3 {
  margin: 0 0 0.375rem;
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.does p {
  margin: 0;
  max-width: 34rem;
  color: var(--ink-soft);
  font-size: 1rem;
}

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

.email {
  margin: 0 0 0.375rem;
  font-size: clamp(1.125rem, 3.2vw, 1.5rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}

.email a {
  color: var(--accent-ink);
  text-decoration: none;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
}

.email a:hover,
.email a:focus-visible { color: var(--ink); border-bottom-color: var(--ink); }

.place { margin: 0; color: var(--ink-soft); font-size: 1rem; }

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

footer {
  border-top: 1px solid var(--rule);
  padding: 1.75rem 16px 2.5rem;
}

footer p {
  max-width: 44rem;
  margin: 0 auto;
  font-size: 14px;
  color: var(--ink-soft);
}

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
