/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Component Classes */
.title-serif-lg {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1.2;
  color: #1a1a1a;
}

.title-sans-md {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #1a1a1a;
}

.label-sans-sm {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a8480;
}

.text-serif-body {
  font-family: Baskerville, "Iowan Old Style", Georgia, "Times New Roman", serif;
  font-size: 0.95rem;
  color: #6b6560;
  line-height: 1.6;
}

.text-serif-sm {
  font-family: Baskerville, "Iowan Old Style", Georgia, "Times New Roman", serif;
  font-size: 0.85rem;
  color: #6b6560;
  line-height: 1.5;
}

.item-container {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  position: relative;
}

.item-container:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
}

.item-divider::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 1px;
  background-color: #ddd9d3;
}

.item-container:last-child.item-divider::after {
  display: none;
}

html {
  font-family: Baskerville, "Iowan Old Style", Georgia, "Times New Roman", serif;
  font-size: 16px;
  color: #1a1a1a;
}

body {
  background-color: #fefefc;
  color: #1a1a1a;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

a {
  color: #4a7c3b;
  text-decoration: none;
  transition: text-decoration 0.2s ease;
}

a:hover {
  text-decoration: underline;
}

/* Header / Navigation */
.header {
  background-color: #fefefc;
  border-bottom: 1px solid #ddd9d3;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.header__logo {
  font-size: 0.95rem;
  font-weight: 500;
  color: #1a1a1a;
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.header__divider {
  color: #8a8480;
  margin: 0 0.5rem;
}

.header__domain {
  color: #8a8480;
}

.header__nav {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.header__nav-link {
  font-size: 0.95rem;
  color: #1a1a1a;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.header__nav-link:hover {
  color: #4a7c3b;
}

/* Hero Section */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem 2rem 2rem;
}

.hero__container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero__name {
  font-family: 'Playfair Display', serif;
  font-size: 5.2rem;
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: #1a1a1a;
}

.hero__description {
  font-family: Baskerville, "Iowan Old Style", Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
  color: #6b6560;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 600px;
}

.hero__tagline {
  display: inline-block;
  margin-top: 1rem;
}

.hero__qualities {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  margin-bottom: 0;
  padding-bottom: 0;
}

.hero__quality {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: #4a7c3b;
  font-weight: 400;
  text-decoration: none;
}

.hero__quality:hover {
  color: #4a7c3b;
}

.hero__divider {
  height: 4px;
  width: 60px;
  background-color: #4a7c3b;
  margin: 1.5rem 0;
}

.hero__role {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  color: #8a8480;
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
}

.hero__role-link {
  color: #4a7c3b;
  text-decoration: none;
  font-weight: 500;
}

.hero__role-link:hover {
  opacity: 0.8;
}


.hero__image-wrapper {
  position: relative;
  width: auto;
  height: 350px;
  background-color: transparent;
  border-radius: 2px;
  overflow: hidden;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: grayscale(100%);
}

/* Divider */
.section-divider {
  border: none;
  border-top: 1px solid #ddd9d3;
  margin: 1.5rem auto;
  max-width: 1200px;
  padding: 0 2rem;
  width: 100%;
}

/* Content Grid (3 columns) */
.content-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 2rem 3rem 2rem;
}

.content-grid__container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.content-column {
  padding: 0 1rem;
  position: relative;
}

.content-column:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -1.5rem;
  top: 0;
  bottom: 0;
  width: 1px;
  background-color: #ddd9d3;
}

.content-column__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.content-column__heading {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 400;
  color: #1a1a1a;
  line-height: 1.2;
  margin: 0 0 2rem 0;
}

.content-column__header .content-column__heading {
  margin-bottom: 0;
}

.content-column__view-all {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
}

/* Impact Items */
.impact-item {
  margin-bottom: 2.5rem;
}

.impact-item__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  color: #4a7c3b;
  flex-shrink: 0;
}

.impact-item__icon svg {
  width: 100%;
  height: 100%;
  stroke-width: 1.5;
}

.impact-item__title {
  margin-bottom: 0.5rem;
}

.impact-item__list {
  font-family: Baskerville, "Iowan Old Style", Georgia, "Times New Roman", serif;
  list-style: none;
  padding-left: 0;
  margin: 0;
  font-size: 0.95rem;
  color: #6b6560;
  line-height: 1.6;
}

.impact-item__list li {
  margin-bottom: 2rem;
}

/* Article Items */
.article-item {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  position: relative;
}

.article-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 1px;
  background-color: #ddd9d3;
}

.article-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
}

.article-item:last-child::after {
  display: none;
}

.article-item__title {
  display: block;
  margin-bottom: 0.5rem;
  text-decoration: none;
  color: #4a7c3b;
}

.article-item__date {
  margin-bottom: 0.75rem;
  font-weight: 400;
}

.article-item__description {
  font-size: 0.9rem;
  margin: 0;
}

/* Project Items */
.project-item {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  position: relative;
}

.project-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 1px;
  background-color: #ddd9d3;
}

.project-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
}

.project-item:last-child::after {
  display: none;
}

.project-item__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.project-item__title {
  text-decoration: none;
  color: #4a7c3b;
}

.project-item__github {
  width: 18px;
  height: 18px;
  color: #6b6560;
  text-decoration: none;
  flex-shrink: 0;
  transition: color 0.2s ease;
}

.project-item__github:hover {
  color: #4a7c3b;
}

.project-item__github svg {
  width: 100%;
  height: 100%;
}

.project-item__description {
  margin: 0;
}

/* Quote Section */
.quote-section {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 3rem 2rem;
  background-color: #faf9f6;
  border-left: 4px solid #4a7c3b;
}

.quote-section__container {
  max-width: 800px;
  margin: 0 auto;
}

.quote {
  margin: 0;
  padding: 0;
}

.quote__text {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.6;
  color: #1a1a1a;
  margin: 0;
  position: relative;
  padding-left: 3rem;
}

.quote__text::before {
  content: '"';
  position: absolute;
  left: 0;
  top: -0.2em;
  font-size: 3rem;
  color: #4a7c3b;
  opacity: 0.5;
  line-height: 1;
}

/* In the Wild */
.in-the-wild {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 2rem 3rem 2rem;
}

.in-the-wild__header {
  margin-bottom: 3rem;
}

.in-the-wild__title {
  margin: 0 0 1rem 0;
}

.in-the-wild__subtitle {
  margin: 0;
  max-width: 600px;
}

.in-the-wild__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}

.in-the-wild__item {
  display: flex;
  gap: 1.5rem;
}

.in-the-wild__icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  color: #8a8480;
  border: 1px solid #ddd9d3;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.in-the-wild__icon i {
  font-size: 24px;
}

.in-the-wild__content {
  flex: 1;
}

.in-the-wild__label {
  margin-bottom: 0.4rem;
}

.in-the-wild__link {
  font-size: 0.95rem;
  text-decoration: none;
  margin-bottom: 0.5rem;
  line-height: 1.4;
  display: block;
  color: #4a7c3b;
}

.in-the-wild__description {
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 768px) {
  .in-the-wild__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* About Section */
.about {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 2rem 3rem 2rem;
}

.about__container {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  max-width: 1200px;
}

.about__content {
  max-width: 600px;
}

.about__sidebar {
}

.about__role-section {
  margin-bottom: 2rem;
}

.about__role-section:last-child {
  margin-bottom: 0;
}

.about__role-label {
  margin-bottom: 0.5rem;
  display: block;
}

.about__role-text {
  font-family: Baskerville, "Iowan Old Style", Georgia, "Times New Roman", serif;
  font-size: 0.95rem;
  color: #6b6560;
  line-height: 1.6;
  margin: 0;
}

.about__title {
  margin: 0 0 1.5rem 0;
}

.about__text {
  line-height: 1.6;
  margin: 0 0 1.5rem 0;
}

.about__text:last-child {
  margin-bottom: 0;
}

/* Footer */
.footer {
  background-color: #fefefc;
  border-top: 1px solid #ddd9d3;
  margin-top: 3rem;
  padding: 1rem 2rem;
}

.footer__container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.footer__copyright {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  color: #8a8480;
  margin: 0;
}

.footer__links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.footer__link {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  color: #4a7c3b;
  text-decoration: none;
}

.footer__divider {
  font-size: 0.8rem;
  color: #8a8480;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero__container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero__name {
    font-size: 3rem;
  }

  .content-grid__container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .header__container {
    padding: 1rem 1.5rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .header__nav {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }

  .hero {
    padding: 2rem 1.5rem;
  }

  .hero__name {
    font-size: 2.5rem;
  }

  .hero__description {
    font-size: 1rem;
  }

  .hero__image-wrapper {
    min-height: 350px;
  }

  .content-grid {
    padding: 2rem 1.5rem;
  }

  .content-grid__container {
    gap: 2rem;
  }

  .content-column {
    padding: 0;
  }

  .quote-section {
    padding: 2rem 1.5rem;
  }

  .quote__text {
    font-size: 1.25rem;
  }

  .footer__container {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .header__logo {
    font-size: 0.9rem;
  }

  .header__nav {
    gap: 0.75rem;
  }

  .header__nav-link {
    font-size: 0.85rem;
  }

  .hero {
    padding: 1.5rem 1rem;
  }

  .hero__name {
    font-size: 1.75rem;
    margin-bottom: 1rem;
  }

  .hero__description {
    font-size: 0.95rem;
    margin-bottom: 1rem;
  }

  .hero__qualities {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
  }

  .content-column__heading {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }

  .impact-item,
  .article-item,
  .project-item {
    margin-bottom: 1.5rem;
  }

  .quote-section {
    padding: 1.5rem 1rem;
  }

  .quote__text {
    font-size: 1.1rem;
    padding-left: 2rem;
  }

  .quote__text::before {
    font-size: 2rem;
  }
}
