@font-face {
  font-family: 'Flecha';
  src: url('webfonts/FlechaTestL-Regular-BF669881b1e0167.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Graphik';
  src: url('webfonts/Graphik-Light-Trial.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Graphik';
  src: url('webfonts/Graphik-LightItalic-Trial.otf') format('opentype');
  font-weight: 300;
  font-style: italic;
}

@font-face {
  font-family: 'Graphik';
  src: url('webfonts/Graphik-Regular-Trial.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Graphik';
  src: url('webfonts/Graphik-RegularItalic-Trial.otf') format('opentype');
  font-weight: 400;
  font-style: italic;
}

@font-face {
  font-family: 'Graphik';
  src: url('webfonts/Graphik-Semibold-Trial.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: 'Graphik';
  src: url('webfonts/Graphik-SemiboldItalic-Trial.otf') format('opentype');
  font-weight: 600;
  font-style: italic;
}

:root {
  --bg: #f2efde;
  --heading: #de3d14;
  --body: #1a1a1a;
  --muted: #666;
  --link: #de3d14;
  --link-hover: #b32e0f;
  --underline: #7575ff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 18px;
}

body {
  font-family: 'Graphik', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  background-color: var(--bg);
  color: var(--body);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  line-height: 1.6;
}

.container {
  max-width: 540px;
  width: 100%;
  text-align: center;
}

h1 {
  font-family: 'Flecha', Georgia, serif;
  font-weight: normal;
  font-size: 3.5rem;
  color: var(--heading);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.bio {
  font-size: 1.1rem;
  font-weight: 300;
  margin-bottom: 2.5rem;
  color: var(--body);
}

.bio em {
  font-style: italic;
}

.section {
  margin-bottom: 2rem;
}

.section-title {
  font-family: 'Flecha', Georgia, serif;
  font-size: 1.3rem;
  color: var(--heading);
  margin-bottom: 0.75rem;
  font-weight: normal;
}

.links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.25rem;
}

.links-primary {
  margin-bottom: 0.5rem;
}

.links-secondary {
  gap: 0.4rem 1rem;
}

a {
  color: var(--link);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  font-weight: 400;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

a:hover {
  color: var(--link-hover);
  text-decoration-color: var(--underline);
}

.writing-link {
  font-size: 1.15rem;
  font-weight: 600;
}

.social-primary {
  font-weight: 600;
  font-size: 1.05rem;
}

.social-secondary {
  font-weight: 300;
  font-size: 0.95rem;
  opacity: 0.75;
}

.social-secondary:hover {
  opacity: 1;
}

.divider {
  width: 60px;
  height: 2px;
  background: var(--heading);
  margin: 2.5rem auto;
  opacity: 0.4;
}

.contact {
  font-size: 0.95rem;
  color: var(--muted);
}

.email {
  color: var(--body);
  font-weight: 400;
}

.archive-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 2rem;
}

.archive-note a {
  color: var(--link);
  font-weight: 300;
  font-size: 0.95rem;
  opacity: 0.75;
}

.archive-note a:hover {
  opacity: 1;
}

@media (max-width: 600px) {
  html {
    font-size: 16px;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  body {
    padding: 1.5rem;
  }
}