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

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  background: #fff;
  color: #1b1b1b;
}

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

a:hover,
a:focus-visible {
  text-decoration: underline;
}

.layout {
  width: 100%;
  margin: 0;
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 100vh;
  padding: 3rem 6rem;
  gap: 3rem;
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.logo {
  font-size: 2.9rem;
  line-height: 0.8;
  text-transform: lowercase;
  color: #111;
  letter-spacing: 0.08em;
}

.logo__script {
  display: block;
  font-family: 'Beth Ellen', cursive;
  font-size: 2.8rem;
  margin-bottom: -0.1rem;
}

.sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 1.15rem;
}

.sidebar__nav a {
  color: #444;
}

.sidebar__nav a[aria-current='page'] {
  color: #111;
  font-weight: 600;
}

.sidebar__nav a:hover {
  color: #111;
}

.sidebar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.sidebar__button {
  border: 1px solid #111;
  padding: 0.35rem 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  background: transparent;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.sidebar__button:hover,
.sidebar__button:focus-visible {
  background: #111;
  color: #fff;
  text-decoration: none;
}

/* Social icon block removed */

.content {
  display: flex;
  align-items: flex-start;
}

.bio {
  display: grid;
  grid-template-columns: minmax(320px, 520px) auto;
  gap: 1rem;
  width: 100%;
  align-items: flex-start;
  margin-top: 2rem;
}

.bio__text {
  font-size: 1.22rem;
  line-height: 1.55;
  max-width: 500px;
  padding-right: 80px;
}

.bio__lede {
  font-size: 1.4rem;
  margin-top: 0;
}

.bio__text p {
  margin-top: 0;
  margin-bottom: 1.4rem;
}

.bio__text a {
  font-style: italic;
}

.cv-section:not(:last-child),
.project-section:not(:last-child) {
  margin-bottom: 1.5rem;
}

.cv-section h2,
.project-section h2 {
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 0.75rem;
}

.cv-list,
.project-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.cv-list strong,
.project-list strong {
  font-size: 1.05rem;
}

.list-meta {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #666;
  display: block;
  margin-top: 0.25rem;
}

.cv-list p,
.project-list p {
  margin: 0.35rem 0 0;
  font-size: 1rem;
  line-height: 1.55;
}

.bio__portrait {
  margin: 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  align-self: flex-start;
}

.portrait-ring {
  width: 420px;
  height: 420px;
  border-radius: 50%;
  overflow: hidden;
  margin-left: -40px;
}

.portrait-ring img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

@media (max-width: 980px) {
  .layout {
    grid-template-columns: 180px 1fr;
    padding: 2rem;
  }

  .bio {
    grid-template-columns: 1fr;
    margin-top: 1.5rem;
  }

  .portrait-ring {
    width: 360px;
    height: 360px;
    margin-left: 0;
  }

  .bio__text {
    max-width: none;
    padding-right: 0;
  }
}

@media (max-width: 720px) {
  .layout {
    grid-template-columns: 1fr;
    padding: 2rem 1.5rem 3rem;
  }

  .sidebar {
    flex-direction: row;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .sidebar__nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .content {
    justify-content: center;
  }
}
.sidebar__button svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}
