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

html {
  font-size: 16px;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: #f7f5f2;
  color: #2d2a26;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
}

a {
  color: inherit;
  text-decoration: inherit;
}

img, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

/* ── Header ── */
.site-header {
  background-color: #3b3530;
  color: #f2ede8;
  padding: 1.25rem 2rem 0;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
  padding-bottom: 0.75rem;
}

.site-title {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #f2ede8;
  margin: 0;
}

.header-icons {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.icon-link {
  display: flex;
  align-items: center;
  color: #c9bfb4;
  transition: color 0.2s;
}

.icon-link:hover {
  color: #e8d5c0;
}

.icon-link svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── Nav ── */
.site-nav {
  display: flex;
  gap: 0;
  max-width: 960px;
  margin: 0 auto;
}

.nav-link {
  display: inline-block;
  color: #c9bfb4;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 1.1rem;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.nav-link:hover {
  color: #f2ede8;
  border-bottom-color: #c9a87c;
}

.nav-link.active {
  color: #f2ede8 !important;
  border-bottom-color: #c9a87c !important;
}

/* ── Main ── */
.site-main {
  max-width: 960px;
  margin: 0 auto;
  padding: 2.5rem 2rem 4rem;
}

.page-content {
  max-width: 760px;
}

.page-heading {
  font-size: 2rem;
  font-weight: 700;
  color: #3b3530;
  border-bottom: 2px solid #d6c9b8;
  margin: 0 0 0.75rem;
  padding-bottom: 0.5rem;
}

.page-intro {
  color: #6b5f54;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* ── About photo ── */
.about-photo {
  float: right;
  width: 240px;
  border-radius: 6px;
  margin: 0.25rem 0 1rem 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

@media (max-width: 480px) {
  .about-photo {
    float: none;
    width: 100%;
    max-width: 280px;
    margin: 0 auto 1.25rem;
    display: block;
  }
}

/* ── Prose ── */
.prose p {
  color: #3a342f;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

/* ── Content sections ── */
.content-section {
  border-bottom: 1px solid #e0d6ca;
  margin-bottom: 2.75rem;
  padding-bottom: 2.75rem;
}

.content-section:last-child {
  border-bottom: none;
}

.section-heading {
  font-size: 1.3rem;
  font-weight: 700;
  color: #3b3530;
  margin: 0 0 0.5rem;
}

.activity-heading {
  font-size: 1.05rem;
  font-weight: 600;
  color: #5c4d3e;
  margin: 0.5rem 0 0.4rem;
}

.role-label {
  font-size: 0.9rem;
  color: #7a6b5d;
  margin-bottom: 0.85rem;
}

.role-label span {
  color: #3a342f;
  font-style: italic;
}

/* ── Feature blocks ── */
.feature-block {
  background-color: #ede8e1;
  border-left: 3px solid #c9a87c;
  border-radius: 0 6px 6px 0;
  margin: 1rem 0;
  padding: 1rem 1.25rem;
}

.feature-heading {
  font-size: 1rem;
  font-weight: 700;
  color: #3b3530;
  margin: 0 0 0.4rem;
}

.experience-statement {
  font-size: 0.95rem;
  font-style: italic;
  color: #7a6b5d;
  margin-bottom: 0.75rem;
}

.feature-details p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: #3a342f;
  margin-bottom: 0.6rem;
}

.contribution-list {
  padding-left: 1.4rem;
  margin: 0.4rem 0;
}

.contribution-list li {
  font-size: 0.93rem;
  line-height: 1.75;
  color: #3a342f;
  margin-bottom: 0.5rem;
}

.coming-soon {
  font-style: italic;
  color: #9b8c7e;
  margin-top: 0.5rem;
}

/* ── Video embed ── */
.video-embed {
  position: relative;
  height: 0;
  padding-bottom: 56.25%;
  border-radius: 6px;
  overflow: hidden;
  margin: 0.75rem 0;
}

.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 6px;
}
