@charset "UTF-8";
/*! eric-petersen.com — compiled from scss/style.scss. Edit SCSS, then run npm run build:css */
:root {
  color-scheme: dark;
  --bg: #0a0a0a;
  --bg-elevated: #171717;
  --bg-soft: #111111;
  --text: #f5f5f5;
  --muted: #b3b3b3;
  --line: #3a3a3a;
  --link: #f5f5f5;
  --accent: var(--link);
  --accent-soft: #262626;
  --tag-bg: #2e2e2e;
  --tag-text: #e5e5e5;
  --btn-primary-bg: #f5f5f5;
  --btn-primary-text: #0a0a0a;
  --btn-primary-hover: #ffffff;
  --focus-ring: #f5f5f5;
  --error-bg: #262626;
  --error-border: #737373;
  --error-text: #f5f5f5;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --radius: 1rem;
  --max: 68rem;
}

@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --bg: #fafafa;
    --bg-elevated: #ffffff;
    --bg-soft: #f0f0f0;
    --text: #171717;
    --muted: #525252;
    --line: #d4d4d4;
    --link: #171717;
    --accent: var(--link);
    --accent-soft: #ebebeb;
    --tag-bg: #e5e5e5;
    --tag-text: #262626;
    --btn-primary-bg: #171717;
    --btn-primary-text: #ffffff;
    --btn-primary-hover: #000000;
    --focus-ring: #171717;
    --error-bg: #ebebeb;
    --error-border: #525252;
    --error-text: #171717;
    --shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  }
}
/*! eric-petersen.com — compiled from scss/style.scss. Edit SCSS, then run npm run build:css */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, var(--bg-soft), transparent 40%), linear-gradient(180deg, var(--bg) 0%, #050505 100%);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
}
@media (prefers-color-scheme: light) {
  body {
    background: radial-gradient(circle at top left, var(--bg-elevated), transparent 45%), linear-gradient(180deg, var(--bg) 0%, #e8e8e8 100%);
  }
}

a {
  color: inherit;
  text-decoration: none;
}
a:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}

img {
  display: block;
  max-width: 100%;
}

/*! eric-petersen.com — compiled from scss/style.scss. Edit SCSS, then run npm run build:css */
.container {
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  font-size: 0.9375rem;
}
.site-nav a {
  color: var(--muted);
  transition: color 0.15s ease;
}
.site-nav a:hover, .site-nav a:focus-visible, .site-nav a[aria-current=page] {
  color: var(--text);
}
.site-nav .nav-private {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.hero {
  padding: 5rem 0 1rem;
}
.hero h1 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  max-width: 12ch;
  margin-bottom: 1.25rem;
}
@media (max-width: 640px) {
  .hero {
    padding-top: 3.5rem;
  }
}

.eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.35rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.lead {
  max-width: 38rem;
  font-size: clamp(1.05rem, 2.5vw, 1.2rem);
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.section {
  padding: 2rem 0;
}
.section:nth-of-type(2) {
  padding: 2rem 0 0;
}
.section:nth-of-type(3) {
  padding: 1rem 0 2rem;
}

.section-header {
  margin-bottom: 2rem;
}
.section-header h2 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}
.section-header p {
  color: var(--muted);
  margin-bottom: 1rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 3rem;
  color: var(--muted);
  font-size: 0.875rem;
}
.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
}
.site-footer a {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.site-footer a:hover, .site-footer a:focus-visible {
  color: var(--text);
}

@media (max-width: 640px) {
  .site-nav {
    font-size: 0.875rem;
  }
}
/*! eric-petersen.com — compiled from scss/style.scss. Edit SCSS, then run npm run build:css */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.button:hover, .button:focus-visible {
  transform: translateY(-1px);
}
.button:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}
.button-primary {
  background: var(--btn-primary-bg);
  border-color: var(--btn-primary-bg);
  color: var(--btn-primary-text);
}
.button-primary:hover, .button-primary:focus-visible {
  background: var(--btn-primary-hover);
  border-color: var(--btn-primary-hover);
  color: var(--btn-primary-text);
}
.button-secondary {
  background: var(--bg-elevated);
  color: var(--text);
  border-color: var(--line);
}
.button-secondary:hover, .button-secondary:focus-visible {
  background: var(--bg-soft);
  border-color: var(--muted);
}

.grid {
  display: grid;
  gap: 1rem;
}
.grid-2 {
  grid-template-columns: 1fr;
}
@media (min-width: 40rem) {
  .grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.card {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow);
}
.card h3 {
  font-size: 1.1rem;
  margin-bottom: 0rem;
  color: var(--text);
}
.card h5 {
  margin-bottom: 0.5rem;
}
.card h5 a {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.card h5 a:hover, .card h5 a:focus-visible {
  color: var(--text);
}
.card p,
.card li {
  color: var(--muted);
  font-size: 0.95rem;
}
.card ul {
  margin-top: 0.75rem;
  padding-left: 1.1rem;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.tag {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: var(--tag-bg);
  color: var(--tag-text);
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid var(--line);
}

.skill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.skill-list span {
  padding: 0.45rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-elevated);
  color: var(--text);
  font-size: 0.875rem;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.private-banner {
  margin-bottom: 1.5rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--accent-soft);
  color: var(--muted);
  font-size: 0.9rem;
}
.private-banner strong {
  color: var(--text);
}
.private-banner a {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.private-banner a:hover, .private-banner a:focus-visible {
  color: var(--text);
}
.private-banner.login-error {
  background: var(--error-bg);
  border-color: var(--error-border);
  color: var(--error-text);
}

.login-form {
  max-width: 22rem;
  display: grid;
  gap: 0.75rem;
}

.login-label {
  font-size: 0.875rem;
  color: var(--text);
  font-weight: 500;
}

.login-input {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: 0.65rem;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  color: var(--text);
  font: inherit;
}
.login-input::placeholder {
  color: var(--muted);
}
.login-input:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
  border-color: var(--muted);
}
