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

:root {
  --bg: #0e0e0f;
  --surface: #1a1a1d;
  --border: #2e2e32;
  --text: #e8e8ea;
  --muted: #9a9aa8;
  --accent: #b06fff;
  --accent-hover: #c990ff;
}

body {
  font-family: Georgia, "Times New Roman", serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 1.05rem;
}

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

header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

header .site-title {
  font-size: 1.4rem;
  font-style: italic;
  color: var(--accent);
  letter-spacing: 0.03em;
}

nav a {
  margin-left: 1.5rem;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}
nav a:hover { color: var(--text); text-decoration: none; }
nav a.active { color: var(--accent); }

main {
  max-width: 860px;
  margin: 2.5rem auto;
  padding: 0 1.5rem 4rem;
}

h1 {
  font-size: 2rem;
  font-weight: normal;
  margin-bottom: 1.5rem;
  color: var(--accent);
}

h2.wp-block-heading {
  font-size: 1.25rem;
  font-weight: normal;
  margin: 2rem 0 0.75rem;
  color: var(--accent);
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.3rem;
}

p { margin-bottom: 1rem; }

blockquote.wp-block-quote {
  border-left: 3px solid var(--border);
  padding-left: 1.25rem;
  margin: 0.5rem 0 1rem;
  color: var(--text);
}

ul.wp-block-list {
  list-style: none;
  padding: 0;
}
ul.wp-block-list li { margin-bottom: 0.3rem; }

/* Images */
.wp-block-image {
  margin: 1rem auto;
  text-align: center;
}
.wp-block-image.alignright {
  float: right;
  margin: 0 0 1rem 2rem;
  clear: right;
}
.wp-block-image.aligncenter { text-align: center; }
.wp-block-image img {
  max-width: 100%;
  border-radius: 4px;
}
.wp-block-image.is-style-rounded img { border-radius: 50%; }

/* Gallery */
.wp-block-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
  margin: 1.5rem 0;
  list-style: none;
  padding: 0;
}
.wp-block-gallery .wp-block-image { margin: 0; }
.wp-block-gallery img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 4px;
}

/* Image placeholder */
.img-placeholder {
  display: inline-block;
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: 4px;
  color: var(--muted);
  font-family: monospace;
  font-size: 0.75rem;
  text-align: center;
  padding: 1rem;
  min-width: 140px;
  min-height: 80px;
  line-height: 1.4;
}
.img-placeholder.headshot {
  min-width: 260px;
  min-height: 260px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wp-block-gallery .img-placeholder {
  width: 100%;
  height: 160px;
  min-width: unset;
  min-height: unset;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Table */
table {
  border-collapse: collapse;
  width: 100%;
  margin: 0.5rem 0;
}
td { padding: 0.3rem 0.75rem 0.3rem 0; vertical-align: top; }
td:first-child { white-space: nowrap; color: var(--muted); min-width: 110px; }

/* Social links */
ul.wp-block-social-links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem 0;
}
.wp-block-social-links a {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.95rem;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 0.5rem 1.25rem;
  border-radius: 2rem;
  transition: border-color 0.2s, color 0.2s;
}
.wp-block-social-links a:hover {
  border-color: var(--accent);
  color: var(--accent);
  text-decoration: none;
}

.clearfix::after { content: ""; display: table; clear: both; }

footer {
  text-align: center;
  color: var(--muted);
  font-size: 0.8rem;
  font-family: "Helvetica Neue", Arial, sans-serif;
  padding: 2rem;
  border-top: 1px solid var(--border);
}

@media (max-width: 600px) {
  .wp-block-image.alignright {
    float: none;
    margin: 0 auto 1.5rem;
    display: block;
    text-align: center;
  }
  nav a { margin-left: 0.8rem; }
}
