/* ARIFLONE — AUTHOR PROFILE */

.af-author,
.af-author * {
  box-sizing: border-box;
}

.af-author {
  width: 100%;
  max-width: 1100px;
  margin: 48px auto;
  padding: 30px;
  border: 1px solid #dedede;
  border-radius: 4px;
  background: #ffffff;
  color: #121416;
  font-family: inherit;
}

.af-author-label {
  margin: 0 0 22px;
  color: #286b27;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.af-author-layout {
  display: flex;
  align-items: flex-start;
  gap: 26px;
}

.af-author-photo {
  width: 112px;
  height: 112px;
  flex: 0 0 112px;
  border-radius: 8px;
  overflow: hidden;
  background: #f2f5f1;
  border: 1px solid #e4e8e2;
}

.af-author-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.af-author-info {
  flex: 1;
  min-width: 0;
}

.af-author-name {
  margin: 0 0 5px;
  color: #121416;
  font-size: 25px;
  font-weight: 750;
  line-height: 1.25;
  letter-spacing: -0.6px;
}

.af-author-role {
  margin: 0 0 16px;
  color: #286b27;
  font-size: 13px;
  font-weight: 700;
}

.af-author-bio {
  margin: 0 0 18px;
  color: #616866;
  font-size: 15px;
  line-height: 1.8;
}

.af-author-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #286b27;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}

.af-author-link:hover,
.af-author-link:focus-visible {
  border-color: currentColor;
}

@media (max-width: 600px) {
  .af-author {
    margin: 32px auto;
    padding: 22px 18px;
  }

  .af-author-label {
    margin-bottom: 19px;
  }

  .af-author-layout {
    flex-direction: column;
    gap: 17px;
  }

  .af-author-photo {
    width: 90px;
    height: 90px;
    flex-basis: auto;
  }

  .af-author-name {
    font-size: 23px;
  }

  .af-author-bio {
    font-size: 14px;
    line-height: 1.75;
  }
}
/* ======================================
   ARIFLONE — HOMEPAGE ABOUT SECTION
   ====================================== */

.af-home-about,
.af-home-about * {
  box-sizing: border-box;
}

.af-home-about {
  width: 100%;
  padding: 88px 24px;
  background: #f7f9f6;
  color: #121416;
  font-family: inherit;
}

.af-home-about-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(35px, 6vw, 85px);
}

.af-home-about-content {
  min-width: 0;
}

.af-home-about-label {
  margin: 0 0 20px;
  color: #286b27;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  line-height: 1.5;
}

.af-home-about h2 {
  margin: 0 0 25px;
  color: #121416;
  font-size: clamp(30px, 3.5vw, 46px);
  font-weight: 800;
  letter-spacing: -1.4px;
  line-height: 1.18;
}

.af-home-about-lead {
  margin: 0 0 17px;
  color: #242b27;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.65;
}

.af-home-about-description {
  margin: 0 0 28px;
  color: #5d6661;
  font-size: 15px;
  line-height: 1.85;
}

.af-home-founder {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  padding: 18px 0 18px 19px;
  border-left: 3px solid #32852d;
}

.af-home-founder-label {
  color: #286b27;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.af-home-founder strong {
  color: #121416;
  font-size: 19px;
  font-weight: 750;
}

.af-home-founder > span:last-child {
  color: #68716c;
  font-size: 13px;
}

.af-home-about-link {
  display: inline-flex;
  align-items: center;
  margin-top: 25px;
  color: #286b27;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}

.af-home-about-link:hover,
.af-home-about-link:focus-visible {
  border-color: currentColor;
}

.af-home-about-visual {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-radius: 6px;
  background: #e7ece5;
  aspect-ratio: 4 / 5;
}

.af-home-about-visual > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.af-home-about-photo-caption {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 16px 18px;
  background: rgba(18, 20, 22, 0.94);
  color: #fff;
  border-radius: 3px;
}

.af-home-about-photo-caption span {
  color: #a7d6a1;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.4px;
}

.af-home-about-photo-caption strong {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}

/* Tablet */
@media (max-width: 900px) {
  .af-home-about {
    padding: 65px 24px;
  }

  .af-home-about-inner {
    gap: 35px;
  }

  .af-home-about h2 {
    font-size: 32px;
  }
}

/* Mobile */
@media (max-width: 650px) {
  .af-home-about {
    padding: 52px 20px;
  }

  .af-home-about-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .af-home-about h2 {
    font-size: clamp(29px, 7vw, 36px);
    letter-spacing: -1px;
  }

  .af-home-about-lead {
    font-size: 16px;
  }

  .af-home-about-description {
    font-size: 14px;
    line-height: 1.8;
  }

  .af-home-about-visual {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
  }
}
/* Compact homepage photo on mobile only */
@media (max-width: 650px) {
  .af-home-about-visual {
    max-width: 360px;
    aspect-ratio: 4 / 4.5;
  }

  .af-home-about-visual > img {
    object-fit: cover;
    object-position: center 25%;
  }
}