/*! HTML5 Boilerplate v7.3.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.0.0 | MIT License | https://github.com/h5bp/main.css#readme */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;700&family=Playfair+Display:wght@400;700&display=swap');

:root {
  --bg-color: #F5F5F0;
  --text-color: #1a1a1a;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg-color: #1a1a1a;
    --text-color: #F5F5F0;
  }
}

html {
  color: var(--text-color);
  background-color: var(--bg-color);
  font-size: 16px;
  line-height: 1.6;
}

body {
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 400;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
}

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

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

h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: 2.25rem;
  line-height: 1.15;
  margin: 0 0 1rem 0;
  color: var(--text-color);
}

h2 {
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin: 2rem 0 0.75rem 0;
  color: var(--text-color);
}

p {
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 400;
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0 0 1rem 0;
  color: var(--text-color);
}

a {
  color: var(--text-color);
  text-decoration: underline;
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.7;
}

.container {
  max-width: 860px;
  padding: 3rem 1.5rem 4rem;
  box-sizing: border-box;
  margin: 0;
}

@media (min-width: 768px) {
  .container {
    padding: 3.5rem 2rem 5rem 4rem;
  }
}

.hero {
  margin-bottom: 2rem;
}

.subheader {
  margin: 0;
}

.section + .section {
  margin-top: 0.25rem;
}

.contact p {
  margin: 0;
}
