:root {
  --text: #1c1c1e;
  --muted: #5b5b5f;
  --bg: #fdfdfb;
  --accent: #b509ac;
  --accent-hover: #820779;
  --icon: #424242;
  --border: #e4e2dd;
  --max-width: 760px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

a { color: var(--accent); }
a:hover { color: var(--accent-hover); }

h1, h2, h3 { line-height: 1.25; }

h1, h2 { color: var(--accent); }

a:hover { text-decoration: underline; }

/* Header / nav */
.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  flex-wrap: wrap;
}

.brand {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
  text-decoration: none;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-size: 0.95rem;
}

.brand:hover,
.nav-links a:hover { color: var(--accent); }

.nav-links a[aria-current="page"] {
  color: var(--accent);
  font-weight: 600;
}

.nav-toggle,
.nav-toggle-label {
  display: none;
}

@media (max-width: 640px) {
  .nav-toggle-label {
    display: block;
    font-size: 1.4rem;
    cursor: pointer;
    background: none;
    border: none;
  }

  .nav-links {
    flex-basis: 100%;
    flex-direction: column;
    gap: 12px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    width: 100%;
  }

  .nav-toggle:checked ~ .nav-links {
    max-height: 400px;
    margin-top: 16px;
  }
}

/* Main content */
main {
  padding: 48px 20px 64px;
}

.page-title {
  margin-bottom: 4px;
}

.page-subtitle {
  color: var(--muted);
  margin-top: 0;
}

.profile-photo {
  width: 100%;
  max-width: 220px;
  height: auto;
  border-radius: 8px;
  float: right;
  margin: 0 0 16px 24px;
}

.contact {
  clear: both;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: right;
}

.social-links {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  flex-wrap: wrap;
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
}

.social-links a {
  color: var(--icon);
  font-size: 3.5rem;
  line-height: 1;
  text-decoration: none;
  transition: color 0.15s;
}

.social-links a:hover,
.social-links a:focus-visible { color: var(--accent); }

.contact-note {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0 0 24px;
}

/* Writing / Press listings */
.entry-list {
  list-style: none;
  padding: 0;
}

.entry-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.entry-list .entry-date {
  color: var(--muted);
  font-size: 0.85rem;
  display: block;
}

.entry-list a {
  font-size: 1.1rem;
  text-decoration: none;
  font-weight: 600;
}

.placeholder-note {
  background: #fbf6e9;
  border: 1px solid #e9dfb8;
  border-radius: 6px;
  padding: 12px 16px;
  color: #6b5a1f;
  font-size: 0.95rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  color: var(--muted);
  font-size: 0.9rem;
}
