/* Portfolio — placeholder styles. No build step, no dependencies. */

:root {
  color-scheme: light dark;

  --bg: #fbfaf8;
  --bg-elev: #ffffff;
  --text: #1a1a1a;
  --text-muted: #5c5c5c;
  --border: #e4e0da;
  --accent: #b0561f;
  --accent-contrast: #ffffff;
  --ring: #b0561f55;

  --maxw: 46rem;
  --radius: 10px;
}

html[data-theme="dark"] {
  --bg: #14130f;
  --bg-elev: #1c1b17;
  --text: #f0ece6;
  --text-muted: #a39e95;
  --border: #2e2c26;
  --accent: #e08a4e;
  --accent-contrast: #14130f;
  --ring: #e08a4e55;
}

@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) {
    --bg: #14130f;
    --bg-elev: #1c1b17;
    --text: #f0ece6;
    --text-muted: #a39e95;
    --border: #2e2c26;
    --accent: #e08a4e;
    --accent-contrast: #14130f;
    --ring: #e08a4e55;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

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

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 1rem; top: 1rem;
  z-index: 10;
  background: var(--bg-elev);
  padding: .5rem .75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: .75rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand {
  font-weight: 700;
  letter-spacing: .06em;
  text-decoration: none;
  color: var(--text);
}

.nav-links {
  margin: 0 0 0 auto;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 1.25rem;
  font-size: .925rem;
}
.nav-links a { color: var(--text-muted); text-decoration: none; }
.nav-links a:hover { color: var(--text); }

.theme-toggle {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  border-radius: var(--radius);
  width: 2rem; height: 2rem;
  line-height: 1;
  cursor: pointer;
  font-size: 1rem;
}
.theme-toggle:hover { color: var(--text); border-color: var(--text-muted); }

/* Layout */
.hero, .section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.hero { padding-top: 5rem; padding-bottom: 3.5rem; }

.eyebrow {
  margin: 0 0 1rem;
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

h1 {
  margin: 0;
  font-size: clamp(2.25rem, 7vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -.02em;
}

.tagline {
  margin: 1rem 0 0;
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 34rem;
}

.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

.btn {
  display: inline-block;
  padding: .6rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  font-size: .95rem;
  background: var(--bg-elev);
}
.btn:hover { border-color: var(--text-muted); }
.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-contrast);
}
.btn-primary:hover { filter: brightness(1.08); }

.section { padding-top: 3rem; padding-bottom: 1rem; }

h2 {
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 1.25rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--border);
}

.prose p { margin: 0 0 1rem; max-width: 36rem; }

/* Chips */
.chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 1.25rem 0 0;
  padding: 0;
}
.chips li {
  font-size: .8rem;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: .2rem .7rem;
  background: var(--bg-elev);
}
.chips.small { margin-top: .9rem; }

/* Cards */
.grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
}

.card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.card h3 { margin: 0 0 .5rem; font-size: 1.05rem; }
.card p { margin: 0; color: var(--text-muted); font-size: .95rem; }
.card-links { margin-top: 1rem !important; font-size: .875rem; }
.muted { color: var(--text-muted); }

/* Contact */
.contact-list { list-style: none; margin: 1.25rem 0 0; padding: 0; }
.contact-list li { margin-bottom: .5rem; }

/* Footer */
.site-footer {
  max-width: var(--maxw);
  margin: 4rem auto 0;
  padding: 1.5rem 1.25rem 3rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: .875rem;
}
.site-footer p { margin: 0; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
